Explorar el Código

删除支付宝登录按钮

DELL hace 3 años
padre
commit
f2c4ad870a
Se han modificado 1 ficheros con 0 adiciones y 26 borrados
  1. 0 26
      src/pages/login/index.vue

+ 0 - 26
src/pages/login/index.vue

@@ -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>