| | |
| | | @click="onSidebar" |
| | | /> --> |
| | | <div class="flex pl-21 textColor" @click="onSidebar"> |
| | | <div class="font-35">{{ symbol | _symbolName }}/USDT</div> |
| | | <div class="font-35">{{ newname }}</div> |
| | | <div class="ml-15">{{ title }}</div> |
| | | </div> |
| | | <div |
| | |
| | | :class="selectIndex == 2 ? 'select-active' : 'no-select'" |
| | | @click="changeTab(2)" |
| | | > |
| | | {{ $t("交割合约") }} |
| | | {{ $t("期权合约") }} |
| | | </button> |
| | | </div> |
| | | </div> |
| | |
| | | > |
| | | <div> |
| | | <div class="textColor"> |
| | | {{ item.symbol | _symbolName(1) }} |
| | | {{ item.name }} |
| | | </div> |
| | | <div class="text-grey mt-10"> |
| | | {{ selectIndex == 1 ? $t("永续") : $t("交割") }} |
| | |
| | | // type:String, |
| | | // default:'' |
| | | // }, |
| | | newname: { |
| | | type: String, |
| | | default: "", |
| | | }, |
| | | symbol: { |
| | | type: String, |
| | | default: "", |
| | |
| | | ...mapActions("home", ["NEW_CION_LIST"]), |
| | | onRoute(item) { |
| | | if (this.$route.params.symbol !== item.symbol) { |
| | | this.$router.push(`/perpetualContract/${item.symbol}`); |
| | | this.$router.push(`/trade/${item.symbol}`); |
| | | this.$emit("update-coin", item.symbol); |
| | | setStorage("symbol", item.symbol); |
| | | this.onClose(); |
| | |
| | | const mainArray = this.coins.filter( |
| | | (item) => !this.newcoinArr.includes(item) |
| | | ); |
| | | _getHomeList(mainArray.join(",")).then((list) => { |
| | | |
| | | |
| | | _getHomeList(mainArray.join(","),'desc').then((list) => { |
| | | // console.log(list) |
| | | this.list = list; |
| | | if (this.timeout) { |