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

This commit is contained in:
zlwu committed 2025-07-05 20:54:27 +08:00
1 parent 045ad0eb9b
commit fac46baa47
6 files changed
+24 -13

No files matched your search

Binary file not shown.

Before

Width:  |  Height:  |  Size: 269 KiB

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 KiB

+10 -9
View File
@@ -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
View File
@@ -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
View File
@@ -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>