李凌
2025-10-15 7fc6bfe900790ec7c92bce85d5b20a95fbc06e65
src/components/Transform/perpetual-order/index.vue
@@ -8,7 +8,7 @@
            <div class="px-10  py-10 flex  items-center textColor1 font-28" @click="tabClick('1')"
              :class="type == '1' ? 'active-line' : ''">{{ $t('持有仓位') }}<span v-if="type == '1'">({{
                orderHold.length }})</span></div>
            <div class="px-10  ml-50  py-10 flex  items-center textColor1y font-28" @click="tabClick('2')"
            <div class="px-10  ml-50  py-10 flex  items-center textColor1 font-28" @click="tabClick('2')"
              :class="type == '2' ? 'active-line' : ''">{{ $t('当前委托') }}</div>
          </template>
          <template v-else>
@@ -22,6 +22,9 @@
        </div>
        <img src="../../../assets/image/public/record.png" alt="record-img" class="w-64 h-35 pr-30 record-img"
          @click="goHistory" />
      </div>
      <div style="margin: 5px 0;width: 100%;height: 1px;background: #eee">
      </div>
      <!-- 永续-->
      <template v-if="topIndex / 1 === 1">
@@ -195,10 +198,11 @@
    // color: $text-color;
    position: relative;
    // padding: 15px 0;
    color: $text_color;
    font-size: 14px;
    color: black!important;
    border-radius: 8px;
    // background-color: $color_main
    background-color: $bg_yellow
    //background-color: $bg_yellow
  }
  // .active-line::after {
@@ -217,7 +221,8 @@
  }
  .textColor1 {
    color: $text_color;
    color: #999 ;
    font-size: 14px;
  }
}
</style>