sbd-npm 1.2.14 → 1.2.15

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sbd-npm",
3
- "version": "1.2.14",
3
+ "version": "1.2.15",
4
4
  "description": "Stock Big Data",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/stock_basics.js CHANGED
@@ -613,11 +613,11 @@ let Stock = {
613
613
  "element_id": "profit_table",
614
614
  "head_cols": [
615
615
  {"name": "年份季度"},
616
- {"name": "净资产收益率(ROE)", "tooltip": "Return On Equity"},
616
+ {"name": "ROE", "tooltip": "净资产收益率(Return On Equity)"},
617
617
  {"name": "净利率(%)"},
618
618
  {"name": "毛利率"},
619
619
  {"name": "净利润"},
620
- {"name": "每股收益(EPS)", "tooltip": "Earnings Per Share"},
620
+ {"name": "EPS", "tooltip": "每股收益(Earnings Per Share)"},
621
621
  {"name": "营业收入"},
622
622
  {"name": "每股主营业务收入"},
623
623
  ]
package/util.js CHANGED
@@ -577,6 +577,13 @@ const Util = {
577
577
  return /(iPhone|iPad|iPod|iOS|Android|Mobile)/i.test(navigator.userAgent);
578
578
  },
579
579
 
580
+ /**
581
+ * 是否苹果系的设备
582
+ */
583
+ is_macintosh: function () {
584
+ return /(Mac|iPhone|iPod|iPad)/i.test(navigator.userAgent);
585
+ },
586
+
580
587
  /**
581
588
  * 分页函数
582
589
  * @param data_id