fmui-base 2.0.37 → 2.0.38
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/README.md +1 -0
- package/lib/css/react_grid.css +809 -798
- package/lib/poppage/tree/tree.js +3 -3
- package/lib/react_grid/react_grid.js +32 -24
- package/lib/react_grid/react_grid.less +10 -5
- package/lib/select-fileno/pageHome.js +1 -1
- package/lib/select-serialnumber/pageHome.js +1 -1
- package/lib/select-serialnumber/pageHome1.js +1 -1
- package/lib/signature/draw.js +3 -3
- package/lib/signature/sign.less +73 -73
- package/lib/signature//346/211/213/345/206/231/347/255/276/345/220/215/344/275/277/347/224/250/346/226/207/346/241/243.md +11 -11
- package/package.json +1 -1
package/lib/poppage/tree/tree.js
CHANGED
|
@@ -109,9 +109,7 @@ var MyGrid = function (_React$Component) {
|
|
|
109
109
|
_this.setState(_defineProperty({}, item.portletCode + '_' + item.id, res));
|
|
110
110
|
});
|
|
111
111
|
} else if (item.portletCode == 'banner') {
|
|
112
|
-
_this.setState(_defineProperty({}, item.portletCode + '_' + item.id, JSON.parse(item.personalSetting))
|
|
113
|
-
console.log(_this.state, '///////////////////////////');
|
|
114
|
-
});
|
|
112
|
+
_this.setState(_defineProperty({}, item.portletCode + '_' + item.id, JSON.parse(item.personalSetting)));
|
|
115
113
|
}
|
|
116
114
|
});
|
|
117
115
|
});
|
|
@@ -603,7 +601,7 @@ var MyGrid = function (_React$Component) {
|
|
|
603
601
|
}) : '',
|
|
604
602
|
_react2.default.createElement(
|
|
605
603
|
'div',
|
|
606
|
-
{ className: 'systemItem', onClick: t.jumpPage.bind(this, "homepage/home/applistSetting") },
|
|
604
|
+
{ className: 'systemItem', onClick: t.jumpPage.bind(this, "homepage/home/applistSetting", personalSetting.cols) },
|
|
607
605
|
_react2.default.createElement(
|
|
608
606
|
'div',
|
|
609
607
|
{ className: 'iconblock t-iconBCred' },
|
|
@@ -753,7 +751,7 @@ var MyGrid = function (_React$Component) {
|
|
|
753
751
|
{ className: 'component-bssx' },
|
|
754
752
|
_react2.default.createElement(
|
|
755
753
|
'p',
|
|
756
|
-
{ className: styleSetting.otherSet.toolbarShow == 1 ? "rightMore" : 't-DN' },
|
|
754
|
+
{ className: styleSetting.otherSet.toolbarShow == 1 ? "rightMore" : 't-DN', onClick: t.jumpPage.bind(this, "/officehall") },
|
|
757
755
|
'\u66F4\u591A',
|
|
758
756
|
_react2.default.createElement('i', { className: 'iconfont-ywtb icon-ywtb-tiaozhuan' })
|
|
759
757
|
),
|
|
@@ -1088,10 +1086,20 @@ var MyGrid = function (_React$Component) {
|
|
|
1088
1086
|
);
|
|
1089
1087
|
}
|
|
1090
1088
|
componentContent = _react2.default.createElement(
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1089
|
+
'div',
|
|
1090
|
+
null,
|
|
1091
|
+
_react2.default.createElement(
|
|
1092
|
+
'p',
|
|
1093
|
+
{ className: styleSetting.otherSet.toolbarShow == 1 ? "rightMore" : 't-DN' },
|
|
1094
|
+
'\u66F4\u591A',
|
|
1095
|
+
_react2.default.createElement('i', { className: 'iconfont-ywtb icon-ywtb-tiaozhuan' })
|
|
1096
|
+
),
|
|
1097
|
+
_react2.default.createElement(
|
|
1098
|
+
_Tab2.default,
|
|
1099
|
+
{ activeKey: gryjShowList.indexOf('personMail') > -1 ? "0" : "1" },
|
|
1100
|
+
personMailTab,
|
|
1101
|
+
publicMailTab
|
|
1102
|
+
)
|
|
1095
1103
|
);
|
|
1096
1104
|
}
|
|
1097
1105
|
if (item.portletCode === 'grrc') {
|
|
@@ -1166,9 +1174,11 @@ var MyGrid = function (_React$Component) {
|
|
|
1166
1174
|
calendarDom,
|
|
1167
1175
|
grrcList
|
|
1168
1176
|
);
|
|
1169
|
-
|
|
1170
|
-
|
|
1171
|
-
|
|
1177
|
+
if (t.state[item.portletCode + '_' + item.id]) {
|
|
1178
|
+
setTimeout(function () {
|
|
1179
|
+
t.initCleader(t.state[item.portletCode + '_' + item.id], item.id);
|
|
1180
|
+
}, 600);
|
|
1181
|
+
}
|
|
1172
1182
|
}
|
|
1173
1183
|
if (item.portletCode === 'grhy') {
|
|
1174
1184
|
var grhyContent = '';
|
|
@@ -1446,15 +1456,15 @@ var MyGrid = function (_React$Component) {
|
|
|
1446
1456
|
return _react2.default.createElement(
|
|
1447
1457
|
'div',
|
|
1448
1458
|
{ className: 'react-grid-component', key: item.id, style: {
|
|
1449
|
-
borderTopLeftRadius: styleSetting.otherSet.radius.topLeft,
|
|
1450
|
-
borderTopRightRadius: styleSetting.otherSet.radius.topRight,
|
|
1451
|
-
borderBottomLeftRadius: styleSetting.otherSet.radius.bottomLeft,
|
|
1452
|
-
borderBottomRightRadius: styleSetting.otherSet.radius.bottomRight,
|
|
1453
|
-
paddingLeft: styleSetting.pl,
|
|
1454
|
-
paddingright: styleSetting.pr,
|
|
1455
|
-
paddingTop: styleSetting.pt,
|
|
1456
|
-
paddingBottom: styleSetting.pb,
|
|
1457
|
-
|
|
1459
|
+
borderTopLeftRadius: styleSetting.otherSet.radius.topLeft + 'px',
|
|
1460
|
+
borderTopRightRadius: styleSetting.otherSet.radius.topRight + 'px',
|
|
1461
|
+
borderBottomLeftRadius: styleSetting.otherSet.radius.bottomLeft + 'px',
|
|
1462
|
+
borderBottomRightRadius: styleSetting.otherSet.radius.bottomRight + 'px',
|
|
1463
|
+
paddingLeft: styleSetting.otherSet.paddingSet.pl + 'px',
|
|
1464
|
+
paddingright: styleSetting.otherSet.paddingSet.pr + 'px',
|
|
1465
|
+
paddingTop: styleSetting.otherSet.paddingSet.pt + 'px',
|
|
1466
|
+
paddingBottom: styleSetting.otherSet.paddingSet.pb + 'px',
|
|
1467
|
+
backgroundColor: styleSetting.otherSet.bgColor
|
|
1458
1468
|
} },
|
|
1459
1469
|
styleSetting.titleSet.titleStatus == 1 ? componentHead : '',
|
|
1460
1470
|
componentContent
|
|
@@ -1537,9 +1547,7 @@ var MyGrid = function (_React$Component) {
|
|
|
1537
1547
|
margin: [0, 10]
|
|
1538
1548
|
},
|
|
1539
1549
|
this.state.data.map(function (item) {
|
|
1540
|
-
|
|
1541
|
-
console.log(t.portalContent(item), ' t.portalContent(item) t.portalContent(item)');
|
|
1542
|
-
console.log('====================================');
|
|
1550
|
+
|
|
1543
1551
|
return t.portalContent(item) || null;
|
|
1544
1552
|
|
|
1545
1553
|
// 添加一个默认返回值,以避免未指定键的错误
|
|
@@ -467,9 +467,9 @@
|
|
|
467
467
|
}
|
|
468
468
|
|
|
469
469
|
.jxzt-content {
|
|
470
|
+
margin: 16px;
|
|
470
471
|
.t-image-slide-item {
|
|
471
|
-
|
|
472
|
-
height: 91px !important;
|
|
472
|
+
// height: 91px !important;
|
|
473
473
|
background-image: url(/mobile/fmui/images/notice-card-bg.png);
|
|
474
474
|
background-size: 100% 100%;
|
|
475
475
|
border-radius: 10px;
|
|
@@ -635,14 +635,19 @@
|
|
|
635
635
|
margin-bottom: 10px;
|
|
636
636
|
}
|
|
637
637
|
|
|
638
|
-
.calendar-content .canChoose-active span {
|
|
638
|
+
.calendar-content .canChoose-active span ,.calendar-content div.today span{
|
|
639
639
|
color:#713938 !important;
|
|
640
|
-
|
|
640
|
+
}
|
|
641
|
+
.calendar-content .canChoose-active span {
|
|
642
|
+
background: #F6F6F6 !important;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
.calendar-content div.today span {
|
|
641
646
|
background: transparent !important;
|
|
642
647
|
}
|
|
643
648
|
|
|
644
649
|
.calendar-content span.hasEvent:before {
|
|
645
|
-
color: #FAB88D;
|
|
650
|
+
color: #FAB88D !important;
|
|
646
651
|
}
|
|
647
652
|
|
|
648
653
|
.rc-list {
|
package/lib/signature/draw.js
CHANGED
|
@@ -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] : {};
|
package/lib/signature/sign.less
CHANGED
|
@@ -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
|