diff --git a/components/diy/diy.vue b/components/diy/diy.vue index 9b043feb..1a584519 100644 --- a/components/diy/diy.vue +++ b/components/diy/diy.vue @@ -11,7 +11,7 @@ @@ -164,6 +166,7 @@ // 选项卡数据 tabs_data: {}, diy_data: [], + is_show_footer: '0', tabs_home_id: this.propHomeId, // 商品列表 goods_list: [], @@ -197,6 +200,7 @@ // tabs选项卡数据过滤 // const filter_tabs_list = this.value.tabs_data || []; this.setData({ + is_show_footer: this.value.header.com_data.content.bottom_navigation_show, key: get_math(), header_data: this.value.header, footer_data: this.value.footer, diff --git a/components/diy/modules/tabs-view.vue b/components/diy/modules/tabs-view.vue index 063ef499..23b1e84c 100644 --- a/components/diy/modules/tabs-view.vue +++ b/components/diy/modules/tabs-view.vue @@ -31,7 +31,7 @@ - + {{ $t('nav-more.nav-more.h9g4b1') }} @@ -85,7 +85,16 @@ // 过滤弹窗 popup_status: false, propIsBar: false, - propTop: bar_height + 120 + 'rpx', + // 5,7,0 是误差,, 12 是下边距,60是高度,bar_height是不同小程序下的导航栏距离顶部的高度 + // #ifdef MP + propTop: bar_height + 34 + 5 + 12 + 'px;', + // #endif + // #ifdef H5 || MP-TOUTIAO + propTop: bar_height + 34 + 7 + 12 + 'px;', + // #endif + // #ifdef APP + propTop: bar_height + 34 + 0 + 12 + 'px;', + // #endif }; }, mounted() {