jhzh
2024-08-06 a487c52e77e22054dd007f58e605d87f680e434d
src/page/assetsCenter/index.vue
@@ -30,16 +30,26 @@
          }}{{fomtdata.totalMoney}}
      </div>
      </van-row>
      <van-row gutter="20" class="but-box">
      <van-row gutter="20" class="but-box" v-if="typeindex == 0">
        <van-col
          span="8"
          v-for="item in tabList1"
          v-for="item in tabList2"
          :key="item.id"
          @click="routerList(item)"
        >
          <div class="but">{{ item.text }}</div>
          <div class="but" >{{ item.text }}</div>
        </van-col>
      </van-row>
     <van-row gutter="20" class="but-box" v-if="typeindex == 1">
       <van-col
         span="8"
         v-for="item in tabList1"
         :key="item.id"
         @click="routerList(item)"
       >
         <div class="but" >{{ item.text }}</div>
       </van-col>
     </van-row>
    </header>
    <div class="tabs" v-if="typeindex==0">
      <div class="tabs-box">
@@ -212,6 +222,37 @@
      loading: true,
      active: 1,
     typeindex:0,
     tabList2: [
       {
         id: 4,
         text: this.$t("闪兑"),
         route: "/exchange/exchangePage",
       },
       {
         id: 5,
         text: this.$t("货币理财"),
         route: "/financialHistory",
         query: {
           type: 0,
         },
       },
       {
         id: 6,
         text: this.$t("矿池理财"),
         route: "/financialHistory",
         query: {
           type: 1,
         },
       },
           {
             id: 7,
             text: this.$t("划转"),
             route: "/transfer",
             // query: {
             //   type: 1,
             // },
           },
     ],
      tabList1: [
        {
          id: 1,
@@ -223,36 +264,7 @@
          id: 2,
          text: this.$t("提币"),
          route: "/withdraw/withdrawPage",
        },
        {
          id: 4,
          text: this.$t("闪兑"),
          route: "/exchange/exchangePage",
        },
        {
          id: 5,
          text: this.$t("货币理财"),
          route: "/financialHistory",
          query: {
            type: 0,
          },
        },
        {
          id: 6,
          text: this.$t("矿池理财"),
          route: "/financialHistory",
          query: {
            type: 1,
          },
        },
      {
        id: 6,
        text: this.$t("划转"),
        route: "/transfer",
        query: {
          type: 1,
        },
      },
        }
      ],
      tabList: [
        { id: 1, text: this.$t("现货") },