refactor(frontend):更新股票页面链接格式

- 修改了 SelectStock 组件中股票名称的链接格式
- 从旧的 URL格式改为新的全屏图表 URL 格式
- 提高了用户体验,用户现在可以查看更详细的股票信息
This commit is contained in:
ArvinLovegood 2025-07-03 16:04:50 +08:00
parent 44e1093e8e
commit 8b94e14ec9

View File

@ -195,7 +195,8 @@ function openCenteredWindow(url, width, height) {
}else{ }else{
if(column.key=='SECURITY_SHORT_NAME'){ if(column.key=='SECURITY_SHORT_NAME'){
return h(NButton, { type: 'info',bordered: false ,size:'small',onClick:()=>{ return h(NButton, { type: 'info',bordered: false ,size:'small',onClick:()=>{
openCenteredWindow(`https://quote.eastmoney.com/concept/${rowData.MARKET_SHORT_NAME}${rowData.SECURITY_CODE}.html`,1240,700) //https://quote.eastmoney.com/sz300558.html#fullScreenChart
openCenteredWindow(`https://quote.eastmoney.com/${rowData.MARKET_SHORT_NAME}${rowData.SECURITY_CODE}.html#fullScreenChart`,1240,700)
}}, { default: () => `${value}` }) }}, { default: () => `${value}` })
}else{ }else{
return h(NText, { type: 'info' }, { default: () => `${value}` }) return h(NText, { type: 'info' }, { default: () => `${value}` })