123
dcc
2024-06-28 25b2ba1cf86bc3439e7ad2acf2cd4a9ea7e4b0ed
src/page/assetsCenter/index.vue
@@ -3,14 +3,14 @@
    <header>
      <van-row class="title-box">
        <van-col span="12">
          <span class="title">{{ $t("总资产") }}</span>
          <!-- <span class="title">{{ $t("总资产") }}</span> -->
        </van-col>
        <van-col span="12" class="right">
          <div class="w-33" style="height: 20px">{{ " " }}</div>
          <!-- <img :src="require('@/assets/3x/names8.png')" class="w-33" /> -->
        </van-col>
        <div class="pt">{{ $t("总资产估值") }}</div>
        <div class="pt">{{ assetsFunds.total }}</div>
        <!-- <div class="pt">{{ assetsFunds.total }}</div> -->
        <div class="pt">
          ≈ {{ currency.currency_symbol
          }}{{
@@ -79,7 +79,7 @@
              <div class="text">
                {{
                  item.usable.toFixed(
                    item.symbol.toUpperCase() === "USDT" ? 6 : 8
                    item.symbol.toUpperCase() === "USDT" ? 2 : 2
                  ) || "0.0"
                }}
              </div>
@@ -89,7 +89,7 @@
              <div class="text">
                {{
                  item.lock_amount.toFixed(
                    item.symbol.toUpperCase() === "USDT" ? 6 : 8
                    item.symbol.toUpperCase() === "USDT" ? 2 : 2
                  ) || "0.0"
                }}
              </div>
@@ -99,7 +99,7 @@
              <div class="text">
                {{
                  (item.frozenAmount + item.freeze_amount).toFixed(
                    item.symbol.toUpperCase() === "USDT" ? 6 : 8
                    item.symbol.toUpperCase() === "USDT" ? 2 : 2
                  ) || "0.0"
                }}
              </div>
@@ -162,11 +162,11 @@
          text: this.$t("提币"),
          route: "/withdraw/withdrawPage",
        },
        // {
        //   id: 4,
        //   text: this.$t("闪兑"),
        //   route: "/exchange/exchangePage",
        // },
        {
          id: 4,
          text: this.$t("闪兑"),
          route: "/exchange/exchangePage",
        },
        {
          id: 5,
          text: this.$t("货币理财"),
@@ -186,7 +186,7 @@
      ],
      tabList: [
        { id: 1, text: this.$t("现货") },
        { id: 2, text: this.$t("交割合约") },
        { id: 2, text: this.$t("期权合约") },
        { id: 4, text: this.$t("永续合约") },
        { id: 5, text: this.$t("理财") },
      ],
@@ -369,7 +369,7 @@
<style lang="scss" scoped>
.assets-box {
  header {
    padding: 100px 0 0px;
    // padding: 100px 0 0px;
    color: #817cf6;
    .title-box {
      padding: 0 70px;
@@ -404,12 +404,12 @@
    color: #363636;
    .tabs-name {
      margin-left: 10px;
      color: #dedbe2;
      // color: #dedbe2;
    }
  }
  .tabs-box {
    display: flex;
    color: #dedbe2;
    // color: #dedbe2;
    font-weight: 400;
    flex: 1;
    justify-content: space-between;
@@ -433,7 +433,7 @@
      margin-bottom: 20px;
    }
    .title {
      color: #dedbe2;
      // color: #dedbe2;
      margin-bottom: 10px;
    }
    .text {