ccjgmwz 3 lat temu
rodzic
commit
f6febced27
3 zmienionych plików z 5 dodań i 4 usunięć
  1. 2 1
      pages.json
  2. 1 1
      pages/public/login.vue
  3. 2 2
      pages/public/login_account_number.vue

+ 2 - 1
pages.json

@@ -120,7 +120,8 @@
 				"navigationStyle": "custom",
 				"app-plus": {
 					"titleNView": false,
-					"animationType": "slide-in-bottom"
+					"animationType": "slide-in-bottom",
+					"softinputMode": "adjustPan"
 				}
 			}
 		},

+ 1 - 1
pages/public/login.vue

@@ -11,8 +11,8 @@
 				<image v-if='phone!=""' @click='phone=""' class='close' src='../../static/img/login/guanbi@2x.png'></image>
 			</view>
 			<button @click='gocode' :class='codestatus?"active":""' class='verificationCode'>获取验证码</button>
+			<button @click='goregister' class='verificationCode active'>手机号一键注册</button>
 			<view @click='gonumber' style='text-align:center;color:#6A6A6A;margin-top:10px;'>使用账号密码登录</view>
-		    <button @click='goregister' class='register'>手机号一键注册</button>
 		</view>
 		<view v-if="loginType === 'phone'" class="register-section">
 			还没有账号?

+ 2 - 2
pages/public/login_account_number.vue

@@ -16,11 +16,11 @@
 				<image v-if='password!=""' @click='password=""' class='close2' src='../../static/img/login/guanbi@2x.png'></image>
 			</view>
 			<button :class='phone!=""&&password!=""?"active":""' @click='passlogin' class='verificationCode'>登录</button>
+			<button @click='goregister' class='verificationCode active'>手机号一键注册</button>
 			<view class='flex' style='color:#6A6A6A;margin-top:10px;'>
 				<view style='flex:1;text-align:center;border-right:1px solid #E8E9ED;' @click="forgetpass()">忘记密码</view>
 				<view @click='gocode' style='flex:1;text-align:center;'>验证码登录</view>
 			</view>
-		    <button @click='goregister' class='register'>手机号一键注册</button>
 		</view>
 		</view>
 	</view>
@@ -921,7 +921,7 @@ username: "13333333333"}).then(res1 => {
 		color:#fff;
 	}
 	.register{
-		position:absolute;
+		/* position:absolute; */
 		bottom:20px;
 		left:50%;
 		transform: translateX(-50%);