From 0ed539e3e9edc4e0e3c1d9e848dfc5a75821e8bb Mon Sep 17 00:00:00 2001
From: heyujie <516346543@qq.com>
Date: 星期一, 27 九月 2021 17:12:01 +0800
Subject: [PATCH] 完成账户ui

---
 src/pages/settings/index/index.vue |  104 +++++++++++++++++++++++++++++++++++++++++++++-------
 1 files changed, 90 insertions(+), 14 deletions(-)

diff --git a/src/pages/settings/index/index.vue b/src/pages/settings/index/index.vue
index fb7a356..5c27f41 100644
--- a/src/pages/settings/index/index.vue
+++ b/src/pages/settings/index/index.vue
@@ -89,8 +89,8 @@
               <div class="user-name">
                 <span
                   class="icon iconfont"
-                  style="font-size: 20px; margin-right: 3px"
-                  >&#xe738;</span
+                  style="font-size: 19px; margin-right: 4px"
+                  >&#xe737;</span
                 >
                 <span>{{ activeAccountItem.username }}</span>
               </div>
@@ -175,7 +175,10 @@
         </div>
 
         <div class="change-pw" v-if="inAccountDetail && isChangePw">
-          <div class="title">淇敼瀵嗙爜</div>
+          <div class="title">
+            <span class="icon iconfont">&#xe738;</span>
+            <span>淇敼瀵嗙爜</span>
+          </div>
           <el-form
             :model="passwordForm"
             :rules="pwRules"
@@ -186,7 +189,7 @@
               prop="curPassword"
               v-if="activeAccountItem.id == curUserID"
             >
-              <div class="p-title">褰撳墠瀵嗙爜锛�</div>
+              <div class="p-title">褰撳墠瀵嗙爜</div>
 
               <el-input
                 placeholder="蹇呭~"
@@ -195,7 +198,7 @@
               ></el-input>
             </el-form-item>
             <el-form-item prop="newPassword">
-              <div class="p-title">鏂板瘑鐮侊細</div>
+              <div class="p-title">鏂板瘑鐮�</div>
               <el-input
                 placeholder="蹇呭~"
                 v-model="passwordForm.newPassword"
@@ -203,7 +206,7 @@
               ></el-input>
             </el-form-item>
             <el-form-item prop="confirmPassword">
-              <div class="p-title">纭瀵嗙爜锛�</div>
+              <div class="p-title">纭瀵嗙爜</div>
               <el-input
                 placeholder="蹇呭~"
                 v-model="passwordForm.confirmPassword"
@@ -2005,10 +2008,84 @@
       }
 
       .change-pw {
+        padding: 40px 10px;
+    max-width: 600px;
+    margin: 0 auto;
+        .title {
+          font-weight: bold;
+          font-size: 16px;
+          line-height: 22px;
+          color: #333333;    margin-bottom: 40px;
+              height: 28px;
+    display: flex;
+    align-items: center;
+    justify-content: center;
+          .icon{
+    font-size: 28px;
+    font-weight: normal;margin-right: 10px;
+          }
+
+        }
+        .el-form-item__content {
+          line-height: 48px;
+          display: flex;
+          align-items: center;
+          background: #f2f2f7;
+          border-radius: 8px;
+          padding: 0 15px 0 20px;
+          .el-select-dropdown__item {
+            color: #333333;
+            height: 32px;
+            font-size: 12px;
+            line-height: 32px;
+            text-align: center;
+          }
+          .el-popper {
+            margin-top: 0;
+            background: #fbfaff;
+            box-shadow: 0px 2px 6px rgb(0 0 0 / 18%);
+            border-radius: 2px;
+            .el-select-dropdown__item.hover,
+            .el-select-dropdown__item:hover {
+              background-color: #f2f2f7;
+              color: #4e94ff;
+            }
+          }
+        }
+        .el-form-item__error {
+          line-height: 0.7;
+          left: 20px;
+        }
+        .el-form-item {
+          .el-input__inner {
+            background-color: #ffffff;
+            border: none;
+            border-radius: 20px;
+            height: 32px;
+            padding: 0 15px;
+            font-size: 14px;
+            font-weight: bold;
+          }
+          .el-input__inner::placeholder {
+            color: #c0c4cc;
+            font-size: 12px;
+            font-weight: normal;
+          }
+          .el-select {
+            width: 100%;
+          }
+          .el-select .el-input .el-select__caret {
+            color: #333333;
+            font-size: 14px;
+            font-weight: 600;
+          }
+        }
         .p-title {
-          text-align: left;
-          font-size: 15px;
-          margin-top: 5px;
+           height: 48px;
+            text-align: left;
+            line-height: 48px;
+            width: 90px;
+            font-weight: 600;
         }
       }
       .el-form-item {
@@ -2055,6 +2132,8 @@
             color: #333;
             height: 100%;
             overflow: auto;
+                max-width: 600px;
+    margin: 0 auto;
             .el-tree-node {
               background: initial;
               .el-tree-node__content {
@@ -2427,7 +2506,7 @@
             }
             .right {
               display: flex;
-              align-items: baseline;
+              align-items: center;
               .desc-min {
                 font-size: 12px;
                 font-weight: bold;
@@ -2449,16 +2528,13 @@
               .el-button--text {
                 margin-left: 42px;
                 color: #409eff;
-                /* background: 0 0; */
-                padding-left: 0;
-                padding-right: 0;
                 background: rgba(78, 148, 255, 0.1);
                 border: 1px solid #4e94ff;
                 box-sizing: border-box;
                 border-radius: 20px;
                 width: 68px;
                 color: #333;
-                font-weight: bold;
+                font-weight: bold;padding: 6px 20px;
               }
             }
           }

--
Gitblit v1.8.0