From 7f894f6b79356448dbb10a3cb781f0093d5425ff Mon Sep 17 00:00:00 2001 From: chenjinsong <523037378@qq.com> Date: Wed, 15 Jan 2020 22:21:19 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= =?UTF-8?q?=E3=80=81=E4=B8=AD=E6=96=87=E5=9B=BD=E9=99=85=E5=8C=96=E6=95=B4?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nezha-fronted/src/assets/stylus/index.scss | 3 +- nezha-fronted/src/assets/stylus/main.scss | 13 +- .../src/components/common/header.vue | 90 ++-- .../src/components/common/language/cn.js | 414 ++++++++++++++---- .../src/components/common/language/en.js | 16 +- .../src/components/page/asset/asset.vue | 95 ++-- nezha-fronted/src/store/index.js | 5 +- 7 files changed, 460 insertions(+), 176 deletions(-) diff --git a/nezha-fronted/src/assets/stylus/index.scss b/nezha-fronted/src/assets/stylus/index.scss index 17206a0de..9a81bf409 100644 --- a/nezha-fronted/src/assets/stylus/index.scss +++ b/nezha-fronted/src/assets/stylus/index.scss @@ -1,6 +1,7 @@ $global-text-color-active: #ee9d3f; // 全局文字active字色 -$header-text-color: #fff; // header默认字色 +$header-text-color: #e5e5e5; // header默认字色 +$header-text-color-active: #fff; // header高亮字色 $header-text-color-hover: #444; //header hover字色 $content-left-text-color: #666; //左侧菜单默认字色 diff --git a/nezha-fronted/src/assets/stylus/main.scss b/nezha-fronted/src/assets/stylus/main.scss index 36a1e0f64..52e3fb255 100644 --- a/nezha-fronted/src/assets/stylus/main.scss +++ b/nezha-fronted/src/assets/stylus/main.scss @@ -78,7 +78,6 @@ html { cursor: pointer; line-height: 18px; font-size: 14px; - font-weight: 600; padding: 4px 6px; text-align: center; box-sizing: border-box; @@ -333,10 +332,11 @@ html { display: flex; height: 36px; min-width: 100px; - } -.nz-table-gear -{ +.content-right .el-table__row td:first-of-type { + padding-left: 33px; +} +.nz-table-gear { display: block; width: 38px; margin-left:-10px; @@ -346,6 +346,9 @@ html { border-right:2px solid #d4d4d4; box-sizing: border-box; } +.nz-table-gear>i { + cursor: pointer; +} .nz-table-txt{ padding-left:10px; display: flex; @@ -756,4 +759,4 @@ html { .el-icon-setting:before { content: "\E6CA"; color: #BA3939; -} \ No newline at end of file +} diff --git a/nezha-fronted/src/components/common/header.vue b/nezha-fronted/src/components/common/header.vue index 9c98ce110..e29e6d413 100644 --- a/nezha-fronted/src/components/common/header.vue +++ b/nezha-fronted/src/components/common/header.vue @@ -38,11 +38,11 @@