| | |
| | | <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> |
| | | </div> |
| | | </template> |
| | |
| | | import AsSets from "@/components/Transform/assetsCenter/assets.vue" |
| | | import OverView from "@/components/Transform/assetsCenter/overview.vue" |
| | | import Contract from "@/components/Transform/assetsCenter/contract.vue" |
| | | // import Financial from "@/components/Transform/assetsCenter/financial.vue" |
| | | import Financial from "@/components/Transform/assetsCenter/financial.vue" |
| | | import { _getAllAssets } from "@/service/user.api.js"; |
| | | export default { |
| | | name: "assets-index", |
| | |
| | | AsSets, |
| | | OverView, |
| | | Contract, |
| | | // Financial |
| | | Financial |
| | | }, |
| | | data() { |
| | | return { |
| | |
| | | type: this.$t('合约'), |
| | | |
| | | }, |
| | | // { |
| | | // type: this.$t('理财'), |
| | | // }, |
| | | { |
| | | type: this.$t('理财'), |
| | | }, |
| | | ] |
| | | } |
| | | }, |