From aacc85345994038fe6475b7e5660db788f739b43 Mon Sep 17 00:00:00 2001 From: smallchill Date: Thu, 30 Mar 2023 00:15:34 +0800 Subject: [PATCH] :zap: optimize styles --- index.html | 14 ++++++++++---- public/css/loading.css | 10 +++++----- src/option/system/dict.js | 2 +- src/option/system/dictbiz.js | 2 +- src/page/index/top/top-theme.vue | 6 +++--- src/styles/theme/index.scss | 6 +++--- src/styles/theme/{renren.scss => lte.scss} | 4 ++-- src/views/authority/apiscope.vue | 10 ++++++++-- src/views/authority/datascope.vue | 10 ++++++++-- src/views/flow/manager.vue | 4 ++-- src/views/monitor/log/api.vue | 4 ++-- src/views/monitor/log/error.vue | 4 ++-- src/views/monitor/log/usual.vue | 2 +- src/views/resource/oss.vue | 2 +- src/views/resource/sms.vue | 2 +- src/views/system/topmenu.vue | 5 +++++ src/views/wel/index.vue | 2 +- src/views/work/claim.vue | 4 ++-- src/views/work/done.vue | 4 ++-- src/views/work/send.vue | 6 +++--- src/views/work/start.vue | 4 ++-- src/views/work/todo.vue | 4 ++-- 22 files changed, 67 insertions(+), 44 deletions(-) rename src/styles/theme/{renren.scss => lte.scss} (97%) diff --git a/index.html b/index.html index f11b9a6..bd8990f 100755 --- a/index.html +++ b/index.html @@ -2,9 +2,15 @@ - - - + + + + + + + + + @@ -24,7 +30,7 @@
- Saber + 系统加载中
diff --git a/public/css/loading.css b/public/css/loading.css index 27910a5..eed0fd6 100644 --- a/public/css/loading.css +++ b/public/css/loading.css @@ -31,7 +31,7 @@ display: flex; font-weight: bold; margin-top: 30px; - font-size: 36px; + font-size: 18px; color: rgba(0, 0, 0, .85); justify-content: center; align-items: center @@ -41,10 +41,10 @@ .dot { position: relative; display: inline-block; - width: 48px; - height: 48px; + width: 40px; + height: 40px; margin-top: 30px; - font-size: 32px; + font-size: 28px; transform: rotate(45deg); box-sizing: border-box; animation: antRotate 1.2s infinite linear @@ -113,4 +113,4 @@ to { opacity: 1 } -} \ No newline at end of file +} diff --git a/src/option/system/dict.js b/src/option/system/dict.js index f90d3c3..119e92e 100644 --- a/src/option/system/dict.js +++ b/src/option/system/dict.js @@ -152,7 +152,7 @@ export const optionChild = { { label: "字典键值", prop: "dictKey", - width: 80, + width: 85, rules: [ { required: true, diff --git a/src/option/system/dictbiz.js b/src/option/system/dictbiz.js index 277f520..bdf7906 100644 --- a/src/option/system/dictbiz.js +++ b/src/option/system/dictbiz.js @@ -153,7 +153,7 @@ export const optionChild = { { label: "字典键值", prop: "dictKey", - width: 80, + width: 85, rules: [ { required: true, diff --git a/src/page/index/top/top-theme.vue b/src/page/index/top/top-theme.vue index d5ebfce..df70cc1 100755 --- a/src/page/index/top/top-theme.vue +++ b/src/page/index/top/top-theme.vue @@ -54,7 +54,7 @@ export default { value: "theme-star" }, { - name: "vip尊贵主题", + name: "vip主题", value: "theme-vip" }, { @@ -74,8 +74,8 @@ export default { value: "theme-d2" }, { - name: "renren主题", - value: "theme-renren" + name: "lte主题", + value: "theme-lte" }, { name: "beautiful主题", value: "theme-beautiful" diff --git a/src/styles/theme/index.scss b/src/styles/theme/index.scss index 5c18ea7..99cb53a 100755 --- a/src/styles/theme/index.scss +++ b/src/styles/theme/index.scss @@ -22,11 +22,11 @@ //dark @import './dark.scss'; -//renren -@import './renren.scss'; +//lte +@import 'lte'; //cool @import './cool.scss'; //beautiful -@import './beautiful.scss' +@import './beautiful.scss'; diff --git a/src/styles/theme/renren.scss b/src/styles/theme/lte.scss similarity index 97% rename from src/styles/theme/renren.scss rename to src/styles/theme/lte.scss index e8ce1b9..6c5a985 100755 --- a/src/styles/theme/renren.scss +++ b/src/styles/theme/lte.scss @@ -1,4 +1,4 @@ -.theme-renren { +.theme-lte { .avue-logo{ background-color: #409EFF; .avue-logo_title{ @@ -33,4 +33,4 @@ } } } -} \ No newline at end of file +} diff --git a/src/views/authority/apiscope.vue b/src/views/authority/apiscope.vue index 165f385..8f1b326 100644 --- a/src/views/authority/apiscope.vue +++ b/src/views/authority/apiscope.vue @@ -27,6 +27,11 @@ @click.stop="handleDataScope(row)">权限配置 + + +