From 0def56313b5cfc65cdce9e89f599033138fb2393 Mon Sep 17 00:00:00 2001 From: baishun Date: Tue, 18 Apr 2023 15:06:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0bg-ui?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/bg-ui/bg-code-editor.vue | 14 ++++ src/bg-ui/bg-detail-table.vue | 4 +- src/bg-ui/bg-detail-table2.vue | 10 +-- src/bg-ui/bg-icon.vue | 2 +- src/bg-ui/bg-switch.vue | 17 +++-- src/bg-ui/bg-table-btns2.vue | 114 +++++++++++++++++++++------------ src/bg-ui/bg-upload.vue | 27 ++++++-- src/bg-ui/iconfont/iconfont.js | 2 +- src/bg-ui/index.scss | 36 ++++++----- 9 files changed, 148 insertions(+), 78 deletions(-) diff --git a/src/bg-ui/bg-code-editor.vue b/src/bg-ui/bg-code-editor.vue index c3f39f3..fd2bfa3 100644 --- a/src/bg-ui/bg-code-editor.vue +++ b/src/bg-ui/bg-code-editor.vue @@ -140,6 +140,20 @@ const { content } = toRefs(states); } .vue-ace-editor-disable :deep() .ace_scrollbar-v { width: 6px !important; + right: 2px; +} + +.vue-ace-editor-disable :deep().ace_scrollbar::-webkit-scrollbar { + height: 6px; + width: 6px; +} +.vue-ace-editor-disable :deep().ace_scrollbar::-webkit-scrollbar-track { + background-color: #f7f7f9; /* Matches ace monokai */ + border-radius: 3px; +} +.vue-ace-editor-disable :deep().ace_scrollbar::-webkit-scrollbar-thumb { + background-color: #c1c7d7; + border-radius: 3px; } .vue-ace-editor-disable :deep() .ace_gutter { background-color: #202531; diff --git a/src/bg-ui/bg-detail-table.vue b/src/bg-ui/bg-detail-table.vue index 006a975..621a139 100644 --- a/src/bg-ui/bg-detail-table.vue +++ b/src/bg-ui/bg-detail-table.vue @@ -17,13 +17,13 @@ {{ item.info }} {{ helper.downloadFileFormatNew(it) }}、 diff --git a/src/bg-ui/bg-detail-table2.vue b/src/bg-ui/bg-detail-table2.vue index 32a95c7..2061bc6 100644 --- a/src/bg-ui/bg-detail-table2.vue +++ b/src/bg-ui/bg-detail-table2.vue @@ -7,9 +7,11 @@ :style="{ width: item.width }">

{{ item.label }} - {{ - item.value - }} + {{ item.value }} @@ -70,6 +72,6 @@ const props = defineProps({ border-right: solid 1px #dadee7; } .row-box .detail-module span:nth-of-type(2) { - flex-grow: 1; + flex: 1; } diff --git a/src/bg-ui/bg-icon.vue b/src/bg-ui/bg-icon.vue index 12e7342..3b648a2 100644 --- a/src/bg-ui/bg-icon.vue +++ b/src/bg-ui/bg-icon.vue @@ -5,7 +5,7 @@