From 9cdbe2dbe70dda837db5956098a7af5ddc6cf0ac Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Mon, 15 Apr 2024 13:52:50 +0800 Subject: [PATCH] =?UTF-8?q?=E5=87=86=E5=85=A5=E6=A8=A1=E5=9E=8B=E5=B7=A6?= =?UTF-8?q?=E4=BE=A7=E5=AF=BC=E8=88=AA=E6=94=B9=E6=88=90=E5=88=86=E7=BA=A7?= =?UTF-8?q?=E8=8F=9C=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 4 +- src/styles/index.scss | 14 +- src/views/product/strategy/CardList.vue | 200 +++++++----------------- 3 files changed, 67 insertions(+), 151 deletions(-) diff --git a/.env b/.env index 104e2c6..e2a3828 100644 --- a/.env +++ b/.env @@ -2,8 +2,8 @@ VITE_APP_TITLE=金融产品设计及数字化营销沙盘 VITE_PORT=9520 # VITE_PROXY=http://192.168.31.125:8080 VITE_PUBLIC_PATH=./ -VITE_BASE_API=http://192.168.31.217:9000 -# VITE_BASE_API=http://121.37.12.51 +# VITE_BASE_API=http://192.168.31.217:9000 +VITE_BASE_API=http://121.37.12.51 # VITE_BASE_API=https://www.occupationlab.com VITE_I18N_LOCALE=zh-cn VITE_I18N_FALLBACK_LOCALE=zh-cn diff --git a/src/styles/index.scss b/src/styles/index.scss index ede8654..9fa244c 100644 --- a/src/styles/index.scss +++ b/src/styles/index.scss @@ -49,9 +49,7 @@ body { // global css .block { - @apply p-5; - @apply rounded-lg; - @apply bg-white; + @apply p-5 rounded-lg bg-white; } .inline-form .el-form-item { @@ -102,11 +100,21 @@ body { @apply flex-1 w-[calc(100vw-533px)] max-h-[calc(100vh-100px)] overflow-auto px-5 pt-2; } } +.menu-card { + @apply flex; + .left { + @apply mr-4 rounded-lg border-r-0; + } + .right { + @apply flex-1 w-[calc(100vw-533px)] max-h-[calc(100vh-100px)] overflow-auto p-4 bg-white rounded-lg; + } +} // .c-auto { // @apply w-[calc(100vw-533px)] max-h-[calc(100vh-160px)] overflow-auto; // } .c-table { @apply rounded-[10px]; + th.el-table__cell { @apply bg-[#F8FBFC]; } diff --git a/src/views/product/strategy/CardList.vue b/src/views/product/strategy/CardList.vue index fe67f50..17253c5 100644 --- a/src/views/product/strategy/CardList.vue +++ b/src/views/product/strategy/CardList.vue @@ -1,145 +1,59 @@