Skip to content

Commit c1d458e

Browse files
committed
refactor(frontend):优化股票分时图显示
- 调整股票价格显示范围,增加百分比浮动 - 在模态框标题中添加股票涨跌百分比
1 parent 7158e40 commit c1d458e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

frontend/src/components/stock.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1716,7 +1716,7 @@ function delStockGroup(code,name,groupId){
17161716
<n-flex justify="space-between">
17171717
<n-text :type="'info'">{{result["日期"]+" "+result["时间"]}}</n-text>
17181718
<n-button size="tiny" type="info" @click="setStock(result['股票代码'],result['股票名称'])"> 成本 </n-button>
1719-
<n-button size="tiny" type="success" @click="showFenshi(result['股票代码'],result['股票名称'])"> 分时 </n-button>
1719+
<n-button size="tiny" type="success" @click="showFenshi(result['股票代码'],result['股票名称'],result.changePercent))"> 分时 </n-button>
17201720
<n-button size="tiny" type="error" @click="showK(result['股票代码'],result['股票名称'])">K </n-button>
17211721
<n-button size="tiny" type="error" v-if="result['买一报价']>0" @click="showMoney(result['股票代码'],result['股票名称'])"> 资金 </n-button>
17221722

0 commit comments

Comments
 (0)