feat:取消微信登录

This commit is contained in:
lijianzhong 2024-03-22 09:38:27 +08:00
parent 086bd44944
commit 1df1f2eacc
2 changed files with 0 additions and 19 deletions

View File

@ -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',
})

View File

@ -48,17 +48,3 @@
</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>