From 87c2777923535d5b825d3d1df9e654df9623efcb Mon Sep 17 00:00:00 2001 From: fmk1023 Date: Tue, 9 Dec 2025 14:31:11 +0800 Subject: [PATCH] =?UTF-8?q?Tcode=E5=B9=B3=E5=8F=B0=E6=94=B9=E9=80=A0?= =?UTF-8?q?=E5=8D=87=E7=BA=A7-=E6=8E=A7=E5=88=B6=E5=8F=B0=E7=99=BB?= =?UTF-8?q?=E5=BD=95=E7=BB=84=E4=BB=B6=E5=BC=80=E5=8F=91=E5=8F=8A=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E5=B7=A5=E4=BD=9C=E5=8F=B0=E9=A1=B5=E9=9D=A2=E5=BC=80?= =?UTF-8?q?=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/devui.scss | 17 + src/components/Header/index.vue | 2 +- src/components/LoginModal/index.vue | 1392 +++++++---------------- src/components/LoginModal/indexOld.vue | 1032 +++++++++++++++++ src/router/config/home.ts | 13 + src/views/Jyh/Dashboard/Integration.vue | 260 +++++ src/views/Jyh/Dashboard/billing.vue | 259 +++++ src/views/Jyh/Dashboard/expense.vue | 102 ++ src/views/Jyh/Dashboard/index.vue | 298 +++++ src/views/Jyh/Dashboard/overview.vue | 255 +++++ src/views/Jyh/Dashboard/proxy.vue | 409 +++++++ src/views/Jyh/Dashboard/setting.vue | 268 +++++ src/views/Jyh/Dashboard/usage.vue | 281 +++++ 13 files changed, 3596 insertions(+), 992 deletions(-) create mode 100644 src/components/LoginModal/indexOld.vue create mode 100644 src/views/Jyh/Dashboard/Integration.vue create mode 100644 src/views/Jyh/Dashboard/billing.vue create mode 100644 src/views/Jyh/Dashboard/expense.vue create mode 100644 src/views/Jyh/Dashboard/index.vue create mode 100644 src/views/Jyh/Dashboard/overview.vue create mode 100644 src/views/Jyh/Dashboard/proxy.vue create mode 100644 src/views/Jyh/Dashboard/setting.vue create mode 100644 src/views/Jyh/Dashboard/usage.vue diff --git a/src/assets/css/devui.scss b/src/assets/css/devui.scss index d9c2446..30966d4 100644 --- a/src/assets/css/devui.scss +++ b/src/assets/css/devui.scss @@ -310,3 +310,20 @@ circle.devui-radio__material-outer { padding: 16px 20px; } + +.tcode-login-modal { + width: 600px; + :deep(.devui-modal) { + width: 600px !important; + } + .devui-modal__header { + border-bottom: none; + padding: 0; + } + .devui-modal__body { + padding: 0; /* 移除默认内边距,由内部控制 */ + } + .btn-close { + z-index: 10; /* 确保关闭按钮在最上层 */ + } +} diff --git a/src/components/Header/index.vue b/src/components/Header/index.vue index a221508..a5c80b8 100644 --- a/src/components/Header/index.vue +++ b/src/components/Header/index.vue @@ -1463,7 +1463,7 @@ const handleLogin = (type) => { justify-content: center; letter-spacing: 8px; padding: 10px; - margin: 0 16px; + margin: 0 16px 0 14px; text-align: center; /*width: 60px;*/ } diff --git a/src/components/LoginModal/index.vue b/src/components/LoginModal/index.vue index dae3195..2a10acb 100644 --- a/src/components/LoginModal/index.vue +++ b/src/components/LoginModal/index.vue @@ -1,781 +1,5 @@ - - + + + + diff --git a/src/router/config/home.ts b/src/router/config/home.ts index 1031c25..b07bc69 100644 --- a/src/router/config/home.ts +++ b/src/router/config/home.ts @@ -254,6 +254,19 @@ export default [ }, ] }, + { + path: '/Dashboard', + name: 'Dashboard', + component: () => import('@/views/Jyh/Dashboard/index.vue'), + meta: { + title: 'Dashboard', + reportTitle: 'Dashboard', + className: 'w-full min-w-full', + hiddenFooter: true, + hasMobile: true, + asideMenu: 'drawer' // 左侧菜单抽屉模式 + } + }, { path: '/ai', redirect: '/ai/home', diff --git a/src/views/Jyh/Dashboard/Integration.vue b/src/views/Jyh/Dashboard/Integration.vue new file mode 100644 index 0000000..f28da09 --- /dev/null +++ b/src/views/Jyh/Dashboard/Integration.vue @@ -0,0 +1,260 @@ + + + + + diff --git a/src/views/Jyh/Dashboard/billing.vue b/src/views/Jyh/Dashboard/billing.vue new file mode 100644 index 0000000..3f05a49 --- /dev/null +++ b/src/views/Jyh/Dashboard/billing.vue @@ -0,0 +1,259 @@ + + + + + diff --git a/src/views/Jyh/Dashboard/expense.vue b/src/views/Jyh/Dashboard/expense.vue new file mode 100644 index 0000000..163ffd7 --- /dev/null +++ b/src/views/Jyh/Dashboard/expense.vue @@ -0,0 +1,102 @@ + + + + + diff --git a/src/views/Jyh/Dashboard/index.vue b/src/views/Jyh/Dashboard/index.vue new file mode 100644 index 0000000..f3370f5 --- /dev/null +++ b/src/views/Jyh/Dashboard/index.vue @@ -0,0 +1,298 @@ + + + + + diff --git a/src/views/Jyh/Dashboard/overview.vue b/src/views/Jyh/Dashboard/overview.vue new file mode 100644 index 0000000..0762ec9 --- /dev/null +++ b/src/views/Jyh/Dashboard/overview.vue @@ -0,0 +1,255 @@ + + + + + diff --git a/src/views/Jyh/Dashboard/proxy.vue b/src/views/Jyh/Dashboard/proxy.vue new file mode 100644 index 0000000..b981188 --- /dev/null +++ b/src/views/Jyh/Dashboard/proxy.vue @@ -0,0 +1,409 @@ + + + + + diff --git a/src/views/Jyh/Dashboard/setting.vue b/src/views/Jyh/Dashboard/setting.vue new file mode 100644 index 0000000..774efdc --- /dev/null +++ b/src/views/Jyh/Dashboard/setting.vue @@ -0,0 +1,268 @@ + + + + + diff --git a/src/views/Jyh/Dashboard/usage.vue b/src/views/Jyh/Dashboard/usage.vue new file mode 100644 index 0000000..4c5fc47 --- /dev/null +++ b/src/views/Jyh/Dashboard/usage.vue @@ -0,0 +1,281 @@ + + + + +