dcc
2024-06-07 d5381ec06ab5f549fade867c3a874de613bdd5d4
src/components/perpetual-open/index.vue
@@ -45,12 +45,13 @@
        </div>
      </div>
      <div>
        <img
          src="../../assets/image/public/k-line.png"
          alt="line-img"
          class="w-38 h-35"
          @click="jump"
        />
        <span @click="jump">
          <img
            src="../../assets/image/public/k-line.png"
            alt="line-img"
            class="w-38 h-35"
          />
        </span>
      </div>
    </div>
    <div class="pt-30 pb-20">
@@ -177,13 +178,13 @@
              >
                {{ $t("开多") }}
              </p>
              <p
              <!-- <p
                class="font-28 flex-1 ml-20 flex items-center justify-center h-66 short"
                :class="currentType == 'short' ? 'short' : ''"
                @click="changeTab('short')"
              >
                {{ $t("开空") }}
              </p>
              </p> -->
            </div>
            <div class="mt-30 mb-30" style="position: relative">
              <div
@@ -288,12 +289,13 @@
              style="height: 100%"
            >
              <template v-if="selectIndex == 1">
                <img
                  @click="onAdd"
                  src="../../assets/image/public/add.png"
                  alt="reduce"
                  class="w-30 h-30"
                />
                <div @click="onAdd">
                  <img
                    src="../../assets/image/public/add.png"
                    alt="reduce"
                    class="w-30 h-30"
                  />
                </div>
              </template>
              <template v-else>
                <span class="textColor">USDT</span>
@@ -406,7 +408,7 @@
                  {{ $t("做多买入") }}
                </div>
              </div>
              <div
              <!-- <div
                class="w-full h-80 lh-80 bg-red flex text-white rounded-md mt-50"
                v-if="currentType == 'short'"
                @click="order('short')"
@@ -417,9 +419,6 @@
                  v-if="selectIndex == 1"
                >
                  {{ $t("开空") }}
                  <!-- <span class="right-word font-22 text-center">{{
                    $t("看跌")
                  }}</span> -->
                </div>
                <div
                  class="relative font-34 text-center"
@@ -428,7 +427,7 @@
                >
                  {{ $t("做空买入") }}
                </div>
              </div>
              </div> -->
            </template>
            <template v-if="selectIndex == 2">
              <div
@@ -443,7 +442,7 @@
                  }}</span>
                </div>
              </div>
              <div
              <!-- <div
                class="w-full h-80 lh-80 bg-red flex text-white rounded-md mt-20 mb-10"
                style="position: relative"
                :class="{ 'mt-22': selectIndex == 2 }"
@@ -456,7 +455,7 @@
                    $t("看跌")
                  }}</span>
                </div>
              </div>
              </div> -->
            </template>
          </template>
          <div v-else class="w-full mt-120">