| | |
| | | <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> |
| | |
| | | </div> |
| | | </template> |
| | | </div> |
| | | <img |
| | | src="@/assets/3x/names8.png" |
| | | alt="record-img" |
| | | class="w-32 h-35 pr-30 py-15" |
| | | @click="goHistory" |
| | | /> |
| | | <div @click="goHistory"> |
| | | <img |
| | | src="@/assets/3x/names8.png" |
| | | alt="record-img" |
| | | class="w-32 h-35 pr-30 py-15" |
| | | /> |
| | | </div> |
| | | </div> |
| | | <!-- 永续--> |
| | | <template v-if="topIndex / 1 === 1"> |
| | |
| | | <!-- <PerpetualEntrustList :list-data="orderCur" @recall="$emit('recall', $event)"></PerpetualEntrustList> --> |
| | | <PerpetualPositionList |
| | | :list-data="orderHold" |
| | | @sell="$emit('recall', $event)" |
| | | @sell="$emit('recall', $event)" |
| | | ></PerpetualPositionList> |
| | | </div> |
| | | <!-- 持有仓位列表 --> |