From 5298ff25694391961c199c0cc15cb98315db7daa Mon Sep 17 00:00:00 2001 From: gyq <875626088@qq.com> Date: Thu, 22 Feb 2024 16:24:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=A4=87=E6=B3=A8=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=EF=BC=8C=E4=BC=98=E5=8C=96el=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/App.vue | 30 +++++++++++++- src/components/remarkModal.vue | 76 ++++++++++++++++++++++++++++++++++ src/views/home.vue | 42 ++++++------------- 3 files changed, 117 insertions(+), 31 deletions(-) create mode 100644 src/components/remarkModal.vue diff --git a/src/App.vue b/src/App.vue index 6f408e3..caf4470 100644 --- a/src/App.vue +++ b/src/App.vue @@ -68,13 +68,41 @@ router.beforeEach((to, from) => { --el-button-hover-bg-color: var(--primary-color) !important; --el-color-primary-light-3: rgb(var(--r-lighter), var(--g-lighter), var(--b-lighter)) !important; --el-color-primary-dark-2: rgb(var(--r-darker), var(--g-darker), var(--b-darker)) !important; + + --el-font-size-base: 20px !important; + --el-message-close-size: 20px !important; + --el-component-size-large: 50px !important; } html { - font-size: 20px; + font-size: var(--el-font-size-base); color: #333; } +.el-textarea { + font-size: var(--el-font-size-base) !important; +} + +.el-dialog__header { + background-color: #555; + margin-right: 0 !important; + padding-bottom: 20px !important; + border-radius: var(--el-dialog-border-radius) var(--el-dialog-border-radius) 0 0; +} + +.el-dialog__title { + color: #fff !important; +} + +.el-button--large { + --el-button-size: 50px !important; + font-size: var(--el-font-size-base) !important; +} + +.el-input--large { + font-size: var(--el-font-size-base) !important; +} + /*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/ ::-webkit-scrollbar { diff --git a/src/components/remarkModal.vue b/src/components/remarkModal.vue new file mode 100644 index 0000000..53cb2ed --- /dev/null +++ b/src/components/remarkModal.vue @@ -0,0 +1,76 @@ + + + + + \ No newline at end of file diff --git a/src/views/home.vue b/src/views/home.vue index b6fbb9e..fc00de8 100644 --- a/src/views/home.vue +++ b/src/views/home.vue @@ -105,16 +105,14 @@
-
- - - -
+
-
- ¥3.09 - 结算 -
+ +
+ ¥3.09 + 结算 +
+
@@ -166,12 +164,17 @@ +