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/Transform/mining-exchange-input/index.vue | 36 +++++++++++++++++++++++++-----------
1 files changed, 25 insertions(+), 11 deletions(-)
diff --git a/src/components/Transform/mining-exchange-input/index.vue b/src/components/Transform/mining-exchange-input/index.vue
index a219b85..a70a79a 100644
--- a/src/components/Transform/mining-exchange-input/index.vue
+++ b/src/components/Transform/mining-exchange-input/index.vue
@@ -19,10 +19,12 @@
<img src="./icon-arrow.png" alt="logo" class="w-12 h-8 icon-arrow" />
</div>
<div class="input-wrap flex justify-between flex-1 items-center ml-10">
- <input placeholder="" v-if="type == 1" type="number" class="h-40 pl-10 border-none inputBackground textColor"
- v-model="oneValue" @input="onInput" :disabled="disabled" />
- <input placeholder="" v-if="type == 2" type="number" class="h-40 pl-10 border-none inputBackground textColor"
- :value="value" @input="onInput" :disabled="disabled" />
+ <input :placeholder="placeholder" v-if="type == 1" type="number"
+ class="h-40 pl-10 border-none inputBackground textColor" v-model="oneValue" @input="onInput"
+ :disabled="disabled" />
+ <input :placeholder="placeholder" v-if="type == 2" type="number"
+ class="h-40 pl-10 border-none inputBackground textColor" :value="value" @input="onInput"
+ :disabled="disabled" />
</div>
<!-- <div v-if="showMax" class="pr-20" @click="onMax">{{ $t('最大') }}</div> -->
</div>
@@ -135,6 +137,10 @@
value: {
type: [Number, String],
default: 0,
+ },
+ placeholder: {
+ type: String,
+ default: ''
},
getval: {
type: String,
@@ -264,11 +270,14 @@
.exchange-pop {
.tab-list {
- background: $inp-b;
$tab-r: 90px;
border-radius: $tab-r;
height: 180px;
- color: $text_color;
+
+ @include themify() {
+ background: themed("input_background");
+ color: themed("text_color");
+ }
.tab-item {
text-align: center;
@@ -277,24 +286,29 @@
.active {
background: $bg_yellow;
-
border-radius: $tab-r;
}
}
.title {
- color: $text_color;
- padding: 30px 0 !important
+ padding: 30px 0 !important;
+
+ @include themify() {
+ color: themed("text_color1");
+ }
}
.search-input {
- color: $text_color;
- background: $inp-b;
border-radius: 80px;
height: 100px !important;
display: flex;
align-items: center;
padding-left: 30px !important;
+
+ @include themify() {
+ color: themed("text_color1");
+ background: themed("input_background");
+ }
}
.list {
--
Gitblit v1.9.3