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/custom-tab-bar/index.vue | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/src/custom-tab-bar/index.vue b/src/custom-tab-bar/index.vue
index 30914eb..0b14769 100644
--- a/src/custom-tab-bar/index.vue
+++ b/src/custom-tab-bar/index.vue
@@ -3,9 +3,11 @@
import { onShow } from "@dcloudio/uni-app";
import { useNotify } from "../stores/notify";
+ import { useAppTheme } from "../stores/theme";
const currentPath = ref("");
const { hasUnread, unreadLabel, refreshUnreadCount } = useNotify();
+ const { primaryColor } = useAppTheme();
const tabs = [
{
@@ -61,6 +63,7 @@
:key="tab.path"
class="tab-item"
:class="{ active: activePath === tab.path }"
+ :style="activePath === tab.path ? { color: primaryColor } : undefined"
@click="switchTab(tab.path)">
<view class="icon">
<image class="icon-image"
@@ -98,7 +101,7 @@
font-size: 20rpx;
}
.tab-item.active {
- color: #1769d8;
+ color: var(--color-primary, #1769d8);
font-weight: 600;
}
.icon {
--
Gitblit v1.9.3