From fb0c769022609c0bf1b264b0c135eee900432f70 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期四, 22 十月 2026 18:04:18 +0800
Subject: [PATCH] 1、整理APP端主题变量,统一主色、浅色背景、边框色、页面背景及卡片背景等公共样式 2、排查APP端列表分页情况,区分主列表分页与下拉选择器数据请求 3、补齐考勤记录、考勤异常、考勤汇总、员工社保档案、薪酬核算、薪资发放、班次、节假日、考勤规则、备件台账、领用记录及工序流转等页面分页

---
 src/pages/home/classic.vue |   24 +++++++++++++-----------
 1 files changed, 13 insertions(+), 11 deletions(-)

diff --git a/src/pages/home/classic.vue b/src/pages/home/classic.vue
index 890936f..f96ceea 100644
--- a/src/pages/home/classic.vue
+++ b/src/pages/home/classic.vue
@@ -15,9 +15,11 @@
   import { APP_COMPANY } from "../../config/company";
   import { useAuth } from "../../stores/auth";
   import { useNotify } from "../../stores/notify";
+  import { useAppTheme } from "../../stores/theme";
 
   const { state, isLoggedIn, restoreUser } = useAuth();
   const { state: notifyState, refreshUnreadCount } = useNotify();
+  const { themeStyle } = useAppTheme();
 
   const summary = ref<HomeSummary | null>(null);
   const trend = ref<ProductionTrend[]>([]);
@@ -312,7 +314,7 @@
 </script>
 
 <template>
-  <view class="page">
+  <view class="page" :style="themeStyle">
     <view class="home-hero">
       <view class="topbar">
         <view class="welcome-copy">
@@ -490,10 +492,10 @@
     padding: calc(var(--status-bar-height) + 22rpx) 28rpx 156rpx;
     background: radial-gradient(
         circle at 86% 2%,
-        rgba(67, 165, 255, 0.28),
-        rgba(67, 165, 255, 0) 34%
+        var(--color-primary-border, #bfdbff),
+        transparent 34%
       ),
-      linear-gradient(180deg, #dbeeff 0%, #edf6ff 34%, #f3f7fb 62%, #eef3f9 100%);
+      linear-gradient(180deg, var(--color-primary-soft, #eef5ff) 0%, #f7f8fc 42%, #f3f7fb 68%, #eef3f9 100%);
   }
   .page,
   .page view,
@@ -535,7 +537,7 @@
   .brand-name {
     display: inline-block;
     margin-bottom: 10rpx;
-    color: #1769d8;
+    color: var(--color-primary, #1769d8);
     font-size: 23rpx;
     font-weight: 700;
   }
@@ -655,7 +657,7 @@
   }
   .main-kpi text:nth-child(2) {
     margin-top: 3rpx;
-    color: #1769d8;
+    color: var(--color-primary, #1769d8);
     font-size: 53rpx;
     font-weight: 700;
     line-height: 1.12;
@@ -851,7 +853,7 @@
   .bar-fill {
     width: 58%;
     min-height: 8rpx;
-    background: linear-gradient(180deg, #76aeff, #1d73e7);
+    background: linear-gradient(180deg, var(--color-primary-light, #4b8ee8), var(--color-primary, #1769d8));
     border-radius: 8rpx 8rpx 3rpx 3rpx;
   }
   .bar-item text:last-child {
@@ -890,7 +892,7 @@
   }
   .status-row > view > view {
     height: 100%;
-    background: linear-gradient(90deg, #72adff, #1d73e7);
+    background: linear-gradient(90deg, var(--color-primary-light, #4b8ee8), var(--color-primary, #1769d8));
     border-radius: 12rpx;
   }
   .status-row > text:last-child {
@@ -940,8 +942,8 @@
     background: currentColor;
   }
   .blue {
-    color: #246fd5;
-    background: #e4efff;
+    color: var(--color-primary, #1769d8);
+    background: var(--color-primary-soft, #eef5ff);
   }
   .violet {
     color: #695bd8;
@@ -1080,7 +1082,7 @@
     color: #fff;
     font-size: 27rpx;
     line-height: 84rpx;
-    background: #1769d8;
+    background: var(--color-primary, #1769d8);
     border-radius: 42rpx;
   }
 </style>

--
Gitblit v1.9.3