Fix:4866 【商城小程序】康养类目下,应显示管理后台配置的养生圣地类目及数据(参考图2)

This commit is contained in:
LinCyJang
2026-02-05 00:21:45 +08:00
parent 0ac517f969
commit 4d595d07c1
2 changed files with 270 additions and 397 deletions
+8
View File
@@ -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;