fhrons-mobile-next 2.0.0 → 2.0.2

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.
Files changed (90) hide show
  1. package/.env.poc +8 -0
  2. package/assets/css/colors.js +6 -0
  3. package/assets/css/customVant.less +60 -0
  4. package/assets/css/extra.css +32 -0
  5. package/assets/css/global.css +1 -0
  6. package/assets/css/global.less +1637 -0
  7. package/assets/css/index.js +63 -0
  8. package/assets/css/static.less +607 -0
  9. package/assets/js/func.js +361 -0
  10. package/assets/js/globalData.js +18 -0
  11. package/assets/js/qywxapi.js +484 -0
  12. package/{packages → assets/js}/storage.js +1 -20
  13. package/assets/js/upload.js +269 -0
  14. package/assets/js/validate.js +48 -0
  15. package/assets/js/vant.js +39 -0
  16. package/assets/js/wxapi.js +297 -0
  17. package/assets/vantLang/index.js +172 -0
  18. package/assets/vantLang/lib/en-US.js +95 -0
  19. package/assets/vantLang/lib/es-ES.js +95 -0
  20. package/assets/vantLang/lib/pt-PT.js +96 -0
  21. package/assets/vantLang/lib/zh-CN.js +96 -0
  22. package/assets/vantLang/lib/zh-HK.js +96 -0
  23. package/assets/vantLang/locales/en_US.js +102 -0
  24. package/assets/vantLang/locales/es_ES.js +102 -0
  25. package/assets/vantLang/locales/index.js +12 -0
  26. package/assets/vantLang/locales/pt_PT.js +102 -0
  27. package/assets/vantLang/locales/zh_CN.js +102 -0
  28. package/assets/vantLang/locales/zh_T.js +102 -0
  29. package/babel.config.js +15 -0
  30. package/index.js +68 -33
  31. package/inject-env-plugin.js +29 -0
  32. package/package.json +46 -32
  33. package/packages/areaMobile/index.js +5 -0
  34. package/packages/areaMobile/index.vue +260 -0
  35. package/packages/autoGraph/VueEsign.vue +309 -0
  36. package/packages/autoGraph/index.js +5 -0
  37. package/packages/autoGraph/index.vue +472 -0
  38. package/packages/commonForm/CommonAsyncAreaPicker.vue +223 -0
  39. package/packages/commonForm/CommonDatePicker.vue +152 -0
  40. package/packages/commonForm/CommonForm.vue +786 -0
  41. package/packages/commonForm/CommonFullTimePicker.vue +137 -0
  42. package/packages/commonForm/CommonSinglePicker.vue +121 -0
  43. package/packages/commonForm/CommonYearMonthPicker.vue +127 -0
  44. package/packages/commonForm/index.js +33 -0
  45. package/packages/dialog/index.js +32 -0
  46. package/packages/dialog/index.vue +379 -0
  47. package/packages/index.js +7 -3
  48. package/packages/introduce/index.js +5 -0
  49. package/packages/introduce/index.vue +31 -0
  50. package/packages/loading/Loading.vue +70 -0
  51. package/packages/loading/index.js +43 -0
  52. package/packages/mindMap/index.js +5 -0
  53. package/packages/mindMap/index.vue +437 -0
  54. package/packages/pdfViewer/index.js +12 -0
  55. package/packages/pdfViewer/index.vue +131 -0
  56. package/packages/sharePanel/SheetPanel.vue +316 -0
  57. package/packages/sharePanel/index.js +5 -0
  58. package/packages/sharePanel/index.vue +476 -0
  59. package/packages/sharePanel/props.js +58 -0
  60. package/packages/sharePanel/utils/QyWxShareMixin.js +93 -0
  61. package/packages/sharePanel/utils/shareWay.js +81 -0
  62. package/packages/theme/index copy.js +89 -0
  63. package/packages/theme/index.js +38 -0
  64. package/packages/theme/theme.css +910 -0
  65. package/packages/theme/theme.less +26 -0
  66. package/packages/uploadFile/VanUploadFile.vue +80 -0
  67. package/packages/uploadFile/index.js +5 -0
  68. package/packages/uploadFile/index.vue +725 -0
  69. package/packages/uploadFile/vanUpload.js +5 -0
  70. package/packages/verify/Verify/VerifyPoints.vue +247 -0
  71. package/packages/verify/Verify/VerifySlide.vue +364 -0
  72. package/packages/verify/index.js +5 -0
  73. package/packages/verify/index.vue +416 -0
  74. package/packages/verify/utils/verify.js +53 -0
  75. package/packages/videoPage/index.js +5 -0
  76. package/packages/videoPage/index.vue +440 -0
  77. package/plugins/sensors/fhsensors.js +84 -0
  78. package/plugins/sensors/sensors.js +175 -0
  79. package/plugins/sensors/sensorsFun.js +1387 -0
  80. package/fhrons-mobile-next-2.0.0.tgz +0 -0
  81. package/packages/fhImage/index.js +0 -5
  82. package/packages/fhImage/index.vue +0 -57
  83. package/packages/fhPresetImage/index.js +0 -5
  84. package/packages/fhPresetImage/index.vue +0 -39
  85. package/packages/html2canvas/index.js +0 -29
  86. package/upload copy.js +0 -468
  87. package/utils/tools.js +0 -22
  88. /package/{dist → fhcommon/dist}/fhcommon.min.js +0 -0
  89. /package/{dist → fhcommon/dist}/fhcommon.min.js.LICENSE.txt +0 -0
  90. /package/{upload.js → fhcommon/upload.js} +0 -0
