1
李凌
2025-10-09 c17311ba1351cd5e64654c3fc7b2fe765b1e7382
src/views/cryptos/Trade/index.vue
@@ -63,8 +63,8 @@
          @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">
@@ -126,7 +126,7 @@
        <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() }}&nbsp;&nbsp;{{ $t('k线图表') }}</span>
@@ -280,8 +280,8 @@
    handleImage,
    ...mapActions('home', [SET_COIN_LIST]),
    onUpdate(symbol) { // 更新
      console.log("symbol",symbol);
      console.log("symbol", symbol);
      this.symbol = symbol
      this.closeSocket()
      this.init(symbol)
@@ -398,7 +398,7 @@
          }, 2000)
        }
      }
      else{
      else {
        showFailToast(this.$t('请先登录'))
      }
    },
@@ -544,7 +544,8 @@
@import "@/assets/init.scss";
#cryptos {
  background-color: $mainbgWhiteColor;
  // background-color: $mainbgWhiteColor;
  :v-deep(.px-4) {
    padding-left: 30px !important;
    padding-right: 30px !important;
@@ -555,11 +556,11 @@
    padding-bottom: 30px !important;
  }
  .diviLine{
  .diviLine {
    background: $mainbgWhiteColor;
  }
  .border-b-color{
  .border-b-color {
    border-bottom-color: $inp_b;
    padding-bottom: 5px;
  }
@@ -648,10 +649,12 @@
  .select-box {
    width: 220px;
    background: $inp-b;
    // background: $inp-b;
    margin-right: 20px;
    @include themify() {
      background: themed("tab_background");
    }
  }
}