zouling 1 年間 前
コミット
f5b81a037d
1 ファイル変更4 行追加3 行削除
  1. 4 3
      pages/mine/pwd/resetpwd.vue

+ 4 - 3
pages/mine/pwd/resetpwd.vue

@@ -7,6 +7,7 @@
       <uni-forms-item name="confirmPassword" label="确认密码">
         <uni-easyinput :inputBorder="false" type="password" v-model="user.confirmPassword" placeholder="请确认新密码" />
       </uni-forms-item>
+	  <view class="titico">*密码必须包含数字、大小写字母、特殊符号且大于8位</view>
       <view class="rbtn" @click="submit">提交</view>
     </uni-forms>
   </view>
@@ -31,9 +32,8 @@
                 errorMessage: '新密码不能为空',
               },
               {
-                minLength: 6,
-                maxLength: 20,
-                errorMessage: '长度在 6 到 20 个字符'
+                minLength: 8,
+                errorMessage: '长度大于8位'
               }
             ]
           },
@@ -86,6 +86,7 @@
   .pwd-retrieve-container {
     padding: 10rpx 36rpx;
   }
+  .titico{font-weight: 500;font-size: 24rpx;color: #FF6969;margin-top: 20rpx;}
   .pwd .rbtn{width: 100%;height: 98rpx;background: $com-cd3;border-radius: 49rpx;text-align: center;line-height: 98rpx;font-size: 32rpx;font-weight: bold;color: #FFFEFE;margin-top: 68rpx;}
   .pwd /deep/ .uni-forms-item{height: 126rpx;background: #FFFFFF;border-radius: 18rpx;margin-top: 30rpx;padding: 0 40rpx;box-sizing: border-box;display: flex;align-items: center;margin-bottom: 0;}
   .pwd /deep/ .uni-forms-item__label{font-size: 32rpx;font-weight: 500;