sbd-npm 1.2.31 → 1.2.34

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 CHANGED
@@ -138,9 +138,9 @@ const MenuList = [
138
138
  {'key': 'concept_market_situation', 'name': '市值风云', 'url': '/02fdaf4d66cdecb092bcd65f569aa493'},
139
139
  {'key': 'concept_down_top', 'name': '15-21年的超跌股', 'url': '/ae3bbf97a358392cfaa0ceb35cb3fb57'},
140
140
  {'key': 'concept_cloud', 'name': '心似白云常自在', 'url': '/1d883188398a3a8c743748c5eb81fe7b'},
141
- {'key': 'concept_cannon', 'name': '黄家礼炮', 'url': '/d6128a3ad91d545f2920fa2e324c37e1'},
142
141
  {'key': 'concept_wen', 'name': '崇文不尚武', 'url': '/b6fd64a2c54250b8ac039123e74e9b7e'},
143
142
  {'key': 'concept_niu', 'name': '老曾阿牛', 'url': '/0f4a2714971424024c1ddd8651c26569'},
143
+ {'key': 'concept_dao', 'name': '成长股事(大道)', 'url': '/7b7ea877f6793752e2b981d82da81e1b'},
144
144
  {'key': 'concept_qian', 'name': '唐史主任司马迁', 'url': '/8b3e40fe74b4870244bc51125da7675a'},
145
145
  {'key': 'concept_dan', 'name': '但斌', 'url': '/3ac0a5857b1d9a111497c0e817e647a1'},
146
146
  {'key': 'concept_hill', 'name': '高瓴资本', 'url': '/9891755f194db180f1fe9a8c47a51829'},
@@ -239,6 +239,8 @@ const ClassifyList = [
239
239
  '中证500',
240
240
  '中证100',
241
241
  '科创50',
242
+ '上证',
243
+ '深证',
242
244
  '科创',
243
245
  '中小板',
244
246
  '创业板',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sbd-npm",
3
- "version": "1.2.31",
3
+ "version": "1.2.34",
4
4
  "description": "Stock Big Data",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/util.js CHANGED
@@ -25,6 +25,7 @@ const Util = {
25
25
  load_token: "loading_div",
26
26
  interval_timer: null,
27
27
  stock_timer_id: 0,
28
+ is_init: 0,
28
29
  // 1年的天数
29
30
  one_year_day: 365,
30
31
  // 一天的秒数
@@ -1870,8 +1871,8 @@ const Util = {
1870
1871
  let row_arr = table.find('tr:gt(0)').toArray();
1871
1872
  let td_index = td_obj.index();
1872
1873
  row_arr.sort(function (row1, row2) {
1873
- let td1_val = Util.get_table_td_value(row1, get_table_td_value);
1874
- let td2_val = Util.get_table_td_value(row2, get_table_td_value);
1874
+ let td1_val = Util.get_table_td_value(row1, td_index);
1875
+ let td2_val = Util.get_table_td_value(row2, td_index);
1875
1876
  return $.isNumeric(td1_val) && $.isNumeric(td2_val) ? td1_val - td2_val : td1_val.localeCompare(td2_val);
1876
1877
  });
1877
1878
  let sort_cls = "fa-sort-asc";
package/.npmignore DELETED
@@ -1 +0,0 @@
1
- sbd-npm.md