fmui-base 2.0.59 → 2.0.61
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 +956 -829
- package/lib/db/db.js +7 -0
- package/lib/db/variables.js +2 -1
- package/lib/poppage/tree/tree.js +3 -3
- package/lib/react_grid/react_grid.js +154 -65
- package/lib/react_grid/react_grid.less +242 -63
- 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
|
@@ -7,7 +7,19 @@
|
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.t-tab-bar {
|
|
10
|
-
|
|
10
|
+
position: relative;
|
|
11
|
+
padding-left: 16px;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.t-tab-bar::before {
|
|
15
|
+
content: "";
|
|
16
|
+
width: 3px;
|
|
17
|
+
height: 65%;
|
|
18
|
+
border-radius: 3px;
|
|
19
|
+
background-color: #E75E1E;
|
|
20
|
+
position: absolute;
|
|
21
|
+
top: 4px;
|
|
22
|
+
left: 8px;
|
|
11
23
|
}
|
|
12
24
|
|
|
13
25
|
.t-tab-bar .t-tab-tab {
|
|
@@ -16,7 +28,7 @@
|
|
|
16
28
|
color: #888;
|
|
17
29
|
flex: initial;
|
|
18
30
|
// padding: 0 8px;
|
|
19
|
-
height:
|
|
31
|
+
height: auto;
|
|
20
32
|
line-height: 20px;
|
|
21
33
|
display: block;
|
|
22
34
|
background-color: transparent;
|
|
@@ -24,7 +36,7 @@
|
|
|
24
36
|
div {
|
|
25
37
|
max-width: 95px;
|
|
26
38
|
padding: 2px 5px;
|
|
27
|
-
height:
|
|
39
|
+
min-height: 28px;
|
|
28
40
|
white-space: nowrap;
|
|
29
41
|
overflow: hidden;
|
|
30
42
|
text-overflow: ellipsis;
|
|
@@ -39,25 +51,26 @@
|
|
|
39
51
|
}
|
|
40
52
|
|
|
41
53
|
.t-tab-ink-bar {
|
|
54
|
+
display: none !important;
|
|
42
55
|
// background-color: @theme-color !important;
|
|
43
|
-
margin-left: -41px;
|
|
44
|
-
border-radius: 4px;
|
|
45
|
-
height: 4px;
|
|
46
|
-
width: 25px !important;
|
|
47
|
-
background-color: #713938;
|
|
56
|
+
// margin-left: -41px;
|
|
57
|
+
// border-radius: 4px;
|
|
58
|
+
// height: 4px;
|
|
59
|
+
// width: 25px !important;
|
|
60
|
+
// background-color: #713938;
|
|
48
61
|
}
|
|
49
62
|
|
|
50
|
-
.t-tab-ink-bar:after {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
63
|
+
// .t-tab-ink-bar:after {
|
|
64
|
+
// content: "";
|
|
65
|
+
// display: block;
|
|
66
|
+
// width: 40px;
|
|
67
|
+
// height: 4px;
|
|
68
|
+
// border-radius: 4px;
|
|
69
|
+
// background: #713938;
|
|
70
|
+
// opacity: 0.3;
|
|
71
|
+
// position: absolute;
|
|
72
|
+
// left: 30px;
|
|
73
|
+
// }
|
|
61
74
|
|
|
62
75
|
.t-tab-nav-wrap .t-tab-ink-bar {
|
|
63
76
|
margin-left: -31px;
|
|
@@ -74,14 +87,28 @@
|
|
|
74
87
|
}
|
|
75
88
|
|
|
76
89
|
.react-grid-component {
|
|
90
|
+
background-color: #fff;
|
|
91
|
+
.react-grid-banner-img {
|
|
92
|
+
position: absolute;
|
|
93
|
+
width: 114%;
|
|
94
|
+
height: 130px;
|
|
95
|
+
left: -14%;
|
|
96
|
+
right: 0;
|
|
97
|
+
top: 0;
|
|
98
|
+
z-index: -1;
|
|
99
|
+
img {
|
|
100
|
+
width: 114%;
|
|
101
|
+
height: 100%;
|
|
102
|
+
border-radius: 0 0 50% 50%;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
77
105
|
.react-grid-banner {
|
|
106
|
+
position: relative;
|
|
78
107
|
color: #fff;
|
|
79
108
|
width: 100%;
|
|
80
109
|
height: 100%;
|
|
81
110
|
padding: 0;
|
|
82
|
-
|
|
83
|
-
background-repeat: no-repeat;
|
|
84
|
-
background-size: 100% 100%;
|
|
111
|
+
overflow-x: hidden;
|
|
85
112
|
.banner {
|
|
86
113
|
position: absolute;
|
|
87
114
|
top: 0;
|
|
@@ -197,31 +224,52 @@
|
|
|
197
224
|
box-shadow: none;
|
|
198
225
|
}
|
|
199
226
|
}
|
|
200
|
-
|
|
201
|
-
.t-grid {
|
|
202
|
-
|
|
203
|
-
border: none;
|
|
204
|
-
|
|
205
|
-
.t-grid-row {
|
|
206
|
-
width: 100%;
|
|
207
|
-
padding: 10px 0;
|
|
208
|
-
border-bottom: none;
|
|
209
|
-
text-align: center;
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
.t-grid-item+.t-grid-item {
|
|
213
|
-
border-left: none;
|
|
214
|
-
}
|
|
227
|
+
|
|
228
|
+
.t-grid-item:first-child, .t-grid-item:last-child {
|
|
229
|
+
border-radius: 6px 6px 30px 30px;
|
|
215
230
|
}
|
|
216
|
-
|
|
231
|
+
|
|
232
|
+
.t-grid-item {
|
|
233
|
+
margin: 0 10px;
|
|
234
|
+
background: #FFFFFF;
|
|
235
|
+
background-image: linear-gradient(180deg, rgba(202,160,141,0.33) 0%, rgba(202,160,141,0.00) 40%);
|
|
236
|
+
box-shadow: 0px 0px 12px 0px rgba(0,0,0,0.09);
|
|
237
|
+
border-radius: 6px;
|
|
238
|
+
}
|
|
239
|
+
|
|
217
240
|
.react-grid-banner-item {
|
|
218
241
|
.t-badge {
|
|
219
242
|
width: 40px;
|
|
220
243
|
height: 40px;
|
|
221
|
-
|
|
244
|
+
margin-top: 5px;
|
|
222
245
|
border-radius: 50%;
|
|
223
246
|
line-height: 40px;
|
|
224
247
|
}
|
|
248
|
+
|
|
249
|
+
.banshicolor {
|
|
250
|
+
background: #FE907220;
|
|
251
|
+
color: #FE9072;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.zixuncolor {
|
|
255
|
+
background: #1AC8D120;
|
|
256
|
+
color: #1AC8D1;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
.yingyongcolor {
|
|
260
|
+
background: #FFBD3F20;
|
|
261
|
+
color: #FFBD3F;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.daibancolor {
|
|
265
|
+
background: #3FACF620;
|
|
266
|
+
color: #3FACF6;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
.wodecolor {
|
|
270
|
+
background: #7C80DA20;
|
|
271
|
+
color: #7C80DA;
|
|
272
|
+
}
|
|
225
273
|
|
|
226
274
|
i {
|
|
227
275
|
font-size: 20px;
|
|
@@ -229,8 +277,9 @@
|
|
|
229
277
|
}
|
|
230
278
|
|
|
231
279
|
.menu-title {
|
|
232
|
-
margin:
|
|
233
|
-
|
|
280
|
+
margin-bottom: 10px;
|
|
281
|
+
margin-top: 5px;
|
|
282
|
+
color: #121314;
|
|
234
283
|
}
|
|
235
284
|
|
|
236
285
|
.t-badge .badge-inner {
|
|
@@ -246,6 +295,47 @@
|
|
|
246
295
|
|
|
247
296
|
}
|
|
248
297
|
|
|
298
|
+
.react-grid-component.banner {
|
|
299
|
+
background-color: transparent;
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
.t-grid-row:nth-child(n+1) .t-grid-item:nth-child(n+1) .systemItem .iconblock {
|
|
303
|
+
background: #FFBB3C;
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
.t-grid-row:nth-child(n+1) .t-grid-item:nth-child(n+2) .systemItem .iconblock {
|
|
307
|
+
background: #FE9072;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.t-grid-row:nth-child(n+1) .t-grid-item:nth-child(n+3) .systemItem .iconblock {
|
|
311
|
+
background: #3FACF6;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
.t-grid-row:nth-child(n+1) .t-grid-item:nth-child(n+4) .systemItem .iconblock {
|
|
315
|
+
background: #1AC8D1;
|
|
316
|
+
}
|
|
317
|
+
.t-grid-row:nth-child(n+1) .t-grid-item:nth-child(n+5) .systemItem .iconblock {
|
|
318
|
+
background: #7C80DA;
|
|
319
|
+
}
|
|
320
|
+
.t-grid-row:nth-child(n+1) .t-grid-item:nth-child(n+6) .systemItem .iconblock {
|
|
321
|
+
background: #1AC8D1;
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
.t-grid-row:nth-child(n+2) .t-grid-item:nth-child(n+1) .systemItem .iconblock {
|
|
325
|
+
background: #7C80DA;
|
|
326
|
+
}
|
|
327
|
+
.t-grid-row:nth-child(n+2) .t-grid-item:nth-child(n+2) .systemItem .iconblock {
|
|
328
|
+
background: #3FACF6;
|
|
329
|
+
}
|
|
330
|
+
.t-grid-row:nth-child(n+2) .t-grid-item:nth-child(n+3) .systemItem .iconblock {
|
|
331
|
+
background: #FFBB3C;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.t-grid-row:nth-child(n+2) .t-grid-item:nth-child(n+4) .systemItem .iconblock {
|
|
335
|
+
background: #FE9072;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
|
|
249
339
|
.systemItem {
|
|
250
340
|
display: inline-block;
|
|
251
341
|
text-align: center;
|
|
@@ -262,30 +352,34 @@
|
|
|
262
352
|
color: #fff;
|
|
263
353
|
}
|
|
264
354
|
|
|
265
|
-
.iconblock.t-
|
|
266
|
-
background
|
|
267
|
-
;
|
|
355
|
+
.iconblock.t-gengduo {
|
|
356
|
+
background: #E3DBC7 !important;
|
|
268
357
|
}
|
|
269
358
|
|
|
270
|
-
.iconblock.t-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
}
|
|
359
|
+
// .iconblock.t-iconBCred {
|
|
360
|
+
// background-image: linear-gradient(180deg, #BF6052 7%, #AB5548 100%);
|
|
361
|
+
// ;
|
|
362
|
+
// }
|
|
274
363
|
|
|
275
|
-
.iconblock.t-
|
|
276
|
-
|
|
277
|
-
|
|
364
|
+
// .iconblock.t-iconBCblue {
|
|
365
|
+
// background-image: linear-gradient(180deg, #1E65BB 0%, #1054A7 100%);
|
|
366
|
+
// ;
|
|
367
|
+
// }
|
|
278
368
|
|
|
279
|
-
.iconblock.t-
|
|
280
|
-
|
|
281
|
-
}
|
|
282
|
-
.iconblock.t-iconBCpurple{
|
|
283
|
-
background-image: linear-gradient(180deg, #abacff, #7ca6ff);
|
|
284
|
-
}
|
|
369
|
+
// .iconblock.t-iconBCgreen {
|
|
370
|
+
// background-image: linear-gradient(180deg, #2CCDB7 0%, #15B49E 100%);
|
|
371
|
+
// }
|
|
285
372
|
|
|
286
|
-
.iconblock.t-
|
|
287
|
-
|
|
288
|
-
}
|
|
373
|
+
// .iconblock.t-iconBCorange {
|
|
374
|
+
// background-image: linear-gradient(180deg, #ECCCA1 0%, #E4C294 100%);
|
|
375
|
+
// }
|
|
376
|
+
// .iconblock.t-iconBCpurple{
|
|
377
|
+
// background-image: linear-gradient(180deg, #abacff, #7ca6ff);
|
|
378
|
+
// }
|
|
379
|
+
|
|
380
|
+
// .iconblock.t-iconBCgray {
|
|
381
|
+
// background-image: linear-gradient(180deg, #c1d1d7, #97b0bd);
|
|
382
|
+
// }
|
|
289
383
|
|
|
290
384
|
.iconfont {
|
|
291
385
|
font-size: 20px;
|
|
@@ -296,6 +390,10 @@
|
|
|
296
390
|
text-align: center;
|
|
297
391
|
font-size: 14px;
|
|
298
392
|
}
|
|
393
|
+
|
|
394
|
+
.t-badge {
|
|
395
|
+
width: 100%;
|
|
396
|
+
}
|
|
299
397
|
}
|
|
300
398
|
|
|
301
399
|
.react-app-collect {
|
|
@@ -483,8 +581,8 @@
|
|
|
483
581
|
font-size: 14px;
|
|
484
582
|
padding: 0 16px;
|
|
485
583
|
margin: 0;
|
|
486
|
-
background
|
|
487
|
-
color: #
|
|
584
|
+
background: rgba(163, 131, 78, 0.1);
|
|
585
|
+
color: #A3834E;
|
|
488
586
|
}
|
|
489
587
|
}
|
|
490
588
|
}
|
|
@@ -1003,6 +1101,8 @@
|
|
|
1003
1101
|
|
|
1004
1102
|
.iconfont-ywtb {
|
|
1005
1103
|
font-size: 7px;
|
|
1104
|
+
vertical-align: middle;
|
|
1105
|
+
margin-left: 2px;
|
|
1006
1106
|
}
|
|
1007
1107
|
}
|
|
1008
1108
|
|
|
@@ -1014,7 +1114,7 @@
|
|
|
1014
1114
|
padding: 0 16px;
|
|
1015
1115
|
button {
|
|
1016
1116
|
width: 98%;
|
|
1017
|
-
|
|
1117
|
+
padding: 4px 6px;
|
|
1018
1118
|
margin-bottom: 10px;
|
|
1019
1119
|
// line-height: 29px;
|
|
1020
1120
|
background: rgba(112,58,58,0.12);
|
|
@@ -1073,5 +1173,84 @@
|
|
|
1073
1173
|
}
|
|
1074
1174
|
}
|
|
1075
1175
|
|
|
1176
|
+
.lcfq-list {
|
|
1177
|
+
.lcfq-list-item {
|
|
1178
|
+
display: flex;
|
|
1179
|
+
flex-direction: column;
|
|
1180
|
+
align-items: center;
|
|
1181
|
+
padding-bottom: 10px;
|
|
1182
|
+
|
|
1183
|
+
|
|
1184
|
+
.lcfq-list-item-icon {
|
|
1185
|
+
width: 50px;
|
|
1186
|
+
height: 50px;
|
|
1187
|
+
line-height: 50px;
|
|
1188
|
+
margin: 0 auto;
|
|
1189
|
+
// color: #FFBB3C;
|
|
1190
|
+
// background: rgba(255, 187, 60, 0.16);
|
|
1191
|
+
border-radius: 8px;
|
|
1192
|
+
margin-bottom: 10px;
|
|
1193
|
+
position: relative;
|
|
1194
|
+
}
|
|
1195
|
+
|
|
1196
|
+
.lcfq-list-item-text {
|
|
1197
|
+
line-height: 1.3;
|
|
1198
|
+
font-size: 14px;
|
|
1199
|
+
}
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
.t-grid-item:nth-child(5n+1) .lcfq-list-item-icon{
|
|
1203
|
+
color: #FFBB3C;
|
|
1204
|
+
background: rgba(255, 187, 60, 0.16);
|
|
1205
|
+
}
|
|
1206
|
+
|
|
1207
|
+
.t-grid-item:nth-child(5n+2) .lcfq-list-item-icon{
|
|
1208
|
+
color: #FE9072;
|
|
1209
|
+
background: rgba(254, 144, 114, 0.16);
|
|
1210
|
+
}
|
|
1211
|
+
|
|
1212
|
+
.t-grid-item:nth-child(5n+3) .lcfq-list-item-icon{
|
|
1213
|
+
color: #3FACF6;
|
|
1214
|
+
background: rgba(63, 172, 246, 0.16);
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
.t-grid-item:nth-child(5n+4) .lcfq-list-item-icon{
|
|
1218
|
+
color: #1AC8D1;
|
|
1219
|
+
background: rgba(26, 200, 209, 0.16);
|
|
1220
|
+
}
|
|
1221
|
+
|
|
1222
|
+
.t-grid-item:nth-child(5n+5) .lcfq-list-item-icon{
|
|
1223
|
+
color: #7C80DA;
|
|
1224
|
+
background: rgba(124, 128, 218, 0.16);
|
|
1225
|
+
}
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
.t-grid {
|
|
1229
|
+
margin: 0 8px;
|
|
1230
|
+
border-top: none !important;
|
|
1231
|
+
|
|
1232
|
+
.t-grid-row {
|
|
1233
|
+
align-items: flex-start;
|
|
1234
|
+
width: 100%;
|
|
1235
|
+
padding: 7px 0 0 0;
|
|
1236
|
+
border-bottom: none;
|
|
1237
|
+
border-top: none;
|
|
1238
|
+
text-align: center;
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
.t-grid-item+.t-grid-item {
|
|
1242
|
+
border-left: none;
|
|
1243
|
+
}
|
|
1244
|
+
}
|
|
1245
|
+
|
|
1246
|
+
.tp-content {
|
|
1247
|
+
width: 100%;
|
|
1248
|
+
height: 100%;
|
|
1249
|
+
|
|
1250
|
+
img {
|
|
1251
|
+
width: 100%;
|
|
1252
|
+
height: 100%;
|
|
1253
|
+
}
|
|
1254
|
+
}
|
|
1076
1255
|
}
|
|
1077
1256
|
|
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
|