| | |
| | | </div> |
| | | </template> |
| | | </div> |
| | | <img |
| | | src="@/assets/3x/names8.png" |
| | | alt="record-img" |
| | | class="w-32 h-35 pr-30" |
| | | @click="goHistory" |
| | | /> |
| | | <span @click="goHistory"> |
| | | <img |
| | | src="@/assets/3x/names8.png" |
| | | alt="record-img" |
| | | class="w-32 h-35 pr-30" |
| | | /> |
| | | </span> |
| | | </div> |
| | | </div> |
| | | <div class="pl-32 pr-32 pb-100" v-if="tabType == '1'"> |
| | |
| | | </div> |
| | | <div class="fixed w-full shadow z-10 tabBackground1"> |
| | | <div class="flex justify-between px-30 py-10"> |
| | | <span class="font-24 textColor2" |
| | | >{{ symbol.toUpperCase() }}/USDT {{ $t("k线图表") }}</span |
| | | > |
| | | <span class="font-24 textColor2"> |
| | | {{ symbol | _symbolName(1) }} {{ $t("k线图表") }} |
| | | </span> |
| | | <van-icon |
| | | class="textColor" |
| | | @click.stop="showCharts = !showCharts" |
| | |
| | | await this.SET_COIN_LIST(); |
| | | } |
| | | }, |
| | | mounted() { |
| | | this.GET_UERS_KYC(); |
| | | }, |
| | | methods: { |
| | | ...mapActions("home", [SET_COIN_LIST]), |
| | | ...mapActions("user", ["GET_UERS_KYC"]), |
| | | |
| | | onUpdate(symbol) { |
| | | // 更新 |
| | | this.symbol = symbol; |
| | |
| | | this.socket.onmessage = (evt) => { |
| | | const { data } = evt; |
| | | const { code, data: _data } = JSON.parse(data); |
| | | // console.log(_data); |
| | | if (code / 1 === 0) { |
| | | this.handleQoutes(_data); |
| | | } |
| | |
| | | let { |
| | | params: { symbol }, |
| | | } = to; |
| | | console.log("to", to); |
| | | let catchTradeSymbol = getStorage("tradeSymbol"); |
| | | if (catchTradeSymbol) { |
| | | symbol = catchTradeSymbol; |
| | | } |
| | | console.log(catchTradeSymbol); |
| | | if (symbol) { |
| | | next((vm) => { |
| | | vm.symbol = symbol; |