李凌
2026-03-11 51b35cc2acf48af03f32f1918d20a126a48d6e9b
src/views/cryptos/AccountChange/index.vue
@@ -12,14 +12,18 @@
                <!-- <img v-if="item.amount > 0" src="@/assets/image/assets-center/in.png" class="w-44 h-44 mr-20" />
                <img v-else src="@/assets/image/assets-center/out.png" class="w-44 h-44 mr-20" /> -->
                <div>
                  <div class="font-32 textColor">{{ category[item.category] }}</div>
                  <div class="text-grey font-26 mt-6">{{ item.createTime }}</div>
                  <div class="text-grey font-26 mt-6">{{ orderTypes[item.content_type] }}</div>
                  <!-- <div class="font-32 textColor">{{ category[item.category] }}</div> -->
                  <div class="font-32 textColor">{{ orderTypes[item.content_type] }}</div>
                  <div class="text-grey font-26 mt-6">
                    {{ item.createTime }}
                    (UTC+8)
                  </div>
                  <!-- <div class="text-grey font-26 mt-6">{{ orderTypes[item.content_type] }}</div> -->
                </div>
              </div>
              <div>
                <div class="font-32 text-right" :class="item.amount > 0 ? 'text-green' : 'text-red'">{{
                  item.amount }}&nbsp;{{ item.wallet_type.toUpperCase() }}</div>
                <div class="font-32 text-right" :class="item.amount > 0 ? 'text-green' : 'text-red'">
                  {{ item.amount }}&nbsp;{{ (item.wallet_type || '').toUpperCase() }}</div>
                <!-- <div class="text-grey font-28 mt-14">{{ item.createTimeStr }}</div> -->
                <div class="text-grey font-28 mt-6 text-right">{{ item.amountAfter }}</div>
              </div>
@@ -54,8 +58,8 @@
      title: this.$t('选择账户类型'),
      selectData: [
        { title: this.$t('全部'), type: '' },
        { title: this.$t('法币交易'), type: 'coin' },
        { title: this.$t('合约交易'), type: 'contract' },
        { title: this.$t('充值记录'), type: 'coin' },
        // { title: this.$t('合约交易'), type: 'contract' },
        { title: this.$t('币币交易'), type: 'exchange' },
      ],
      type: "",//选中类型
@@ -144,6 +148,8 @@
        this.symbolType = this.$route.query.type
      }
      _fundRecord(this.type, this.page, this.symbolType).then(data => {
        console.log("data", data);
        this.list = [...this.list, ...data]
        // console.log(logs)
        this.loading = false
@@ -196,11 +202,15 @@
    box-sizing: border-box;
    :deep(.van-tab--active .van-tab__text) {
      color: $text_color;
      @include themify() {
        color: themed("text_color");
      }
    }
    :deep(.van-tab__text) {
      color: $text_color1;
      @include themify() {
        color: themed("text_color1");
      }
    }
  }