样式修改

This commit is contained in:
姚亚男
2021-10-20 17:48:56 +08:00
parent 3d73fe0dca
commit 580b2fa19c
8 changed files with 38 additions and 25 deletions
+6 -5
View File
@@ -87,6 +87,10 @@ Page({
},
// 微信登录
wxLogin(){
wx.showToast({
title: '登录中...',
icon: 'loading'
})
const that = this
wxBind((res)=>{
let params = {
@@ -144,11 +148,8 @@ Page({
key: 'X-Access-Token',
data: res.result.token
})
// 如果绑定过微信就不再进行绑定
if(!res.result.userInfo.openId){
// 绑定微信
this.wxBindPhone()
}
// 绑定微信
this.wxBindPhone()
// 跳转首页
wx.switchTab({
url: '../home/home',