From 6cd1d790d0a55b8f763de8d1d129cca2772393e4 Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Mon, 22 Dec 2025 18:37:14 +0800
Subject: [PATCH] 1
---
src/views/authentication/components/nationalityList.vue | 26 +++++++++++---------------
1 files changed, 11 insertions(+), 15 deletions(-)
diff --git a/src/views/authentication/components/nationalityList.vue b/src/views/authentication/components/nationalityList.vue
index b50d8c3..e42fdfc 100644
--- a/src/views/authentication/components/nationalityList.vue
+++ b/src/views/authentication/components/nationalityList.vue
@@ -2,8 +2,8 @@
<div class="nationList">
<van-action-sheet v-model:show="isShow" :title="props.title">
<form>
- <van-search class="tabBackground" v-model="val" :placeholder="$t('entrynational')" @input="onSearch(val)"
- @clear="onClear" />
+ <van-search class="tabBackground" v-model="val" :placeholder="$t('entrynational')"
+ @input="onSearch(val)" @clear="onClear" />
</form>
<div class="flex pl-30 pr-30 pt-30 pb-30 justify-between list-view box-border textColor container"
@@ -218,15 +218,7 @@
</script>
<style lang="scss" scoped>
@import "intl.css";
-
-:deep(.van-action-sheet__header) {
- background-color: $main2_background;
- color: $text_color;
-}
-
-.container {
- background-color: $main2_background;
-}
+@import "@/assets/theme/index.scss";
.van-action-sheet__header {
color: $text_color4;
@@ -234,16 +226,20 @@
.nationList {
:deep(.van-field__control) {
- color: $text_color;
+ @include themify() {
+ color: themed("text_color");
+ }
}
}
:deep(.van-search__content) {
- background: $tab_background;
- color: $text_color;
+ @include themify() {
+ color: themed("text_color");
+ background: themed("tab_background");
+ }
}
:deep(.van-action-sheet__content) {
- background: $selectSymbol_background;
+ background: $selectSymbol_background;
}
</style>
--
Gitblit v1.9.3