$ gnpm install @gidc-pc-base/gidc-pbank-parts-h5-standard-vx-gidc-fund-income
基金收益
import VxFundIncome from '@/views/investment-manage/fund/components/vx-fund-income';
components:{ VxFundIncome },
<template>
<vx-fund-income :info="incomeInfo"></vx-fund-income>
</template>
<script>
import vxFundIncome from "@/views/investment-manage/fund/components/vx-fund-income";
export default {
components: {
vxFundIncome,
},
data() {
return {
incomeInfo: {
lastEarning: "-300",
totalEarning: "5454",
cumulativeTotalEarning: "12000.23",
totalPositionAmt: "2500026.85",
},
};
},
};
</script>
属性 | 说明 | 类型 | 默认值 | 备注 |
---|---|---|---|---|
info |
持仓收益信息 | Object |
- | 详细必含属性见下表 |
bg-type |
背景样式 | String |
fund-bg |
属性 | 说明 | 类型 | 默认值 | 备注 |
---|---|---|---|---|
totalPositionAmt |
总持仓金额 | Number |
- | - |
lastEarning |
昨日收益 | Number |
- | - |
totalEarning |
持有收益 | Number |
- | - |
cumulativeTotalEarning |
累计收益 | Number |
- | - |
Copyright 2013 - present © cnpmjs.org | Home |