sbd-npm 1.1.92 → 1.1.93
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/util.js +2 -0
package/package.json
CHANGED
package/util.js
CHANGED
@@ -833,6 +833,7 @@ const Util = {
|
|
833
833
|
{"name": "最高价"},
|
834
834
|
{"name": "最低价"},
|
835
835
|
{"name": "年初至今", "table_sort": 1},
|
836
|
+
{"name": "近5日", "table_sort": 1},
|
836
837
|
{"name": "52周最高", "table_sort": 1}
|
837
838
|
];
|
838
839
|
if (stock_category !== "us") {
|
@@ -883,6 +884,7 @@ const Util = {
|
|
883
884
|
_html.push("<td id='high_", item["code"], "'>0</td>");
|
884
885
|
_html.push("<td id='low_", item["code"], "'>0</td>");
|
885
886
|
_html.push("<td class='year_price_", item["code"], "'>", (item["stock_price"] ? Util.year_price_rate(item["stock_price"], item["year_price"]) : "--"), "</td>");
|
887
|
+
_html.push("<td class='d5_price_", item["code"], "'>", (item["stock_price"] ? Util.year_price_rate(item["stock_price"], item["d5_price"]) : "--"), "</td>");
|
886
888
|
_html.push("<td class='high_52week_", item["code"], "'>--</td>");
|
887
889
|
if (is_us === 0) {
|
888
890
|
_html.push("<td id='amount_", item["code"], "'>--</td>");
|