Fix:4866 【商城小程序】康养类目下,应显示管理后台配置的养生圣地类目及数据(参考图2)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user