| | |
| | | <div class="all-select flex justify-end" v-if="symbol"> |
| | | <div class="select-box flex" @click.stop="isAll = !isAll"> |
| | | <div class="flex-1"> |
| | | {{ symbol.toUpperCase() }}/USDT |
| | | {{ symbolname }} |
| | | </div> |
| | | <van-icon name="arrow-down" /> |
| | | <div class="select-data" v-if="isAll"> |
| | | <div class="select-item" @click.stop="selectItem(item2)" v-for="(item2, index) in currencyList" |
| | | :key="index">{{ item2.symbol.toUpperCase() || item2.symbol }}/USDT</div> |
| | | :key="index">{{ item2.symbolFullName }}</div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | import { _futrueOrderList } from '@/API/trade.api' |
| | | import assetsHead from "@/components/assets-head"; |
| | | import { _getCoins } from "@/API/home.api"; |
| | | import { getStorage } from '@/utils/utis'; |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | }, |
| | | isAll: false, |
| | | symbol: '', |
| | | symbolname:'', |
| | | selectData: [ |
| | | { title: this.$t('当前委托'), type: 'orders' }, |
| | | { title: this.$t('历史仓位'), type: 'hisorders' }, |
| | |
| | | }, |
| | | mounted() { |
| | | this.getCoins() |
| | | this.symbolname = getStorage('symbolname') |
| | | this.symbol = this.$route.query.symbol |
| | | }, |
| | | methods: { |