diff --git a/pkg_product/views/healthFoods.vue b/pkg_product/views/healthFoods.vue index 8d551c0..9ac2ec8 100644 --- a/pkg_product/views/healthFoods.vue +++ b/pkg_product/views/healthFoods.vue @@ -23,265 +23,246 @@ /> - + + + + + {{ tab.name }} + + + + + + + + + + {{ item.areaName }} + + + {{ item.intro }} + + + + + {{ item.name }} + + + + + + - diff --git a/pkg_product/views/healthSanctum.vue b/pkg_product/views/healthSanctum.vue index c9ed324..9f8381b 100644 --- a/pkg_product/views/healthSanctum.vue +++ b/pkg_product/views/healthSanctum.vue @@ -203,8 +203,13 @@ export default { } }, getTopImage() { + const cached = uni.getStorageSync('wellnessTopImageConfig') + if (cached) { + this.topImageConfig = cached + } getWellnessTopImage().then(res => { this.topImageConfig = res.data || {} + uni.setStorageSync('wellnessTopImageConfig', this.topImageConfig) }) } } @@ -231,6 +236,9 @@ export default { } .tab-btn{ width: 200rpx; + will-change: transform; + display: block; + height: auto; } .tabs-wrap{ white-space: nowrap;