jhzh
2024-10-25 179e51c04b644601769a14bcf90ad4be2252de59
添加 :强平价
2 files modified
9 ■■■■ changed files
src/components/perpetual-position-list/index.vue 4 ●●●● patch | view | raw | blame | history
src/components/trade-order-area/index.vue 5 ●●●●● patch | view | raw | blame | history
src/components/perpetual-position-list/index.vue
@@ -39,6 +39,10 @@
                        $t('设置') }}{{
                        $t('止盈') }}{{$t('止损') }}</button>
                </div> -->
                <div class="flex-1">
                    <div class="text-grey">{{ $t('强平价格') }}</div>
                    <div class="mt-20" :class="[isStyle ? 'textColor1 ' : 'textColor']">{{ item.qiangPing}}</div>
                </div>
                <div>
                    <div class="text-grey">ROE</div>
                    <div class="mt-20" :class="item.change_ratio / 1 > 0 ? 'text-green' : 'text-red'">{{ item.change_ratio
src/components/trade-order-area/index.vue
@@ -30,7 +30,7 @@
          class="w-22 h-11 pr-20"
        />
      </div>
      <div class="option-box" v-if="isShow">
      <div class="option-box" v-show="isShow">
        <div
          class="font-30"
          v-for="item in selectData"
@@ -258,7 +258,8 @@
      value: 0,
      isShow: false,
      title: this.$t("市价委托"),
      selectData: [],
      selectData: [{ title: this.$t("市价委托"), type: "1" },
      { title: this.$t("限价委托"), type: "2" },],
      form: {
        volume: "",
        session_token: "",