1
李凌
2025-10-09 c17311ba1351cd5e64654c3fc7b2fe765b1e7382
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 {