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/views/quotes/components/head.vue | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/src/views/quotes/components/head.vue b/src/views/quotes/components/head.vue
index 5532f01..e41d3b2 100644
--- a/src/views/quotes/components/head.vue
+++ b/src/views/quotes/components/head.vue
@@ -4,7 +4,7 @@
<div class="more_input pl-20 pr-5 flex items-center justify-start mr-5 pt-2">
<img src="@/assets/imgs/quotes/search.png" alt="">
<!-- <span class="pl-5">{{ $t('请输入关键词搜寻') }}</span> -->
- <van-field v-model="iValue" :placeholder="$t('请输入关键词搜寻')" style="background-color: #F7F7F7;"
+ <van-field v-model="iValue" :placeholder="$t('请输入关键词搜寻')" style="background: none;"
@input="emit('search', iValue)" />
</div>
</div>
@@ -28,20 +28,23 @@
<style lang="scss" scoped>
+@import '@/assets/theme/index.scss';
+
.head {
width: 100%;
- $inp-bg: #F7F7F7;
- $inp-c: #999;
margin-bottom: 1rem;
.more_input {
width: 100%;
height: 4.5rem;
- background: $inp-bg;
border-radius: 2.25rem;
- color: $inp-c;
font-size: 1.5rem;
+ @include themify() {
+ background-color: themed("input_background");
+ color: themed("text_color1");
+ }
+
span {
text-overflow: ellipsis;
overflow: hidden;
--
Gitblit v1.9.3