|
@ -20,11 +20,11 @@ |
|
|
<image src="/static/image/center/flzx.png" style="width: 100%;height: 100%;"></image> |
|
|
<image src="/static/image/center/flzx.png" style="width: 100%;height: 100%;"></image> |
|
|
</view> --> |
|
|
</view> --> |
|
|
<!-- 未认证--> |
|
|
<!-- 未认证--> |
|
|
<view style="position: absolute;z-index:2;width:20%;height:25%;top: 38%;left: 31%;"> |
|
|
|
|
|
|
|
|
<view v-if='!isNameValid' style="position: absolute;z-index:2;width:20%;height:25%;top: 38%;left: 31%;"> |
|
|
<image src="/static/image/center/wrz.svg" style="width: 100%;height: 100%;"></image> |
|
|
<image src="/static/image/center/wrz.svg" style="width: 100%;height: 100%;"></image> |
|
|
</view> |
|
|
</view> |
|
|
<!-- 去认证 --> |
|
|
<!-- 去认证 --> |
|
|
<view style="position: absolute;z-index:2;height:20%;top: 39%;left: 52%;"> |
|
|
|
|
|
|
|
|
<view v-if='!isNameValid' style="position: absolute;z-index:2;height:20%;top: 39%;left: 52%;"> |
|
|
<span style="font-size: 26rpx;font-weight: 700;" class="textColor" @click="toAuthPage">去认证</span> |
|
|
<span style="font-size: 26rpx;font-weight: 700;" class="textColor" @click="toAuthPage">去认证</span> |
|
|
</view> |
|
|
</view> |
|
|
<!-- 用户信息 --> |
|
|
<!-- 用户信息 --> |
|
@ -87,6 +87,16 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</confirmationPopup> |
|
|
</confirmationPopup> |
|
|
|
|
|
|
|
|
|
|
|
<!-- 实名信息弹框 --> |
|
|
|
|
|
<confirmationPopup ref="realNameInfoPopup" title="提示" :cancel="true" @confirm="realNameInfoHandleConfirm" |
|
|
|
|
|
@cancel="realNameInfoHandleCancel" confirmText="确认"> |
|
|
|
|
|
<view class="confirmationPopup"> |
|
|
|
|
|
<view style="text-align:center"> |
|
|
|
|
|
{{isNameValid?'已实名,是否重新认证?':'确定认证实名信息吗?' }} |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</confirmationPopup> |
|
|
</view> |
|
|
</view> |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
@ -104,30 +114,34 @@ |
|
|
}, |
|
|
}, |
|
|
computed: { |
|
|
computed: { |
|
|
...mapState(['userInfo']), |
|
|
...mapState(['userInfo']), |
|
|
|
|
|
isNameValid() { |
|
|
|
|
|
console.log(this.userInfo,"this.userInfo"); |
|
|
|
|
|
return this.userInfo.idCardOpen == 'Y' |
|
|
|
|
|
} |
|
|
}, |
|
|
}, |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
// 基础列表 |
|
|
// 基础列表 |
|
|
baseList: [{ |
|
|
baseList: [{ |
|
|
name: 'photo', |
|
|
|
|
|
|
|
|
name: 'myPost', |
|
|
imageUrl: 'https://tennis-oss.xzaiyp.top/2024-09-09/f9d757ca-a95a-42d7-86aa-38c288f2c54f.svg', |
|
|
imageUrl: 'https://tennis-oss.xzaiyp.top/2024-09-09/f9d757ca-a95a-42d7-86aa-38c288f2c54f.svg', |
|
|
title: '我的发布', |
|
|
title: '我的发布', |
|
|
gotoPageUrl: '/mine/releaseRecord' |
|
|
gotoPageUrl: '/mine/releaseRecord' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
name: 'lock', |
|
|
|
|
|
|
|
|
name: 'myPromotion', |
|
|
imageUrl: 'https://tennis-oss.xzaiyp.top/2024-09-09/f6fbb99f-c381-498a-8367-e91fc5e05cd6.svg', |
|
|
imageUrl: 'https://tennis-oss.xzaiyp.top/2024-09-09/f6fbb99f-c381-498a-8367-e91fc5e05cd6.svg', |
|
|
title: '我的推广', |
|
|
title: '我的推广', |
|
|
gotoPageUrl: '/mine/promotionRecord' |
|
|
gotoPageUrl: '/mine/promotionRecord' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
name: 'star', |
|
|
|
|
|
|
|
|
name: 'myBankCard', |
|
|
imageUrl: 'https://tennis-oss.xzaiyp.top/2024-09-09/85fe8ad3-5094-473f-b184-ef4cf5c1db6e.svg', |
|
|
imageUrl: 'https://tennis-oss.xzaiyp.top/2024-09-09/85fe8ad3-5094-473f-b184-ef4cf5c1db6e.svg', |
|
|
title: '我的银行卡', |
|
|
title: '我的银行卡', |
|
|
gotoPageUrl: '/mine/addBankCard' |
|
|
gotoPageUrl: '/mine/addBankCard' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
name: 'star', |
|
|
|
|
|
|
|
|
name: 'myWallet', |
|
|
imageUrl: 'https://tennis-oss.xzaiyp.top/2024-09-09/45ec00a0-3c12-4246-bfe3-a658ccf1f912.svg', |
|
|
imageUrl: 'https://tennis-oss.xzaiyp.top/2024-09-09/45ec00a0-3c12-4246-bfe3-a658ccf1f912.svg', |
|
|
title: '我的钱包', |
|
|
title: '我的钱包', |
|
|
gotoPageUrl: '/mine/purse' |
|
|
gotoPageUrl: '/mine/purse' |
|
@ -135,18 +149,18 @@ |
|
|
], |
|
|
], |
|
|
// 其他列表 |
|
|
// 其他列表 |
|
|
otherList: [{ |
|
|
otherList: [{ |
|
|
name: 'photo', |
|
|
|
|
|
|
|
|
name: 'realNameInfo', |
|
|
imageUrl: 'https://tennis-oss.xzaiyp.top/2024-09-09/8bc56d2e-380a-4656-8a33-592d374d246a.svg', |
|
|
imageUrl: 'https://tennis-oss.xzaiyp.top/2024-09-09/8bc56d2e-380a-4656-8a33-592d374d246a.svg', |
|
|
title: '实名信息', |
|
|
title: '实名信息', |
|
|
gotoPageUrl: '/mine/certifiedIndividual' |
|
|
gotoPageUrl: '/mine/certifiedIndividual' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
name: 'lock', |
|
|
|
|
|
|
|
|
name: 'helpFeedback', |
|
|
imageUrl: 'https://tennis-oss.xzaiyp.top/2024-09-09/cd007424-1336-402c-8390-26c4f21deb80.svg', |
|
|
imageUrl: 'https://tennis-oss.xzaiyp.top/2024-09-09/cd007424-1336-402c-8390-26c4f21deb80.svg', |
|
|
title: '帮助反馈' |
|
|
title: '帮助反馈' |
|
|
}, |
|
|
}, |
|
|
{ |
|
|
{ |
|
|
name: 'lock', |
|
|
|
|
|
|
|
|
name: 'updateUserInfo', |
|
|
imageUrl: 'https://tennis-oss.xzaiyp.top/2024-09-09/ef58bc0b-ead6-4053-83b4-339aa02805d2.svg', |
|
|
imageUrl: 'https://tennis-oss.xzaiyp.top/2024-09-09/ef58bc0b-ead6-4053-83b4-339aa02805d2.svg', |
|
|
title: '修改个人信息', |
|
|
title: '修改个人信息', |
|
|
gotoPageUrl: '/mine/updateUserInfo' |
|
|
gotoPageUrl: '/mine/updateUserInfo' |
|
@ -172,10 +186,13 @@ |
|
|
// 点击列表跳转页面 |
|
|
// 点击列表跳转页面 |
|
|
goToPage(item) { |
|
|
goToPage(item) { |
|
|
if (item.name == 'outLogin') { |
|
|
if (item.name == 'outLogin') { |
|
|
// |
|
|
|
|
|
this.$refs.confirmationPopup.open() |
|
|
this.$refs.confirmationPopup.open() |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
|
|
|
if (item.name == 'realNameInfo') { |
|
|
|
|
|
this.$refs.realNameInfoPopup.open() |
|
|
|
|
|
return |
|
|
|
|
|
} |
|
|
uni.navigateTo({ |
|
|
uni.navigateTo({ |
|
|
url: '/pages_mine' + item.gotoPageUrl |
|
|
url: '/pages_mine' + item.gotoPageUrl |
|
|
}) |
|
|
}) |
|
@ -199,7 +216,21 @@ |
|
|
// 取消退出登录 |
|
|
// 取消退出登录 |
|
|
console.log("取消退出登录") |
|
|
console.log("取消退出登录") |
|
|
this.$refs.confirmationPopup.close() |
|
|
this.$refs.confirmationPopup.close() |
|
|
} |
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
// 确认实名 |
|
|
|
|
|
realNameInfoHandleConfirm() { |
|
|
|
|
|
console.log("确认实名") |
|
|
|
|
|
this.$refs.realNameInfoPopup.close() |
|
|
|
|
|
uni.navigateTo({ |
|
|
|
|
|
url: '/pages_mine/mine/certifiedIndividual' |
|
|
|
|
|
}) |
|
|
|
|
|
}, |
|
|
|
|
|
// 取消实名 |
|
|
|
|
|
realNameInfoHandleCancel() { |
|
|
|
|
|
console.log("取消实名") |
|
|
|
|
|
this.$refs.realNameInfoPopup.close() |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|