shish 6 miesięcy temu
rodzic
commit
9f1d16ca8d

+ 4 - 6
ghsApp/src/pagesClient/official/apply.vue

@@ -68,10 +68,9 @@
           </div>
         </div>
       </view>
-      <!-- #ifdef APP-PLUS -->
-      <view style="color:#999999;font-size:25upx;margin-top:30upx;margin-left:50upx;">
+      <view style="color:#999999;font-size:28upx;margin-top:30upx;">
         <radio-group @change="agreeItem">
-          <label>
+          <label style="display:flex;align-items:center;justify-content:center;">
             <radio value="1" style="width:6upx;transform:scale(0.8)" />
             <text style="margin-left:38upx;">
               我已阅读并同意
@@ -82,7 +81,6 @@
           </label>
         </radio-group>
       </view>
-      <!-- #endif -->
       <div class="btn-wrap">
         <button class="admin-button-com blue big" formType="submit" >确认</button>
       </div>
@@ -181,10 +179,10 @@ export default {
 			})
     },
 		goToService(){
-			plus.runtime.openURL('http://www.wixhb.com/main/xhb-register')
+			this.$util.pageTo({ url: "/admin/home/register"})
 		},
 		goToPrivacy(){
-			plus.runtime.openURL('http://www.wixhb.com/main/xhb-privacy')
+			this.$util.pageTo({ url: "/admin/home/privacy"})
 		},
 		agreeItem(e){
 			this.agree = e.target.value

+ 10 - 0
hdApp/src/api/auth/index.js

@@ -16,4 +16,14 @@ export const getApkVersion = data => {
 
 export const getMobile = data => { 
 	return	https.post("/auth/get-mobile", data) 
+}
+
+//服务协议
+export const getRegisterAgreement = data => {
+	return https.get('/auth/register', data)
+}
+
+//隐私协议
+export const getPrivacyAgreement = data => {
+	return https.get('/auth/privacy', data)
 }

+ 5 - 5
hdApp/src/pagesClient/official/apply.vue

@@ -89,11 +89,11 @@
           </div>
         </div>
       </view>
-      <view style="color:#999999;font-size:25upx;margin-top:30upx;margin-left:40upx;">
+      <view style="color:#999999;font-size:25upx;margin-top:30upx;">
         <radio-group @change="agreeItem">
-          <label>
+          <label style="display:flex;align-items:center;justify-content:center;">
             <radio value="1" style="width:6upx;transform:scale(0.8)" />
-            <text style="margin-left:42upx;font-size:32upx;">
+            <text style="margin-left:42upx;font-size:30upx;">
               我已阅读并同意
               <text style="font-weight:bold;color:#666666;" @click.stop="goToService()">《服务协议》</text>
@@ -244,10 +244,10 @@ export default {
       // #endif
     },
 		goToService(){
-			plus.runtime.openURL('http://www.wixhb.com/main/hzg-register')
+			this.$util.pageTo({ url: "/admin/home/register"})
 		},
 		goToPrivacy(){
-			plus.runtime.openURL('http://www.wixhb.com/main/hzg-privacy')
+			this.$util.pageTo({ url: "/admin/home/privacy"})
 		},
 		agreeItem(e){
 			this.agree = e.target.value