登录修改
parent
4452289eb7
commit
7730b5eb53
|
@ -5,7 +5,7 @@
|
||||||
<view class="logo-name">{{appletName}}</view>
|
<view class="logo-name">{{appletName}}</view>
|
||||||
<view class="logo-title font24 color-99 mar-s20" style="text-align: center;">{{appleSubtitle}}</view>
|
<view class="logo-title font24 color-99 mar-s20" style="text-align: center;">{{appleSubtitle}}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="login-footer">
|
<view class="login-footer" v-if="ifEnter">
|
||||||
<view class="login-btn radius20 color-ff background-blue font36" type='primary' @tap="empowerShow=true" v-if="!isActive">微信授权</view>
|
<view class="login-btn radius20 color-ff background-blue font36" type='primary' @tap="empowerShow=true" v-if="!isActive">微信授权</view>
|
||||||
<view class="login-btn radius20 color-ff background-blue font36" type='primary' @tap="bindGetUserInfo('other')" v-else>微信授权</view>
|
<view class="login-btn radius20 color-ff background-blue font36" type='primary' @tap="bindGetUserInfo('other')" v-else>微信授权</view>
|
||||||
<view class="agreement-box font30">如您点击授权,则表示已阅读<text @tap="toAgreement" class="agreement color-orange">《免责声明》</text></view>
|
<view class="agreement-box font30">如您点击授权,则表示已阅读<text @tap="toAgreement" class="agreement color-orange">《免责声明》</text></view>
|
||||||
|
@ -59,6 +59,7 @@
|
||||||
isShowP:false,
|
isShowP:false,
|
||||||
empowerShow:false, //是否显示授权弹窗
|
empowerShow:false, //是否显示授权弹窗
|
||||||
isActive:false, //是否已授权
|
isActive:false, //是否已授权
|
||||||
|
ifEnter:false, //是否判断完成
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
@ -193,6 +194,7 @@
|
||||||
}else{
|
}else{
|
||||||
uni.setStorageSync('token',res.data.token) //缓存token
|
uni.setStorageSync('token',res.data.token) //缓存token
|
||||||
}
|
}
|
||||||
|
this.ifEnter =true;
|
||||||
}
|
}
|
||||||
},error => {
|
},error => {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue