3/17 logo更新1.0

dev2.0
wangwei 3 weeks ago
parent 26c0c0632c
commit c99e092ecc

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 50 KiB

@ -532,9 +532,9 @@ export default {
.user-avatar { .user-avatar {
cursor: pointer; cursor: pointer;
width: 40px; width: 20px;
height: 40px; height: 20px;
border-radius: 10px; border-radius: 3px;
} }
.el-icon-caret-bottom { .el-icon-caret-bottom {

@ -72,8 +72,8 @@ export default {
& .sidebar-logo { & .sidebar-logo {
width: 100px; width: 100px;
height: 100px; height: 60px;
margin-top: 12px; margin-top: 23px;
vertical-align: middle; vertical-align: middle;
margin-right: 12px; margin-right: 12px;
} }

@ -103,7 +103,7 @@ const user = {
const user = res.data; const user = res.data;
const avatar = const avatar =
user.avatar == "" || user.avatar == null user.avatar == "" || user.avatar == null
? require("@/assets/images/glxplogo.png") ? require("@/assets/logo/logo.png")
: user.avatar; : user.avatar;
if (res.data.roles && res.data.roles.length > 0) { if (res.data.roles && res.data.roles.length > 0) {
// 验证返回的roles是否是一个非空数组 // 验证返回的roles是否是一个非空数组

@ -21,7 +21,7 @@
> >
<el-card class="box-card"> <el-card class="box-card">
<div style="text-align: center; margin-top: 10px; margin-bottom: 15px"> <div style="text-align: center; margin-top: 10px; margin-bottom: 15px">
<img alt="element-logo" src="@/assets/logo/logo.png"/> <img alt="element-logo" src="@/assets/logo/logo.png" width="160" height="80"/>
</div> </div>
<h3 class="title">用户登录</h3> <h3 class="title">用户登录</h3>
<el-form-item prop="username" class="item" style="margin-top: -20px"> <el-form-item prop="username" class="item" style="margin-top: -20px">

Loading…
Cancel
Save