feat:取消微信登录
This commit is contained in:
parent
086bd44944
commit
1df1f2eacc
|
|
@ -80,11 +80,6 @@ Page({
|
|||
key: 'userInfo',
|
||||
data: res.data,
|
||||
})
|
||||
if (!res.data.openid) {
|
||||
this.data.showPop = true;
|
||||
this.setData(this.data)
|
||||
return
|
||||
}
|
||||
wx.reLaunch({
|
||||
url: '/pages/index/index',
|
||||
})
|
||||
|
|
|
|||
|
|
@ -47,18 +47,4 @@
|
|||
<text class="tag" catchtap="changeWay" data-type="{{true}}">已有账号?立即登录</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- 绑定微信 -->
|
||||
<view class="cu-modal {{showPop?'show':''}}">
|
||||
<view class="cu-dialog pop">
|
||||
<view class="cu-bar justify-end pop-header">
|
||||
<view class="content text-black" style="font-weight: bold;">绑定微信</view>
|
||||
<view class="action" bindtap="handlePop">
|
||||
<text class="cuIcon-close text-black"></text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="pop-content">绑定之后可使用微信登录</view>
|
||||
<view catchtap="login" class="btn" data-type="{{2}}">一 键 绑 定</view>
|
||||
</view>
|
||||
</view>
|
||||
Loading…
Reference in New Issue
Block a user