perf: 简单修改配色 (#1857)

* perf: 简单修改配色

* perf: 吸怪透明度

* perf: 默认红色

Co-authored-by: ibuler <ibuler@qq.com>
This commit is contained in:
fit2bot 2022-07-01 16:12:36 +08:00 committed by GitHub
parent 109b40f3b2
commit c3cc54a2d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 7 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@ -1,11 +1,11 @@
// ElementUI
$--color-primary: #b4312b;
$--color-primary: #ca2e1f;
$--color-success: #E98737;
$--color-info: #f06f06;
$--color-warning: #f8ac59;
$--color-danger: #ed5565;
$--color-warning: #f82ed3;
$--color-danger: #074bdc;
// Menu
// Men
//$menuText: rgb(241, 212, 174);
$menuBg: #b4312b;
$menuActiveLeft: rgb(241, 212, 174);

View File

@ -1,4 +1,4 @@
@import "./themes/keep-heart-red";
@import "src/styles/themes/revolution";
//@import "./themes/classic";
$--color-black: #000000;

View File

@ -6,7 +6,7 @@
<div class="content">
<el-row :gutter="20">
<el-col :span="5" class="left">
<el-avatar fit="fill" class="avatar" :size="60" :src="users.avatar_url" />
<el-avatar fit="fill" class="avatar" :size="60" :src="avatarUrl" />
</el-col>
<el-col :span="18">
<ul>
@ -34,7 +34,8 @@ export default {
},
data() {
return {
users: {}
users: {},
avatarUrl: require('@/assets/img/admin.png')
}
},
created() {