perf: 股票详情页显示财报
This commit is contained in:
@@ -26,9 +26,44 @@ function StockDetail() {
|
||||
},
|
||||
},
|
||||
{label: '行业', content: '${industry}'},
|
||||
{label: '上市日期', content: '${listedDate}'},
|
||||
],
|
||||
},
|
||||
{type: 'divider'},
|
||||
{
|
||||
type: 'service',
|
||||
api: `get:${commonInfo.baseUrl}/stock/finance/${id}`,
|
||||
body: [
|
||||
'资产负债表',
|
||||
{
|
||||
className: 'my-2',
|
||||
type: 'property',
|
||||
items: [
|
||||
{label: '总资产', content: '${balanceSheet.totalAssets}'},
|
||||
{label: '总负债', content: '${balanceSheet.totalLiabilities}'},
|
||||
],
|
||||
},
|
||||
'利润表',
|
||||
{
|
||||
className: 'my-2',
|
||||
type: 'property',
|
||||
items: [
|
||||
{label: '营业总收入', content: '${income.totalOperatingRevenue}'},
|
||||
{label: '营业总成本', content: '${income.totalOperatingCost}'},
|
||||
{label: '营业总利润', content: '${income.totalProfit}'},
|
||||
],
|
||||
},
|
||||
'现金流量表',
|
||||
{
|
||||
className: 'my-2',
|
||||
type: 'property',
|
||||
items: [
|
||||
{label: '净利润', content: '${cashFlow.netProfit}'},
|
||||
],
|
||||
},
|
||||
{type: 'divider'},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user