From 712b5937da8ba5a6a10130325a29d2f0f5adbad4 Mon Sep 17 00:00:00 2001 From: lb Date: Mon, 16 Jan 2023 17:01:14 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 +- src/components/BaseListTable.vue | 44 +++++++++++++------ src/components/BaseSearchForm.vue | 27 ++++++++++-- src/components/DialogWithMenu.vue | 7 ++- .../operationComponent.js | 4 +- .../noTemplateComponents/statusComponent.js | 2 +- src/views/atomViews/ListViewWithHead.vue | 15 ++++++- 7 files changed, 78 insertions(+), 23 deletions(-) diff --git a/package.json b/package.json index 157249e..00dee17 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "devDependencies": { "@vue/cli-plugin-babel": "^4.4.6", "@vue/cli-service": "^4.4.6", - "element-theme-chalk": "^2.15.7", + "element-theme-chalk": "^2.15.12", "natives": "^1.1.6", "vue-template-compiler": "^2.6.11" }, diff --git a/src/components/BaseListTable.vue b/src/components/BaseListTable.vue index 0c3016c..01971cc 100644 --- a/src/components/BaseListTable.vue +++ b/src/components/BaseListTable.vue @@ -1,7 +1,19 @@ @@ -63,13 +81,13 @@ - + diff --git a/src/components/DialogWithMenu.vue b/src/components/DialogWithMenu.vue index 83dc51d..15f420e 100644 --- a/src/components/DialogWithMenu.vue +++ b/src/components/DialogWithMenu.vue @@ -6,7 +6,7 @@ :distory-on-close="true" > -
+

编辑

@@ -430,4 +430,9 @@ export default { .el-select { width: 100% !important; } + +.dialog-with-menu >>> .el-dialog__header { + padding: 10px 20px 10px; + background: linear-gradient(to bottom, rgba(0, 0, 0, 0.25), white); +} diff --git a/src/components/noTemplateComponents/operationComponent.js b/src/components/noTemplateComponents/operationComponent.js index f97cd4c..d04c9ee 100644 --- a/src/components/noTemplateComponents/operationComponent.js +++ b/src/components/noTemplateComponents/operationComponent.js @@ -72,7 +72,7 @@ export default { h('el-button', { props: { type: 'text' }, - style: { color: this.colors[opt.name] || '#409EFF' }, + style: { color: this.colors[opt.name] || '#0b58ff' }, on: { click: this.emit.bind(null, opt) } }, this.text[opt.name] @@ -85,7 +85,7 @@ export default { h('el-button', { props: { type: 'text' }, - style: { color: this.colors[opt] || '#409EFF' }, + style: { color: this.colors[opt] || '#0b58ff' }, on: { click: this.emit.bind(null, opt) } }, this.text[opt] diff --git a/src/components/noTemplateComponents/statusComponent.js b/src/components/noTemplateComponents/statusComponent.js index 12aca99..4f4d656 100644 --- a/src/components/noTemplateComponents/statusComponent.js +++ b/src/components/noTemplateComponents/statusComponent.js @@ -40,7 +40,7 @@ export default { return h('el-tag', { props: - { type: this.isEnabled ? this.statusType[0] : this.statusType[1] } + { size: 'small', type: this.isEnabled ? this.statusType[0] : this.statusType[1] } }, this.isEnabled ? this.statusText[0] : this.statusText[1]) } diff --git a/src/views/atomViews/ListViewWithHead.vue b/src/views/atomViews/ListViewWithHead.vue index 3e239af..be0525a 100644 --- a/src/views/atomViews/ListViewWithHead.vue +++ b/src/views/atomViews/ListViewWithHead.vue @@ -1,6 +1,8 @@