| | |
| | | @cancelOrder="cancelOrder" /> |
| | | </div> |
| | | <div class="py-20 px-20" v-else-if="tabType == '2'"> |
| | | <history-item unit="USDT" v-for="item in entrustList" :key="item.order_no" :coinPrice="coinPrice" :entrust="item" |
| | | :state="item.state" @cancelOrder="cancelOrder" /> |
| | | <history-item unit="USDT" v-for="item in entrustList" :key="item.order_no" :coinPrice="coinPrice" |
| | | :entrust="item" :state="item.state" @cancelOrder="cancelOrder" /> |
| | | </div> |
| | | <div class="py-20 px-20" v-else> |
| | | <div class="mb-20"> |
| | |
| | | :src="item.symbol ? `${HOST_URL}/symbol/${item.symbol_data}.png` : handleImage('../../../assets/loading-default.png')" |
| | | class="w-52 h-52 rounded-full mr-16" /> |
| | | <p class="flex flex-col"> |
| | | <strong class="font-28 textColor mb-6">{{ item.symbol.toUpperCase() }}</strong> |
| | | <strong class="font-28 textColor mb-6">{{ strToArr(item.full_name.toUpperCase(), '/')[0] }}</strong> |
| | | <span class="font-20 text-grey">{{ item.full_name }}</span> |
| | | </p> |
| | | </div> |
| | |
| | | :src="item.symbol ? `${HOST_URL}/symbol/${item.symbol_data}.png` : handleImage('../../../assets/loading-default.png')" |
| | | class="w-52 h-52 rounded-full mr-16" /> |
| | | <p class="flex flex-col"> |
| | | <strong class="font-28 textColor mb-6">{{ item.symbol.toUpperCase() }}</strong> |
| | | <strong class="font-28 textColor mb-6">{{ strToArr(item.full_name.toUpperCase(), '/')[0] }}</strong> |
| | | <span class="font-20 text-grey">{{ item.full_name }}</span> |
| | | </p> |
| | | </div> |
| | |
| | | <k-line-charts :update-key="updateKey" :update-data="quote" :symbol="symbol" v-if="symbol && showCharts" |
| | | :showBottom="false" /> |
| | | </div> --> |
| | | |
| | | |
| | | <!-- <div class="fixed-box"> |
| | | <div class="flex justify-between items-center px-30 py-20" @click.stop="handleClickShowKlineChart()"> |
| | | <span class="font-30 textColor2">{{ symbol.toUpperCase() }} {{ $t('k线图表') }}</span> |
| | |
| | | import KLineCharts from '@/components/Transform/kline-charts/index.vue' |
| | | import historyItem from '@/components/Transform/history-item/index.vue' |
| | | import fxKline from '@/components/fx-kline/index.vue' |
| | | import { strToArr } from '@/utils/utis' |
| | | |
| | | import Axios from '@/service/trading' |
| | | import { _getHomeList } from '@/service/home.api' |
| | |
| | | this.getExchangeRate() |
| | | }, |
| | | methods: { |
| | | strToArr, |
| | | handleImage, |
| | | ...mapActions('home', [SET_COIN_LIST]), |
| | | onUpdate(symbol) { // 更新 |
| | | console.log("symbol",symbol); |
| | | |
| | | console.log("symbol", symbol); |
| | | |
| | | this.symbol = symbol |
| | | this.closeSocket() |
| | | this.init(symbol) |
| | |
| | | }, 2000) |
| | | } |
| | | } |
| | | else{ |
| | | else { |
| | | showFailToast(this.$t('请先登录')) |
| | | } |
| | | }, |
| | |
| | | |
| | | #cryptos { |
| | | background-color: $mainbgWhiteColor; |
| | | |
| | | :v-deep(.px-4) { |
| | | padding-left: 30px !important; |
| | | padding-right: 30px !important; |
| | |
| | | padding-bottom: 30px !important; |
| | | } |
| | | |
| | | .diviLine{ |
| | | .diviLine { |
| | | background: $mainbgWhiteColor; |
| | | } |
| | | |
| | | .border-b-color{ |
| | | .border-b-color { |
| | | border-bottom-color: $inp_b; |
| | | padding-bottom: 5px; |
| | | } |
| | |
| | | |
| | | .select-box { |
| | | width: 220px; |
| | | |
| | | background: $inp-b; |
| | | |
| | | margin-right: 20px; |
| | | } |
| | | |
| | | @include themify() { |
| | | background: themed("input_background") !important; |
| | | } |
| | | } |
| | | } |
| | | |
| | | .z-100 { |
| | |
| | | |
| | | .option-box { |
| | | z-index: 99; |
| | | background: $inp-b; |
| | | box-shadow: 0px 0px 0.1875rem 0.1875rem $inp-b; |
| | | |
| | | @include themify() { |
| | | background: themed("input_background"); |
| | | box-shadow: 0px 0px 0.1875rem 0.1875rem themed("input_background"); |
| | | color: themed("text_color"); |
| | | } |
| | | } |
| | | |
| | | :deep(.van-action-sheet__content) { |
| | |
| | | |
| | | .van-action-sheet__item { |
| | | background: transparent; |
| | | color: $text_color; |
| | | |
| | | @include themify() { |
| | | color: themed("text_color"); |
| | | } |
| | | } |
| | | |
| | | } |