From fd4f9bc73d951cdd122b9fa7241c1267d8b2b939 Mon Sep 17 00:00:00 2001 From: fmk1023 Date: Wed, 10 Dec 2025 14:34:29 +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-=E7=94=A8=E6=88=B7=E5=B7=A5=E4=BD=9C?= =?UTF-8?q?=E5=8F=B0=E9=A1=B5=E9=9D=A2=E6=A0=B7=E5=BC=8F=E4=BC=98=E5=8C=96?= =?UTF-8?q?=E5=8F=8A=E9=82=80=E8=AF=B7=E4=BD=A0=E7=9A=84=E5=9B=A2=E9=98=9F?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/jyh/auth.ts | 37 +++ src/assets/css/jyh.scss | 22 ++ src/components/Header/AIHeader.vue | 15 +- src/components/LoginModal/index.vue | 28 +- src/views/Jyh/Dashboard/Header.vue | 236 ++++++++++++++++ src/views/Jyh/Dashboard/Integration.vue | 4 +- src/views/Jyh/Dashboard/billing.vue | 5 +- src/views/Jyh/Dashboard/expense.vue | 2 +- src/views/Jyh/Dashboard/index.vue | 28 +- .../Dashboard/overview/InviteMemberModal.vue | 92 +++++++ .../Jyh/Dashboard/overview/TeamSetupModal.vue | 254 ++++++++++++++++++ .../{overview.vue => overview/index.vue} | 57 +++- src/views/Jyh/Dashboard/proxy.vue | 4 +- src/views/Jyh/Dashboard/setting.vue | 4 +- src/views/Jyh/Dashboard/usage.vue | 4 +- vite.config.ts | 6 + 16 files changed, 750 insertions(+), 48 deletions(-) create mode 100644 src/api/jyh/auth.ts create mode 100644 src/views/Jyh/Dashboard/Header.vue create mode 100644 src/views/Jyh/Dashboard/overview/InviteMemberModal.vue create mode 100644 src/views/Jyh/Dashboard/overview/TeamSetupModal.vue rename src/views/Jyh/Dashboard/{overview.vue => overview/index.vue} (82%) diff --git a/src/api/jyh/auth.ts b/src/api/jyh/auth.ts new file mode 100644 index 0000000..1e36f77 --- /dev/null +++ b/src/api/jyh/auth.ts @@ -0,0 +1,37 @@ +import request from '@/utils/request'; + +export const getCaptcha = (account: any, password: any) => { + return request({ + url: `/u-auth/index/getCaptcha`, + method: 'POST', + data: { + account, + password, + loginCode: 'admin' + }, + responseType: 'blob' + }); +}; +export const login = (account: any, code: any, password: any) => { + return request({ + url: `/u-auth/index/login`, + method: 'POST', + data: { + account, + code, + password, + loginCode: 'admin' + } + }); +}; +export const sendSms = (account: any) => { + return request({ + url: `/u-auth/index/send-sms`, + method: 'POST', + data: { + account, + action:'login', + loginCode: 'admin' + } + }); +}; diff --git a/src/assets/css/jyh.scss b/src/assets/css/jyh.scss index 7cc275d..f39d8b0 100644 --- a/src/assets/css/jyh.scss +++ b/src/assets/css/jyh.scss @@ -537,3 +537,25 @@ img:hover { display: inline-block; height: 12px; } + + +.TeamSetupModal { + width: 600px !important; + background: rgb(27, 25, 19); + + + .devui-modal__header { + text-align: center; + font-size: 24px; + font-weight: bold; + color: #ffffff; + } + + .devui-modal__body { + padding: 4rem; + } + + .modal-actions-footer { + padding: 0 4rem 2rem; + } +} diff --git a/src/components/Header/AIHeader.vue b/src/components/Header/AIHeader.vue index 0e5d654..9024e20 100644 --- a/src/components/Header/AIHeader.vue +++ b/src/components/Header/AIHeader.vue @@ -53,13 +53,14 @@ - - + + + + + + + + diff --git a/src/components/LoginModal/index.vue b/src/components/LoginModal/index.vue index 2a10acb..f0dc9d2 100644 --- a/src/components/LoginModal/index.vue +++ b/src/components/LoginModal/index.vue @@ -60,8 +60,8 @@ size="lg" class="verify-input" /> -
- x j 7 2 +
+ 验证码图片
@@ -123,7 +123,7 @@ diff --git a/src/views/Jyh/Dashboard/Integration.vue b/src/views/Jyh/Dashboard/Integration.vue index f28da09..639bd0b 100644 --- a/src/views/Jyh/Dashboard/Integration.vue +++ b/src/views/Jyh/Dashboard/Integration.vue @@ -92,9 +92,9 @@ $highlight-yellow: #f5a623; // 黄色提示 .content-area { - background-color: #121212; + background-color: rgb(20, 18, 11); padding: 40px 60px; - overflow-y: auto; + //overflow-y: auto; } diff --git a/src/views/Jyh/Dashboard/billing.vue b/src/views/Jyh/Dashboard/billing.vue index 3f05a49..fa8c503 100644 --- a/src/views/Jyh/Dashboard/billing.vue +++ b/src/views/Jyh/Dashboard/billing.vue @@ -63,10 +63,9 @@ $border-color: #333333; // 分隔线颜色 .content-area { - // 继承自父组件,作为页面容器 - background-color: #121212; // 确保背景色足够深 + background-color: rgb(20, 18, 11); padding: 40px 60px; - overflow-y: auto; + //overflow-y: auto; } .billing-container { diff --git a/src/views/Jyh/Dashboard/expense.vue b/src/views/Jyh/Dashboard/expense.vue index 163ffd7..34263e7 100644 --- a/src/views/Jyh/Dashboard/expense.vue +++ b/src/views/Jyh/Dashboard/expense.vue @@ -25,7 +25,7 @@ diff --git a/src/views/Jyh/Dashboard/overview/TeamSetupModal.vue b/src/views/Jyh/Dashboard/overview/TeamSetupModal.vue new file mode 100644 index 0000000..2dd48be --- /dev/null +++ b/src/views/Jyh/Dashboard/overview/TeamSetupModal.vue @@ -0,0 +1,254 @@ + + + + + diff --git a/src/views/Jyh/Dashboard/overview.vue b/src/views/Jyh/Dashboard/overview/index.vue similarity index 82% rename from src/views/Jyh/Dashboard/overview.vue rename to src/views/Jyh/Dashboard/overview/index.vue index 0762ec9..efa254d 100644 --- a/src/views/Jyh/Dashboard/overview.vue +++ b/src/views/Jyh/Dashboard/overview/index.vue @@ -26,9 +26,18 @@

邀请团队成员

利用管理控制、分析和企业级安全功能,加速您的团队发展

- 邀请您的团队 + 邀请您的团队 + + +
@@ -39,7 +48,7 @@
连接 GitHub 以获取云代理、Bugbot 和增强的代码库上下文
- 连接 + LINK
@@ -50,7 +59,7 @@
连接 GitLab 以用于云代理、Bugbot 和增强的代码库上下文
- 连接 + LINK
@@ -60,7 +69,7 @@
通过 Slack 与云代理协作
- 连接 + LINK
@@ -71,7 +80,7 @@
连接 Linear 工作区,将问题委派给云代理
- 连接 + LINK @@ -79,18 +88,42 @@ -