shish 4 лет назад
Родитель
Сommit
e3d5ef4ae3
2 измененных файлов с 10 добавлено и 4 удалено
  1. 2 2
      ghsApp/src/admin/home/login.vue
  2. 8 2
      ghsApp/src/pagesClient/official/apply.vue

+ 2 - 2
ghsApp/src/admin/home/login.vue

@@ -23,9 +23,9 @@
 				</view>
 				<!-- #endif -->
 				<!-- #ifdef APP-PLUS -->
-				<!-- <view style="margin-top:50upx;">
+				<view style="margin-top:50upx;">
 				<button class="admin-button-com small blue buttonText" @click="mobileLogin()">本机号码一键登录</button>
-				</view> -->
+				</view>
 				<!-- #endif -->
 				<view style="color:#999999;font-size:25upx;margin-top:30upx;">
 					<radio-group @change="agreeItem">

+ 8 - 2
ghsApp/src/pagesClient/official/apply.vue

@@ -67,9 +67,9 @@
             <radio value="1" style="width:6upx;transform:scale(0.8)" />
             <text style="margin-left:38upx;">
               我已阅读并同意
-              <text style="font-weight:bold;color:#666666;" @click.stop="pageTo({url: '/admin/home/register'})">《服务协议》</text>
+              <text style="font-weight:bold;color:#666666;" @click.stop="goToService()">《服务协议》</text>
-              <text style="font-weight:bold;color:#666666;" @click.stop="pageTo({url: '/admin/home/privacy'})">《隐私政策》</text>
+              <text style="font-weight:bold;color:#666666;" @click.stop="goToPrivacy()">《隐私政策》</text>
             </text>
           </label>
         </radio-group>
@@ -181,6 +181,12 @@ export default {
 
 	},
   methods: {
+		goToService(){
+			plus.runtime.openURL('http://www.wixhb.com/main/xhb-register')
+		},
+		goToPrivacy(){
+			plus.runtime.openURL('http://www.wixhb.com/main/xhb-privacy')
+		},
 		agreeItem(e){
 			this.agree = e.target.value
 		},