sbd-npm 1.2.94 → 1.2.96

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/constant.js +2 -1
  2. package/package.json +1 -1
  3. package/util.js +3 -2
package/constant.js CHANGED
@@ -82,7 +82,7 @@ const MenuList = [
82
82
  {'key': 'macro_new_investor', 'name': '新增投资者', 'url': '/2268c61c6d62cdc8c1c7143aa524e2f1'},
83
83
  {'key': 'macro_gold', 'name': '黄金ETF(GLD)', 'url': '/584b9ceb0c85571831f7211903147d47'},
84
84
  {'key': 'macro_crude', 'name': '原油', 'url': '/78f8b798631b52153ff029fd301f9b8a'},
85
- {'key': 'macro_lithium_carbonate', 'name': '碳酸锂', 'url': '/0a807cf25435fb72861c0935bccb3720'},
85
+ {'key': 'macro_commodity', 'name': '碳酸锂', 'url': '/2d7b4ce104b014c79eb5f66513ff1833'},
86
86
  ]
87
87
  },
88
88
  {
@@ -144,6 +144,7 @@ const MenuList = [
144
144
  {'key': 'concept_penny', 'name': '梁斌penny', 'url': '/8c1660155f89650a471edf54414cac49'},
145
145
  {'key': 'concept_wen', 'name': '崇文不尚武', 'url': '/b6fd64a2c54250b8ac039123e74e9b7e'},
146
146
  {'key': 'concept_patience', 'name': '耐力投资', 'url': '/d3e193cf9cdba853133c046ca3406867'},
147
+ {'key': 'concept_star50', 'name': '科创50', 'url': '/48c4e426c8869ea08e80c9b79c9849e0'},
147
148
  {'key': 'concept_bellwether', 'name': '龙头股', 'url': '/2995afdea420471e00c536182e711bef'},
148
149
  {'key': 'concept_market_situation', 'name': '市值风云', 'url': '/02fdaf4d66cdecb092bcd65f569aa493'},
149
150
  {'key': 'concept_down_top', 'name': '15-21年的超跌股', 'url': '/ae3bbf97a358392cfaa0ceb35cb3fb57'},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sbd-npm",
3
- "version": "1.2.94",
3
+ "version": "1.2.96",
4
4
  "description": "Stock Big Data",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/util.js CHANGED
@@ -315,7 +315,8 @@ const Util = {
315
315
  if (location_name === "") {
316
316
  location_name = location.length > 20 ? location.substr(0, 20) : location;
317
317
  }
318
- return "<a target='_blank' class='link_cls map_link' rel='noopener noreferrer nofollow' href='https://map.baidu.com/m?fr=ps01000&word=" + location + "'>" + location_name + "</a>";
318
+ //return "<a target='_blank' class='link_cls map_link' rel='noopener noreferrer nofollow' href='https://map.baidu.com/m?fr=ps01000&word=" + location + "'>" + location_name + "</a>";
319
+ return "<a target='_blank' class='link_cls map_link' rel='noopener noreferrer nofollow' href='https://www.amap.com/search?query=" + location + ""'>" + location_name + "</a>";
319
320
  }
320
321
  return "--";
321
322
  },
@@ -2905,7 +2906,7 @@ const Util = {
2905
2906
  html.push('<option value="">', obj.children('option').eq(0).text(), '</option>');
2906
2907
  }
2907
2908
  $.each(option_data, function (val, val_num) {
2908
- html.push('<option value="', val, '">', (val.substr(0, 6)), '(', val_num, ')</option>');
2909
+ html.push('<option value="', val, '">', val.substr(0, 6), '(', val_num, ')</option>');
2909
2910
  });
2910
2911
  obj.html(html.join(""));
2911
2912
  obj.change(function () {