| | |
| | | <div |
| | | class="px-10 py-10 flex items-center" |
| | | @click="tabClick('1')" |
| | | :class="type == '1' ? 'active-line' : 'newcolor1'" |
| | | :class="type == '1' ? 'active-line' : ''" |
| | | > |
| | | {{ $t("持有仓位") |
| | | }}<span v-if="type == '1'">({{ orderHold.length }})</span> |
| | |
| | | <div |
| | | class="px-10 ml-50 py-10 flex items-center" |
| | | @click="tabClick('2')" |
| | | :class="type == '2' ? 'active-line' : 'newcolor1'" |
| | | :class="type == '2' ? 'active-line' : ''" |
| | | > |
| | | {{ $t("当前委托") }} |
| | | </div> |
| | |
| | | <!-- <PerpetualEntrustList :list-data="orderCur" @recall="$emit('recall', $event)"></PerpetualEntrustList> --> |
| | | <PerpetualPositionList |
| | | :list-data="orderHold" |
| | | @sell="$emit('recall', $event)" |
| | | @sell="$emit('recall', $event)" |
| | | ></PerpetualPositionList> |
| | | </div> |
| | | <!-- 持有仓位列表 --> |