lxf
2025-07-15 264ae424801ec3d1a1d6046121ecf3884deea069
src/components/Transform/perpetual-open/index.vue
@@ -125,7 +125,7 @@
              <div class="textColor">{{ initFutrue.amount }} {{ queryType === 'cryptos' ? 'USDT' : 'USD' }}</div>
            </div>
            <!-- {{JSON.stringify(initFutrue.para) != '[]'}} {{JSON.stringify(initFutrue.para)}} -->
            <div class="flex font-24 text-grey justify-between mt-20"
            <!-- <div class="flex font-24 text-grey justify-between mt-20"
              v-if="selectIndex == 2 && JSON.stringify(initFutrue.para) != '[]'">
              <div>{{ $t("手续费") }}</div>
              <div class="textColor">
@@ -139,17 +139,17 @@
                }}
                {{ queryType === 'cryptos' ? 'USDT' : 'USD' }}
              </div>
            </div>
            </div> -->
            <template v-if="userInfo.token">
              <template v-if="selectIndex == 1">
                <div class="w-full h-80 lh-80 bg-green flex text-white rounded-md mt-70" v-if="currentType == 'long'"
                  @click="order('long')">
                  <div class="font-34 relative text-center" style="flex-grow:1;" v-if="selectIndex == 1">
                    {{ $t('开多') }}
                    <span class="right-word font-22 text-center">{{
                    {{ $t('买入') }}
                    <!-- <span class="right-word font-22 text-center">{{
                      $t("看涨")
                    }}</span>
                    }}</span> -->
                  </div>
                  <div class="font-34 relative text-center" style="flex-grow:1;" v-else>
                    {{ $t('做多买入') }}
@@ -158,10 +158,10 @@
                <div class="w-full h-80 lh-80 bg-red flex text-white rounded-md mt-70" v-if="currentType == 'short'"
                  @click="order('short')">
                  <div class="relative font-34 text-center" style="flex-grow:1;" v-if="selectIndex == 1">
                    {{ $t('开空') }}
                    <span class="right-word font-22 text-center">{{
                    {{ $t('卖出') }}
                    <!-- <span class="right-word font-22 text-center">{{
                      $t("看跌")
                    }}</span>
                    }}</span> -->
                  </div>
                  <div class="relative font-34 text-center" style="flex-grow:1;" v-else>
                    {{ $t('做空买入') }}
@@ -172,19 +172,19 @@
                <div class="w-full h-80 lh-80 bg-green flex text-white rounded-md mt-10 " @click="order('open')"
                  v-if="userInfo.token">
                  <div class="font-34 relative text-center" style="flex-grow: 1">
                    {{ $t("开多") }}
                    <span class="right-word font-22 text-center">{{
                    {{ $t("买入") }}
                    <!-- <span class="right-word font-22 text-center">{{
                      $t("看涨")
                    }}</span>
                    }}</span> -->
                  </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 }" @click="order('close')" v-if="userInfo.token">
                  <div class="relative font-34 text-center" style="flex-grow: 1">
                    {{ $t("开空") }}
                    <span class="right-word font-22 text-center">{{
                    {{ $t("卖出") }}
                    <!-- <span class="right-word font-22 text-center">{{
                      $t("看跌")
                    }}</span>
                    }}</span> -->
                  </div>
                </div>
              </template>