|
|
|
@ -100,7 +100,7 @@ |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
<view class="toolbar" style="margin-top: 20px;"> |
|
|
|
|
<view class="toolbar" style="margin-top: 20px;"> |
|
|
|
|
<view class="title">我的</view> |
|
|
|
|
<view class="list"> |
|
|
|
|
<view class="box" v-for="(row,index) in czList" :key="index" @tap="toPage(row.url,row.text)"> |
|
|
|
@ -209,24 +209,7 @@ |
|
|
|
|
// } |
|
|
|
|
], |
|
|
|
|
//操作列表 |
|
|
|
|
czList: [ |
|
|
|
|
// { |
|
|
|
|
// url: '../../user/bindingCardList/bindingCardList', |
|
|
|
|
// text: '卡列表', |
|
|
|
|
// img: '../../../static/img/pas.png' |
|
|
|
|
// }, |
|
|
|
|
{ |
|
|
|
|
url: '../../user/unionCard/unionCard', |
|
|
|
|
text: '工会卡', |
|
|
|
|
img: '../../../static/img/ghk.png' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
url: '../../login/updatePas/resetPas', |
|
|
|
|
text: '修改密码', |
|
|
|
|
img: '../../../static/img/pas.png' |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
], |
|
|
|
|
czList: '', |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
//下拉刷新,需要自己在page.json文件中配置开启页面下拉刷新 "enablePullDownRefresh": true |
|
|
|
@ -261,6 +244,32 @@ |
|
|
|
|
if (app.globalData.userInfo) { |
|
|
|
|
this.findUser(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
if (!app.globalData.userInfo.isSetPayPwd) { |
|
|
|
|
this.czList = [{ |
|
|
|
|
url: '../../user/unionCard/unionCard', |
|
|
|
|
text: '工会卡', |
|
|
|
|
img: '../../../static/img/ghk.png' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
url: '../../login/updatePas/updatePas', |
|
|
|
|
text: '设置密码', |
|
|
|
|
img: '../../../static/img/pas.png' |
|
|
|
|
}, |
|
|
|
|
] |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
this.czList = [{ |
|
|
|
|
url: '../../user/unionCard/unionCard', |
|
|
|
|
text: '工会卡', |
|
|
|
|
img: '../../../static/img/ghk.png' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
url: '../../login/updatePas/resetPas', |
|
|
|
|
text: '修改密码', |
|
|
|
|
img: '../../../static/img/pas.png' |
|
|
|
|
}, |
|
|
|
|
] |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
findUser() { |
|
|
|
|