diff --git a/main/manager-web/src/components/CustomDialog.vue b/main/manager-web/src/components/CustomDialog.vue index 14829429..92f55dae 100644 --- a/main/manager-web/src/components/CustomDialog.vue +++ b/main/manager-web/src/components/CustomDialog.vue @@ -123,6 +123,7 @@ export default { border-radius: 10px; overflow: hidden; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); + margin-top: 15vh !important; } ::v-deep .el-dialog__header { diff --git a/main/manager-web/src/components/HeaderBar.vue b/main/manager-web/src/components/HeaderBar.vue index 4d7c5ba9..476358db 100644 --- a/main/manager-web/src/components/HeaderBar.vue +++ b/main/manager-web/src/components/HeaderBar.vue @@ -687,7 +687,7 @@ export default { background: #deeafe; display: flex; justify-content: center; - font-size: 14px; + font-size: 16px; font-weight: 500; gap: 7px; color: #3d4566; diff --git a/main/manager-web/src/components/MacAddressMask.vue b/main/manager-web/src/components/MacAddressMask.vue index d779785e..ed7d2fd7 100644 --- a/main/manager-web/src/components/MacAddressMask.vue +++ b/main/manager-web/src/components/MacAddressMask.vue @@ -13,7 +13,7 @@ export default { }, computed: { isValid() { - return /^(?:[0-9A-F]{2}[:-]){5}[0-9A-F]{2}$/i.test(this.macAddress); + return /^(?:[0-9A-Z]{2}[:-]){5}[0-9A-Z]{2}$/i.test(this.macAddress); }, segments() { return this.macAddress.split(':'); diff --git a/main/manager-web/src/views/KnowledgeBaseItem.vue b/main/manager-web/src/views/KnowledgeBaseItem.vue index 14eae192..53620776 100644 --- a/main/manager-web/src/views/KnowledgeBaseItem.vue +++ b/main/manager-web/src/views/KnowledgeBaseItem.vue @@ -31,10 +31,10 @@
- - - + + {{ getProgressText(doc) }} @@ -326,7 +326,7 @@ export default { getProgressOffset(doc) { const code = doc.parseStatusCode; - const circumference = 106.81; + const circumference = 94.25; if (code === 3) return 0; if (code === 1) { const progress = doc.chunkNum && doc.totalChunkNum @@ -403,13 +403,13 @@ export default { } .doc-section-title { - font-size: 20px; + font-size: 18px; font-weight: 500; color: #1f2a44; } .doc-section-count { - font-size: 14px; + font-size: 18px; color: #788ba8; } @@ -436,13 +436,14 @@ export default { } .doc-card { - max-height: 120px; + max-height: 110px; border-radius: 8px; border: 1px solid transparent; padding: 18px; background: #fff; display: flex; flex-direction: column; + justify-content: center; cursor: pointer; transition: all 0.25s; position: relative; @@ -495,7 +496,6 @@ export default { } .doc-card-bottom { - margin-top: auto; display: flex; align-items: center; justify-content: space-between; @@ -509,13 +509,13 @@ export default { /* ========== Progress Ring ========== */ .progress-ring { - width: 44px; - height: 44px; + width: 40px; + height: 40px; position: relative; svg { - width: 44px; - height: 44px; + width: 40px; + height: 40px; transform: rotate(-90deg); } @@ -548,7 +548,7 @@ export default { } .progress-container { - height: 32px; + height: 36px; display: flex; flex-direction: column; justify-content: space-between; diff --git a/main/manager-web/src/views/KnowledgeBaseManagement.vue b/main/manager-web/src/views/KnowledgeBaseManagement.vue index aa572461..e4d7fea9 100644 --- a/main/manager-web/src/views/KnowledgeBaseManagement.vue +++ b/main/manager-web/src/views/KnowledgeBaseManagement.vue @@ -27,11 +27,11 @@
-
+
{{ $t('knowledgeBaseManagement.switchKnowledgeBase') }}
-
+
@@ -72,8 +72,8 @@ v-model="kb.status" :active-value="1" :inactive-value="0" - active-color="#13ce66" - inactive-color="#ff4949" + active-color="#5778ff" + inactive-color="#DCDFE6" @click.native.stop @change="handleStatusChange(kb)" > @@ -84,7 +84,6 @@
{{ kb.description || '-' }}
-

{{ $t('knowledgeBaseManagement.noData') }}

@@ -104,15 +103,12 @@ @view-slices="handleViewSlices" @refresh="refreshDocuments" /> -
- -
-