sbd-npm 1.4.93 → 1.4.94

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
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
package/custom.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sbd-npm",
3
- "version": "1.4.93",
3
+ "version": "1.4.94",
4
4
  "description": "Stock Big Data",
5
5
  "author": "DHQ <dhq314@gmail.com>",
6
6
  "license": "ISC",
package/status.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -1670,7 +1670,7 @@ $(function () {
1670
1670
  "element_id": "mysql_access_modal_body",
1671
1671
  "caption": '<caption class="' + (Util.is_mobile() ? "text-left" : "text-right") + '" id="mysql_access_summary"></caption>',
1672
1672
  "head_columns": [
1673
- {"name": "", "select_id": "mysql_access_filter", "select_options": [{"key": "0", "val": "全部"},{"key": "1", "val": "正常"},{"key": "2", "val": "屏蔽"}]},
1673
+ {"name": "", "select_id": "mysql_access_filter", "select_options": [{"key": "0", "val": "全部"},{"key": "1", "val": "正常"},{"key": "2", "val": "屏蔽"},{"key": "3", "val": "异常"}]},
1674
1674
  {"name": "IP", "table_sort": 1, "tooltip": "IP地址(Internet Protocol Address)是指互联网协议地址"},
1675
1675
  {"name": "地址信息", "table_sort": 1},
1676
1676
  {"name": "连接次数", "table_sort": 1},
package/stock_basics.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -179,9 +179,9 @@ let Stock = {
179
179
  $("#price").html(Util.digit_compare_trend(item["price"], item["pre_close"]));
180
180
  $("#year_price").html(Util.year_price_rate(item["price"], item["year_price"]));
181
181
  let high_52week = $("#high_52week");
182
- high_52week.html(Util.digit_compare_trend(high_52week.html(), item["price"]));
182
+ high_52week.html(Util.digit_compare_trend(high_52week.text(), item["price"]));
183
183
  let low_52week = $("#low_52week");
184
- low_52week.html(Util.digit_compare_trend(low_52week.html(), item["price"]));
184
+ low_52week.html(Util.digit_compare_trend(low_52week.text(), item["price"]));
185
185
  if (item["high_history"]["close"]) {
186
186
  let high_history = $("#high_history");
187
187
  high_history.html(Util.digit_compare_trend(item["high_history"]["close"], item["price"]));
package/summary_daily.js CHANGED
@@ -5,7 +5,7 @@
5
5
  * you may not use this file except in compliance with the License.
6
6
  * You may obtain a copy of the License at
7
7
  *
8
- * http://www.apache.org/licenses/LICENSE-2.0
8
+ * https://www.apache.org/licenses/LICENSE-2.0
9
9
  *
10
10
  * Unless required by applicable law or agreed to in writing, software
11
11
  * distributed under the License is distributed on an "AS IS" BASIS,
package/util.js CHANGED
@@ -12,7 +12,7 @@
12
12
  * you may not use this file except in compliance with the License.
13
13
  * You may obtain a copy of the License at
14
14
  *
15
- * http://www.apache.org/licenses/LICENSE-2.0
15
+ * https://www.apache.org/licenses/LICENSE-2.0
16
16
  *
17
17
  * Unless required by applicable law or agreed to in writing, software
18
18
  * distributed under the License is distributed on an "AS IS" BASIS,
@@ -1550,7 +1550,7 @@ const Util = {
1550
1550
  Util.post(Util.get_url("fund_public"), {action: "public_fund_detail", fund_code: fund_code}, function (j) {
1551
1551
  let html = [];
1552
1552
  if (j["fund_code"]) {
1553
- $("#" + component_id + "_title").html(Util.pack_html_link("http://fundf10.eastmoney.com/jbgk_" + j["fund_code"] + ".html", j["fund_name"]));
1553
+ $("#" + component_id + "_title").html(Util.pack_html_link("https://fundf10.eastmoney.com/jbgk_" + j["fund_code"] + ".html", j["fund_name"]));
1554
1554
  let net = "--";
1555
1555
  if (j["net"] > 0) {
1556
1556
  net = j["net"];
@@ -1573,7 +1573,7 @@ const Util = {
1573
1573
  html.push("<tr><td colspan='3'>近一周</td><td colspan='4'>", Util.parse_ratio(j["one_week_change"]), "</td><td colspan='3'>近一月</td><td colspan='5'>", Util.parse_ratio(j["one_month_change"]), "</td></tr>");
1574
1574
  html.push("<tr><td colspan='3'>近一年</td><td colspan='4'>", Util.parse_ratio(j["one_year_change"]), "</td><td colspan='3'>年初至今</td><td colspan='5'>", Util.pack_html_link('https://fundf10.eastmoney.com/jdzf_' + j["fund_code"] + '.html', Util.parse_ratio(j["ytd_change"])), "</td></tr>");
1575
1575
  html.push("<tr><td colspan='5'>成立以来</td><td colspan='10'>", Util.parse_ratio(j["establish_change"]), "</td></tr>");
1576
- html.push("<tr class='info'><th colspan='15' style='text-align: center;'>", Util.pack_html_link("http://fund.eastmoney.com/f10/ccmx_" + j["fund_code"] + ".html", "持股明细"), " <span id='fund_stock_date_zone'></span></th></tr>");
1576
+ html.push("<tr class='info'><th colspan='15' style='text-align: center;'>", Util.pack_html_link("https://fund.eastmoney.com/f10/ccmx_" + j["fund_code"] + ".html", "持股明细"), " <span id='fund_stock_date_zone'></span></th></tr>");
1577
1577
  html.push("<tr id='" + component_id + "_head'><th>序号</th><th>股票代码</th><th>股票名</th><th>PE</th><th>总市值</th><th>行业</th><th>地区</th><th>价格</th><th>年初至今</th><th>近5日</th><th>股东数</th><th>持有量</th><th class='info'>占比</th><th>占比变化</th><th>持仓市值</th></tr>");
1578
1578
  html.push("<tr class='" + component_id + "_tr'><td colspan='15'>暂无数据</td></tr>");
1579
1579
  Util.render_table_html(component_id + "_body_body", html);
@@ -1787,7 +1787,7 @@ const Util = {
1787
1787
  html.push("<tr>");
1788
1788
  item["name"] = item["name"] + "(" + item["code"] + ")";
1789
1789
  if (category_top_type === 2) {
1790
- cole_url = "http://q.10jqka.com.cn/thshy/detail/code/" + item["code"];
1790
+ cole_url = "https://q.10jqka.com.cn/thshy/detail/code/" + item["code"];
1791
1791
  } else if (category_top_type === 3) {
1792
1792
  cole_url = "https://www.swsresearch.com/institute_sw/allIndex/releasedIndex/releasedetail?code=" + item["code"] + "&name=" + item["code"];
1793
1793
  } else {
@@ -3522,7 +3522,7 @@ const Util = {
3522
3522
  let industry_url = Util.get_url("summary_industry");
3523
3523
  data.forEach(function (item) {
3524
3524
  html.push("<tr>");
3525
- html.push("<td>", Util.pack_html_link("http://q.10jqka.com.cn/thshy/detail/code/" + item["code"], item["code"]), "</td>");
3525
+ html.push("<td>", Util.pack_html_link("https://q.10jqka.com.cn/thshy/detail/code/" + item["code"], item["code"]), "</td>");
3526
3526
  html.push("<td>", Util.pack_html_link(industry_url + "?code=" + item["code"], item["name"]), "</td>");
3527
3527
  html.push("<td>", Util.year_price_rate(item["current_close"], item["year_close"], 1), "</td>");
3528
3528
  html.push("<td>", Util.year_price_rate(item["current_close"], item["start_close"], 1), "</td>");