From 9337c3cf960b60078558b7f942fd27f1ab39364b Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Tue, 16 Dec 2025 18:29:46 +0800
Subject: [PATCH] 改黑夜样式
---
src/components/Transform/history-item/index.vue | 37 ++++++++++++++++++++++++++++---------
1 files changed, 28 insertions(+), 9 deletions(-)
diff --git a/src/components/Transform/history-item/index.vue b/src/components/Transform/history-item/index.vue
index 18a67ef..d888e3d 100644
--- a/src/components/Transform/history-item/index.vue
+++ b/src/components/Transform/history-item/index.vue
@@ -105,17 +105,23 @@
}
</script>
<style lang="scss" scoped>
+@import '@/assets/theme/index.scss';
+
.history-item {
border-bottom: 1px solid $inp-b;
padding: 40px 0;
:deep(.van-circle__text) {
- color: $text_color;
+ @include themify() {
+ color: themed("text_color");
+ }
}
:deep(.van-circle__hover) {
- color: $text_color;
+ @include themify() {
+ color: themed("text_color");
+ }
}
.header-info {
@@ -129,7 +135,9 @@
align-items: center;
span {
- color: $text_color;
+ @include themify() {
+ color: themed("text_color");
+ }
}
.text-green {
@@ -143,7 +151,10 @@
.text {
font-size: 28px;
- color: $text_color6;
+
+ @include themify() {
+ color: themed("text_color1");
+ }
}
}
@@ -151,16 +162,21 @@
flex: 1;
.title {
- color: $dark-grey;
+ // color: $dark-grey;
font-size: 24px;
+
+ @include themify() {
+ color: themed("text_color2");
+ }
}
.text {
font-size: 28px;
-
- color: $text_color;
-
margin-top: 10px;
+
+ @include themify() {
+ color: themed("text_color1");
+ }
}
}
@@ -187,8 +203,11 @@
.detailBtn {
border: 1px solid #fff;
- color: $text_color;
justify-content: space-between;
+
+ @include themify() {
+ color: themed("text_color");
+ }
}
}
--
Gitblit v1.9.3