sbd-npm 1.2.70 → 1.2.72
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 +6 -2
package/package.json
CHANGED
package/util.js
CHANGED
@@ -1053,7 +1053,7 @@ const Util = {
|
|
1053
1053
|
fund_stock_url = "http://fund.eastmoney.com/f10/ccmx_" + j["fund_code"] + ".html";
|
1054
1054
|
}
|
1055
1055
|
_html.push("<tr class='info'><th colspan='14' text-align='center'>", Util.pack_html_link(fund_stock_url, "持股明细"), " <span id='fund_stock_date_zone'></span></th></tr>");
|
1056
|
-
_html.push("<tr id='" + component_id + "_head'><th>序号</th><th>股票代码</th><th>股票名</th><th>PE</th><th>总市值</th><th>行业</th><th>地区</th><th>价格</th><th>年初至今</th><th>近5日</th><th>股东数</th><th>持有量</th><th>占比</th><th>持仓市值</th></tr>");
|
1056
|
+
_html.push("<tr id='" + component_id + "_head'><th>序号</th><th>股票代码</th><th>股票名</th><th>PE</th><th>总市值</th><th>行业</th><th>地区</th><th>价格</th><th>年初至今</th><th>近5日</th><th>股东数</th><th>持有量</th><th class='info'>占比</th><th>持仓市值</th></tr>");
|
1057
1057
|
_html.push("<tr class='" + component_id + "_tr'><td colspan='14'>暂无数据</td></tr>");
|
1058
1058
|
Util.render_table_html(component_id + "_body_body", _html);
|
1059
1059
|
if (j["date_list"]) {
|
@@ -1320,7 +1320,7 @@ const Util = {
|
|
1320
1320
|
let html = [];
|
1321
1321
|
html.push('<label for="', element_id, '"></label>');
|
1322
1322
|
html.push('<select id="', element_id, '" class="form-control">');
|
1323
|
-
html.push('<option value=""
|
1323
|
+
html.push('<option value="">指数板块</option>');
|
1324
1324
|
ClassifyList.forEach(function (classify) {
|
1325
1325
|
html.push('<option value="', classify, '">', classify, '</option>');
|
1326
1326
|
});
|
@@ -2240,6 +2240,10 @@ const Util = {
|
|
2240
2240
|
}
|
2241
2241
|
Util.hide_tips();
|
2242
2242
|
});
|
2243
|
+
} else {
|
2244
|
+
if ($("#" + element_id + "_tips").length) {
|
2245
|
+
$("#" + element_id + "_tips").html('');
|
2246
|
+
}
|
2243
2247
|
}
|
2244
2248
|
},
|
2245
2249
|
|