1代码优化
parent
ee12bb3f6e
commit
efd3850d73
|
|
@ -52,6 +52,9 @@
|
|||
<upload v-model="form.up_slide_background_img" :limit="1"></upload>
|
||||
</div>
|
||||
</el-form-item>
|
||||
<el-form-item label="返回颜色">
|
||||
<color-picker v-model="form.left_back_btn_color" default-color="#333"></color-picker>
|
||||
</el-form-item>
|
||||
</card-container>
|
||||
<div class="bg-f5 divider-line" />
|
||||
<card-container>
|
||||
|
|
@ -109,7 +112,7 @@ const state = reactive({
|
|||
});
|
||||
// 如果需要解构,确保使用toRefs
|
||||
const { form, search_content } = toRefs(state);
|
||||
// 监听属性变化
|
||||
// 监听属性变化
|
||||
watchEffect(() => {
|
||||
form.value = props.value;
|
||||
search_content.value = props.content;
|
||||
|
|
|
|||
|
|
@ -46,6 +46,7 @@ interface DefaultFooterNav {
|
|||
up_slide_background_direction: string;
|
||||
up_slide_background_img_style: string;
|
||||
up_slide_background_img: uploadList[];
|
||||
left_back_btn_color: string;
|
||||
icon_color: string;
|
||||
button_inner_color: string;
|
||||
search_botton_color_list: color_list[];
|
||||
|
|
@ -97,7 +98,7 @@ const defaultFooterNav: DefaultFooterNav = {
|
|||
header_background_img: [],
|
||||
header_background_title_color: '#333',
|
||||
header_background_title_typeface: '500',
|
||||
header_background_title_size: 16,
|
||||
header_background_title_size: 14,
|
||||
function_buttons_type: '0',
|
||||
immersive_style: '0',
|
||||
up_slide_display: '1',
|
||||
|
|
@ -105,6 +106,7 @@ const defaultFooterNav: DefaultFooterNav = {
|
|||
up_slide_background_direction: '180deg',
|
||||
up_slide_background_img_style: '2',
|
||||
up_slide_background_img: [],
|
||||
left_back_btn_color: '#333',
|
||||
icon_color: '#ccc',
|
||||
button_inner_color: '#fff',
|
||||
search_botton_color_list: [
|
||||
|
|
|
|||
|
|
@ -29,8 +29,8 @@ const defaultUserInfo: DefaultUserInfo = {
|
|||
content: {
|
||||
config: ['order_count', 'goods_favor_count', 'goods_browse_count', 'integral_number', 'number_code'],
|
||||
icon_setting: [
|
||||
{ id: '1', img: [], icon: 'applet-me-settings-acquiesce', link: {} },
|
||||
{ id: '2', img: [], icon: 'applet-me-message-acquiesce', link: {} },
|
||||
{ id: '1', img: [], icon: 'applet-me-settings-acquiesce', link: { name: '设置中心', page: '/pages/setup/setup' } },
|
||||
{ id: '2', img: [], icon: 'applet-me-message-acquiesce', link: { name: '我的消息', page: '/pages/message/message' } },
|
||||
],
|
||||
},
|
||||
style: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue