删除不使用的方法1
parent
1fd2669b7f
commit
7f6e6cd51a
|
|
@ -164,10 +164,6 @@ const mult_color_picker_event = (arry: color_list[], type: number) => {
|
||||||
form.value.article_color_list = arry;
|
form.value.article_color_list = arry;
|
||||||
form.value.article_direction = type.toString();
|
form.value.article_direction = type.toString();
|
||||||
};
|
};
|
||||||
// 文章背景图片设置
|
|
||||||
const background_img_change = (arry: uploadList[]) => {
|
|
||||||
form.value.article_background_img = arry;
|
|
||||||
};
|
|
||||||
// 文章标题浮起显示设置
|
// 文章标题浮起显示设置
|
||||||
const name_bg_mult_color_picker_event = (arry: color_list[], type: number) => {
|
const name_bg_mult_color_picker_event = (arry: color_list[], type: number) => {
|
||||||
form.value.name_bg_color_list = arry;
|
form.value.name_bg_color_list = arry;
|
||||||
|
|
|
||||||
|
|
@ -261,30 +261,17 @@ const tabs_bg_mult_color_picker_event = (arry: color_list[], type: number) => {
|
||||||
form.value.tabs_bg_color_list = arry;
|
form.value.tabs_bg_color_list = arry;
|
||||||
form.value.tabs_bg_direction = type.toString();
|
form.value.tabs_bg_direction = type.toString();
|
||||||
};
|
};
|
||||||
// 选项卡背景图片设置
|
|
||||||
const tabs_bg_background_img_change = (arry: uploadList[]) => {
|
|
||||||
form.value.tabs_bg_background_img = arry;
|
|
||||||
};
|
|
||||||
|
|
||||||
// 内容区域背景渐变设置
|
// 内容区域背景渐变设置
|
||||||
const article_content_mult_color_picker_event = (arry: color_list[], type: number) => {
|
const article_content_mult_color_picker_event = (arry: color_list[], type: number) => {
|
||||||
form.value.article_content_color_list = arry;
|
form.value.article_content_color_list = arry;
|
||||||
form.value.article_content_direction = type.toString();
|
form.value.article_content_direction = type.toString();
|
||||||
};
|
};
|
||||||
// 内容区域背景图片设置
|
|
||||||
const article_content_background_img_change = (arry: uploadList[]) => {
|
|
||||||
form.value.article_content_background_img = arry;
|
|
||||||
};
|
|
||||||
// 文章背景渐变设置
|
// 文章背景渐变设置
|
||||||
const mult_color_picker_event = (arry: color_list[], type: number) => {
|
const mult_color_picker_event = (arry: color_list[], type: number) => {
|
||||||
form.value.article_color_list = arry;
|
form.value.article_color_list = arry;
|
||||||
form.value.article_direction = type.toString();
|
form.value.article_direction = type.toString();
|
||||||
};
|
};
|
||||||
// 文章背景图片设置
|
|
||||||
const background_img_change = (arry: uploadList[]) => {
|
|
||||||
form.value.article_background_img = arry;
|
|
||||||
};
|
|
||||||
|
|
||||||
// 通用样式回调
|
// 通用样式回调
|
||||||
const common_styles_update = (val: Object) => {
|
const common_styles_update = (val: Object) => {
|
||||||
form.value.common_style = val;
|
form.value.common_style = val;
|
||||||
|
|
|
||||||
|
|
@ -193,10 +193,6 @@ const mult_color_picker_event = (arry: color_list[], type: number) => {
|
||||||
form.value.shop_color_list = arry;
|
form.value.shop_color_list = arry;
|
||||||
form.value.shop_direction = type.toString();
|
form.value.shop_direction = type.toString();
|
||||||
};
|
};
|
||||||
// 商品背景图片设置
|
|
||||||
const background_img_change = (arry: uploadList[]) => {
|
|
||||||
form.value.shop_background_img = arry;
|
|
||||||
};
|
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.topic {
|
.topic {
|
||||||
|
|
|
||||||
|
|
@ -290,30 +290,17 @@ const tabs_bg_mult_color_picker_event = (arry: color_list[], type: number) => {
|
||||||
form.value.tabs_bg_color_list = arry;
|
form.value.tabs_bg_color_list = arry;
|
||||||
form.value.tabs_bg_direction = type.toString();
|
form.value.tabs_bg_direction = type.toString();
|
||||||
};
|
};
|
||||||
// 选项卡背景图片设置
|
|
||||||
const tabs_bg_background_img_change = (arry: uploadList[]) => {
|
|
||||||
form.value.tabs_bg_background_img = arry;
|
|
||||||
};
|
|
||||||
// 内容区域背景渐变设置
|
// 内容区域背景渐变设置
|
||||||
const shop_content_mult_color_picker_event = (arry: color_list[], type: number) => {
|
const shop_content_mult_color_picker_event = (arry: color_list[], type: number) => {
|
||||||
form.value.shop_content_color_list = arry;
|
form.value.shop_content_color_list = arry;
|
||||||
form.value.shop_content_direction = type.toString();
|
form.value.shop_content_direction = type.toString();
|
||||||
};
|
};
|
||||||
// 内容区域背景图片设置
|
|
||||||
const shop_content_background_img_change = (arry: uploadList[]) => {
|
|
||||||
form.value.shop_content_background_img = arry;
|
|
||||||
};
|
|
||||||
|
|
||||||
// 商品背景渐变设置
|
// 商品背景渐变设置
|
||||||
const mult_color_picker_event = (arry: color_list[], type: number) => {
|
const mult_color_picker_event = (arry: color_list[], type: number) => {
|
||||||
form.value.shop_color_list = arry;
|
form.value.shop_color_list = arry;
|
||||||
form.value.shop_direction = type.toString();
|
form.value.shop_direction = type.toString();
|
||||||
};
|
};
|
||||||
// 商品背景图片设置
|
|
||||||
const background_img_change = (arry: uploadList[]) => {
|
|
||||||
form.value.shop_background_img = arry;
|
|
||||||
};
|
|
||||||
|
|
||||||
const tabs_checked_event = (arry: string[], type: number) => {
|
const tabs_checked_event = (arry: string[], type: number) => {
|
||||||
form.value.tabs_checked = arry;
|
form.value.tabs_checked = arry;
|
||||||
form.value.tabs_direction = type.toString();
|
form.value.tabs_direction = type.toString();
|
||||||
|
|
|
||||||
|
|
@ -66,7 +66,6 @@
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { isEmpty, pick } from 'lodash';
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
value: {
|
value: {
|
||||||
type: Object,
|
type: Object,
|
||||||
|
|
|
||||||
|
|
@ -113,9 +113,5 @@ const tabs_bg_mult_color_picker_event = (arry: color_list[], type: number) => {
|
||||||
form.value.tabs_bg_color_list = arry;
|
form.value.tabs_bg_color_list = arry;
|
||||||
form.value.tabs_bg_direction = type.toString();
|
form.value.tabs_bg_direction = type.toString();
|
||||||
};
|
};
|
||||||
// 选项卡背景图片设置
|
|
||||||
const tabs_bg_background_img_change = (arry: uploadList[]) => {
|
|
||||||
form.value.tabs_bg_background_img = arry;
|
|
||||||
};
|
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped></style>
|
<style lang="scss" scoped></style>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue