| | |
| | | <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> |
| | |
| | | </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"> |
| | |
| | | // 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 { |
| | |
| | | } |
| | | |
| | | .textColor1 { |
| | | color: $text_color; |
| | | color: #999 ; |
| | | font-size: 14px; |
| | | } |
| | | } |
| | | </style> |