Explorar o código

提交新的用户默认头像,修改图像的样式

zlwu hai 1 ano
pai
achega
fac46baa47

BIN=BIN
web/src/assets/images/profile.jpg


BIN=BIN
web/src/assets/images/profile1.jpg


BIN=BIN
web/src/assets/images/profile2.jpg


+ 10 - 9
web/src/layout/components/Navbar.vue

@@ -281,19 +281,20 @@ watch(
 
     .avatar-container {
       margin-right: 40px;
+      margin-top: 9px;
 
       .avatar-wrapper {
-        margin-top: 5px;
+        // margin-top: 5px;
         position: relative;
 
         .user-avatar {
           cursor: pointer;
-          width: 30px !important;
-          height: 30px !important;
-          min-width: 30px;
-          min-height: 30px;
-          max-width: 30px;
-          max-height: 30px;
+          width: 24px !important;
+          height: 24px !important;
+          min-width: 24px;
+          min-height: 24px;
+          max-width: 24px;
+          max-height: 24px;
           border-radius: 6px;
           margin-top: 10px;
           object-fit: cover;
@@ -305,8 +306,8 @@ watch(
         i {
           cursor: pointer;
           position: absolute;
-          right: -20px;
-          top: 25px;
+          right: -15px;
+          top: 17px;
           font-size: 12px;
         }
       }

+ 12 - 2
web/src/views/login.vue

@@ -52,7 +52,13 @@
         </el-button>
       </el-form-item> -->
       <el-form-item style="width: 100%">
-        <el-button :loading="loading" size="large" type="primary" style="width: 100%" @click.prevent="handleLogin">
+        <el-button
+          :loading="loading"
+          size="large"
+          style="width: 100%; background-color: rgb(var(--art-primary)) !important"
+          class="login-button"
+          @click.prevent="handleLogin"
+        >
           <span v-if="!loading">{{ proxy.$t('login.login') }}</span>
           <span v-else>{{ proxy.$t('login.logging') }}</span>
         </el-button>
@@ -299,7 +305,7 @@ onMounted(() => {
   .title {
     margin: 0px auto 30px auto;
     text-align: center;
-    color: #707070;
+    color: #000000;
   }
 
   :deep(.lang-select--style) {
@@ -393,4 +399,8 @@ onMounted(() => {
     border-radius: 8px;
   }
 }
+
+.login-button{
+  color: #ffffff;
+}
 </style>

+ 2 - 2
web/src/views/system/user/profile/index.vue

@@ -55,12 +55,12 @@
             <el-tab-pane label="修改密码" name="resetPwd">
               <resetPwd />
             </el-tab-pane>
-            <el-tab-pane label="第三方应用" name="thirdParty">
+            <!-- <el-tab-pane label="第三方应用" name="thirdParty">
               <thirdParty :auths="state.auths" />
             </el-tab-pane>
             <el-tab-pane label="在线设备" name="onlineDevice">
               <onlineDevice :devices="state.devices" />
-            </el-tab-pane>
+            </el-tab-pane> -->
           </el-tabs>
         </el-card>
       </el-col>