Skip to content

Commit

Permalink
update +_layouts/stock.html
Browse files Browse the repository at this point in the history
  • Loading branch information
Fulong Ma committed Nov 16, 2024
1 parent 95d58db commit 50e7916
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions _layouts/stock.html
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,8 @@
data.data.diff.forEach(function (item) {
var percentage = ((item.f2 - item.f16) / (item.f15 - item.f16) * 100).toFixed(2);
var colorClass = item.f3 > 0 ? 'red' : item.f3 < 0 ? 'green' : 'black';
// var stockLink = 'https://m.10jqka.com.cn/stockpage/sh_' + item.f12 + '/#&atab=geguNews';
var stockLink = ""
rows += '<tr>' +
'<td><a href="' + stockLink + '" target="_blank">' + item.f14.replace('ETF', '') + '</a></td>' +
'<td>' + item.f14 + '</td>' +
'<td class="' + colorClass + '">' + item.f3 + '%</td>' +
'<td>' + item.f2 + ' (' + percentage + '%)</td>' +
'</tr>';
Expand Down

0 comments on commit 50e7916

Please sign in to comment.