فهرست منبع

企业修改密码

lifanagju_citu 6 ماه پیش
والد
کامیت
993cfc790c
2فایلهای تغییر یافته به همراه14 افزوده شده و 2 حذف شده
  1. 13 1
      src/views/login/components/editPasswordEnt.vue
  2. 1 1
      src/views/login/forgotPasswordEnt.vue

+ 13 - 1
src/views/login/components/editPasswordEnt.vue

@@ -3,13 +3,24 @@
     <v-form ref="passwordRef" style="width: 370px;">
       <v-text-field
         v-model="query.email"
+        label="企业邮箱"
         placeholder="请输入企业邮箱" 
         variant="outlined" 
         density="compact"
         color="primary"
-        prepend-inner-icon="mdi-email-outline" 
+        prepend-inner-icon="mdi-email" 
         :rules="[v=> !!v || '请输入企业邮箱', v=> checkEmail(v)]"
       ></v-text-field>
+      <v-text-field
+        v-model="query.code"
+        label="邮箱验证码"
+        placeholder="请输入邮箱收到的验证码" 
+        variant="outlined" 
+        density="compact"
+        color="primary"
+        prepend-inner-icon="mdi-form-textbox-password"
+        :rules="[v=> !!v || '请输入邮箱收到的验证码']"
+      ></v-text-field>
       <v-text-field
         v-model="query.password"
         placeholder="请输入新密码" 
@@ -67,6 +78,7 @@ const props = defineProps({
 
 let query = reactive({
   email: '',
+  code: '',
   password: '',
   checkPassword: ''
 })

+ 1 - 1
src/views/login/forgotPasswordEnt.vue

@@ -38,7 +38,7 @@ const router = useRouter()
   left: 50%;
   translate: -50% -50%;
   width: 450px;
-  height: 390px;
+  height: 450px;
   background-color: #fff;
   border-radius: 10px;
 }