sbd-npm 1.5.15 → 1.5.16

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 +1 -0
  2. package/package.json +1 -1
  3. package/util.js +2 -3
package/constant.js CHANGED
@@ -39,6 +39,7 @@ const MenuList = [
39
39
  'icon': 'edit',
40
40
  'menu': [
41
41
  {'key': 'trend_boll_breakthrough', 'name': '布林中轨突破', 'url': '/0x948dafbd3c218b21bb8a63e75ba0dcf01c48cf05'},
42
+ {'key': 'trend_upside_gap', 'name': '跳空', 'url': '/0x6d45b8fbb09097a8f0b74d7dba86d033e2e8169d'},
42
43
  {'key': 'trend_boll_lower_band', 'name': '布林下轨统计分析', 'url': '/0x3b8132154797a6971a73da743122cb1e8a3c22ca', 'is_hide': 1},
43
44
  {'key': 'trend_price', 'name': '股价阶段涨跌幅度', 'url': '/0x84527c7c3487b39afd820f2b309355cd75c01653'},
44
45
  {'key': 'trend_day3_stabilize', 'name': '连续三日收涨', 'url': '/0x7e9df652521f334030e0be383f5fe10f01a67243'},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sbd-npm",
3
- "version": "1.5.15",
3
+ "version": "1.5.16",
4
4
  "description": "Stock Big Data",
5
5
  "author": "DHQ <dhq314@gmail.com>",
6
6
  "license": "ISC",
package/util.js CHANGED
@@ -1979,15 +1979,14 @@ const Util = {
1979
1979
  if (!document.getElementById(component_id + "_start_date")) {
1980
1980
  Util.init_date_range_picker(component_id + "_start_end_date", Util, "render_btc_modal", 60);
1981
1981
  }
1982
- let title_obj = $("#" + component_id + "_title");
1983
- title_obj.html(coin);
1984
- title_obj.attr("data-coin", coin);
1982
+ $("#" + component_id + "_title").html(coin).attr("data-coin", coin);
1985
1983
  $("#" + component_id + "_query").click(function () {
1986
1984
  Util.render_btc_modal();
1987
1985
  });
1988
1986
  Util.render_btc_modal();
1989
1987
  });
1990
1988
  component_obj.on('hidden.bs.modal', function () { // 此事件在模态框被隐藏(并且同时在 CSS 过渡效果完成)之后被触发
1989
+ Util.set_table_loading("btc_modal_body_body");
1991
1990
  Util.hide_tips();
1992
1991
  });
1993
1992
  },