diff --git a/src/assets/styles/element-ui.scss b/src/assets/styles/element-ui.scss
index d599028..73de1bf 100644
--- a/src/assets/styles/element-ui.scss
+++ b/src/assets/styles/element-ui.scss
@@ -128,7 +128,12 @@
justify-content: space-between;
}
}
+
// el-table 表头样式
.el-table-header-cell {
text-align: center !important;
}
+
+.el-dialog__headerbtn {
+ width: 47px !important;
+}
diff --git a/src/components/Dialog/index.vue b/src/components/Dialog/index.vue
new file mode 100644
index 0000000..8222794
--- /dev/null
+++ b/src/components/Dialog/index.vue
@@ -0,0 +1,93 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/main.js b/src/main.js
index c48be56..ca1a1ce 100644
--- a/src/main.js
+++ b/src/main.js
@@ -41,6 +41,8 @@ import ImagePreview from '@/components/ImagePreview'
import DictTag from '@/components/DictTag'
// el-date-picker 快捷选项
import dateOptions from '@/utils/dateOptions'
+// Dialog组件
+import Dialog from '@/components/Dialog'
const app = createApp(App)
signalR.init(import.meta.env.VITE_APP_SOCKET_API)
@@ -65,6 +67,7 @@ app.component('UploadImage', ImageUpload)
app.component('ImagePreview', ImagePreview)
app.component('RightToolbar', RightToolbar)
app.component('svg-icon', SvgIcon)
+app.component('ZrDialog', Dialog)
directive(app)
diff --git a/src/views/system/notice/index.vue b/src/views/system/notice/index.vue
index 62489fd..3a0c993 100644
--- a/src/views/system/notice/index.vue
+++ b/src/views/system/notice/index.vue
@@ -68,7 +68,7 @@
-
+
@@ -104,7 +104,7 @@
{{ $t('btn.cancel') }}
{{ $t('btn.submit') }}
-
+