|
|
|
|
@ -164,7 +164,10 @@
|
|
|
|
|
<view class="modal">
|
|
|
|
|
<u-popup v-model="showRegister" mode="bottom">
|
|
|
|
|
<view>
|
|
|
|
|
<view class="modal-tip-wrap">
|
|
|
|
|
<view class="modal-tip">提示</view>
|
|
|
|
|
<view class="modal-close" @click="showRegister = false">关闭</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="modal-content">
|
|
|
|
|
<view>如您已是我方校友,请先绑定账号</view>
|
|
|
|
|
<view @click="goBind" class="modal-bind">
|
|
|
|
|
@ -272,7 +275,7 @@
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
toUrl(type) {
|
|
|
|
|
if (type === 1 || type === 2 || type === 3) {
|
|
|
|
|
if (type === 1 || type === 2 || type === 3|| type === 5) {
|
|
|
|
|
if (!this.hasMobile) {
|
|
|
|
|
this.base.toast("请先绑定或注册")
|
|
|
|
|
this.showRegister = true
|
|
|
|
|
@ -314,7 +317,7 @@
|
|
|
|
|
this.myQrcode = res.course_signs ? res.course_signs.qrcode : 'STBC'
|
|
|
|
|
this.userAvatar = res.user.headimgurl?res.user.headimgurl:''
|
|
|
|
|
if (this.base.isNull(res.user.mobile)) {
|
|
|
|
|
this.showRegister = true
|
|
|
|
|
// this.showRegister = true
|
|
|
|
|
this.hasMobile = false
|
|
|
|
|
} else {
|
|
|
|
|
this.showRegister = false
|
|
|
|
|
@ -474,12 +477,22 @@
|
|
|
|
|
border-radius: 40rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&-tip {
|
|
|
|
|
text-align: center;
|
|
|
|
|
&-tip-wrap {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
padding: 30rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&-tip {
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&-close {
|
|
|
|
|
color: #409eff;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&-content {
|
|
|
|
|
height: 450rpx;
|
|
|
|
|
padding: 0 30rpx;
|
|
|
|
|
|