shish před 3 roky
rodič
revize
4f0b543ee0

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

@@ -27,6 +27,7 @@
 				<button class="admin-button-com small blue buttonText" @click="mobileLogin()">本机号码一键登录</button>
 				</view>
 				<!-- #endif -->
+				<!-- #ifdef APP-PLUS -->
 				<view style="color:#999999;font-size:25upx;margin-top:55upx;">
 					<radio-group @change="agreeItem">
 						<label>
@@ -40,8 +41,9 @@
 						</label>
 					</radio-group>
 				</view>
-				<view style="margin-top:50upx;color:#999999;width:88%;font-size:30upx;">
-				<text style="float:right;" @click="pageTo({url: '/pagesClient/official/apply',type:2})">注册帐号</text>
+				<!-- #endif -->
+				<view style="margin-top:80upx;color:#999999;width:86vw;font-size:35upx;">
+					<text style="float:right;" @click="pageTo({url: '/pagesClient/official/apply',type:2})">注册账号</text>
 				</view>
 			</view>
 			</view>
@@ -198,10 +200,12 @@ export default {
 		mobileLogin(){
 			let that = this
 
+			// #ifdef APP-PLUS
 			if(this.agree == 0){
 				this.$msg('请同意并勾选服务协议和隐私政策')
 				return false				
 			}
+			// #endif
 
 			uni.showLoading({mask:true})
 			uni.preLogin({
@@ -289,10 +293,12 @@ export default {
 			let that = this
 			let mobile = this.mobile
 			let password = this.password
+			// #ifdef APP-PLUS
 			if(that.agree == 0){
 				this.$msg('请同意并勾选服务协议和隐私政策')
 				return false				
 			}
+			// #endif
 			if (that.$util.isEmpty(mobile)) {
 				this.$msg('请输入手机号')
 				return false

+ 5 - 1
ghsApp/src/pagesClient/official/apply.vue

@@ -61,6 +61,7 @@
           </div>
         </div>
       </view>
+      <!-- #ifdef APP-PLUS -->
       <view style="color:#999999;font-size:25upx;margin-top:30upx;margin-left:50upx;">
         <radio-group @change="agreeItem">
           <label>
@@ -74,6 +75,7 @@
           </label>
         </radio-group>
       </view>
+      <!-- #endif -->
       <div class="btn-wrap">
         <button class="admin-button-com blue big" formType="submit" >确认</button>
       </div>
@@ -277,11 +279,13 @@ export default {
       ];
       let formData = this.form;
       let checkRes = form.validation(formData, rules);
-
+      
+      // #ifdef APP-PLUS
 			if(this.agree == 0){
 				this.$msg('请同意并勾选服务协议和隐私政策')
 				return false				
 			}
+      // #endif
 
       if(this.$util.isEmpty(this.form.cover)){
         this.$msg('请上传照片')