fmui-base 2.0.61 → 2.0.62

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/lib/form/form.js CHANGED
@@ -2684,6 +2684,14 @@ var PageHome = function (_React$Component) {
2684
2684
  });
2685
2685
  }
2686
2686
  }
2687
+
2688
+ //常用语设置跳转
2689
+
2690
+ }, {
2691
+ key: 'skipToCommonwordsSet',
2692
+ value: function skipToCommonwordsSet() {
2693
+ pageSkip('mobile/modules/mobileoffice/dist/index.html', '#/hospitalmanage/personal/setting/listPhrase');
2694
+ }
2687
2695
  }, {
2688
2696
  key: 'phraseItemClick',
2689
2697
  value: function phraseItemClick(commonwords) {
@@ -3211,11 +3219,20 @@ var PageHome = function (_React$Component) {
3211
3219
  _react2.default.createElement(_List2.default, { list: t.state.itemParam.value }),
3212
3220
  _react2.default.createElement(
3213
3221
  'div',
3214
- { className: t.state.commentField == this.state.itemParam.uniqueName ? 't-PL10' : 't-DN' },
3222
+ { className: t.state.commentField == this.state.itemParam.uniqueName ? 't-PL10 t-PR10' : 't-DN' },
3215
3223
  _react2.default.createElement(
3216
3224
  'div',
3217
- { className: t.state.commentField == this.state.itemParam.uniqueName ? 'theme-color t-P6 t-FS16 commonwords' : 't-DN', onClick: this.selectCommonwords.bind(this) },
3218
- '\u5E38\u7528\u8BED'
3225
+ { className: t.state.commentField == this.state.itemParam.uniqueName ? 'theme-color t-P6 t-FS16 commonwords' : 't-DN' },
3226
+ _react2.default.createElement(
3227
+ 'div',
3228
+ { onClick: this.selectCommonwords.bind(this) },
3229
+ '\u5E38\u7528\u8BED'
3230
+ ),
3231
+ _react2.default.createElement(
3232
+ 'div',
3233
+ { onClick: this.skipToCommonwordsSet.bind(this) },
3234
+ '\u7F16\u8F91'
3235
+ )
3219
3236
  ),
3220
3237
  _react2.default.createElement(
3221
3238
  'div',
package/lib/form/table.js CHANGED
@@ -1482,6 +1482,14 @@ var PageHome = function (_React$Component) {
1482
1482
  });
1483
1483
  }
1484
1484
  }
1485
+
1486
+ //常用语设置跳转
1487
+
1488
+ }, {
1489
+ key: 'skipToCommonwordsSet',
1490
+ value: function skipToCommonwordsSet() {
1491
+ pageSkip('mobile/modules/mobileoffice/dist/index.html', '#/hospitalmanage/personal/setting/listPhrase');
1492
+ }
1485
1493
  }, {
1486
1494
  key: 'phraseItemClick',
1487
1495
  value: function phraseItemClick(commonwords) {
@@ -1638,11 +1646,20 @@ var PageHome = function (_React$Component) {
1638
1646
  _react2.default.createElement(_List2.default, { list: t.props.commentDefaultList }),
1639
1647
  _react2.default.createElement(
1640
1648
  'div',
1641
- { className: t.props.commentField == "default" ? 't-PL10' : 't-DN' },
1649
+ { className: t.props.commentField == "default" ? 't-PL10 t-PR10' : 't-DN' },
1642
1650
  _react2.default.createElement(
1643
1651
  'div',
1644
- { className: 'theme-color t-P6 t-FS16 commonwords', onClick: this.selectCommonwords.bind(this) },
1645
- '\u5E38\u7528\u8BED'
1652
+ { className: 'theme-color t-P6 t-FS16 commonwords' },
1653
+ _react2.default.createElement(
1654
+ 'div',
1655
+ { onClick: this.selectCommonwords.bind(this) },
1656
+ '\u5E38\u7528\u8BED'
1657
+ ),
1658
+ _react2.default.createElement(
1659
+ 'div',
1660
+ { onClick: this.skipToCommonwordsSet.bind(this) },
1661
+ '\u7F16\u8F91'
1662
+ )
1646
1663
  ),
1647
1664
  _react2.default.createElement(_TextareaField2.default, {
1648
1665
  readOnly: false,
@@ -187,9 +187,9 @@ var Page = function (_React$Component2) {
187
187
  //this.initData();
188
188
 
189
189
 
190
- /*// 子组件初始化
191
- initState() {
192
- }*/
190
+ /*// 子组件初始化
191
+ initState() {
192
+ }*/
193
193
 
194
194
  //初始化数据
195
195
 
@@ -626,7 +626,7 @@ var Page = function (_React$Component) {
626
626
  }, {
627
627
  key: 'closMask',
628
628
  value: function closMask() {
629
- /* $("#App").removeAttr("style");
629
+ /* $("#App").removeAttr("style");
630
630
  $(document).scrollTop(this.props.top);*/
631
631
  }
632
632
  }, {
@@ -540,7 +540,7 @@ var Page = function (_React$Component) {
540
540
  }, {
541
541
  key: 'closMask',
542
542
  value: function closMask() {
543
- /* $("#App").removeAttr("style");
543
+ /* $("#App").removeAttr("style");
544
544
  $(document).scrollTop(this.props.top);*/
545
545
  }
546
546
  }, {
@@ -538,7 +538,7 @@ var Page = function (_Component) {
538
538
  }, {
539
539
  key: 'closMask',
540
540
  value: function closMask() {
541
- /* $("#App").removeAttr("style");
541
+ /* $("#App").removeAttr("style");
542
542
  $(document).scrollTop(this.props.top);*/
543
543
  }
544
544
  }, {
@@ -3,9 +3,9 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- /**
7
- * Created by louizhai on 17/6/30.
8
- * description: Use canvas to draw.
6
+ /**
7
+ * Created by louizhai on 17/6/30.
8
+ * description: Use canvas to draw.
9
9
  */
10
10
  function Draw(canvas, degree) {
11
11
  var config = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
@@ -1,73 +1,73 @@
1
- .page-demo {
2
- color:#666;
3
- }
4
-
5
-
6
- #canvasBox {
7
- display: flex;
8
- flex-direction: column;
9
- height: 100%;
10
- }
11
- .greet {
12
- padding: 20px;
13
- font-size: 20px;
14
- user-select: none;
15
- }
16
- .greet a {
17
- cursor: pointer;
18
- }
19
- .greet select {
20
- font-size: 18px;
21
- }
22
- canvas {
23
- flex: 1;
24
- //border: 0.5px solid #ccc;
25
- cursor: crosshair;
26
- }
27
-
28
-
29
-
30
-
31
- @media screen and (orientation: portrait) {
32
- .dd-write-sign-page {
33
- position: absolute;
34
- width: 100vh;
35
- height: 100vw;
36
- top: 0;
37
- left: 100vw;
38
- -webkit-transform: rotate(90deg);
39
- -moz-transform: rotate(90deg);
40
- -ms-transform: rotate(90deg);
41
- transform: rotate(90deg);
42
- transform-origin: 0% 0%;
43
- }
44
- }
45
-
46
- @media screen and (orientation: landscape) {
47
- .dd-write-sign-page {
48
- -webkit-transform: rotate(0);
49
- -moz-transform: rotate(0);
50
- -ms-transform: rotate(0);
51
- transform: rotate(0)
52
- }
53
- }
54
-
55
- .dd-write-sign {
56
- height: calc(~"100% - 83px");
57
- }
58
-
59
- .dd-write-sign-del.t-text-button {
60
- height: 32px;
61
- line-height: 32px;
62
-
63
- .iconfont {
64
- height: 32px;
65
- }
66
- }
67
- .img-border{
68
- border:1px solid #ccc;
69
-
70
- }
71
-
72
-
73
-
1
+ .page-demo {
2
+ color:#666;
3
+ }
4
+
5
+
6
+ #canvasBox {
7
+ display: flex;
8
+ flex-direction: column;
9
+ height: 100%;
10
+ }
11
+ .greet {
12
+ padding: 20px;
13
+ font-size: 20px;
14
+ user-select: none;
15
+ }
16
+ .greet a {
17
+ cursor: pointer;
18
+ }
19
+ .greet select {
20
+ font-size: 18px;
21
+ }
22
+ canvas {
23
+ flex: 1;
24
+ //border: 0.5px solid #ccc;
25
+ cursor: crosshair;
26
+ }
27
+
28
+
29
+
30
+
31
+ @media screen and (orientation: portrait) {
32
+ .dd-write-sign-page {
33
+ position: absolute;
34
+ width: 100vh;
35
+ height: 100vw;
36
+ top: 0;
37
+ left: 100vw;
38
+ -webkit-transform: rotate(90deg);
39
+ -moz-transform: rotate(90deg);
40
+ -ms-transform: rotate(90deg);
41
+ transform: rotate(90deg);
42
+ transform-origin: 0% 0%;
43
+ }
44
+ }
45
+
46
+ @media screen and (orientation: landscape) {
47
+ .dd-write-sign-page {
48
+ -webkit-transform: rotate(0);
49
+ -moz-transform: rotate(0);
50
+ -ms-transform: rotate(0);
51
+ transform: rotate(0)
52
+ }
53
+ }
54
+
55
+ .dd-write-sign {
56
+ height: calc(~"100% - 83px");
57
+ }
58
+
59
+ .dd-write-sign-del.t-text-button {
60
+ height: 32px;
61
+ line-height: 32px;
62
+
63
+ .iconfont {
64
+ height: 32px;
65
+ }
66
+ }
67
+ .img-border{
68
+ border:1px solid #ccc;
69
+
70
+ }
71
+
72
+
73
+
@@ -1,12 +1,12 @@
1
- # 手写签名使用文档
2
-
3
- 1. 安装fmui 0.0.36-ygy以上的版本
4
- 2. 引用: import Sign from 'fmui/lib/signature';
5
- 3. 写标签
6
- ```
7
- <Sign upload={(val)=>{alert(val)}}/>
8
- ```
9
- 4. 参数
10
- - upload : (必填项)回调方法,返回参数为生成手写签名图片的id
11
- - title : (必填项)显示的输入框标题
1
+ # 手写签名使用文档
2
+
3
+ 1. 安装fmui 0.0.36-ygy以上的版本
4
+ 2. 引用: import Sign from 'fmui/lib/signature';
5
+ 3. 写标签
6
+ ```
7
+ <Sign upload={(val)=>{alert(val)}}/>
8
+ ```
9
+ 4. 参数
10
+ - upload : (必填项)回调方法,返回参数为生成手写签名图片的id
11
+ - title : (必填项)显示的输入框标题
12
12
  - fileId : 初始化签名图片文件id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fmui-base",
3
- "version": "2.0.61",
3
+ "version": "2.0.62",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",