Эх сурвалжийг харах

v1.1.0 1.注册取消手机号 2. 屏蔽忘记密码

gongyan 4 жил өмнө
parent
commit
9f372e375e

+ 10 - 1
README.md

@@ -29,6 +29,15 @@ node 10.16.0
 1. data 更换 base64 编码方式传递给 wcfml
 2. 跳转 wcfml 地址之前跳转一次 loading
 
+## v1.0.8
+
+1. loading 页面新增 query 的所有参数, 解决部分位置 loading 无法关闭问题(暂时未发布)
+
+## v1.1.0
+
+1. 屏蔽忘记密码入口
+2. 注册屏蔽手机号注册
+
 # pay
 
 ## order cp 给的参数都随机生成
@@ -273,4 +282,4 @@ appid
 
 ## 8.24
 
--   [ ] loading 保留 query 的参数 解决某些情况下无法关闭页面的 bug
+-   [x] loading 保留 query 的参数 解决某些情况下无法关闭页面的 bug

+ 1 - 1
package.json

@@ -1,6 +1,6 @@
 {
     "name": "vue-demo",
-    "version": "v1.0.7",
+    "version": "v1.1.0",
     "private": true,
     "description": "h5SDK",
     "author": "",

+ 1 - 1
src/views/Login/Login.vue

@@ -59,7 +59,7 @@
           />
           <label for="is_remember">记住密码</label>
         </p>
-        <div @click="onForgetClick" class="login_forget">忘记密码</div>
+        <!-- <div @click="onForgetClick" class="login_forget">忘记密码</div> -->
       </div>
       <!-- 登录按钮 -->
       <div v-if="canLogin" class="login_true" @click="login">登录</div>

+ 32 - 32
src/views/Reg/Reg.vue

@@ -31,7 +31,7 @@
                 />
               </div>
               <!-- 手机号 -->
-              <div class="phone_code_tel">
+              <!-- <div class="phone_code_tel">
                 <i class="red">*</i>
                 <input
                   class="phone_code_input_username"
@@ -41,9 +41,9 @@
                   oninput="value=value.replace(/[^\d]/g,'')"
                   v-model="phoneNumber"
                 />
-              </div>
+              </div> -->
               <!-- 验证码 -->
-              <div class="phone_code_captcha">
+              <!-- <div class="phone_code_captcha">
                 <i class="red">*</i>
                 <div
                   class="bind_send"
@@ -58,7 +58,7 @@
                   v-model="captcha"
                   maxlength="4"
                 />
-              </div>
+              </div> -->
               <!-- 密码 -->
               <div class="reg_password">
                 <i class="red">*</i>
@@ -298,16 +298,16 @@ export default {
       }
 
       // 1. 验证手机号格式
-      const telCheck = this.$utils.checkVerification(phoneNumber);
-      if (!telCheck) {
-        this.$toast.text("手机号格式不准确");
-        return;
-      }
+      //   const telCheck = this.$utils.checkVerification(phoneNumber);
+      //   if (!telCheck) {
+      //     this.$toast.text("手机号格式不准确");
+      //     return;
+      //   }
       // 2. 验证验证码是否为空
-      if (!captcha) {
-        this.$toast.text("验证码不能为空");
-        return;
-      }
+      //   if (!captcha) {
+      //     this.$toast.text("验证码不能为空");
+      //     return;
+      //   }
       // 3. 验证密码
       if (!password) {
         this.$toast.text("密码不能为空");
@@ -364,8 +364,8 @@ export default {
       const { appid } = this.$CONFIG;
       const registObj = {
         passport,
-        mobile: phoneNumber,
-        smsCode: captcha,
+        // mobile: phoneNumber,
+        // smsCode: captcha,
         password,
         promoCode,
         appId: appid,
@@ -423,12 +423,12 @@ export default {
 
   .udb_phone_code_box {
     width: 700 / @rem;
-    height: 750 / @rem;
+    height: 550 / @rem;
     position: absolute;
     top: 50%;
     left: 50%;
     margin-left: -350 / @rem;
-    margin-top: -375 / @rem;
+    margin-top: -275 / @rem;
     font-size: 32 / @rem;
     background-color: #fff;
     box-sizing: border-box;
@@ -623,8 +623,8 @@ export default {
       overflow-y: auto;
 
       .title {
-        height: 40 / @rem;
-        line-height: 40 / @rem;
+        height: 50 / @rem;
+        line-height: 50 / @rem;
         font-size: 18 / @rem;
       }
 
@@ -647,19 +647,19 @@ export default {
         margin-top: 5 / @rem;
       }
       .phone_code_input {
-        margin-top: 10 / @rem;
+        margin-top: 15 / @rem;
       }
       .phone_code_tel,
       .phone_code_captcha {
-        height: 35 / @rem;
-        margin-top: 5 / @rem;
+        height: 40 / @rem;
+        margin-top: 10 / @rem;
       }
       .phone_code_tel {
         margin-top: 5 / @rem;
       }
       .phone_code_input_username,
       .phone_code_input_captcha {
-        height: 35 / @rem;
+        height: 40 / @rem;
         padding-left: 10 / @rem;
         font-size: 16 / @rem;
       }
@@ -681,30 +681,30 @@ export default {
         font-size: 16 / @rem;
       }
       .bind_send {
-        height: 30 / @rem;
-        line-height: 30 / @rem;
+        height: 40 / @rem;
+        line-height: 40 / @rem;
         font-size: 16 / @rem;
         border-radius: 5 / @rem;
       }
       .bind_phone_true {
-        height: 30 / @rem;
-        line-height: 30 / @rem;
-        margin: 5 / @rem auto 0;
+        height: 40 / @rem;
+        line-height: 40 / @rem;
+        margin: 15 / @rem auto 0;
         border-radius: 7 / @rem;
         font-size: 16 / @rem;
       }
       .reg_password,
       .reg_password2 {
-        height: 30 / @rem;
-        margin-top: 5 / @rem;
+        height: 40 / @rem;
+        margin-top: 15 / @rem;
       }
       .reg_input_password {
-        height: 30 / @rem;
+        height: 40 / @rem;
         padding-left: 10 / @rem;
         font-size: 16 / @rem;
       }
       .reg_input_password2 {
-        height: 30 / @rem;
+        height: 40 / @rem;
         padding-left: 10 / @rem;
         font-size: 16 / @rem;
       }