sbd-npm 1.1.90 → 1.1.91

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.
Files changed (3) hide show
  1. package/menu.js +9 -9
  2. package/package.json +1 -1
  3. package/util.js +3 -0
package/menu.js CHANGED
@@ -32,15 +32,6 @@ const MenuList = [
32
32
  {'key': 'daily_block', 'name': '大宗交易', 'url': '/3eec763b6402d5327a2f1d8964f78c93'},
33
33
  ]
34
34
  },
35
- {
36
- 'name': '沪深港股通',
37
- 'icon': 'cogs',
38
- 'menu': [
39
- {'key': 'hsgt_flow', 'name': '资金流向', 'url': '/e0c6105a6de37e91aa886c70d2227948'},
40
- {'key': 'hsgt_trade_stock', 'name': '成交股统计', 'url': '/521e408d5c995460426beba4d039df06'},
41
- {'key': 'hsgt_hkex_holding', 'name': '港资持股比例', 'url': '/4cb33e167aca1978b304af3bbe6ea2dd'},
42
- ]
43
- },
44
35
  {
45
36
  'name': '趋势分析',
46
37
  'icon': 'edit',
@@ -62,6 +53,15 @@ const MenuList = [
62
53
  {'key': 'trend_query', 'name': '趋势查询', 'url': '/7a7cec0124836383ad76faa457d19403'},
63
54
  ]
64
55
  },
56
+ {
57
+ 'name': '沪深港股通',
58
+ 'icon': 'cogs',
59
+ 'menu': [
60
+ {'key': 'hsgt_flow', 'name': '资金流向', 'url': '/e0c6105a6de37e91aa886c70d2227948'},
61
+ {'key': 'hsgt_trade_stock', 'name': '成交股统计', 'url': '/521e408d5c995460426beba4d039df06'},
62
+ {'key': 'hsgt_hkex_holding', 'name': '港资持股比例', 'url': '/4cb33e167aca1978b304af3bbe6ea2dd'},
63
+ ]
64
+ },
65
65
  {
66
66
  'name': '宏观数据',
67
67
  'icon': 'globe',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sbd-npm",
3
- "version": "1.1.90",
3
+ "version": "1.1.91",
4
4
  "description": "Stock Big Data",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/util.js CHANGED
@@ -697,6 +697,9 @@ const Util = {
697
697
  if (col["class"]) {
698
698
  td_class.push(col["class"]);
699
699
  }
700
+ if (col["colspan"]) {
701
+ td_attr += ' colspan="' + col["colspan"] + '"';
702
+ }
700
703
  if (col["table_sort"]) {
701
704
  is_table_sort = 1;
702
705
  td_class.push("table_sort");