mirror of
https://github.com/ArvinLovegood/go-stock.git
synced 2025-07-19 00:00:09 +08:00
refactor(frontend):更新股票页面链接格式
- 修改了 SelectStock 组件中股票名称的链接格式 - 从旧的 URL格式改为新的全屏图表 URL 格式 - 提高了用户体验,用户现在可以查看更详细的股票信息
This commit is contained in:
parent
44e1093e8e
commit
8b94e14ec9
@ -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}` })
|
||||||
|
Loading…
x
Reference in New Issue
Block a user