dcc
2024-05-15 9d1fadaf0e2abf8e04446580d8baadf7717ce0d1
src/page/assetsCenter/index.vue
@@ -11,12 +11,12 @@
      <span class="flex-1 border-b-color " :class="{ active_color: tab === 0 }"></span>
      <span class="flex-1 border-b-color" :class="{ active_color: tab === 1 }"></span>
      <span class="flex-1 border-b-color" :class="{ active_color: tab === 2 }"></span>
      <span class="flex-1 border-b-color" :class="{ active_color: tab === 3 }"></span>
      <!-- <span class="flex-1 border-b-color" :class="{ active_color: tab === 3 }"></span> -->
    </div>
    <over-view v-if="tab === 0" :funds="funds" :key="tab"></over-view>
    <as-sets v-if="tab === 1" :funds="funds" :key="tab"></as-sets>
    <contract v-if="tab === 2" :funds="funds" :index="index" :key="tab"></contract>
    <financial v-if="tab === 3" :funds="funds" :index="index" :key="tab"></financial>
    <!-- <financial v-if="tab === 3" :funds="funds" :index="index" :key="tab"></financial> -->
  </div>
</template>
@@ -29,7 +29,6 @@
import Financial from "@/components/assetsCenter/financial"
import Axios from "@/API/assets"
import assetsHead from "@/components/assets-head/index.vue";
import {setStorage} from "@/utils/utis";
export default {
  name: "assets-index",
  components: {
@@ -58,9 +57,9 @@
          type: this.$t('合约'),
        },
        {
          type: this.$t('理财'),
        },
        // {
        //   type: this.$t('理财'),
        // },
      ]
    }
  },
@@ -80,7 +79,6 @@
        if (code) {
          //console.log('总资产数据',data)
          this.funds = data
          setStorage('funds',data)
        }
      })
    },