fmui-base 2.0.49 → 2.0.50

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.
@@ -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
 
@@ -556,6 +556,9 @@ var MyGrid = function (_React$Component) {
556
556
  }
557
557
  }
558
558
  }
559
+
560
+ // 区分个人邮件和公共邮件
561
+
559
562
  }, {
560
563
  key: 'handleChange',
561
564
  value: function handleChange(id, obj) {
@@ -576,6 +579,9 @@ var MyGrid = function (_React$Component) {
576
579
  this.setState((_setState4 = {}, _defineProperty(_setState4, 'activeIndex_gryj_' + id, true), _defineProperty(_setState4, 'activeIndex_ggyj_' + id, false), _setState4));
577
580
  }
578
581
  }
582
+
583
+ // 部件内容渲染处理函数
584
+
579
585
  }, {
580
586
  key: 'portalContent',
581
587
  value: function portalContent(item) {
@@ -658,7 +664,7 @@ var MyGrid = function (_React$Component) {
658
664
  }.bind(this)) : ''
659
665
  )
660
666
  );
661
-
667
+ // backgroundImage直接判断有无会报错,单独return
662
668
  return _react2.default.createElement(
663
669
  'div',
664
670
  { className: 'react-grid-component', key: item.id, style: {
@@ -691,10 +697,10 @@ var MyGrid = function (_React$Component) {
691
697
  { style: { color: styleSetting.titleSet.titleColor, fontWeight: styleSetting.titleSet.titleWeight == 1 ? 700 : '', fontSize: styleSetting.titleSet.titleSize, fontFamily: styleSetting.titleSet.titleFamily, fontStyle: styleSetting.titleSet.titleItalic === "1" ? "italic" : '' } },
692
698
  '\u5E38\u7528\u5E94\u7528'
693
699
  ) },
694
- _react2.default.createElement(
700
+ t.state[item.portletCode + '_' + item.id] && t.state[item.portletCode + '_' + item.id].length > 0 ? _react2.default.createElement(
695
701
  _Grid2.default,
696
702
  { col: personalSetting.cols * 1, className: t.state.showcyyy ? '' : 't-DN' },
697
- t.state[item.portletCode + '_' + item.id] && t.state[item.portletCode + '_' + item.id].length > 0 ? t.state[item.portletCode + '_' + item.id].map(function (ele) {
703
+ t.state[item.portletCode + '_' + item.id].map(function (ele) {
698
704
  return _react2.default.createElement(
699
705
  'div',
700
706
  { className: 'systemItem', onClick: t.newPageSkip.bind(t, ele.dingUrl, ele.wxUrl, ele.mhUrl, ele.cocallUrl) },
@@ -709,11 +715,7 @@ var MyGrid = function (_React$Component) {
709
715
  ele.name
710
716
  )
711
717
  );
712
- }) : _react2.default.createElement(
713
- 'div',
714
- null,
715
- _react2.default.createElement('img', { className: 't-W100 t-PL10 t-PR10', src: '../../../fmui/images/home/nodata.png' })
716
- ),
718
+ }),
717
719
  _react2.default.createElement(
718
720
  'div',
719
721
  { className: t.state[item.portletCode + '_' + item.id] && t.state[item.portletCode + '_' + item.id].length > 0 ? 'systemItem' : 't-DN', onClick: t.jumpPage.bind(this, "homepage/home/applistSetting", personalSetting.cols * 1, item.id) },
@@ -728,6 +730,10 @@ var MyGrid = function (_React$Component) {
728
730
  '\u66F4\u591A'
729
731
  )
730
732
  )
733
+ ) : _react2.default.createElement(
734
+ 'div',
735
+ null,
736
+ _react2.default.createElement('img', { className: 't-W100 t-PL10 t-PR10', src: '../../../fmui/images/home/nodata.png' })
731
737
  )
732
738
  ),
733
739
  _react2.default.createElement(
@@ -737,10 +743,10 @@ var MyGrid = function (_React$Component) {
737
743
  { style: { color: styleSetting.titleSet.titleColor, fontWeight: styleSetting.titleSet.titleWeight == 1 ? 700 : '', fontSize: styleSetting.titleSet.titleSize, fontFamily: styleSetting.titleSet.titleFamily, fontStyle: styleSetting.titleSet.titleItalic === "1" ? "italic" : '' } },
738
744
  '\u6211\u7684\u6536\u85CF'
739
745
  ) },
740
- _react2.default.createElement(
746
+ t.state['wdsc' + '_' + item.id] && t.state['wdsc' + '_' + item.id].length > 0 ? _react2.default.createElement(
741
747
  _Grid2.default,
742
748
  { col: personalSetting.cols * 1 },
743
- t.state['wdsc' + '_' + item.id] && t.state['wdsc' + '_' + item.id].length > 0 ? t.state['wdsc' + '_' + item.id].map(function (ele) {
749
+ t.state['wdsc' + '_' + item.id].map(function (ele) {
744
750
  return _react2.default.createElement(
745
751
  'div',
746
752
  { className: 'systemItem', onClick: t.newPageSkip.bind(t, ele.dingUrl, ele.wxUrl, ele.mhUrl, ele.cocallUrl) },
@@ -755,14 +761,10 @@ var MyGrid = function (_React$Component) {
755
761
  ele.name
756
762
  )
757
763
  );
758
- }) : _react2.default.createElement(
759
- 'div',
760
- null,
761
- _react2.default.createElement('img', { className: 't-W100 t-PL10 t-PR10', src: '../../../fmui/images/home/nodata.png' })
762
- ),
764
+ }),
763
765
  _react2.default.createElement(
764
766
  'div',
765
- { className: t.state['wdsc' + '_' + item.id] && t.state['wdsc' + '_' + item.id].length > 0 ? 'systemItem' : 't-DN', onClick: t.jumpPage.bind(this, "/appCollect") },
767
+ { className: 'systemItem', onClick: t.jumpPage.bind(this, "/appCollect") },
766
768
  _react2.default.createElement(
767
769
  'div',
768
770
  { className: 'iconblock t-iconBCred' },
@@ -774,6 +776,10 @@ var MyGrid = function (_React$Component) {
774
776
  '\u66F4\u591A'
775
777
  )
776
778
  )
779
+ ) : _react2.default.createElement(
780
+ 'div',
781
+ null,
782
+ _react2.default.createElement('img', { className: 't-W100 t-PL10 t-PR10', src: '../../../fmui/images/home/nodata.png' })
777
783
  )
778
784
  )
779
785
  )
@@ -7,7 +7,7 @@
7
7
  }
8
8
 
9
9
  .t-tab-bar {
10
- padding-left: 6px;
10
+ padding-left: 10px;
11
11
  }
12
12
 
13
13
  .t-tab-bar .t-tab-tab {
@@ -15,14 +15,15 @@
15
15
  min-width: 95px;
16
16
  color: #888;
17
17
  flex: initial;
18
- padding: 0 10px;
18
+ // padding: 0 8px;
19
19
  height: 33px;
20
20
  line-height: 20px;
21
21
  display: block;
22
22
  background-color: transparent;
23
23
 
24
24
  div {
25
- max-width: 81px;
25
+ max-width: 95px;
26
+ padding: 0 5px;
26
27
  height: inherit;
27
28
  white-space: nowrap;
28
29
  overflow: hidden;
@@ -39,7 +40,7 @@
39
40
 
40
41
  .t-tab-ink-bar {
41
42
  // background-color: @theme-color !important;
42
- margin-left: -36px;
43
+ margin-left: -41px;
43
44
  border-radius: 4px;
44
45
  height: 4px;
45
46
  width: 25px !important;
@@ -59,7 +60,7 @@
59
60
  }
60
61
 
61
62
  .t-tab-nav-wrap .t-tab-ink-bar {
62
- margin-left: -28px;
63
+ margin-left: -31px;
63
64
  }
64
65
 
65
66
  .react-grid-item.cssTransforms {
@@ -987,6 +988,10 @@
987
988
  background:#713938;
988
989
  }
989
990
 
991
+ .list-RT-label .list-item {
992
+ margin: 10px 16px;
993
+ }
994
+
990
995
  .rightMore {
991
996
  position: absolute;
992
997
  right: 10px;
@@ -1041,5 +1046,6 @@
1041
1046
  .t-grid-item+.t-grid-item {
1042
1047
  border-left: none !important;
1043
1048
  }
1049
+
1044
1050
  }
1045
1051
 
@@ -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.49",
3
+ "version": "2.0.50",
4
4
  "title": "fmui-base",
5
5
  "description": "fmui移动端组件",
6
6
  "main": "lib/index.js",