From dbb01dabdc106e353aaefee80ccbdf9fb6669173 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 08 十月 2026 14:56:55 +0800
Subject: [PATCH] 项目重构
---
src/views/performance/class/index.vue | 32 ++++++++++++++++----------------
1 files changed, 16 insertions(+), 16 deletions(-)
diff --git a/src/views/performance/class/index.vue b/src/views/performance/class/index.vue
index b1cdd60..6490bde 100644
--- a/src/views/performance/class/index.vue
+++ b/src/views/performance/class/index.vue
@@ -55,7 +55,7 @@
{{ item.name }}
</p>
<p style="
- color: #999999;
+ color: var(--lims-text-3);
font-size: 12px;
transform: scale(0.8) translateX(-20px);
white-space: nowrap;
@@ -69,11 +69,11 @@
</p>
<p style="margin-top: 4px; margin: 0">
<span style="
- color: #999999;
+ color: var(--lims-text-3);
font-size: 12px;
display: inline-block;
transform: scale(0.8) translateX(-10px);
- ">鍚堣鍑哄嫟: </span><span style="font-size: 16px; color: #ff4902">{{
+ ">鍚堣鍑哄嫟: </span><span style="font-size: 16px; color: var(--el-color-danger)">{{
query.month
? item.monthlyAttendance.totalAttendance
: item.sidebarAnnualAttendance.totalAttendance
@@ -143,7 +143,7 @@
{{ item.name }}
</p>
<p style="
- color: #999999;
+ color: var(--lims-text-3);
font-size: 12px;
transform: scale(0.8) translateX(-20px);
white-space: nowrap;
@@ -157,11 +157,11 @@
</p>
<p style="margin-top: 4px; margin: 0">
<span style="
- color: #999999;
+ color: var(--lims-text-3);
font-size: 12px;
display: inline-block;
transform: scale(0.8) translateX(-10px);
- ">鍚堣鍑哄嫟: </span><span style="font-size: 16px; color: #ff4902">{{ item.work_time }}澶�</span>
+ ">鍚堣鍑哄嫟: </span><span style="font-size: 16px; color: var(--el-color-danger)">{{ item.work_time }}澶�</span>
</p>
</div>
</div>
@@ -243,7 +243,7 @@
<lims-icon name="el-icon-edit" v-if="!item.isEdit" style="margin-left: 10px; color: #4b79f2; cursor: pointer"
@click="item.isEdit = true"></lims-icon>
<lims-icon name="el-icon-delete" v-if="timeQuery.length > 1"
- style="margin-left: 10px; color: #ff4902; cursor: pointer" @click="deleteTime(item, index)"></lims-icon>
+ style="margin-left: 10px; color: var(--el-color-danger); cursor: pointer" @click="deleteTime(item, index)"></lims-icon>
</span>
</div>
<el-divider></el-divider>
@@ -909,7 +909,7 @@
.content-title {
height: 58px;
line-height: 58px;
- border-bottom: 1px solid #eeeeee;
+ border-bottom: 1px solid var(--lims-divider);
}
.content-title-right {
@@ -921,7 +921,7 @@
height: 100%;
width: 50px;
flex-shrink: 0;
- border-bottom: 1px solid #eeeeee;
+ border-bottom: 1px solid var(--lims-divider);
box-sizing: border-box;
display: flex;
align-items: center;
@@ -943,13 +943,13 @@
.content-title-item .day {
font-size: 14px;
- color: #333333;
+ color: var(--lims-text);
margin-right: 4px;
}
.content-title-item .week {
font-size: 12px;
- color: #999999;
+ color: var(--lims-text-3);
}
.content-body {
@@ -964,8 +964,8 @@
font-size: 12px;
box-sizing: border-box;
padding: 4px;
- border-right: 1px solid #eeeeee;
- border-bottom: 1px solid #eeeeee;
+ border-right: 1px solid var(--lims-divider);
+ border-bottom: 1px solid var(--lims-divider);
}
.work-box {
@@ -976,7 +976,7 @@
justify-content: space-around;
background: #edeff2;
border-radius: 8px 8px 8px 8px;
- color: #999;
+ color: var(--lims-text-3);
font-size: 14px;
}
@@ -1054,7 +1054,7 @@
width: 100%;
height: 70px;
box-sizing: border-box;
- border-bottom: 1px solid #eeeeee;
+ border-bottom: 1px solid var(--lims-divider);
display: flex;
align-items: center;
}
@@ -1063,7 +1063,7 @@
width: 50px;
height: 50px;
border-radius: 50%;
- background: #c0c4cc;
+ background: var(--el-text-color-placeholder);
color: #fff;
font-size: 20px;
text-align: center;
--
Gitblit v1.9.3