@@ -0,0 +1,1637 @@
1
+ // out ./global.css
2
+ @colors: #eeeeee, #ffffff, #272835, #196699, #5b89fe, #de9500, #521902, #973600, #fffbdf, #c47771, #ff6600, #3a5ba6, #fff7d1, #f3c486, #272832, #575757, #fff3e0, #158cff, #0a85ff, #969799, #ca6c2f, #c59e72, #b84e07, #ff6329, #ca913b, #fdb54a, #ad612c, #ffe9ad, #7a4405, #ba3f0e, #9b5b34, #a3573b, #39cc52, #23242e, #555661, #1a1819, #888994, #c8c9cc, #bebfc0, #ff5c5c, #2da641, #ff850a, #979797, #6c4013, #ffffff, #ebf5ff, #7f808a, #63401a, #795a3a, #fd723f, #e8e8e8, #7a3f0a, #315682, #f1f1f1, #fff5eb, #7a5a36, #e0d9bc, #ff5b60, #858b9c, #41485d, #111a34, #fee4b8, #2e9aff, #005eb7, #d8d8d8, #b30c00, #c8c8cc, #ffefad, #333333, #232323, #666666, #999999, #cacaca, #8d8d8d, #656565, #fe9533, #ffae90, #6e4e2e, #ff4747, #ff4500, #007ffa, #4790dd, #61351c, #6e3117, #f9c6aa, #7f4b1b, #21262d, #81440b, #fffcf7, #000000, #9c6a58, #e2cb99, #714420, #646566, #323233, #21d6bc, #323446, #4cb498, #cc6018,
3
+ #b26023, #ffd1a3, #6d460b, #fff5e5, #793a22, #fef9f4, #00aa5b, #1a95ff, #168cff, #331f00, #e3ecff, #e7f4ff, #ffece5, #fff7f3, #ffe4c3, #f7f8fa, #fff6f0, #ffebd6, #fff1e0, #f5f5f9, #fffaf5, #e0fffa, #d6ebff, #ffebeb, #e7f3ff, #42a1ff, #e4f1ff, #ffe4ad, #fef7e6, #7abdff, #e2e2e7, #f8f9fa, #f4f5f6, #cc9e6a, #f0f2f9, #f9fafb, #dfdfdf, #f5f5f5, #ffebcc, #fff2df, #ffefe9, #ebf9ed, #fde04c, #fbad01, #fff8e9, #fff5e1, #f8e7d3, #845713, #f8eede, #f62d31, #f1642d, #ec8824, #f6f7f9, #f7f7fa, #fff2e6, #f6f8fb, #ebedf0, #ec534d, #644e24, #ffecd7, #ffd7d7, #e2e2e2, #8b3600, #a17745, #edebf0, #fe9900,#04194d,#945a1c,#ff5c1a,#c9a36f,#f3f3f3;
4
+ html {
5
+ font-size: 100%;
6
+ margin: 0;
7
+ padding: 0;
8
+ }
9
+
10
+ body {
11
+ margin: 0;
12
+ padding: 0;
13
+ -webkit-text-size-adjust: none;
14
+ height: 100vh;
15
+ overflow-x: hidden;
16
+ overflow-y: scroll;
17
+ }
18
+
19
+
20
+
21
+ em,
22
+ i {
23
+ font-style: normal;
24
+ }
25
+
26
+ label,
27
+ input,
28
+ select,
29
+ img,
30
+ button {
31
+ vertical-align: middle;
32
+ }
33
+
34
+ img,
35
+ input,
36
+ button,
37
+ textarea {
38
+ border: 0;
39
+ }
40
+
41
+ button {
42
+ cursor: pointer;
43
+ }
44
+
45
+ input,
46
+ button,
47
+ textarea,
48
+ select {
49
+ background: transparent;
50
+ -webkit-appearance: none;
51
+ -webkit-box-sizing: border-box;
52
+ box-sizing: border-box;
53
+ outline: 0;
54
+ }
55
+
56
+ a,
57
+ li,
58
+ input,
59
+ button,
60
+ section,
61
+ span,
62
+ div {
63
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
64
+ tap-highlight-color: rgba(0, 0, 0, 0);
65
+ }
66
+
67
+ input::-webkit-input-placeholder,
68
+ textarea::-webkit-input-placeholder {
69
+ color: #ffffff;
70
+ opacity: 0.64;
71
+ font-size: 0.375rem;
72
+ }
73
+
74
+ a {
75
+ text-decoration: none;
76
+ }
77
+
78
+
79
+
80
+ :focus {
81
+ outline: 0;
82
+ }
83
+
84
+ .fix:before,
85
+ .fix:after {
86
+ display: block;
87
+ content: "clear";
88
+ height: 0;
89
+ clear: both;
90
+ overflow: hidden;
91
+ visibility: hidden;
92
+ }
93
+
94
+ .c-trans {
95
+ color: transparent;
96
+ }
97
+
98
+ .c-gray {
99
+ color: #ffffff;
100
+ opacity: 0.64;
101
+ }
102
+
103
+ .c-990 {
104
+ color: rgba(0, 0, 0, 0.6);
105
+ }
106
+
107
+ .c-0032 {
108
+ color: rgba(0, 0, 0, 0.32);
109
+ }
110
+
111
+ /* 透明背景色 */
112
+ .bgc-trans {
113
+ background-color: transparent;
114
+ }
115
+
116
+ .bgc-none {
117
+ background-color: transparent;
118
+ }
119
+
120
+ .black-cover {
121
+ background-color: rgba(0, 0, 0, 0.4);
122
+ }
123
+
124
+ .white-cover {
125
+ background-color: rgba(255, 255, 255, 0.7);
126
+ }
127
+
128
+ .bgc-blue020 {
129
+ background-color: rgba(21, 140, 255, 0.02);
130
+ }
131
+
132
+ .bgc-blue100 {
133
+ background-color: rgba(21, 140, 255, 0.1);
134
+ }
135
+
136
+ .bgc-008 {
137
+ background: rgba(255, 99, 41, 0.08);
138
+ }
139
+
140
+ .bgc-9fe-8 {
141
+ background: rgba(91, 137, 254, 0.08);
142
+ }
143
+
144
+ /* 渐变色 */
145
+ .bgl-5f9 {
146
+ background-image: linear-gradient(180deg, #f5f5f9 0%, #ffffff 100%);
147
+ }
148
+
149
+ .bgl-ffffff-5f9 {
150
+ background: linear-gradient(360deg, #f5f5f9 0%, #ffffff 100%);
151
+ }
152
+
153
+ .bgl-9ad {
154
+ background-image: linear-gradient(270deg, #ffd9ad 0%, #ffecd6 100%);
155
+ }
156
+
157
+ .bgl-d7a {
158
+ background: linear-gradient(270deg, #ffbd7a 0%, #ffd9b3 100%);
159
+ }
160
+
161
+ .bgl-e7f {
162
+ background: linear-gradient(180deg, #f5be7f 0%, #b8835f 100%);
163
+ }
164
+
165
+ .bgl-bd0 {
166
+ background-image: linear-gradient(270deg, #0b9bd0 0%, #4fc1e9 100%);
167
+ }
168
+
169
+ .bgl-5c3 {
170
+ background-image: linear-gradient(270deg, #7455c3 0%, #ac92ec 100%);
171
+ }
172
+
173
+ .bgl-bff {
174
+ background-image: linear-gradient(180deg, #d6ebff 0%, #fefffe 60%);
175
+ }
176
+
177
+ .bgl-bd6 {
178
+ background-image: linear-gradient(180deg, #ffebd6 0%, #ffffff 50%);
179
+ }
180
+
181
+ .bgl-3FF {
182
+ background-image: linear-gradient(135deg, #2193ff 0%, #2064ff 100%);
183
+ }
184
+
185
+ .bgl-255 {
186
+ border-image: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)) 2 2;
187
+ }
188
+
189
+ .bgl-5ff {
190
+ background: linear-gradient(270deg, #ffffff 0%, #ebf5ff 100%);
191
+ }
192
+
193
+ .bgl-5ff-180 {
194
+ background: linear-gradient(180deg, #ebf5ff 0%, #ffffff 31%, #ffffff 100%);
195
+ }
196
+
197
+ .bgl-444 {
198
+ background: linear-gradient(270deg, #444444 0%, #202022 100%);
199
+ }
200
+
201
+ .bgl-e3a {
202
+ background: linear-gradient(180deg, #fff3bf 0%, #fede3a 100%);
203
+ }
204
+
205
+ .bgl-4ff {
206
+ background: linear-gradient(127deg, #8fd4ff 0%, #3da8ff 100%);
207
+ }
208
+
209
+ .bgl-89f {
210
+ background: linear-gradient(127deg, #fe989f 0%, #fe7075 100%);
211
+ }
212
+
213
+ .bgl-399 {
214
+ background: linear-gradient(133deg, #ffd399 0%, #ffb433 100%);
215
+ }
216
+
217
+ .bgl-cac {
218
+ background: linear-gradient(90deg, #feacac 0%, #ff4747 100%);
219
+ }
220
+
221
+ .bgl-9b3 {
222
+ background: linear-gradient(90deg, #ffd9b3 0%, #ffbd7a 100%);
223
+ }
224
+
225
+ .bgl-5bb-47c {
226
+ background: linear-gradient(270deg, #18c5bb 0%, #93f47c 100%);
227
+ }
228
+
229
+ .bgl-329-f00 {
230
+ background: linear-gradient(270deg, #ff6329 0%, #ff8f00 100%);
231
+ }
232
+
233
+ .bgl-9bc-6d3 {
234
+ background: linear-gradient(270deg, #3e59bc 0%, #6786d3 100%);
235
+ }
236
+
237
+ .bgl-3d1-6d7 {
238
+ background: linear-gradient(270deg, #98b3d1 0%, #a2b6d7 100%);
239
+ }
240
+
241
+ .bgl-f0e-f59 {
242
+ background: linear-gradient(180deg, #fff0eb 0%, #f5f5f9 100%);
243
+ }
244
+
245
+ .bgl-f7-ff {
246
+ background: linear-gradient(180deg, #fff7f4 0%, #ffffff 76%, #ffffff 100%);
247
+ }
248
+
249
+ .bgl-ffffff-5f9-270 {
250
+ background: linear-gradient(270deg, #ffffff 0%, #f5f5f9 100%);
251
+ }
252
+
253
+ .bgl-1d6-Cf5 {
254
+ background: linear-gradient(180deg, #fff1d6 0%, #fffcf5 100%);
255
+ }
256
+
257
+ .bgl-9cc {
258
+ background-color: #c8c9cc;
259
+ }
260
+
261
+ /*reset*/
262
+ .vertical-ali {
263
+ vertical-align: middle !important;
264
+ }
265
+
266
+ .vertical-normal {
267
+ vertical-align: initial;
268
+ }
269
+
270
+ .vertical-bot {
271
+ vertical-align: bottom;
272
+ }
273
+
274
+ .underline {
275
+ text-decoration: underline;
276
+ }
277
+ .line-through{
278
+ text-decoration: line-through;
279
+ }
280
+
281
+ .pt140 {
282
+ padding-top: 140px;
283
+ }
284
+
285
+ .pt150 {
286
+ padding-top: 150px;
287
+ }
288
+
289
+ .pb106 {
290
+ padding-bottom: 106px;
291
+ }
292
+
293
+ .pb125 {
294
+ padding-bottom: 125px;
295
+ }
296
+
297
+ .pb200 {
298
+ padding-bottom: 200px;
299
+ }
300
+
301
+ .pb120 {
302
+ padding-bottom: 120px;
303
+ }
304
+
305
+ .pb150 {
306
+ padding-bottom: 150px;
307
+ }
308
+
309
+ .pb170 {
310
+ padding-bottom: 170px;
311
+ }
312
+
313
+ .pb230 {
314
+ padding-bottom: 230px;
315
+ }
316
+
317
+ .pl140 {
318
+ padding-left: 140px;
319
+ }
320
+
321
+ .pr14imp {
322
+ padding-right: 14px !important;
323
+ }
324
+
325
+ .ptb17-5 {
326
+ padding-top: 17.5px;
327
+ padding-bottom: 17.5px;
328
+ }
329
+
330
+ .plr17-5 {
331
+ padding-left: 17.5px;
332
+ padding-right: 17.5px;
333
+ }
334
+
335
+ .plr148 {
336
+ padding-left: 148px;
337
+ padding-right: 148px;
338
+ }
339
+
340
+ /* 图片大小 */
341
+
342
+ /** margin */
343
+ .mt-125 {
344
+ margin-top: -125px;
345
+ }
346
+
347
+ .mt38-5 {
348
+ margin-top: 38.5px;
349
+ }
350
+
351
+ .mt120 {
352
+ margin-top: 120px;
353
+ }
354
+
355
+ .mt190 {
356
+ margin-top: 210px;
357
+ }
358
+
359
+ .ml-auto {
360
+ margin-left: auto;
361
+ }
362
+
363
+ .mb140 {
364
+ margin-bottom: 140px;
365
+ }
366
+
367
+ .mt144 {
368
+ margin-top: 144px;
369
+ }
370
+
371
+ .mt200 {
372
+ margin-top: 200px;
373
+ }
374
+
375
+ .m0a {
376
+ margin: 0 auto;
377
+ }
378
+
379
+ .fw-bold {
380
+ font-weight: 700;
381
+ }
382
+
383
+ /* 文字间距 */
384
+ .ls0 {
385
+ letter-spacing: 0.5px;
386
+ }
387
+
388
+ .ls1 {
389
+ letter-spacing: 1px;
390
+ }
391
+
392
+ .ls2 {
393
+ letter-spacing: 2px;
394
+ }
395
+
396
+ .ls4 {
397
+ letter-spacing: 4px;
398
+ }
399
+
400
+ /** hover显示手 */
401
+ .pointer {
402
+ cursor: pointer;
403
+ }
404
+
405
+ .table-cell {
406
+ display: table-cell;
407
+ }
408
+
409
+ .flex {
410
+ display: flex;
411
+ }
412
+
413
+ .flex-nowrap {
414
+ flex-wrap: nowrap;
415
+ }
416
+
417
+ .flex-none {
418
+ flex: none;
419
+ }
420
+
421
+ .flex1 {
422
+ flex: 1;
423
+ }
424
+
425
+ .flex2 {
426
+ flex: 2;
427
+ }
428
+
429
+ .flex1-5 {
430
+ flex: 1.5;
431
+ }
432
+
433
+ .flex1-3 {
434
+ flex: 1.3;
435
+ }
436
+
437
+ .flex1-2 {
438
+ flex: 1.2;
439
+ }
440
+
441
+ .shrink-0 {
442
+ flex-shrink: 0;
443
+ }
444
+
445
+ .flex-between {
446
+ display: flex;
447
+ justify-content: space-between;
448
+ }
449
+
450
+ .flex-between-center {
451
+ display: flex;
452
+ justify-content: space-between;
453
+ align-items: center;
454
+ }
455
+
456
+ .flex-around {
457
+ display: flex;
458
+ justify-content: space-around;
459
+ }
460
+
461
+ .flex-stretch {
462
+ display: flex;
463
+ align-items: stretch;
464
+ }
465
+
466
+ .flex-start {
467
+ display: flex;
468
+ justify-content: flex-start;
469
+ }
470
+
471
+ .flex-end {
472
+ display: flex;
473
+ justify-content: flex-end;
474
+ }
475
+
476
+ .flex-wrap {
477
+ display: flex;
478
+ flex-wrap: wrap;
479
+ }
480
+
481
+ .flex-no-wrap {
482
+ display: flex;
483
+ flex-wrap: nowrap;
484
+ }
485
+
486
+ .flex-start-wrap {
487
+ display: flex;
488
+ justify-content: flex-start;
489
+ flex-wrap: wrap;
490
+ }
491
+
492
+ .flex-start-center {
493
+ display: flex;
494
+ justify-content: flex-start;
495
+ align-items: center;
496
+ }
497
+
498
+ .flex-start-start {
499
+ display: flex;
500
+ justify-content: flex-start;
501
+ align-items: flex-start;
502
+ }
503
+
504
+ .flex-between-wrap {
505
+ display: flex;
506
+ justify-content: space-between;
507
+ flex-wrap: wrap;
508
+ }
509
+
510
+ .flex-between-end {
511
+ display: flex;
512
+ justify-content: space-between;
513
+ align-items: flex-end;
514
+ }
515
+
516
+ .flex-between-start {
517
+ display: flex;
518
+ justify-content: space-between;
519
+ align-items: flex-start;
520
+ }
521
+
522
+ /* flex - center */
523
+
524
+ .flex-center {
525
+ display: flex;
526
+ align-items: center;
527
+ justify-content: center;
528
+ }
529
+
530
+ .flex-center-center {
531
+ display: flex;
532
+ align-items: center;
533
+ justify-content: center;
534
+ }
535
+
536
+ .flex-center-baseline {
537
+ display: flex;
538
+ align-items: baseline;
539
+ justify-content: center;
540
+ }
541
+
542
+ .flex-center-start {
543
+ display: flex;
544
+ align-items: center;
545
+ justify-content: flex-start;
546
+ }
547
+
548
+ .flex-center-end {
549
+ display: flex;
550
+ justify-content: flex-end;
551
+ align-items: center;
552
+ }
553
+
554
+ .flex-center-vertical {
555
+ display: flex;
556
+ align-items: center;
557
+ }
558
+
559
+ .flex-start-vertical {
560
+ display: flex;
561
+ align-items: flex-start;
562
+ }
563
+
564
+ .flex-center-horizontal {
565
+ display: flex;
566
+ justify-content: center;
567
+ }
568
+
569
+ .flex-center-around {
570
+ display: flex;
571
+ align-items: center;
572
+ justify-content: space-around;
573
+ }
574
+
575
+ .flex-baseline-between {
576
+ display: flex;
577
+ align-items: baseline;
578
+ justify-content: space-between;
579
+ }
580
+
581
+ .flex-center-between {
582
+ display: flex;
583
+ align-items: center;
584
+ justify-content: space-between;
585
+ }
586
+
587
+ .flex-top-vertical {
588
+ display: flex;
589
+ align-items: top;
590
+ justify-content: flex-start;
591
+ }
592
+
593
+ .flex-center-center {
594
+ display: flex;
595
+ align-items: center;
596
+ justify-content: center;
597
+ }
598
+
599
+ /* flex - column */
600
+ .flex-column {
601
+ display: flex;
602
+ flex-direction: column;
603
+ }
604
+
605
+ .flex-row {
606
+ display: flex;
607
+ flex-direction: row;
608
+ }
609
+
610
+ .flex-row-reverse {
611
+ display: flex;
612
+ flex-direction: row-reverse;
613
+ }
614
+
615
+ .flex-column-reverse {
616
+ display: flex;
617
+ flex-direction: column-reverse;
618
+ }
619
+
620
+ .flex-column-center {
621
+ display: flex;
622
+ flex-direction: column;
623
+ align-items: center;
624
+ justify-content: center;
625
+ }
626
+
627
+ .flex-column-center-center {
628
+ display: flex;
629
+ flex-direction: column;
630
+ align-items: center;
631
+ justify-content: center;
632
+ }
633
+
634
+ .flex-column-center-unset {
635
+ display: flex;
636
+ flex-direction: column;
637
+ align-items: center;
638
+ justify-content: unset;
639
+ }
640
+
641
+ .flex-column-center-start {
642
+ display: flex;
643
+ flex-direction: column;
644
+ align-items: center;
645
+ justify-content: flex-start;
646
+ }
647
+
648
+ .flex-column-center-around {
649
+ display: flex;
650
+ flex-direction: column;
651
+ align-items: center;
652
+ justify-content: space-around;
653
+ }
654
+
655
+ .flex-column-center-between {
656
+ display: flex;
657
+ flex-direction: column;
658
+ align-items: center;
659
+ justify-content: space-between;
660
+ }
661
+
662
+ .flex-column-around {
663
+ display: flex;
664
+ flex-direction: column;
665
+ justify-content: space-around;
666
+ }
667
+
668
+ .flex-column-between {
669
+ display: flex;
670
+ flex-direction: column;
671
+ justify-content: space-between;
672
+ }
673
+
674
+ .flex-column-start {
675
+ display: flex;
676
+ flex-direction: column;
677
+ align-items: flex-start;
678
+ }
679
+
680
+ .flex-column-start-center {
681
+ display: flex;
682
+ flex-direction: column;
683
+ align-items: flex-start;
684
+ justify-content: center;
685
+ }
686
+
687
+ .flex-column-start-around {
688
+ display: flex;
689
+ flex-direction: column;
690
+ align-items: flex-start;
691
+ justify-content: space-around;
692
+ }
693
+
694
+ .flex-column-start-between {
695
+ display: flex;
696
+ flex-direction: column;
697
+ align-items: flex-start;
698
+ justify-content: space-between;
699
+ }
700
+
701
+ .flex-column-end-between {
702
+ display: flex;
703
+ flex-direction: column;
704
+ align-items: flex-end;
705
+ justify-content: space-between;
706
+ }
707
+
708
+ .flex-justify-content-end {
709
+ display: flex;
710
+ justify-content: end;
711
+ }
712
+
713
+ .flex-align-content-center {
714
+ display: flex;
715
+ flex-wrap: wrap;
716
+ align-content: center;
717
+ }
718
+
719
+ .flex-start-around {
720
+ display: flex;
721
+ align-items: flex-start;
722
+ justify-content: space-around;
723
+ }
724
+
725
+ /* flex 基准线对齐*/
726
+ .flex-baseline {
727
+ align-items: baseline;
728
+ }
729
+
730
+ .flex-align-center {
731
+ align-items: center;
732
+ }
733
+
734
+ /** visible */
735
+ .visible-hidden {
736
+ visibility: hidden;
737
+ }
738
+
739
+ .visible {
740
+ visibility: visible;
741
+ }
742
+
743
+ /** 线条 */
744
+ .border {
745
+ border-width: 1px;
746
+ border-style: solid;
747
+ // border-style: #ebedf0;
748
+ }
749
+ .border-top {
750
+ border-top-width: 1px;
751
+ border-top-style: solid;
752
+ // border-top-style: #ebedf0;
753
+ }
754
+ .border-right {
755
+ border-right-width: 1px;
756
+ border-right-style: solid;
757
+ // border-right-style: #ebedf0;
758
+ }
759
+ .border-bottom {
760
+ border-bottom-width: 1px;
761
+ border-bottom-style: solid;
762
+ // border-bottom-style: #ebedf0;
763
+ }
764
+ .border-left {
765
+ border-left-width: 1px;
766
+ border-left-style: solid;
767
+ // border-left-style: #ebedf0;
768
+ }
769
+
770
+ .border-thin {
771
+ border-width: .5px;
772
+ border-style: solid;
773
+ }
774
+ .border-thin-top {
775
+ border-top-width: .5px;
776
+ border-top-style: solid;
777
+ }
778
+ .border-thin-right {
779
+ border-right-width: .5px;
780
+ border-right-style: solid;
781
+ }
782
+ .border-thin-bottom {
783
+ border-bottom-width: .5px;
784
+ border-bottom-style: solid;
785
+ }
786
+ .border-thin-left {
787
+ border-left-width: .5px;
788
+ border-left-style: solid;
789
+ }
790
+
791
+ .border-normal {
792
+ border: 0.5px solid;
793
+ }
794
+
795
+ .border-none {
796
+ border: none;
797
+ }
798
+
799
+ .border-blue024 {
800
+ border: 0.5px solid rgba(21, 140, 255, 0.24);
801
+ }
802
+
803
+ .border-right-none {
804
+ border-right: 0 !important;
805
+ }
806
+
807
+ .border-w2 {
808
+ border-width: 2;
809
+ }
810
+ .bdc-transparent{
811
+ border-color: transparent;
812
+ }
813
+ // ---------------------------------------------------
814
+
815
+ // 兼容IOS圆角问题
816
+ .radiu-ios {
817
+ -webkit-transform: rotate(0deg);
818
+ }
819
+
820
+ .br4-rightbottom {
821
+ border-radius: 0px 0px 8px 0px;
822
+ }
823
+
824
+ .br8-top {
825
+ border-radius: 8px 8px 0px 0px;
826
+ }
827
+
828
+ .br8-bottom {
829
+ border-radius: 0px 0px 8px 8px;
830
+ }
831
+
832
+ .br6-bottom {
833
+ border-radius: 0px 0px 6px 6px;
834
+ }
835
+
836
+ .circle {
837
+ border-radius: 50%;
838
+ }
839
+
840
+ /** 圆 */
841
+ /** 块元素 */
842
+ .inline-block {
843
+ display: inline-block;
844
+ }
845
+
846
+ .block {
847
+ display: block;
848
+ }
849
+
850
+ .inline-flex {
851
+ display: inline-flex;
852
+ }
853
+
854
+ /** 不展示 */
855
+ .display-none {
856
+ display: none;
857
+ }
858
+
859
+ .inline-grid {
860
+ display: inline-grid;
861
+ }
862
+
863
+ /** 左右float布局 */
864
+ .left {
865
+ float: left;
866
+ }
867
+
868
+ .transform00 {
869
+ transform-origin: left top;
870
+ }
871
+
872
+ .right {
873
+ float: right;
874
+ }
875
+
876
+ .fix {
877
+ *zoom: 1;
878
+ }
879
+
880
+ .fix:before,
881
+ .fix:after {
882
+ display: block;
883
+ content: "clear";
884
+ height: 0;
885
+ clear: both;
886
+ overflow: hidden;
887
+ visibility: hidden;
888
+ }
889
+
890
+ :focus {
891
+ outline: 0;
892
+ }
893
+
894
+ .min-height100 {
895
+ min-height: 100vh;
896
+ }
897
+
898
+ /* 行高 */
899
+ .line-height-normal {
900
+ line-height: normal;
901
+ }
902
+
903
+ /* text-align */
904
+ .ta-l {
905
+ text-align: left;
906
+ }
907
+
908
+ .ta-c {
909
+ text-align: center;
910
+ }
911
+
912
+ .ta-r {
913
+ text-align: right;
914
+ }
915
+
916
+ .ta-j {
917
+ text-align: justify;
918
+ }
919
+
920
+ /* 相对布局 */
921
+ .ps-r {
922
+ position: relative;
923
+ }
924
+
925
+ .ps-a {
926
+ position: absolute;
927
+ }
928
+
929
+ /* 吸顶 */
930
+ .ps-s {
931
+ position: sticky;
932
+ position: -webkit-sticky;
933
+ top: 0;
934
+ z-index: 3;
935
+ }
936
+
937
+ .ps-f {
938
+ position: fixed;
939
+ }
940
+
941
+ .fix-horizontal-center {
942
+ position: fixed;
943
+ left: 0;
944
+ right: 0;
945
+ }
946
+
947
+ /* 宽高铺满 */
948
+ .full-height {
949
+ height: 100%;
950
+ }
951
+
952
+ .content-width {
953
+ width: max-content;
954
+ }
955
+ .content-height {
956
+ height: max-content;
957
+ }
958
+
959
+ .max-h-66 {
960
+ max-height: 66px;
961
+ }
962
+
963
+ .max-h-480 {
964
+ max-height: 480px;
965
+ }
966
+
967
+ .unset-width {
968
+ width: unset !important;
969
+ }
970
+
971
+ .full-width {
972
+ width: 100%;
973
+ }
974
+
975
+ .full-width120 {
976
+ width: 120%;
977
+ }
978
+
979
+ .width-375 {
980
+ width: 375px;
981
+ }
982
+
983
+ .half-height {
984
+ height: 200px !important;
985
+ }
986
+
987
+ .full-content {
988
+ width: 100%;
989
+ height: 100%;
990
+ }
991
+
992
+ .full-box {
993
+ width: 100vw;
994
+ height: 100vh;
995
+ }
996
+
997
+ .wh-content-16 {
998
+ width: 16px;
999
+ height: 16px;
1000
+ }
1001
+
1002
+ .fill-width {
1003
+ width: -webkit-fill-available;
1004
+ }
1005
+
1006
+ .r-13 {
1007
+ right: -13px !important;
1008
+ }
1009
+
1010
+ .filter0 {
1011
+ opacity: 0;
1012
+ }
1013
+
1014
+ .border-box {
1015
+ box-sizing: border-box;
1016
+ }
1017
+
1018
+ .border-content {
1019
+ box-sizing: content-box;
1020
+ }
1021
+
1022
+ /* css转换 */
1023
+ .scale-06 {
1024
+ transform: scale(0.6);
1025
+ }
1026
+
1027
+ .scale-08 {
1028
+ transform: scale(0.8);
1029
+ }
1030
+
1031
+ /* 字体间距 */
1032
+ .letter-spacing1 {
1033
+ letter-spacing: 1px;
1034
+ }
1035
+
1036
+ .over-auto {
1037
+ overflow: auto;
1038
+ }
1039
+
1040
+ .over-x-auto {
1041
+ overflow-x: auto;
1042
+ }
1043
+
1044
+ .over-hidden {
1045
+ overflow: hidden !important;
1046
+ }
1047
+
1048
+ .over-scroll {
1049
+ overflow: scroll;
1050
+ -webkit-overflow-scrolling: touch;
1051
+ overflow-scrolling: touch;
1052
+ }
1053
+
1054
+ .over-scroll-x {
1055
+ overflow-x: scroll;
1056
+ overflow-y: hidden;
1057
+ -webkit-overflow-scrolling: touch;
1058
+ overflow-scrolling: touch;
1059
+ }
1060
+
1061
+ .nowrap {
1062
+ white-space: nowrap;
1063
+ }
1064
+
1065
+ .ws-normal {
1066
+ white-space: normal;
1067
+ }
1068
+
1069
+ .prewrap {
1070
+ white-space: pre-wrap;
1071
+ }
1072
+
1073
+ /* 字体图标 */
1074
+ .icon-custom {
1075
+ display: inline-block;
1076
+ width: 14px;
1077
+ height: 14px;
1078
+ }
1079
+
1080
+ /* 超出省略号 */
1081
+ .text-ellipsis {
1082
+ overflow: hidden;
1083
+ text-overflow: ellipsis;
1084
+ white-space: nowrap;
1085
+ }
1086
+
1087
+ .position-center {
1088
+ top: 50%;
1089
+ left: 50%;
1090
+ transform: translate(-50%, -50%);
1091
+ }
1092
+
1093
+ .position-center-x {
1094
+ left: 50%;
1095
+ transform: translateX(-50%);
1096
+ }
1097
+
1098
+ /* 多行省略号 */
1099
+ .multi-text-ellipsis {
1100
+ overflow: hidden;
1101
+ text-overflow: ellipsis;
1102
+ display: -webkit-box;
1103
+ -webkit-line-clamp: 2;
1104
+ -webkit-box-orient: vertical;
1105
+ line-height: initial;
1106
+ white-space: pre-wrap;
1107
+ }
1108
+
1109
+ .vertical {
1110
+ display: inline-block;
1111
+ vertical-align: middle;
1112
+ }
1113
+
1114
+ .vertical-bottom {
1115
+ vertical-align: bottom;
1116
+ }
1117
+
1118
+ .middle-button {
1119
+ height: 40px;
1120
+ font-size: 16px;
1121
+ font-weight: 500;
1122
+ }
1123
+
1124
+ .big-button {
1125
+ height: 48px;
1126
+ font-size: 18px;
1127
+ font-weight: 500;
1128
+ }
1129
+
1130
+ /* 块阴影 */
1131
+ .box-shadow {
1132
+ box-shadow: #dddddd 0px 0px 0.16rem 0px;
1133
+ }
1134
+
1135
+ .card-shadow {
1136
+ box-shadow: 0px 0px 32px 0px rgba(35, 13, 0, 0.06);
1137
+ }
1138
+
1139
+ .btn {
1140
+ border: 1px solid #eeeeee;
1141
+ padding: 3px 8px;
1142
+ border-radius: 5px;
1143
+ margin-right: 10px;
1144
+ margin-bottom: 10px;
1145
+ font-size: 12px;
1146
+ }
1147
+
1148
+ .align-middle {
1149
+ vertical-align: middle;
1150
+ }
1151
+
1152
+ .risk_bg {
1153
+ background: url("https://dop-pro-1251973116.file.myqcloud.com/upload/img/funzg/my-bg-riskTest.svg") no-repeat;
1154
+ background-size: contain;
1155
+ }
1156
+
1157
+ .clue_bg {
1158
+ background: url("https://dop-pro-1251973116.file.myqcloud.com/upload/img/funzg/my-bg-clueVIP.svg") no-repeat;
1159
+ background-size: contain;
1160
+ }
1161
+
1162
+ .news_bg {
1163
+ background: url("https://dop-pro-1251973116.file.myqcloud.com/upload/img/funzg/my-bg_qianmian.svg") no-repeat;
1164
+ background-size: contain;
1165
+ }
1166
+
1167
+ .bg-cover {
1168
+ background-size: cover;
1169
+ }
1170
+
1171
+ .bg-fit-cover {
1172
+ object-fit: cover;
1173
+ }
1174
+
1175
+ // 单行隐藏
1176
+ .over-flow,
1177
+ .one-line {
1178
+ overflow: hidden;
1179
+ white-space: nowrap;
1180
+ text-overflow: ellipsis;
1181
+ }
1182
+
1183
+ // 两行隐藏
1184
+ .over-flow-two {
1185
+ text-overflow: -o-ellipsis-lastline;
1186
+ overflow: hidden;
1187
+ text-overflow: ellipsis;
1188
+ display: -webkit-box;
1189
+ -webkit-line-clamp: 2;
1190
+ line-clamp: 2;
1191
+ -webkit-box-orient: vertical;
1192
+ }
1193
+
1194
+ // 三行隐藏
1195
+ .over-flow-three {
1196
+ text-overflow: -o-ellipsis-lastline;
1197
+ overflow: hidden;
1198
+ text-overflow: ellipsis;
1199
+ display: -webkit-box;
1200
+ -webkit-line-clamp: 3;
1201
+ line-clamp: 3;
1202
+ -webkit-box-orient: vertical;
1203
+ }
1204
+
1205
+ // 三行隐藏
1206
+ .over-flow-four {
1207
+ text-overflow: -o-ellipsis-lastline;
1208
+ overflow: hidden;
1209
+ text-overflow: ellipsis;
1210
+ display: -webkit-box;
1211
+ -webkit-line-clamp: 4;
1212
+ line-clamp: 4;
1213
+ -webkit-box-orient: vertical;
1214
+ }
1215
+
1216
+ .over-flow-five {
1217
+ text-overflow: -o-ellipsis-lastline;
1218
+ overflow: hidden;
1219
+ text-overflow: ellipsis;
1220
+ display: -webkit-box;
1221
+ -webkit-line-clamp: 5;
1222
+ line-clamp: 5;
1223
+ -webkit-box-orient: vertical;
1224
+ }
1225
+
1226
+ // 阻止点击事件
1227
+ .no-click {
1228
+ pointer-events: none;
1229
+ }
1230
+
1231
+ // 首行缩进
1232
+ .indent-2 {
1233
+ text-indent: 2em;
1234
+ }
1235
+
1236
+ // 必填项的红点
1237
+ .red-dot {
1238
+ display: inline-block;
1239
+ transform: translate(1px, 3px);
1240
+ }
1241
+
1242
+ // filter
1243
+ .bf2 {
1244
+ backdrop-filter: blur(2px);
1245
+ }
1246
+
1247
+ /*media*/
1248
+ @media screen and (max-width: 1024px) {
1249
+ }
1250
+
1251
+ @media screen and (max-width: 480px) {
1252
+ }
1253
+
1254
+ @media screen and (max-width: 380px) {
1255
+ }
1256
+
1257
+ @media screen and (max-width: 320px) {
1258
+ }
1259
+
1260
+ @keyframes slideInLeft {
1261
+ from {
1262
+ transform: translate3d(100%, 0, 0);
1263
+ opacity: 1;
1264
+ }
1265
+
1266
+ to {
1267
+ transform: translate3d(0, 0, 0);
1268
+ opacity: 1;
1269
+ }
1270
+ }
1271
+
1272
+ @keyframes slideInRight {
1273
+ from {
1274
+ transform: translate3d(-100%, 0, 0);
1275
+ opacity: 1;
1276
+ }
1277
+
1278
+ to {
1279
+ transform: translate3d(0, 0, 0);
1280
+ opacity: 1;
1281
+ }
1282
+ }
1283
+
1284
+ @keyframes slideLeftOut {
1285
+ from {
1286
+ transform: translate3d(0, 0, 0);
1287
+ opacity: 0;
1288
+ }
1289
+
1290
+ to {
1291
+ transform: translate3d(100%, 0, 0);
1292
+ opacity: 0;
1293
+ }
1294
+ }
1295
+
1296
+ @keyframes slideRightOut {
1297
+ from {
1298
+ transform: translate3d(0, 0, 0);
1299
+ opacity: 0;
1300
+ }
1301
+
1302
+ to {
1303
+ transform: translate3d(-100%, 0, 0);
1304
+ opacity: 0;
1305
+ }
1306
+ }
1307
+
1308
+ .slide-left-enter-active {
1309
+ animation: slideInLeft 0.3s forwards;
1310
+ z-index: 1;
1311
+ position: absolute;
1312
+ top: 0;
1313
+ left: 0;
1314
+ width: 100%;
1315
+ }
1316
+
1317
+ .slide-left-leave-active {
1318
+ animation: slideLeftOut 0.3s forwards;
1319
+ z-index: 1;
1320
+ position: absolute;
1321
+ top: 0;
1322
+ left: 0;
1323
+ width: 100%;
1324
+ }
1325
+
1326
+ .slide-right-enter-active {
1327
+ animation: slideInRight 0.3s forwards;
1328
+ z-index: 1;
1329
+ position: absolute;
1330
+ top: 0;
1331
+ left: 0;
1332
+ width: 100%;
1333
+ }
1334
+
1335
+ .slide-right-leave-active {
1336
+ animation: slideRightOut 0.3s forwards;
1337
+ z-index: 1;
1338
+ position: absolute;
1339
+ top: 0;
1340
+ left: 0;
1341
+ width: 100%;
1342
+ }
1343
+
1344
+ /* 骨架占位块 */
1345
+ @keyframes skeleton-blink {
1346
+ 50% {
1347
+ background-color: #f1f1f1;
1348
+ }
1349
+ }
1350
+
1351
+ .custom-skeleton {
1352
+ background-color: #e8e8e8;
1353
+ border-radius: 5px;
1354
+ overflow: hidden;
1355
+ animation: skeleton-blink 1.2s ease-in-out infinite;
1356
+ }
1357
+
1358
+ .over-y {
1359
+ overflow-y: scroll;
1360
+ }
1361
+
1362
+ .fade-enter-active,
1363
+ .fade-leave-active {
1364
+ /* padding: 0; */
1365
+ transition: all 0.5s;
1366
+ }
1367
+
1368
+ .fade-enter,
1369
+ .fade-leave-to
1370
+
1371
+ /* .fade-leave-active below version 2.1.8 */ {
1372
+ opacity: 0;
1373
+ position: absolute;
1374
+ }
1375
+
1376
+ body::-webkit-scrollbar {
1377
+ display: none;
1378
+ width: 0;
1379
+ height: 0;
1380
+ }
1381
+
1382
+ body::-webkit-scrollbar:horizontal {
1383
+ width: 0;
1384
+ height: 0;
1385
+ display: none;
1386
+ }
1387
+
1388
+ .img-103 {
1389
+ width: 103px;
1390
+ }
1391
+
1392
+ .img-109 {
1393
+ width: 109px;
1394
+ }
1395
+
1396
+ .img-110 {
1397
+ width: 110px;
1398
+ }
1399
+
1400
+ .img-157 {
1401
+ width: 157px;
1402
+ }
1403
+
1404
+ .img-158 {
1405
+ width: 158px;
1406
+ }
1407
+
1408
+ .op {
1409
+ opacity: 0.72;
1410
+ }
1411
+
1412
+ .height-109 {
1413
+ height: 109px;
1414
+ }
1415
+
1416
+ .height-122 {
1417
+ height: 122px;
1418
+ }
1419
+
1420
+ .height-157 {
1421
+ height: 157px;
1422
+ }
1423
+
1424
+ .height-163 {
1425
+ height: 163px;
1426
+ }
1427
+
1428
+ .height-165 {
1429
+ height: 165px;
1430
+ }
1431
+
1432
+ .my-page-background {
1433
+ background: linear-gradient(360deg, #f5f5f9 0%, #ff6329 100%);
1434
+ }
1435
+
1436
+ .w-max-content {
1437
+ width: max-content;
1438
+ }
1439
+
1440
+ .sty-329 {
1441
+ border-radius: 2px;
1442
+ border: 0.5px solid #ff6329;
1443
+ font-weight: 400;
1444
+ color: #ff6329;
1445
+ }
1446
+
1447
+ .h16-sty {
1448
+ display: inline-block;
1449
+ line-height: 16px;
1450
+ font-size: 11px;
1451
+ margin-right: 6px;
1452
+ padding: 0px 4px;
1453
+ text-align: center;
1454
+ box-sizing: border-box;
1455
+ }
1456
+
1457
+ .sty-08a {
1458
+ border-radius: 2px;
1459
+ border: 0.5px solid #7f808a;
1460
+ font-weight: 400;
1461
+ line-height: 16px;
1462
+
1463
+ color: #7f808a;
1464
+ }
1465
+
1466
+ .sty-500 {
1467
+ border-radius: 2px;
1468
+ border: 0.5px solid #de9500;
1469
+ font-weight: 400;
1470
+ font-size: 11px;
1471
+ line-height: 16px;
1472
+ color: #de9500;
1473
+ }
1474
+
1475
+ .z-index-1{
1476
+ z-index:-1
1477
+ }
1478
+
1479
+ // 循环生成颜色类
1480
+ .loop-colors(@index: 1) when (@index <=length(@colors)) {
1481
+ // 提取颜色值
1482
+ @colorValue: extract(@colors, @index);
1483
+
1484
+ // 提取色值后三位,去除 # 号
1485
+ @colorCode: replace(@colorValue, "#", "");
1486
+
1487
+ .c-@{colorCode} {
1488
+ color: @colorValue;
1489
+ }
1490
+
1491
+ .bgc-@{colorCode} {
1492
+ background-color: @colorValue;
1493
+ }
1494
+
1495
+ .bdc-@{colorCode} {
1496
+ border-color: @colorValue;
1497
+ }
1498
+
1499
+ // 递归调用循环
1500
+ .loop-colors(@index + 1);
1501
+ }
1502
+ // 启动循环
1503
+ .loop-colors();
1504
+ /** 字体粗细 */
1505
+ .generate-fw(@i) when (@i >=0) {
1506
+ @num: @i * 100;
1507
+ .fw-@{num} {
1508
+ font-weight: ~"@{num}";
1509
+ }
1510
+
1511
+ .generate-fw(@i - 1);
1512
+ }
1513
+
1514
+ .generate-fw(9);
1515
+
1516
+ /** 生成0-60的行高 z-index 和字体大小 */
1517
+ .generate-line-height(@i) when (@i >=0) {
1518
+ .br@{i}{
1519
+ border-radius: ~"@{i}px"
1520
+ }
1521
+ .generate-line-height(@i - 1);
1522
+ }
1523
+
1524
+ .generate-line-height(60);
1525
+
1526
+ // 生成-200到200的margin和padding
1527
+ .generate-margin-padding(@i) when (@i >=-100) {
1528
+ .mg@{i} {
1529
+ margin: ~"@{i}px";
1530
+ }
1531
+
1532
+ .mt@{i} {
1533
+ margin-top: ~"@{i}px";
1534
+ }
1535
+
1536
+ .mr@{i} {
1537
+ margin-right: ~"@{i}px";
1538
+ }
1539
+
1540
+ .mb@{i} {
1541
+ margin-bottom: ~"@{i}px";
1542
+ }
1543
+
1544
+ .ml@{i} {
1545
+ margin-left: ~"@{i}px";
1546
+ }
1547
+
1548
+ .mtb@{i} {
1549
+ margin-top: ~"@{i}px";
1550
+ margin-bottom: ~"@{i}px";
1551
+ }
1552
+
1553
+ .mlr@{i} {
1554
+ margin-left: ~"@{i}px";
1555
+ margin-right: ~"@{i}px";
1556
+ }
1557
+
1558
+ .pd@{i} {
1559
+ padding: ~"@{i}px";
1560
+ }
1561
+
1562
+ .pt@{i} {
1563
+ padding-top: ~"@{i}px";
1564
+ }
1565
+
1566
+ .pr@{i} {
1567
+ padding-right: ~"@{i}px";
1568
+ }
1569
+
1570
+ .pb@{i} {
1571
+ padding-bottom: ~"@{i}px";
1572
+ }
1573
+
1574
+ .pl@{i} {
1575
+ padding-left: ~"@{i}px";
1576
+ }
1577
+
1578
+ .ptb@{i} {
1579
+ padding-top: ~"@{i}px";
1580
+ padding-bottom: ~"@{i}px";
1581
+ }
1582
+
1583
+ .plr@{i} {
1584
+ padding-left: ~"@{i}px";
1585
+ padding-right: ~"@{i}px";
1586
+ }
1587
+
1588
+ .top@{i} {
1589
+ top: ~"@{i}px";
1590
+ }
1591
+
1592
+ .right@{i} {
1593
+ right: ~"@{i}px";
1594
+ }
1595
+
1596
+ .bottom@{i} {
1597
+ bottom: ~"@{i}px";
1598
+ }
1599
+
1600
+ .left@{i} {
1601
+ left: ~"@{i}px";
1602
+ }
1603
+
1604
+ // 仅在 @i > 0 时生成 width 和 height 和 opacity
1605
+ .width-@{i} when (@i > 0) {
1606
+ width: ~"@{i}px";
1607
+ }
1608
+
1609
+ .height-@{i} when (@i > 0) {
1610
+ height: ~"@{i}px";
1611
+ }
1612
+ .h-@{i} when (@i > 0){
1613
+ height: ~"@{i}%";
1614
+ }
1615
+
1616
+ .w-@{i} when (@i > 0){
1617
+ width: ~"@{i}%";
1618
+ }
1619
+ .line-height@{i} when (@i > 0){
1620
+ -webkit-appearance: none;
1621
+ line-height: ~"@{i}px";
1622
+ }
1623
+ .opa-@{i} when (@i > 0){
1624
+ opacity: ~"@{i}%";
1625
+ }
1626
+ .z-index@{i} when (@i > 0){
1627
+ z-index: ~"@{i}";
1628
+ }
1629
+
1630
+ .ft@{i} when (@i > 0){
1631
+ font-size: ~"@{i}px";
1632
+ }
1633
+
1634
+ .generate-margin-padding(@i - 1);
1635
+ }
1636
+
1637
+ .generate-margin-padding(100);