From b054a9651d0ffb97ead9f4b7d31f8c5df2be0d50 Mon Sep 17 00:00:00 2001 From: liting <994745334@qq.com> Date: Sun, 14 Apr 2024 17:34:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Dialog/src/Dialog.vue | 8 ++-- src/views/apply/apply/MainForm.vue | 72 ++++++++++++++-------------- 2 files changed, 41 insertions(+), 39 deletions(-) diff --git a/src/components/Dialog/src/Dialog.vue b/src/components/Dialog/src/Dialog.vue index a1eb550c8..104c1dfd8 100644 --- a/src/components/Dialog/src/Dialog.vue +++ b/src/components/Dialog/src/Dialog.vue @@ -8,7 +8,7 @@ const slots = useSlots() const props = defineProps({ modelValue: propTypes.bool.def(false), title: propTypes.string.def('Dialog'), - fullscreen: propTypes.bool.def(true), + fullscreen: propTypes.bool.def(false), width: propTypes.oneOfType([String, Number]).def('40%'), scroll: propTypes.bool.def(false), // 是否开启滚动条。如果是的话,按照 maxHeight 设置最大高度 maxHeight: propTypes.oneOfType([String, Number]).def('400px') @@ -26,7 +26,7 @@ const getBindValue = computed(() => { return obj }) -const isFullscreen = ref(false) +const isFullscreen = ref(true) const toggleFull = () => { isFullscreen.value = !unref(isFullscreen) @@ -89,7 +89,7 @@ const dialogStyle = computed(() => { class="is-hover cursor-pointer" icon="ep:close" hover-color="var(--el-color-primary)" - color="var(--el-color-info)" + color="#ffffff" @click="close" /> @@ -122,6 +122,8 @@ const dialogStyle = computed(() => { padding: 0; margin-right: 0 !important; border-bottom: 1px solid var(--el-border-color); + background: #409eff; + color: #ffffff; } &__body { diff --git a/src/views/apply/apply/MainForm.vue b/src/views/apply/apply/MainForm.vue index ffa5aab29..d27ba133a 100644 --- a/src/views/apply/apply/MainForm.vue +++ b/src/views/apply/apply/MainForm.vue @@ -7,149 +7,149 @@ 基本信息 - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +