sbd-npm 1.1.68 → 1.1.69
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/menu.js +1 -1
- package/package.json +1 -1
- package/util.js +8 -1
package/menu.js
CHANGED
@@ -53,7 +53,7 @@ const MenuList = [
|
|
53
53
|
{'key': 'trend_fund_hold', 'name': '基金持股变化', 'url': '/067740976f85ec14ddae02b51829ce35'},
|
54
54
|
{'key': 'trend_week_minimum', 'name': '周成交低点', 'url': '/722d94429b8e689fe78dca1cf67a4c67'},
|
55
55
|
{'key': 'trend_margin', 'name': '融资融券余额涨幅', 'url': '/1964a6bc56dc3ce6825b23667c7fb588'},
|
56
|
-
{'key': 'trend_price', 'name': '
|
56
|
+
{'key': 'trend_price', 'name': '股价涨跌幅度', 'url': '/43ef6aeb36475f8f8f44d477b1990390'},
|
57
57
|
{'key': 'trend_down', 'name': '当前连跌个股', 'url': '/07fb907c7e7572fbeae98bacf5c44593'},
|
58
58
|
{'key': 'trend_down_analysis', 'name': '连跌反弹概率', 'url': '/e9a32e4601fca33a9c3b68103f61c3bc'},
|
59
59
|
{'key': 'trend_index_month', 'name': '指数每年月份涨跌', 'url': '/86691e421938098bab7679e43bea67a6'},
|
package/package.json
CHANGED
package/util.js
CHANGED
@@ -899,7 +899,14 @@ const Util = {
|
|
899
899
|
let _html = [];
|
900
900
|
if (j["fund_code"]) {
|
901
901
|
$("#" + component_id + "_title").html(Util.pack_html_link("http://fundf10.eastmoney.com/jbgk_" + j["fund_code"] + ".html", j["fund_name"]));
|
902
|
-
let net =
|
902
|
+
let net = "--";
|
903
|
+
if (j["net"] > 0) {
|
904
|
+
net = j["net"];
|
905
|
+
let net_cls = Util.text_color(j["change_percent"])
|
906
|
+
if (net_cls !== "") {
|
907
|
+
net = "<b class='" + net_cls + "'>" + net + "(" + Util.to_float(j["change_percent"], 2) + "%)</b>";
|
908
|
+
}
|
909
|
+
}
|
903
910
|
let assets = j["assets"] > 0 ? (j["assets"] + "亿") : "--";
|
904
911
|
let public_date = j["public_date"] > 0 ? Util.seconds_to_format(j["public_date"], "%Y-%m-%d") : "--";
|
905
912
|
let issue_date = j["issue_date"] > 0 ? Util.seconds_to_format(j["issue_date"], "%Y-%m-%d") : "--";
|