From c17311ba1351cd5e64654c3fc7b2fe765b1e7382 Mon Sep 17 00:00:00 2001
From: 李凌 <344137771@qq.com>
Date: Thu, 09 Oct 2025 11:53:12 +0800
Subject: [PATCH] 1

---
 src/components/ex-input/index.vue |   36 +++++++++++++++++++++---------------
 1 files changed, 21 insertions(+), 15 deletions(-)

diff --git a/src/components/ex-input/index.vue b/src/components/ex-input/index.vue
index 70d8e1a..dd00e2c 100644
--- a/src/components/ex-input/index.vue
+++ b/src/components/ex-input/index.vue
@@ -8,13 +8,13 @@
         <img src="../../assets/image/login/more.png" alt="">
       </div>
       <!-- <p>{{ passwordType }} {{ props.value }}</p> -->
-      <input autocomplete="off" name="username" class="inputBackground" v-if="typeText == 'password'" :type="passwordType"
-        :placeholder="placeholderText" :value="modelValue" @input="onInput" :disabled="disabled" />
+      <input autocomplete="off" name="username" class="inputBackground" v-if="typeText == 'password'"
+        :type="passwordType" :placeholder="placeholderText" :value="modelValue" @input="onInput" :disabled="disabled" />
       <div class="max-input" v-else>
-        <input autocomplete="off" v-if="max > 0" :maxlength="max" class="inputBackground" type="text" :disabled="disabled"
-        :placeholder="placeholderText" :value="modelValue" @input="onInput" />
-        <input autocomplete="off" v-else  class="inputBackground" type="text" :disabled="disabled"
-        :placeholder="placeholderText" :value="modelValue" @input="onInput" />
+        <input autocomplete="off" v-if="max > 0" :maxlength="max" class="inputBackground" type="text"
+          :disabled="disabled" :placeholder="placeholderText" :value="modelValue" @input="onInput" />
+        <input autocomplete="off" v-else class="inputBackground" type="text" :disabled="disabled"
+          :placeholder="placeholderText" :value="modelValue" @input="onInput" />
       </div>
       <div class="rightCon">
         <div class="closeBox" v-if="clearBtn" @click="clear"><img src="../../assets/image/login/clear.png" alt="" />
@@ -111,11 +111,7 @@
 <style lang="scss" scoped>
 @import "@/views/authentication/components/intl.css";
 
-.textColor{
-  color: $text_color;
-}
 .inputCom {
-  color: $text_color;
   padding-bottom: 22px;
   font-size: 14px;
 
@@ -147,7 +143,10 @@
     height: 100%;
     border: none;
     padding-left: 10px;
-    color: $text_color;
+
+    @include themify() {
+      color: themed("text_color");
+    }
   }
 
   .rightCon {
@@ -172,8 +171,11 @@
 
 .tips {
   font-size: 13px;
-  color: $text_color1;
   margin-top: 9px;
+
+  @include themify() {
+    color: themed("text_color");
+  }
 }
 
 input:-webkit-autofill {
@@ -181,16 +183,20 @@
 }
 
 input::-webkit-input-placeholder {
-  color: $dark-grey;
+  @include themify() {
+    color: themed("text_color1");
+  }
 }
 
 .icon {
   transform: scale(1.3);
   display: inline-block;
 }
-.max-input{
+
+.max-input {
   width: 100%;
-  input{
+
+  input {
     width: 100%;
   }
 }

--
Gitblit v1.9.3