|
@@ -13,11 +13,6 @@
|
|
|
<image src="../../static/public/logo.png" mode="scaleToFill"></image>
|
|
|
<view class="login-image-txt">盲票</view>
|
|
|
</view>
|
|
|
- <!-- #ifdef MP-ALIPAY -->
|
|
|
- <!-- <view class="login-btn">
|
|
|
- <button if="canIUseAuthButton" open-type="getAuthorize" @getAuthorize="onGetAuthorize" scope='phoneNumber'>支付宝登录</button>
|
|
|
- </view> -->
|
|
|
- <!-- #endif -->
|
|
|
<!-- #ifndef MP-ALIPAY -->
|
|
|
<view class="login-btn">
|
|
|
<button open-type="getPhoneNumber" @getphonenumber="getPhoneNumber" v-if="checked">微信登录</button>
|
|
@@ -183,27 +178,6 @@
|
|
|
uni.hideLoading();
|
|
|
})
|
|
|
},
|
|
|
- //支付宝登陆
|
|
|
- // onGetAuthorize(e){
|
|
|
- // my.getPhoneNumber({
|
|
|
- // success: (res) => {
|
|
|
- // let encryptedData = res.response;
|
|
|
- // console.log(encryptedData);
|
|
|
- // $http.post('/api/v1/mp/user/aliAuth/mobile', {
|
|
|
- // encryptedData,
|
|
|
- // identity: 1,
|
|
|
- // noToken: true
|
|
|
- // }).then(res=>{
|
|
|
- // console.log(res);
|
|
|
- // })
|
|
|
- // },
|
|
|
- // fail: (res) => {
|
|
|
- // console.log(res);
|
|
|
- // console.log('getPhoneNumber_fail');
|
|
|
- // },
|
|
|
- // });
|
|
|
- // console.log(e);
|
|
|
- // },
|
|
|
},
|
|
|
}
|
|
|
</script>
|