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/index.vue | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/views/index.vue b/src/views/index.vue
index 2ba1c53..5370e08 100644
--- a/src/views/index.vue
+++ b/src/views/index.vue
@@ -14,7 +14,7 @@
<div class="left-2-item" v-for="(item,index) in workDay" :key="index">
<div class="left-item-title">
<span style="font-size: 18px;">{{ item }}</span>
- <span style="font-size: 14px;color: #999999;">{{ weekdays[index] }}</span>
+ <span style="font-size: 14px;color: var(--lims-text-3);">{{ weekdays[index] }}</span>
<el-tag style="margin-top: 6px;" size="small">{{workList[index].length}} 鏉�</el-tag>
</div>
<div class="left-item-body">
@@ -23,7 +23,7 @@
<span style="font-size: 12px;margin-bottom: 17px;">{{ m.text }}</span>
<div style="display: flex">
<span class="body-item-name">{{ m.name }}</span>
- <span v-if="m.state == 0" class="body-item-insState" style="background-color: #909399;font-size: 12px;">寰呮楠�</span>
+ <span v-if="m.state == 0" class="body-item-insState" style="background-color: var(--lims-text-3);font-size: 12px;">寰呮楠�</span>
<span v-if="m.state == 1" class="body-item-insState" style="background-color: var(--el-color-warning);font-size: 12px;">妫�楠屼腑</span>
<span v-if="m.state == 2" class="body-item-insState" style="background-color: var(--el-color-success);font-size: 12px;">宸叉楠�</span>
<span v-if="m.state == 3" class="body-item-insState" style="background-color: var(--el-color-warning);font-size: 12px;">寰呭鏍�</span>
@@ -40,7 +40,7 @@
<!-- 宸ユ椂缁熻妯″潡鏆傛椂闅愯棌锛氬垹鎺� v-if 鍗冲彲鎭㈠ -->
<div v-if="false" class="right-2 card">
<div style="display: flex;align-items: center;justify-content: space-between;margin-bottom: 10px">
- <span style="color: #333333;font-size: 16px;">宸ユ椂缁熻</span>
+ <span style="color: var(--lims-text);font-size: 16px;">宸ユ椂缁熻</span>
<el-date-picker
v-model="time.month"
type="month"
@@ -52,7 +52,7 @@
<el-row :gutter="10" style="width: 100%;">
<el-col :span="12">
<div class="right-time-1">
- <div style="text-align: center;font-size: 14px;color: #606266;line-height: 60px;">鎬诲伐鏃�(灏忔椂)</div>
+ <div style="text-align: center;font-size: 14px;color: var(--lims-text-2);line-height: 60px;">鎬诲伐鏃�(灏忔椂)</div>
<div style="text-align: center;font-family: DIN Alternate, DIN Alternate;font-weight: 700;font-size: 26px;color: #3D3D3D;line-height: 40px;">{{totalHour}}</div>
</div>
</el-col>
@@ -85,7 +85,7 @@
</div>
</div>
</scroll-pagination>
- <div v-if="list.length<1&&!listLoading" style="color:#909399;font-size:14px;text-align: center;margin-top:80px" >鏆傛棤鏁版嵁</div>
+ <div v-if="list.length<1&&!listLoading" style="color:var(--lims-text-3);font-size:14px;text-align: center;margin-top:80px" >鏆傛棤鏁版嵁</div>
</div>
</div>
</el-col>
@@ -644,7 +644,7 @@
border-radius: 10px;
line-height: 22px;
text-align: center;
- background: #C0C4CC;
+ background: var(--el-text-color-placeholder);
color: #fff;
font-size: 12px
}
--
Gitblit v1.9.3