1.diy---header

master
sws 2024-09-25 14:07:34 +08:00
parent ffe9fdc277
commit 7b59cc3a3d
1 changed files with 3 additions and 1 deletions

View File

@ -55,7 +55,7 @@
</scroll-view>
</view>
</view>
<componentDiyFooter :key="key" :value="footer_data.com_data" @footer-height="footer_height_computer" @footer-click="footer_click_event"></componentDiyFooter>
<componentDiyFooter v-if="is_show_footer" :key="key" :value="footer_data.com_data" @footer-height="footer_height_computer" @footer-click="footer_click_event"></componentDiyFooter>
</view>
</template>
@ -164,6 +164,7 @@
//
tabs_data: {},
diy_data: [],
is_show_footer: false,
tabs_home_id: this.propHomeId,
//
goods_list: [],
@ -202,6 +203,7 @@
footer_data: this.value.footer,
diy_data: this.value.diy_data,
tabs_data: this.value.tabs_data,
is_show_footer: this.value.header.com_data.content.bottom_navigation_show || false,
});
uni.setStorageSync('diy-data-' + this.propId, this.value.diy_data);
},