sbd-npm 1.4.89 → 1.4.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/stock_basics.js +6 -0
package/package.json
CHANGED
package/stock_basics.js
CHANGED
@@ -231,9 +231,15 @@ let Stock = {
|
|
231
231
|
remark_html += " <a href='" + url + "' class='btn btn-xs btn-warning'>" + i_d["name"] + "</a>";
|
232
232
|
});
|
233
233
|
}
|
234
|
+
if (item["is_sh50"]) {
|
235
|
+
remark_html += " <a href='" + (Util.get_url("summary_index") + "?index_code=SH000016") + "' class='btn btn-xs btn-warning'>上证50</a>";
|
236
|
+
}
|
234
237
|
if (item["is_star50"]) {
|
235
238
|
remark_html += " <a href='" + (Util.get_url("summary_index") + "?index_code=SH000688") + "' class='btn btn-xs btn-warning'>科创50</a>";
|
236
239
|
}
|
240
|
+
if (item["is_gem50"]) {
|
241
|
+
remark_html += " <a href='" + (Util.get_url("summary_index") + "?index_code=SZ399673") + "' class='btn btn-xs btn-warning'>创业板50</a>";
|
242
|
+
}
|
237
243
|
if (item["is_hs300"]) {
|
238
244
|
remark_html += " <a href='" + (Util.get_url("summary_index") + "?index_code=SH000300") + "' class='btn btn-xs btn-warning'>沪深300</a>";
|
239
245
|
}
|