1.修改未配置数据的地区现在暂无数据图片

dev
杨杰 2 years ago
parent 5724deb764
commit 8a9a1c23b5
  1. 14
      high-unionPay/pages/tabBar/home/home.vue
  2. 24
      high-unionPay/pages/tabBar/user/user.vue

@ -6,9 +6,12 @@
@animCreated="handleAnimation" />
</view> -->
<!-- <view class="status"></view> -->
<view v-if="isdisplay">
<view v-if="isdisplay == 1">
<image :src="imagewxUrl+imgadres5" class="widthw30 mart110" mode="widthFix"></image>
</view>
<view v-if="isdisplay == 2">
<image :src="imagewxUrl+imgadres6" class="width90 mart110" mode="widthFix"></image>
</view>
<view v-for="(item,index) in homeCateList" :key="index">
<view class="height90 backcorltop" v-if="item.type == 1">
<view class="category-list">
@ -167,6 +170,7 @@
imgadres5: 'loading.gif',
imgadres3: '',
imgadres4: 'cusservice.png',
imgadres6: 'notOpened.png',
webUrl: '',
//
productList: [],
@ -179,7 +183,7 @@
homeCateList: [],
//
jumpType: '',
isdisplay: true //
isdisplay: 1 //
};
},
onShow() {
@ -313,9 +317,11 @@
categoryCode: 'CMS_HOME'
}
getCmsContent(params).then(res => {
this.isdisplay = false;
if (res.return_code == '000000') {
if (res.return_code == '000000' && res.return_data != null) {
this.homeCateList = res.return_data;
this.isdisplay = 3;
} else {
this.isdisplay = 2;
}
});
},

@ -259,16 +259,20 @@
url: '../../login/updatePas/updatePas',
text: '支付密码',
img: '../../../static/img/user/user11.png'
}, {
url: '',
text: '退出登录',
img: '../../../static/img/user/user12.png'
}, {
url: '',
text: '客服',
img: '../../../static/img/user/user13.png'
}
]
if (app.globalData.userInfo) {
let menus = {
url: '',
text: '退出登录',
img: '../../../static/img/user/user12.png'
}
this.czList.push(menus);
}
return;
}
this.czList = [{
@ -280,10 +284,6 @@
url: '../../login/updatePas/resetPas',
text: '支付密码',
img: '../../../static/img/user/user11.png'
}, {
url: '',
text: '退出登录',
img: '../../../static/img/user/user12.png'
},
{
url: '',
@ -291,6 +291,14 @@
img: '../../../static/img/user/user13.png'
}
]
if (app.globalData.userInfo) {
let menus = {
url: '',
text: '退出登录',
img: '../../../static/img/user/user12.png'
}
this.czList.push(menus);
}
},
methods: {
findUser() {

Loading…
Cancel
Save