sbd-npm 1.2.58 → 1.2.60
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/constant.js +4 -4
- package/package.json +1 -1
- package/util.js +6 -2
package/constant.js
CHANGED
@@ -6,9 +6,9 @@ const MenuList = [
|
|
6
6
|
{'key': 'summary_daily', 'name': '每日概要', 'url': '/3f39b5b1a564070ba651b0fea119ef98'},
|
7
7
|
{'key': 'summary_week', 'name': '每周概要', 'url': '/041dd556cd72d41ce3c6fd2a50340cd6'},
|
8
8
|
{'key': 'summary_breadth', 'name': '市场宽度', 'url': '/6263b0820aa0c1b0b27e10e855b8ea1b'},
|
9
|
+
{'key': 'summary_industry', 'name': '板块涨跌', 'url': '/ce5c0a4d19ebf14830d0a05cdf7c0eb9'},
|
9
10
|
{'key': 'summary_dashboard', 'name': '市场全景', 'url': '/dffbe86a3353af37e3471cc6a72266e9'},
|
10
11
|
{'key': 'summary_market', 'name': '市场概要', 'url': '/1251bb015654040ba8dc38b563817586'},
|
11
|
-
{'key': 'summary_industry', 'name': '板块涨跌', 'url': '/ce5c0a4d19ebf14830d0a05cdf7c0eb9'},
|
12
12
|
{'key': 'summary_etf', 'name': 'ETF分析', 'url': '/5e7eb433adbda09db931b9a4a3371fd5'},
|
13
13
|
{'key': 'summary_repurchase', 'name': '闲钱流向', 'url': '/8d810d466cca69c6a91afb7fd468df93'},
|
14
14
|
{'key': 'summary_margin_lever', 'name': '融资杠杠率', 'url': '/c0e5faf52d3f6a8a0a85100957420be0'},
|
@@ -137,14 +137,14 @@ const MenuList = [
|
|
137
137
|
{'key': 'concept_macd', 'name': 'MACD', 'url': '/3400774e910fb611625b31d049d571fb'},
|
138
138
|
{'key': 'concept_bellwether', 'name': '龙头股', 'url': '/2995afdea420471e00c536182e711bef'},
|
139
139
|
{'key': 'concept_market_situation', 'name': '市值风云', 'url': '/02fdaf4d66cdecb092bcd65f569aa493'},
|
140
|
+
{'key': 'concept_cloud', 'name': '心似白云常自在', 'url': '/1d883188398a3a8c743748c5eb81fe7b'},
|
141
|
+
{'key': 'concept_zan', 'name': 'zangyn', 'url': '/860a3a9647efad436894b4aa3843da42'},
|
140
142
|
{'key': 'concept_wen', 'name': '崇文不尚武', 'url': '/b6fd64a2c54250b8ac039123e74e9b7e'},
|
141
143
|
{'key': 'concept_dao', 'name': '成长股事(大道)', 'url': '/7b7ea877f6793752e2b981d82da81e1b'},
|
142
|
-
{'key': 'concept_zan', 'name': 'zangyn', 'url': '/860a3a9647efad436894b4aa3843da42'},
|
143
|
-
{'key': 'concept_down_top', 'name': '15-21年的超跌股', 'url': '/ae3bbf97a358392cfaa0ceb35cb3fb57'},
|
144
|
-
{'key': 'concept_cloud', 'name': '心似白云常自在', 'url': '/1d883188398a3a8c743748c5eb81fe7b'},
|
145
144
|
{'key': 'concept_niu', 'name': '老曾阿牛', 'url': '/0f4a2714971424024c1ddd8651c26569'},
|
146
145
|
{'key': 'concept_qian', 'name': '唐史主任司马迁', 'url': '/8b3e40fe74b4870244bc51125da7675a'},
|
147
146
|
{'key': 'concept_dan', 'name': '但斌', 'url': '/3ac0a5857b1d9a111497c0e817e647a1'},
|
147
|
+
{'key': 'concept_down_top', 'name': '15-21年的超跌股', 'url': '/ae3bbf97a358392cfaa0ceb35cb3fb57'},
|
148
148
|
{'key': 'concept_auto_intelligent', 'name': '智能电动车', 'url': '/cd7be404357809849d267f24fceebcd2'},
|
149
149
|
{'key': 'concept_hk', 'name': '港股', 'url': '/ef12a56d360da9b20c79a763681de1e4'},
|
150
150
|
{'key': 'concept_us', 'name': '美股', 'url': '/f986a81550e4d8a902f8bc0ef07757a6'},
|
package/package.json
CHANGED
package/util.js
CHANGED
@@ -1409,7 +1409,7 @@ const Util = {
|
|
1409
1409
|
*/
|
1410
1410
|
get_month: function (seconds = 0) {
|
1411
1411
|
seconds = seconds > 0 ? seconds : Util.now();
|
1412
|
-
return parseInt(seconds_to_format(seconds, "%m"));
|
1412
|
+
return parseInt(Util.seconds_to_format(seconds, "%m"));
|
1413
1413
|
},
|
1414
1414
|
|
1415
1415
|
/**
|
@@ -1418,7 +1418,7 @@ const Util = {
|
|
1418
1418
|
*/
|
1419
1419
|
get_year: function (seconds = 0) {
|
1420
1420
|
seconds = seconds > 0 ? seconds : Util.now();
|
1421
|
-
return parseInt(seconds_to_format(seconds, "%Y"));
|
1421
|
+
return parseInt(Util.seconds_to_format(seconds, "%Y"));
|
1422
1422
|
},
|
1423
1423
|
|
1424
1424
|
/**
|
@@ -2153,6 +2153,10 @@ const Util = {
|
|
2153
2153
|
let code_list = Util.get_code_list(element_id);
|
2154
2154
|
if (code_list.length > 0) {
|
2155
2155
|
Util.show_loading();
|
2156
|
+
let tips_obj = $("#" + element_id + "_tips");
|
2157
|
+
if (tips_obj.length && tips_obj.html().length === 0) {
|
2158
|
+
tips_obj.html('共 <span class="label label-info">' + code_list.length + '</span> 家');
|
2159
|
+
}
|
2156
2160
|
//获取股票详情数据
|
2157
2161
|
Util.post("/action", {action: "code_detail", code_list: code_list.join("-")}, function (j) {
|
2158
2162
|
let valid_code_list = [];
|