sbd-npm 1.3.46 → 1.3.47

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 (2) hide show
  1. package/package.json +1 -1
  2. package/util.js +4 -4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sbd-npm",
3
- "version": "1.3.46",
3
+ "version": "1.3.47",
4
4
  "description": "Stock Big Data",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/util.js CHANGED
@@ -2884,7 +2884,7 @@ const Util = {
2884
2884
  holder_info = Util.digit_compare_trend(item["holder_num"], 0);
2885
2885
  }
2886
2886
  }
2887
- let holder_url = Util.get_url("holder_num") + "?code=" + item["code"];
2887
+ let holder_url = "/stock/" + item["code"] + "?tab=holder_data";
2888
2888
  return Util.pack_html_link(holder_url, holder_info);
2889
2889
  },
2890
2890
 
@@ -2914,9 +2914,9 @@ const Util = {
2914
2914
  if (item["code"]) {
2915
2915
  url += "&code=" + item["code"];
2916
2916
  }
2917
- let tooltip = item["snowball_follower"] + " 人关注,关注排名第 " + item["snowball_follower_rank"] + " 位";
2918
- $("#snowball_follower").html(Util.pack_html_link(url, snowball_follower_rank) + ' <i class="glyphicon glyphicon-info-sign" data-toggle="tooltip" data-placement="top" data-original-title="' + tooltip + '"></i>');
2919
- $("[data-toggle='tooltip']").tooltip();
2917
+ $("#snowball_follower").html(Util.pack_html_link(url, snowball_follower_rank));
2918
+ let tooltip = "雪球共有 " + item["snowball_follower"] + " 人关注,关注排名第 " + item["snowball_follower_rank"] + " 位";
2919
+ $("#snowball_follower_info").attr("data-original-title", tooltip);
2920
2920
  }
2921
2921
  },
2922
2922