From db7646dbb131a82a324b85835a604433ff926544 Mon Sep 17 00:00:00 2001 From: "hangyu.tao" Date: Thu, 29 Jan 2026 15:42:55 +0800 Subject: [PATCH] =?UTF-8?q?feat:=E6=96=B0=E5=A2=9E=E6=84=8F=E5=90=91?= =?UTF-8?q?=E4=BA=A7=E5=93=81=EF=BC=8C=E5=8E=BB=E6=8E=89=E8=AF=95=E7=94=A8?= =?UTF-8?q?=E6=97=B6=E9=97=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/css/style.css | 21 +- frontend/index.html | 2222 ++++++++------------- frontend/js/main.js | 10 +- frontend/js/trial-periods-page.js | 45 +- internal/handlers/trial_period_handler.go | 25 +- 5 files changed, 925 insertions(+), 1398 deletions(-) diff --git a/frontend/css/style.css b/frontend/css/style.css index 2e297ec..5af80e9 100644 --- a/frontend/css/style.css +++ b/frontend/css/style.css @@ -36,7 +36,7 @@ body { /* Sidebar Styles */ .sidebar { width: var(--sidebar-width); - background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%); + background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%); color: var(--white); position: fixed; height: 100vh; @@ -214,7 +214,7 @@ body { transition: margin-left 0.3s ease; } -.sidebar.collapsed ~ .main-content { +.sidebar.collapsed~.main-content { margin-left: 70px; } @@ -649,7 +649,7 @@ body { cursor: pointer; } -.checkbox-label input[type="checkbox"]:checked + span { +.checkbox-label input[type="checkbox"]:checked+span { color: var(--primary-orange); font-weight: 500; } @@ -1104,7 +1104,7 @@ td.overflow-cell { flex-direction: column; } -.sidebar.collapsed ~ .main-content #editModal .modal-content { +.sidebar.collapsed~.main-content #editModal .modal-content { width: min(calc(100vw - 70px - 80px), 800px); } @@ -1126,7 +1126,7 @@ td.overflow-cell { flex-direction: column; } -.sidebar.collapsed ~ .main-content #createModal .modal-content { +.sidebar.collapsed~.main-content #createModal .modal-content { width: min(calc(100vw - 70px - 80px), 800px); } @@ -1559,6 +1559,7 @@ td.overflow-cell { } @keyframes pulse { + 0%, 100% { opacity: 1; @@ -2323,11 +2324,9 @@ tr:hover .action-cell { } .customer-tab.active { - background: linear-gradient( - 135deg, - var(--primary-orange), - var(--secondary-orange) - ); + background: linear-gradient(135deg, + var(--primary-orange), + var(--secondary-orange)); color: var(--white); border-color: transparent; box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3); @@ -2696,4 +2695,4 @@ tr:hover .action-cell { gap: 8px; min-width: auto; } -} +} \ No newline at end of file diff --git a/frontend/index.html b/frontend/index.html index d1e2016..68c59aa 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -1,1429 +1,913 @@ - + + CRM客户管理系统 - + - + - +
- - - - -
- -
-
- -

数据仪表板

-
-
- -
- - - -
- - -
- -
-
- - -
- -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
- -
- - -
-
- - -
-
-
- -
-
- - - - - - - - - - - - - - - -
客户咨询时间版本描述解决方案类型模块状态与进度操作
-
- - - -
- - -
-
-
- - 本周 -
-
- - - -
- -
-
- -
- -

本周暂无客户进度数据

-
-
-
-
-
-
- - -
-
- -
- - -
-
- - -
-
- - -
-
- - -
-
- -
- -
-

- - 客户列表 -

- -
-
- - - - - - - - - - - - - - - - -
客户名称来源意向产品状态开始时间结束时间创建时间操作
-
- - - -
-
- - -
-
-
-
- -
-
-

0

-

总客户数

-
-
-
-
- -
-
-

0

-

本月新增

-
-
-
-
- -
-
-

0

-

已成交

-
-
-
-
- -
-
-

0

-

跟进客户次数

-
-
-
-
- - - - - -
-
- -
-
-
-

数据分布

-
- -
-
-
- -
-
-
-
-

客户类型

-
- -
-
-
- -
-
-
- - -
-
-
-

时间趋势分析

-
- -
-
-
- -
-
-
-
- - -
- -
- - -
- -
- -
- - -
-
-
+
- - - - +