fmui-base 2.0.67 → 2.0.69
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 +2 -0
- package/lib/css/react_grid.css +997 -829
- package/lib/form/subForm.js +1 -1
- package/lib/form/table.js +14 -81
- package/lib/poppage/tree/tree.js +3 -3
- package/lib/process_info/processInfo.js +29 -1
- package/lib/react_grid/react_grid copy.js +1411 -1343
- package/lib/react_grid/react_grid.js +6 -20
- package/lib/react_grid/react_grid.less +143 -102
- 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
|
@@ -308,7 +308,6 @@ var MyGrid = function (_React$Component) {
|
|
|
308
308
|
|
|
309
309
|
_db2.default.reactGrid.getNewHomePageRemindCount({ codes: "undo,unreadMail,unreadPubMail,toBeAttended,approveundo" }).then(function (content) {
|
|
310
310
|
if (content.undo || content.approveundo || content.toBeAttendedCount || content.unreadPubMailCount || content.unreadMailCount) {
|
|
311
|
-
|
|
312
311
|
_this2.setState({
|
|
313
312
|
undo: content.undo,
|
|
314
313
|
unreadMailCount: content.unreadMailCount,
|
|
@@ -638,10 +637,10 @@ var MyGrid = function (_React$Component) {
|
|
|
638
637
|
}
|
|
639
638
|
componentContent = _react2.default.createElement(
|
|
640
639
|
'div',
|
|
641
|
-
{ className: 'react-grid-banner
|
|
640
|
+
{ className: personalSetting.styleType == '1' ? "react-grid-banner react-grid-banner-type1" : "react-grid-banner react-grid-banner-type2" },
|
|
642
641
|
_react2.default.createElement(
|
|
643
642
|
'div',
|
|
644
|
-
{ className: 'react-grid-banner-img' },
|
|
643
|
+
{ className: 'react-grid-banner-img ' },
|
|
645
644
|
_react2.default.createElement('img', { src: pathUrl })
|
|
646
645
|
),
|
|
647
646
|
_react2.default.createElement(
|
|
@@ -680,7 +679,7 @@ var MyGrid = function (_React$Component) {
|
|
|
680
679
|
var todoInfo = projectMenuUrl.todoInfo[item];
|
|
681
680
|
return _react2.default.createElement(
|
|
682
681
|
'div',
|
|
683
|
-
{ className: '
|
|
682
|
+
{ className: personalSetting.styleType == '1' ? "react-grid-banner react-grid-banner-type1" : "react-grid-banner react-grid-banner-type2", onClick: t.skip2Project.bind(this, todoInfo.moduleCode, todoInfo.url) },
|
|
684
683
|
_react2.default.createElement(
|
|
685
684
|
'div',
|
|
686
685
|
{ className: 'react-grid-banner-item' },
|
|
@@ -722,7 +721,7 @@ var MyGrid = function (_React$Component) {
|
|
|
722
721
|
if (item.portletCode === 'cyyy') {
|
|
723
722
|
componentContent = _react2.default.createElement(
|
|
724
723
|
'div',
|
|
725
|
-
{ className: 'react-app-collect' },
|
|
724
|
+
{ className: personalSetting.styleType == '1' ? 'react-app-collect react-app-collect-type1' : 'react-app-collect react-app-collect-type2' },
|
|
726
725
|
_react2.default.createElement(
|
|
727
726
|
_Tab2.default,
|
|
728
727
|
{ activeKey: '0' },
|
|
@@ -844,14 +843,9 @@ var MyGrid = function (_React$Component) {
|
|
|
844
843
|
} },
|
|
845
844
|
_react2.default.createElement(
|
|
846
845
|
'div',
|
|
847
|
-
{ className: 'title
|
|
846
|
+
{ className: 'title' },
|
|
848
847
|
item.name
|
|
849
848
|
),
|
|
850
|
-
_react2.default.createElement(
|
|
851
|
-
'div',
|
|
852
|
-
{ className: 'describe t-omit' },
|
|
853
|
-
item.categoryName
|
|
854
|
-
),
|
|
855
849
|
_react2.default.createElement('i', { className: 'iconfont-ywtb icon-ywtb-' + item.icon + ' bg' }),
|
|
856
850
|
_react2.default.createElement('i', { className: 'iconfont-ywtb icon-ywtb-' + item.icon + ' ic' })
|
|
857
851
|
);
|
|
@@ -1677,15 +1671,7 @@ var MyGrid = function (_React$Component) {
|
|
|
1677
1671
|
_carouselItem = t.state[item.portletCode + '_' + item.id].map(function (item) {
|
|
1678
1672
|
var imgUrlPath = localStorage.getItem('context') + '/api/m/plugin/attachment/mobile/viewImage?token=' + localStorage.getItem('token') + '&fid=' + item.imgUrl;
|
|
1679
1673
|
|
|
1680
|
-
return _react2.default.createElement(
|
|
1681
|
-
_Carousel2.default.Item,
|
|
1682
|
-
{ title: '\u6807\u9898', code: item.code, className: 't-image-slide-item t-R10', style: { backgroundImage: 'url(' + imgUrlPath + ')' } },
|
|
1683
|
-
_react2.default.createElement(
|
|
1684
|
-
'p',
|
|
1685
|
-
{ className: 't-FS20 t-PT20 t-MB10', style: { textAlign: 'center' } },
|
|
1686
|
-
item.name
|
|
1687
|
-
)
|
|
1688
|
-
);
|
|
1674
|
+
return _react2.default.createElement(_Carousel2.default.Item, { title: '\u6807\u9898', code: item.code, className: 't-image-slide-item t-R10', style: { backgroundImage: 'url(' + imgUrlPath + ')' } });
|
|
1689
1675
|
});
|
|
1690
1676
|
}
|
|
1691
1677
|
if (t.state[item.portletCode + '_' + item.id] && t.state[item.portletCode + '_' + item.id].length > 0) {
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
width: 3px;
|
|
17
17
|
height: 65%;
|
|
18
18
|
border-radius: 3px;
|
|
19
|
-
background-color:
|
|
19
|
+
background-color: rgba(112, 59, 58,0.8);
|
|
20
20
|
position: absolute;
|
|
21
21
|
top: 4px;
|
|
22
22
|
left: 8px;
|
|
@@ -85,22 +85,51 @@
|
|
|
85
85
|
background-size: 100% 100%;
|
|
86
86
|
// background-color: #fff;
|
|
87
87
|
}
|
|
88
|
+
|
|
88
89
|
.react-grid-component {
|
|
89
90
|
background-color: #fff;
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
91
|
+
|
|
92
|
+
.react-grid-banner-type2 {
|
|
93
|
+
.react-grid-banner-img {
|
|
94
|
+
position: absolute;
|
|
95
|
+
width: 114%;
|
|
96
|
+
height: 130px;
|
|
97
|
+
left: -14%;
|
|
98
|
+
right: 0;
|
|
99
|
+
top: 0;
|
|
100
|
+
z-index: -1;
|
|
101
|
+
img {
|
|
102
|
+
width: 114%;
|
|
103
|
+
height: 100%;
|
|
104
|
+
border-radius: 0 0 50% 50%;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.global-search {
|
|
109
|
+
padding: 16px 16px 45px 16px;
|
|
102
110
|
}
|
|
103
111
|
}
|
|
112
|
+
|
|
113
|
+
.react-grid-banner-type1 {
|
|
114
|
+
.react-grid-banner-img {
|
|
115
|
+
position: absolute;
|
|
116
|
+
width: 100%;
|
|
117
|
+
height: 100%;
|
|
118
|
+
left: 0;
|
|
119
|
+
right: 0;
|
|
120
|
+
top: 0;
|
|
121
|
+
z-index: -1;
|
|
122
|
+
img {
|
|
123
|
+
width: 100%;
|
|
124
|
+
height: 100%;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
.global-search {
|
|
129
|
+
padding: 16px 16px 25px 16px;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
|
|
104
133
|
.react-grid-banner {
|
|
105
134
|
position: relative;
|
|
106
135
|
color: #fff;
|
|
@@ -125,14 +154,12 @@
|
|
|
125
154
|
.global-search {
|
|
126
155
|
display: flex;
|
|
127
156
|
align-items: center;
|
|
128
|
-
|
|
129
|
-
padding-bottom: 38px;
|
|
157
|
+
|
|
130
158
|
|
|
131
159
|
.t-filter-wrapper {
|
|
132
160
|
height: 30px;
|
|
133
161
|
padding: 5px 0;
|
|
134
162
|
background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.6) 100%);
|
|
135
|
-
border-radius: 4px 0 0 4px;
|
|
136
163
|
background-image: linear-gradient(180deg, rgba(255,255,255,0.30) 0%, rgba(255,255,255,0.60) 100%);
|
|
137
164
|
border: 1px solid rgba(255,255,255,1);
|
|
138
165
|
border-radius: 4px;
|
|
@@ -202,7 +229,7 @@
|
|
|
202
229
|
.t-text-field-content {
|
|
203
230
|
background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.30) 0%, rgba(255, 255, 255, 0.60) 100%);
|
|
204
231
|
height: 30px;
|
|
205
|
-
border-radius:
|
|
232
|
+
border-radius: 4px;
|
|
206
233
|
padding-left: 10px;
|
|
207
234
|
|
|
208
235
|
.t-text-field-right-addon {
|
|
@@ -227,26 +254,33 @@
|
|
|
227
254
|
}
|
|
228
255
|
}
|
|
229
256
|
|
|
230
|
-
.t-grid-item:first-child, .t-grid-item:last-child {
|
|
257
|
+
.t-grid-item:first-child .react-grid-banner-type1, .t-grid-item:last-child .react-grid-banner-type1 {
|
|
231
258
|
border-radius: 6px 6px 30px 30px;
|
|
232
259
|
}
|
|
233
260
|
|
|
234
261
|
.t-grid-item {
|
|
235
|
-
margin: 0
|
|
262
|
+
margin: 0 6px;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
.t-badge {
|
|
266
|
+
width: 40px;
|
|
267
|
+
height: 40px;
|
|
268
|
+
margin-top: 5px;
|
|
269
|
+
border-radius: 50%;
|
|
270
|
+
line-height: 40px;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.menu-title {
|
|
274
|
+
margin-bottom: 10px;
|
|
275
|
+
margin-top: 5px;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.react-grid-banner-type2 {
|
|
279
|
+
width: 100%;
|
|
236
280
|
background: #FFFFFF;
|
|
237
281
|
background-image: linear-gradient(180deg, rgba(202,160,141,0.33) 0%, rgba(202,160,141,0.00) 40%);
|
|
238
282
|
box-shadow: 0px 0px 12px 0px rgba(0,0,0,0.09);
|
|
239
283
|
border-radius: 6px;
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
.react-grid-banner-item {
|
|
243
|
-
.t-badge {
|
|
244
|
-
width: 40px;
|
|
245
|
-
height: 40px;
|
|
246
|
-
margin-top: 5px;
|
|
247
|
-
border-radius: 50%;
|
|
248
|
-
line-height: 40px;
|
|
249
|
-
}
|
|
250
284
|
|
|
251
285
|
.banshicolor {
|
|
252
286
|
background: #FE907220;
|
|
@@ -276,25 +310,29 @@
|
|
|
276
310
|
i {
|
|
277
311
|
font-size: 20px;
|
|
278
312
|
}
|
|
313
|
+
|
|
314
|
+
.menu-title {
|
|
315
|
+
color: #121314;
|
|
316
|
+
}
|
|
279
317
|
}
|
|
280
|
-
|
|
281
|
-
.
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
height: auto;
|
|
290
|
-
font-weight: 400;
|
|
291
|
-
padding: 0 5px;
|
|
292
|
-
top: 9px;
|
|
293
|
-
right: -2px;
|
|
294
|
-
border: 2px solid #fff;
|
|
318
|
+
|
|
319
|
+
.react-grid-banner-type1 {
|
|
320
|
+
.t-badge {
|
|
321
|
+
background: #fff;
|
|
322
|
+
color: #703A3A;
|
|
323
|
+
}
|
|
324
|
+
.menu-title {
|
|
325
|
+
color: #fff;
|
|
326
|
+
}
|
|
295
327
|
}
|
|
296
328
|
}
|
|
297
|
-
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
.t-badge .badge-inner {
|
|
332
|
+
font-weight: 400;
|
|
333
|
+
top: 3px;
|
|
334
|
+
right: 3px;
|
|
335
|
+
border: 1px solid #fff;
|
|
298
336
|
}
|
|
299
337
|
|
|
300
338
|
.react-grid-component.banner {
|
|
@@ -303,42 +341,45 @@
|
|
|
303
341
|
background-color: transparent;
|
|
304
342
|
}
|
|
305
343
|
|
|
306
|
-
.t-grid-row:nth-child(
|
|
307
|
-
background: #
|
|
344
|
+
.t-grid-row:nth-child(1) .t-grid-item:nth-child(1) .systemItem .iconblock {
|
|
345
|
+
background: #2D899D;
|
|
308
346
|
}
|
|
309
347
|
|
|
310
|
-
.t-grid-row:nth-child(
|
|
311
|
-
background: #
|
|
348
|
+
.t-grid-row:nth-child(1) .t-grid-item:nth-child(2) .systemItem .iconblock {
|
|
349
|
+
background: #944439;
|
|
312
350
|
}
|
|
313
351
|
|
|
314
|
-
.t-grid-row:nth-child(
|
|
315
|
-
background: #
|
|
352
|
+
.t-grid-row:nth-child(1) .t-grid-item:nth-child(3) .systemItem .iconblock {
|
|
353
|
+
background: #228663;
|
|
316
354
|
}
|
|
317
355
|
|
|
318
|
-
.t-grid-row:nth-child(
|
|
319
|
-
background: #
|
|
356
|
+
.t-grid-row:nth-child(1) .t-grid-item:nth-child(4) .systemItem .iconblock {
|
|
357
|
+
background: #467989;
|
|
320
358
|
}
|
|
321
|
-
.t-grid-row:nth-child(
|
|
322
|
-
background: #
|
|
359
|
+
.t-grid-row:nth-child(1) .t-grid-item:nth-child(5) .systemItem .iconblock {
|
|
360
|
+
background: #C39D5F;
|
|
323
361
|
}
|
|
324
|
-
.t-grid-row:nth-child(
|
|
325
|
-
background: #
|
|
362
|
+
.t-grid-row:nth-child(2) .t-grid-item:nth-child(1) .systemItem .iconblock {
|
|
363
|
+
background: #228663;
|
|
326
364
|
}
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
background: #7C80DA;
|
|
330
|
-
}
|
|
331
|
-
.t-grid-row:nth-child(n+2) .t-grid-item:nth-child(n+2) .systemItem .iconblock {
|
|
332
|
-
background: #3FACF6;
|
|
365
|
+
.t-grid-row:nth-child(2) .t-grid-item:nth-child(2) .systemItem .iconblock {
|
|
366
|
+
background: #467989;
|
|
333
367
|
}
|
|
334
|
-
.t-grid-row:nth-child(
|
|
335
|
-
background: #
|
|
368
|
+
.t-grid-row:nth-child(2) .t-grid-item:nth-child(3) .systemItem .iconblock {
|
|
369
|
+
background: #C39D5F;
|
|
336
370
|
}
|
|
337
371
|
|
|
338
|
-
.t-grid-row:nth-child(
|
|
339
|
-
background: #
|
|
372
|
+
.t-grid-row:nth-child(2) .t-grid-item:nth-child(4) .systemItem .iconblock {
|
|
373
|
+
background: #2D899D;
|
|
340
374
|
}
|
|
341
375
|
|
|
376
|
+
.react-app-collect-type1 {
|
|
377
|
+
.systemItem {
|
|
378
|
+
.iconblock {
|
|
379
|
+
border-radius: 50%;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
}
|
|
342
383
|
|
|
343
384
|
.systemItem {
|
|
344
385
|
display: inline-block;
|
|
@@ -357,7 +398,7 @@
|
|
|
357
398
|
}
|
|
358
399
|
|
|
359
400
|
.iconblock.t-gengduo {
|
|
360
|
-
background: #
|
|
401
|
+
background: #944439 !important;
|
|
361
402
|
}
|
|
362
403
|
|
|
363
404
|
// .iconblock.t-iconBCred {
|
|
@@ -398,12 +439,6 @@
|
|
|
398
439
|
.t-badge {
|
|
399
440
|
width: 100%;
|
|
400
441
|
}
|
|
401
|
-
|
|
402
|
-
.t-badge .badge-inner {
|
|
403
|
-
line-height: 13px;
|
|
404
|
-
font-weight: 400;
|
|
405
|
-
border: 2px solid #fff;
|
|
406
|
-
}
|
|
407
442
|
}
|
|
408
443
|
|
|
409
444
|
.react-app-collect {
|
|
@@ -454,10 +489,15 @@
|
|
|
454
489
|
padding: 10px;
|
|
455
490
|
padding-right: 60px;
|
|
456
491
|
position: relative;
|
|
457
|
-
height:
|
|
492
|
+
height: 55px;
|
|
458
493
|
|
|
459
494
|
.title {
|
|
460
495
|
font-size: 14px;
|
|
496
|
+
overflow: hidden;
|
|
497
|
+
text-overflow: ellipsis;
|
|
498
|
+
display: -webkit-box;
|
|
499
|
+
-webkit-line-clamp: 3;
|
|
500
|
+
-webkit-box-orient: vertical;
|
|
461
501
|
}
|
|
462
502
|
|
|
463
503
|
.describe {
|
|
@@ -467,7 +507,7 @@
|
|
|
467
507
|
|
|
468
508
|
.iconfont-ywtb.ic {
|
|
469
509
|
position: absolute;
|
|
470
|
-
right:
|
|
510
|
+
right: 11px;
|
|
471
511
|
top: 0;
|
|
472
512
|
line-height: 60px;
|
|
473
513
|
font-size: 30px;
|
|
@@ -479,9 +519,9 @@
|
|
|
479
519
|
.iconfont-ywtb.bg {
|
|
480
520
|
position: absolute;
|
|
481
521
|
right: 0;
|
|
482
|
-
top: -
|
|
522
|
+
top: -11px;
|
|
483
523
|
bottom: 0;
|
|
484
|
-
font-size:
|
|
524
|
+
font-size: 54px;
|
|
485
525
|
opacity: 0.16;
|
|
486
526
|
background-clip: text;
|
|
487
527
|
-webkit-background-clip: text;
|
|
@@ -489,63 +529,64 @@
|
|
|
489
529
|
}
|
|
490
530
|
}
|
|
491
531
|
|
|
492
|
-
.banshi-item:nth-child(1) {
|
|
493
|
-
background:
|
|
532
|
+
.banshi-item:nth-child(6n+1) {
|
|
533
|
+
background: rgba(141, 42, 37,0.1);
|
|
494
534
|
|
|
495
535
|
.iconfont-ywtb.ic,
|
|
496
536
|
.iconfont-ywtb.bg {
|
|
497
|
-
background-image: linear-gradient(to bottom, #FFA92B 20%, #FFD253 80%); // 背景线性渐变
|
|
498
|
-
|
|
537
|
+
// background-image: linear-gradient(to bottom, #FFA92B 20%, #FFD253 80%); // 背景线性渐变
|
|
538
|
+
background-image: linear-gradient(213deg, #8D2A25 0%, rgba(141,42,37,0.17) 100%);
|
|
539
|
+
color: rgba(141,42,37,0.17); // 兜底颜色,防止文字裁剪不生效
|
|
499
540
|
}
|
|
500
541
|
}
|
|
501
542
|
|
|
502
|
-
.banshi-item:nth-child(2) {
|
|
503
|
-
background: #
|
|
543
|
+
.banshi-item:nth-child(6n+2) {
|
|
544
|
+
background: #46798910;
|
|
504
545
|
|
|
505
546
|
.iconfont-ywtb.ic,
|
|
506
547
|
.iconfont-ywtb.bg {
|
|
507
|
-
background-image: linear-gradient(
|
|
508
|
-
color:
|
|
548
|
+
background-image: linear-gradient(218deg, #467989 0%, rgba(70,121,137,0.12) 100%); // 背景线性渐变
|
|
549
|
+
color: rgba(70,121,137,0.12) ; // 兜底颜色,防止文字裁剪不生效
|
|
509
550
|
}
|
|
510
551
|
}
|
|
511
552
|
|
|
512
|
-
.banshi-item:nth-child(3) {
|
|
513
|
-
background: #
|
|
553
|
+
.banshi-item:nth-child(6n+3) {
|
|
554
|
+
background: #22866310;
|
|
514
555
|
|
|
515
556
|
.iconfont-ywtb.ic,
|
|
516
557
|
.iconfont-ywtb.bg {
|
|
517
|
-
background-image: linear-gradient(
|
|
518
|
-
color:
|
|
558
|
+
background-image: linear-gradient(216deg, #228663 6%, rgba(34,134,99,0.15) 100%); // 背景线性渐变
|
|
559
|
+
color: rgba(34,134,99,0.15); // 兜底颜色,防止文字裁剪不生效
|
|
519
560
|
}
|
|
520
561
|
}
|
|
521
562
|
|
|
522
|
-
.banshi-item:nth-child(4) {
|
|
523
|
-
background: #
|
|
563
|
+
.banshi-item:nth-child(6n+4) {
|
|
564
|
+
background: #C39D5F10;
|
|
524
565
|
|
|
525
566
|
.iconfont-ywtb.ic,
|
|
526
567
|
.iconfont-ywtb.bg {
|
|
527
|
-
background-image: linear-gradient(
|
|
528
|
-
color:
|
|
568
|
+
background-image: linear-gradient(31deg, rgba(195,157,95,0.15) 0%, #C39D5F 93%); // 背景线性渐变
|
|
569
|
+
color: rgba(195,157,95,0.15); // 兜底颜色,防止文字裁剪不生效
|
|
529
570
|
}
|
|
530
571
|
}
|
|
531
572
|
|
|
532
|
-
.banshi-item:nth-child(5) {
|
|
533
|
-
background: #
|
|
573
|
+
.banshi-item:nth-child(6n+5) {
|
|
574
|
+
background: #2D899D10;
|
|
534
575
|
|
|
535
576
|
.iconfont-ywtb.ic,
|
|
536
577
|
.iconfont-ywtb.bg {
|
|
537
|
-
background-image: linear-gradient(
|
|
538
|
-
color:
|
|
578
|
+
background-image: linear-gradient(208deg, #2D899D 0%, rgba(45,137,157,0.15) 100%); // 背景线性渐变
|
|
579
|
+
color: rgba(45,137,157,0.15); // 兜底颜色,防止文字裁剪不生效
|
|
539
580
|
}
|
|
540
581
|
}
|
|
541
582
|
|
|
542
|
-
.banshi-item:nth-child(6) {
|
|
543
|
-
background: #
|
|
583
|
+
.banshi-item:nth-child(6n+6) {
|
|
584
|
+
background: #05773310;
|
|
544
585
|
|
|
545
586
|
.iconfont-ywtb.ic,
|
|
546
587
|
.iconfont-ywtb.bg {
|
|
547
|
-
background-image: linear-gradient(
|
|
548
|
-
color:
|
|
588
|
+
background-image: linear-gradient(204deg, #037532 0%, rgba(4,123,53,0.15) 99%); // 背景线性渐变
|
|
589
|
+
color: rgba(4,123,53,0.15); // 兜底颜色,防止文字裁剪不生效
|
|
549
590
|
}
|
|
550
591
|
}
|
|
551
592
|
}
|
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
|