unika-components 1.0.428 → 1.0.430

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.
@@ -46,7 +46,6 @@ declare const _default: import("vue").DefineComponent<{
46
46
  }>;
47
47
  textContainerStyle: import("vue").ComputedRef<{
48
48
  transform: string;
49
- backgroundColor: string | undefined;
50
49
  borderColor: string | undefined;
51
50
  borderRadius: string;
52
51
  borderStyle: string | undefined;
@@ -78,7 +77,6 @@ declare const _default: import("vue").DefineComponent<{
78
77
  }>;
79
78
  textStyle: import("vue").ComputedRef<{
80
79
  color: string | undefined;
81
- fontSize: string;
82
80
  }>;
83
81
  separatorStyle: import("vue").ComputedRef<{
84
82
  color: string | undefined;
@@ -87,7 +85,6 @@ declare const _default: import("vue").DefineComponent<{
87
85
  lineHeight: string;
88
86
  }>;
89
87
  aniWrapStyle: import("vue").ComputedRef<{
90
- backgroundColor: string | undefined;
91
88
  borderRadius: string;
92
89
  borderColor: string | undefined;
93
90
  borderStyle: string | undefined;
@@ -0,0 +1,65 @@
1
+ export declare const countdownDefaultProps: {
2
+ id: string;
3
+ pid: string;
4
+ type: string;
5
+ layerName: string;
6
+ endTime: string;
7
+ endOption: string;
8
+ endText: string;
9
+ sign: boolean;
10
+ language: string;
11
+ direction: string;
12
+ signSort: number;
13
+ showType: string;
14
+ showSize: string;
15
+ css: {
16
+ borderWidth: number;
17
+ borderStyle: string;
18
+ borderColor: string;
19
+ opacity: number;
20
+ fontSize: number;
21
+ color: string;
22
+ backgroundColor: string;
23
+ width: number;
24
+ height: number;
25
+ borderRadius: number;
26
+ top: number;
27
+ left: number;
28
+ transform: number;
29
+ textAlign: string;
30
+ animation2: string;
31
+ animation: string;
32
+ };
33
+ properties: {
34
+ visible: boolean;
35
+ isLock: boolean;
36
+ required: boolean;
37
+ musicName: string;
38
+ musicLink: string;
39
+ musicHash: string;
40
+ shadowSize: number;
41
+ shadowColor: string;
42
+ shadowX: number;
43
+ shadowY: number;
44
+ shadowBlur: number;
45
+ shadowPoint: number;
46
+ aniOrigin: string;
47
+ animations: {
48
+ animate: string;
49
+ count: number;
50
+ timing: string;
51
+ loop: boolean;
52
+ delay: number;
53
+ duration: number;
54
+ name: string;
55
+ order: string;
56
+ type: string;
57
+ aniType: string;
58
+ allDelay: string;
59
+ id: number;
60
+ }[];
61
+ textAni: never[];
62
+ };
63
+ signType: string;
64
+ };
65
+ export default countdownDefaultProps;
@@ -1,3 +1,103 @@
1
+
2
+ .ele-shape {
3
+ position: absolute;
4
+ overflow: hidden;
5
+ }
6
+
7
+ .ani-wrap {
8
+ width: 100%;
9
+ height: 100%;
10
+ box-sizing: border-box;
11
+ }
12
+
13
+ .e-shape {
14
+ width: 100%;
15
+ height: 100%;
16
+ }
17
+
18
+ .svg-container :deep(svg) {
19
+ width: 100%;
20
+ height: 100%;
21
+ display: block;
22
+ }
23
+
24
+ .svg-loading,
25
+ .svg-error {
26
+ display: flex;
27
+ align-items: center;
28
+ justify-content: center;
29
+ width: 100%;
30
+ height: 100%;
31
+ background: rgba(0,0,0,0.05);
32
+ }
33
+
34
+ .ele-text {
35
+ position: relative;
36
+ }
37
+
38
+ .ele-text .ani-wrap {
39
+ width: 100%;
40
+ height: 100%;
41
+ }
42
+
43
+ .text-common {
44
+ padding: 5px;
45
+ text-orientation: upright;
46
+ white-space: pre-wrap;
47
+ }
48
+
49
+ /* 文本动画类 */
50
+ .text-fadeIn {
51
+ animation: fadeIn 1s ease-in-out;
52
+ }
53
+
54
+ .text-slideIn {
55
+ animation: slideIn 1s ease-in-out;
56
+ }
57
+
58
+ .text-bounceIn {
59
+ animation: bounceIn 1s ease-in-out;
60
+ }
61
+
62
+ /* 基础动画关键帧 */
63
+ @keyframes fadeIn {
64
+ from {
65
+ opacity: 0;
66
+ }
67
+ to {
68
+ opacity: 1;
69
+ }
70
+ }
71
+
72
+ @keyframes slideIn {
73
+ from {
74
+ transform: translateY(20px);
75
+ opacity: 0;
76
+ }
77
+ to {
78
+ transform: translateY(0);
79
+ opacity: 1;
80
+ }
81
+ }
82
+
83
+ @keyframes bounceIn {
84
+ 0% {
85
+ transform: scale(0.3);
86
+ opacity: 0;
87
+ }
88
+ 50% {
89
+ transform: scale(1.05);
90
+ opacity: 0.8;
91
+ }
92
+ 70% {
93
+ transform: scale(0.9);
94
+ opacity: 0.9;
95
+ }
96
+ 100% {
97
+ transform: scale(1);
98
+ opacity: 1;
99
+ }
100
+ }
1
101
 
2
102
  #audio {
3
103
  position: absolute;
@@ -122,120 +222,6 @@
122
222
  }
123
223
  }
124
224
 
125
- .element-ditu .ani-wrap {
126
- width: 100%;
127
- height: 100%;
128
- overflow: hidden
129
- }
130
-
131
- .element-ditu .map {
132
- width: 100%;
133
- height: 100%
134
- }
135
-
136
- .element-ditu .map .el-button {
137
- width: 100%;
138
- height: 100%;
139
- display: -webkit-box;
140
- display: -ms-flexbox;
141
- display: flex;
142
- -webkit-box-align: center;
143
- -ms-flex-align: center;
144
- align-items: center;
145
- padding: 0;
146
- -webkit-box-pack: center;
147
- -ms-flex-pack: center;
148
- justify-content: center;
149
- background: inherit;
150
- color: inherit;
151
- border: none
152
- }
153
-
154
- .element-ditu .center-map {
155
- width: 100%;
156
- height: 100%;
157
- background: #fff
158
- }
159
-
160
- .element-ditu .mask-map {
161
- position: absolute;
162
- width: 100%;
163
- height: 100%;
164
- top: 0
165
- }
166
- .map-iframe {
167
- width: 100%;
168
- height: 100%;
169
- }
170
-
171
- .ele-text {
172
- position: relative;
173
- }
174
-
175
- .ele-text .ani-wrap {
176
- width: 100%;
177
- height: 100%;
178
- }
179
-
180
- .text-common {
181
- padding: 5px;
182
- text-orientation: upright;
183
- white-space: pre-wrap;
184
- }
185
-
186
- /* 文本动画类 */
187
- .text-fadeIn {
188
- animation: fadeIn 1s ease-in-out;
189
- }
190
-
191
- .text-slideIn {
192
- animation: slideIn 1s ease-in-out;
193
- }
194
-
195
- .text-bounceIn {
196
- animation: bounceIn 1s ease-in-out;
197
- }
198
-
199
- /* 基础动画关键帧 */
200
- @keyframes fadeIn {
201
- from {
202
- opacity: 0;
203
- }
204
- to {
205
- opacity: 1;
206
- }
207
- }
208
-
209
- @keyframes slideIn {
210
- from {
211
- transform: translateY(20px);
212
- opacity: 0;
213
- }
214
- to {
215
- transform: translateY(0);
216
- opacity: 1;
217
- }
218
- }
219
-
220
- @keyframes bounceIn {
221
- 0% {
222
- transform: scale(0.3);
223
- opacity: 0;
224
- }
225
- 50% {
226
- transform: scale(1.05);
227
- opacity: 0.8;
228
- }
229
- 70% {
230
- transform: scale(0.9);
231
- opacity: 0.9;
232
- }
233
- 100% {
234
- transform: scale(1);
235
- opacity: 1;
236
- }
237
- }
238
-
239
225
  .element-video {
240
226
  position: absolute;
241
227
  overflow: hidden;
@@ -283,6 +269,52 @@
283
269
  opacity: 1;
284
270
  }
285
271
 
272
+ .element-ditu .ani-wrap {
273
+ width: 100%;
274
+ height: 100%;
275
+ overflow: hidden
276
+ }
277
+
278
+ .element-ditu .map {
279
+ width: 100%;
280
+ height: 100%
281
+ }
282
+
283
+ .element-ditu .map .el-button {
284
+ width: 100%;
285
+ height: 100%;
286
+ display: -webkit-box;
287
+ display: -ms-flexbox;
288
+ display: flex;
289
+ -webkit-box-align: center;
290
+ -ms-flex-align: center;
291
+ align-items: center;
292
+ padding: 0;
293
+ -webkit-box-pack: center;
294
+ -ms-flex-pack: center;
295
+ justify-content: center;
296
+ background: inherit;
297
+ color: inherit;
298
+ border: none
299
+ }
300
+
301
+ .element-ditu .center-map {
302
+ width: 100%;
303
+ height: 100%;
304
+ background: #fff
305
+ }
306
+
307
+ .element-ditu .mask-map {
308
+ position: absolute;
309
+ width: 100%;
310
+ height: 100%;
311
+ top: 0
312
+ }
313
+ .map-iframe {
314
+ width: 100%;
315
+ height: 100%;
316
+ }
317
+
286
318
  .effect-container {
287
319
  will-change: transform;
288
320
  }
@@ -340,6 +372,28 @@
340
372
  animation: snow 5s linear infinite
341
373
  }
342
374
 
375
+ .like-button {
376
+ display: flex;
377
+ flex-direction: column;
378
+ align-items: center;
379
+ cursor: pointer;
380
+ }
381
+
382
+ .icon-heart {
383
+ font-size: 24px;
384
+ color: #e74c3c;
385
+ }
386
+
387
+ .liked {
388
+ color: #f00; /* 更改颜色以示已赞 */
389
+ }
390
+
391
+ .like-count {
392
+ margin-top: 4px;
393
+ font-size: 16px;
394
+ color: #333;
395
+ }
396
+
343
397
  .ele-lottie .ele-lotwrap {
344
398
  overflow: hidden;
345
399
  }
@@ -407,60 +461,6 @@
407
461
  margin-bottom: 0px;
408
462
  vertical-align: top;
409
463
  }
410
-
411
- .ele-shape {
412
- position: absolute;
413
- overflow: hidden;
414
- }
415
-
416
- .ani-wrap {
417
- width: 100%;
418
- height: 100%;
419
- box-sizing: border-box;
420
- }
421
-
422
- .e-shape {
423
- width: 100%;
424
- height: 100%;
425
- }
426
-
427
- .svg-container :deep(svg) {
428
- width: 100%;
429
- height: 100%;
430
- display: block;
431
- }
432
-
433
- .svg-loading,
434
- .svg-error {
435
- display: flex;
436
- align-items: center;
437
- justify-content: center;
438
- width: 100%;
439
- height: 100%;
440
- background: rgba(0,0,0,0.05);
441
- }
442
-
443
- .like-button {
444
- display: flex;
445
- flex-direction: column;
446
- align-items: center;
447
- cursor: pointer;
448
- }
449
-
450
- .icon-heart {
451
- font-size: 24px;
452
- color: #e74c3c;
453
- }
454
-
455
- .liked {
456
- color: #f00; /* 更改颜色以示已赞 */
457
- }
458
-
459
- .like-count {
460
- margin-top: 4px;
461
- font-size: 16px;
462
- color: #333;
463
- }
464
464
 
465
465
  /* 设计稿尺寸(如375px下20px的按钮) */
466
466
  .btn {
@@ -469,10 +469,6 @@
469
469
  font-size: 14px;
470
470
  }
471
471
 
472
- .uni-svg-component {
473
- display: inline-block;
474
- }
475
-
476
472
  .ele-form {
477
473
  position: absolute;
478
474
  user-select: none;
@@ -588,6 +584,10 @@
588
584
  z-index: 1000;
589
585
  }
590
586
 
587
+ .uni-svg-component {
588
+ display: inline-block;
589
+ }
590
+
591
591
  .form-submit {
592
592
  cursor: pointer;
593
593
  transition: all 0.2s;
@@ -653,18 +653,18 @@
653
653
  text-align: center;
654
654
  }
655
655
 
656
- .global.tel {
656
+ .global.video {
657
657
  width: 35px;
658
658
  height: 55px;
659
659
  border-radius: 50%;
660
660
  text-align: center;
661
- margin-bottom: 15px;
661
+ margin-bottom: 5px;
662
662
  border: 2px solid #fff;
663
663
  cursor: pointer;
664
664
  }
665
- .icon-dianhua:before { content: "\E60E"; }
665
+ .icon-shipin2:before { content: "\E611"; }
666
666
  .iconfont { font-family: iconfont !important; font-size: 30px; font-style: normal; }
667
- .global.tel > span { font-size: 12px; line-height: 20px; display: block;}
667
+ .global.video > span { font-size: 12px; line-height: 20px; display: block; position: relative; top: -4px;}
668
668
 
669
669
  .ele-form {
670
670
  position: absolute;
@@ -753,6 +753,77 @@
753
753
  border-bottom-color: #ff4d4f;
754
754
  }
755
755
 
756
+ .form-input {
757
+ position: absolute;
758
+ }
759
+
760
+ .input-wrapper {
761
+ display: flex;
762
+ align-items: center;
763
+ width: 100%;
764
+ height: 100%;
765
+ padding: 0 10px;
766
+ box-sizing: border-box;
767
+ position: relative;
768
+ transition: border-color 0.3s;
769
+ }
770
+
771
+ .required-marker {
772
+ font-size: 12px;
773
+ padding: 0 5px 0 0;
774
+ color: red;
775
+ vertical-align: middle;
776
+ }
777
+
778
+ input {
779
+ flex: 1;
780
+ border: none;
781
+ outline: none;
782
+ background: transparent;
783
+ height: 100%;
784
+ padding: 0;
785
+ margin: 0;
786
+ }
787
+ /*
788
+ input::placeholder {
789
+ color: #ccc;
790
+ opacity: 1;
791
+ } */
792
+
793
+ .dynamic-placeholder-input::placeholder {
794
+ color: var(--placeholder-color, #999);
795
+ opacity: 1;
796
+ }
797
+ .dynamic-placeholder-input::-webkit-input-placeholder {
798
+ color: var(--placeholder-color, #999);
799
+ }
800
+ .dynamic-placeholder-input::-moz-placeholder {
801
+ color: var(--placeholder-color, #999);
802
+ opacity: 1;
803
+ }
804
+ .dynamic-placeholder-input:-ms-input-placeholder {
805
+ color: var(--placeholder-color, #999);
806
+ }
807
+
808
+ .global.receipt {
809
+ width: 35px;
810
+ height: 55px;
811
+ border-radius: 50%;
812
+ text-align: center;
813
+ margin-bottom: 5px;
814
+ border: 2px solid #fff;
815
+ cursor: pointer;
816
+ }
817
+ .icon-liuyan:before { content: "\E636"; }
818
+ .iconfont { font-family: iconfont !important; font-size: 30px; font-style: normal; }
819
+ .global.receipt > span { font-size: 12px; line-height: 20px; display: block; }
820
+
821
+ .form-container {
822
+ position: relative;
823
+ width: 100%;
824
+ height: 100%;
825
+ }
826
+
756
827
  .ele-form {
757
828
  position: absolute;
758
829
  user-select: none;
@@ -849,13 +920,7 @@
849
920
  z-index: 1000;
850
921
  }
851
922
 
852
- .form-container {
853
- position: relative;
854
- width: 100%;
855
- height: 100%;
856
- }
857
-
858
- .global.video {
923
+ .global.map {
859
924
  width: 35px;
860
925
  height: 55px;
861
926
  border-radius: 50%;
@@ -864,9 +929,9 @@
864
929
  border: 2px solid #fff;
865
930
  cursor: pointer;
866
931
  }
867
- .icon-shipin2:before { content: "\E611"; }
932
+ .icon-daohang1:before { content: "\E612"; }
868
933
  .iconfont { font-family: iconfont !important; font-size: 30px; font-style: normal; }
869
- .global.video > span { font-size: 12px; line-height: 20px; display: block; position: relative; top: -4px;}
934
+ .global.map > span { font-size: 12px; line-height: 20px; display: block;}
870
935
 
871
936
  /* 字体定义 */
872
937
  @font-face {
@@ -1280,83 +1345,18 @@
1280
1345
  }
1281
1346
 
1282
1347
 
1283
- .form-input {
1284
- position: absolute;
1285
- }
1286
-
1287
- .input-wrapper {
1288
- display: flex;
1289
- align-items: center;
1290
- width: 100%;
1291
- height: 100%;
1292
- padding: 0 10px;
1293
- box-sizing: border-box;
1294
- position: relative;
1295
- transition: border-color 0.3s;
1296
- }
1297
-
1298
- .required-marker {
1299
- font-size: 12px;
1300
- padding: 0 5px 0 0;
1301
- color: red;
1302
- vertical-align: middle;
1303
- }
1304
-
1305
- input {
1306
- flex: 1;
1307
- border: none;
1308
- outline: none;
1309
- background: transparent;
1310
- height: 100%;
1311
- padding: 0;
1312
- margin: 0;
1313
- }
1314
- /*
1315
- input::placeholder {
1316
- color: #ccc;
1317
- opacity: 1;
1318
- } */
1319
-
1320
- .dynamic-placeholder-input::placeholder {
1321
- color: var(--placeholder-color, #999);
1322
- opacity: 1;
1323
- }
1324
- .dynamic-placeholder-input::-webkit-input-placeholder {
1325
- color: var(--placeholder-color, #999);
1326
- }
1327
- .dynamic-placeholder-input::-moz-placeholder {
1328
- color: var(--placeholder-color, #999);
1329
- opacity: 1;
1330
- }
1331
- .dynamic-placeholder-input:-ms-input-placeholder {
1332
- color: var(--placeholder-color, #999);
1333
- }
1334
-
1335
- .global.receipt {
1336
- width: 35px;
1337
- height: 55px;
1338
- border-radius: 50%;
1339
- text-align: center;
1340
- margin-bottom: 5px;
1341
- border: 2px solid #fff;
1342
- cursor: pointer;
1343
- }
1344
- .icon-liuyan:before { content: "\E636"; }
1345
- .iconfont { font-family: iconfont !important; font-size: 30px; font-style: normal; }
1346
- .global.receipt > span { font-size: 12px; line-height: 20px; display: block; }
1347
-
1348
- .global.map {
1348
+ .global.tel {
1349
1349
  width: 35px;
1350
1350
  height: 55px;
1351
1351
  border-radius: 50%;
1352
1352
  text-align: center;
1353
- margin-bottom: 5px;
1353
+ margin-bottom: 15px;
1354
1354
  border: 2px solid #fff;
1355
1355
  cursor: pointer;
1356
1356
  }
1357
- .icon-daohang1:before { content: "\E612"; }
1357
+ .icon-dianhua:before { content: "\E60E"; }
1358
1358
  .iconfont { font-family: iconfont !important; font-size: 30px; font-style: normal; }
1359
- .global.map > span { font-size: 12px; line-height: 20px; display: block;}
1359
+ .global.tel > span { font-size: 12px; line-height: 20px; display: block;}
1360
1360
  .count-down .drag-point {
1361
1361
  cursor: default!important
1362
1362
  }
@@ -1519,50 +1519,7 @@ input::placeholder {
1519
1519
  align-items: center;
1520
1520
  white-space: nowrap
1521
1521
  }
1522
- .call {
1523
- position: absolute;
1524
- cursor: pointer;
1525
- user-select: none;
1526
- }
1527
-
1528
- .call .ani-wrap {
1529
- display: flex;
1530
- justify-content: center;
1531
- align-items: center;
1532
- width: 100%;
1533
- height: 100%;
1534
- overflow: hidden;
1535
- transition: opacity 0.2s;
1536
- }
1537
-
1538
- .call .ani-wrap:hover {
1539
- opacity: 0.9;
1540
- }
1541
-
1542
- .call-content {
1543
- display: flex;
1544
- align-items: center;
1545
- justify-content: center;
1546
- }
1547
-
1548
- .btn-text {
1549
- margin-left: 10px;
1550
- }
1551
-
1552
- /* 这里可以添加实际的电话图标样式 */
1553
- /* .iconfont.hb-tel {
1554
- display: inline-block;
1555
- width: 16px;
1556
- height: 16px;
1557
- background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M20.01 15.38c-1.23 0-2.42-.2-3.53-.56-.35-.12-.74-.03-1.01.24l-1.57 1.97c-2.83-1.35-5.48-3.9-6.89-6.83l1.95-1.66c.27-.28.35-.67.24-1.02-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-.99-.99H4.19C3.65 3 3 3.24 3 3.99 3 13.28 10.73 21 20.01 21c.71 0 .99-.63.99-1.18v-3.45c0-.54-.45-.99-.99-.99z"/></svg>');
1558
- background-repeat: no-repeat;
1559
- background-position: center;
1560
- background-size: contain;
1561
- } */
1562
1522
 
1563
- .hb-tel:before {
1564
- content: "\E642";
1565
- }
1566
1523
  @keyframes jumpheart {
1567
1524
  to {
1568
1525
  -webkit-transform: scale(1.2);
@@ -1904,6 +1861,49 @@ input::placeholder {
1904
1861
  }
1905
1862
  .icon-xingzhuangjiehe:before {
1906
1863
  content: "\E6A6";
1864
+ }.call {
1865
+ position: absolute;
1866
+ cursor: pointer;
1867
+ user-select: none;
1868
+ }
1869
+
1870
+ .call .ani-wrap {
1871
+ display: flex;
1872
+ justify-content: center;
1873
+ align-items: center;
1874
+ width: 100%;
1875
+ height: 100%;
1876
+ overflow: hidden;
1877
+ transition: opacity 0.2s;
1878
+ }
1879
+
1880
+ .call .ani-wrap:hover {
1881
+ opacity: 0.9;
1882
+ }
1883
+
1884
+ .call-content {
1885
+ display: flex;
1886
+ align-items: center;
1887
+ justify-content: center;
1888
+ }
1889
+
1890
+ .btn-text {
1891
+ margin-left: 10px;
1892
+ }
1893
+
1894
+ /* 这里可以添加实际的电话图标样式 */
1895
+ /* .iconfont.hb-tel {
1896
+ display: inline-block;
1897
+ width: 16px;
1898
+ height: 16px;
1899
+ background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M20.01 15.38c-1.23 0-2.42-.2-3.53-.56-.35-.12-.74-.03-1.01.24l-1.57 1.97c-2.83-1.35-5.48-3.9-6.89-6.83l1.95-1.66c.27-.28.35-.67.24-1.02-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-.99-.99H4.19C3.65 3 3 3.24 3 3.99 3 13.28 10.73 21 20.01 21c.71 0 .99-.63.99-1.18v-3.45c0-.54-.45-.99-.99-.99z"/></svg>');
1900
+ background-repeat: no-repeat;
1901
+ background-position: center;
1902
+ background-size: contain;
1903
+ } */
1904
+
1905
+ .hb-tel:before {
1906
+ content: "\E642";
1907
1907
  }.button {
1908
1908
  position: absolute;
1909
1909
  cursor: pointer;
@@ -1307,7 +1307,6 @@ var script$m = defineComponent({
1307
1307
  // 文本模式容器样式
1308
1308
  const textContainerStyle = computed(() => ({
1309
1309
  transform: getScaleValue(),
1310
- backgroundColor: props.element.css.backgroundColor,
1311
1310
  borderColor: props.element.css.borderColor,
1312
1311
  borderRadius: px2rem(props.element.css.borderRadius || 0, props.isPlatform),
1313
1312
  borderStyle: props.element.css.borderStyle,
@@ -1342,7 +1341,7 @@ var script$m = defineComponent({
1342
1341
  borderWidth: px2rem(props.element.css.borderWidth || 0, props.isPlatform),
1343
1342
  borderRadius: px2rem(props.element.css.borderRadius || 0, props.isPlatform),
1344
1343
  backgroundColor: props.element.css.backgroundColor,
1345
- margin: props.element.direction === 'vertical' ? '6px 0' : '0 6px'
1344
+ margin: props.element.direction === 'vertical' ? px2rem(6, props.isPlatform) + ' 0' : '0 ' + px2rem(6, props.isPlatform)
1346
1345
  }));
1347
1346
  // 数字样式
1348
1347
  const numStyle = computed(() => ({
@@ -1352,7 +1351,6 @@ var script$m = defineComponent({
1352
1351
  // 文本样式
1353
1352
  const textStyle = computed(() => ({
1354
1353
  color: props.element.css.color,
1355
- fontSize: px2rem(props.element.css.fontSize || 0, props.isPlatform),
1356
1354
  }));
1357
1355
  // 分隔符样式
1358
1356
  const separatorStyle = computed(() => ({
@@ -1364,7 +1362,6 @@ var script$m = defineComponent({
1364
1362
  // 计算动画容器的样式
1365
1363
  const aniWrapStyle = computed(() => {
1366
1364
  return {
1367
- backgroundColor: props.element.css.backgroundColor,
1368
1365
  borderRadius: px2rem(props.element.css.borderRadius || 0, props.isPlatform),
1369
1366
  borderColor: props.element.themeColor,
1370
1367
  borderStyle: props.element.css.borderStyle,
@@ -1507,14 +1504,6 @@ function render$j(_ctx, _cache, $props, $setup, $data, $options) {
1507
1504
  }, toDisplayString(_ctx.day), 5 /* TEXT, STYLE */)
1508
1505
  ])
1509
1506
  ], 4 /* STYLE */),
1510
- createCommentVNode(" 分隔符 "),
1511
- (_ctx.element.direction === 'across')
1512
- ? (openBlock(), createElementBlock("div", {
1513
- key: 0,
1514
- class: "separator",
1515
- style: normalizeStyle$1(_ctx.separatorStyle)
1516
- }, ":", 4 /* STYLE */))
1517
- : createCommentVNode("v-if", true),
1518
1507
  createCommentVNode(" 小时 "),
1519
1508
  createElementVNode("div", {
1520
1509
  class: "c-com c-hour",
@@ -1551,14 +1540,6 @@ function render$j(_ctx, _cache, $props, $setup, $data, $options) {
1551
1540
  }, toDisplayString(_ctx.hour), 5 /* TEXT, STYLE */)
1552
1541
  ])
1553
1542
  ], 4 /* STYLE */),
1554
- createCommentVNode(" 分隔符 "),
1555
- (_ctx.element.direction === 'across')
1556
- ? (openBlock(), createElementBlock("div", {
1557
- key: 1,
1558
- class: "separator",
1559
- style: normalizeStyle$1(_ctx.separatorStyle)
1560
- }, ":", 4 /* STYLE */))
1561
- : createCommentVNode("v-if", true),
1562
1543
  createCommentVNode(" 分钟 "),
1563
1544
  createElementVNode("div", {
1564
1545
  class: "c-com c-minute",
@@ -1595,14 +1576,6 @@ function render$j(_ctx, _cache, $props, $setup, $data, $options) {
1595
1576
  }, toDisplayString(_ctx.minute), 5 /* TEXT, STYLE */)
1596
1577
  ])
1597
1578
  ], 4 /* STYLE */),
1598
- createCommentVNode(" 分隔符 "),
1599
- (_ctx.element.direction === 'across')
1600
- ? (openBlock(), createElementBlock("div", {
1601
- key: 2,
1602
- class: "separator",
1603
- style: normalizeStyle$1(_ctx.separatorStyle)
1604
- }, ":", 4 /* STYLE */))
1605
- : createCommentVNode("v-if", true),
1606
1579
  createCommentVNode(" 秒钟 "),
1607
1580
  createElementVNode("div", {
1608
1581
  class: "c-com c-second",
@@ -1314,7 +1314,6 @@
1314
1314
  // 文本模式容器样式
1315
1315
  const textContainerStyle = vue.computed(() => ({
1316
1316
  transform: getScaleValue(),
1317
- backgroundColor: props.element.css.backgroundColor,
1318
1317
  borderColor: props.element.css.borderColor,
1319
1318
  borderRadius: px2rem(props.element.css.borderRadius || 0, props.isPlatform),
1320
1319
  borderStyle: props.element.css.borderStyle,
@@ -1349,7 +1348,7 @@
1349
1348
  borderWidth: px2rem(props.element.css.borderWidth || 0, props.isPlatform),
1350
1349
  borderRadius: px2rem(props.element.css.borderRadius || 0, props.isPlatform),
1351
1350
  backgroundColor: props.element.css.backgroundColor,
1352
- margin: props.element.direction === 'vertical' ? '6px 0' : '0 6px'
1351
+ margin: props.element.direction === 'vertical' ? px2rem(6, props.isPlatform) + ' 0' : '0 ' + px2rem(6, props.isPlatform)
1353
1352
  }));
1354
1353
  // 数字样式
1355
1354
  const numStyle = vue.computed(() => ({
@@ -1359,7 +1358,6 @@
1359
1358
  // 文本样式
1360
1359
  const textStyle = vue.computed(() => ({
1361
1360
  color: props.element.css.color,
1362
- fontSize: px2rem(props.element.css.fontSize || 0, props.isPlatform),
1363
1361
  }));
1364
1362
  // 分隔符样式
1365
1363
  const separatorStyle = vue.computed(() => ({
@@ -1371,7 +1369,6 @@
1371
1369
  // 计算动画容器的样式
1372
1370
  const aniWrapStyle = vue.computed(() => {
1373
1371
  return {
1374
- backgroundColor: props.element.css.backgroundColor,
1375
1372
  borderRadius: px2rem(props.element.css.borderRadius || 0, props.isPlatform),
1376
1373
  borderColor: props.element.themeColor,
1377
1374
  borderStyle: props.element.css.borderStyle,
@@ -1514,14 +1511,6 @@
1514
1511
  }, vue.toDisplayString(_ctx.day), 5 /* TEXT, STYLE */)
1515
1512
  ])
1516
1513
  ], 4 /* STYLE */),
1517
- vue.createCommentVNode(" 分隔符 "),
1518
- (_ctx.element.direction === 'across')
1519
- ? (vue.openBlock(), vue.createElementBlock("div", {
1520
- key: 0,
1521
- class: "separator",
1522
- style: vue.normalizeStyle(_ctx.separatorStyle)
1523
- }, ":", 4 /* STYLE */))
1524
- : vue.createCommentVNode("v-if", true),
1525
1514
  vue.createCommentVNode(" 小时 "),
1526
1515
  vue.createElementVNode("div", {
1527
1516
  class: "c-com c-hour",
@@ -1558,14 +1547,6 @@
1558
1547
  }, vue.toDisplayString(_ctx.hour), 5 /* TEXT, STYLE */)
1559
1548
  ])
1560
1549
  ], 4 /* STYLE */),
1561
- vue.createCommentVNode(" 分隔符 "),
1562
- (_ctx.element.direction === 'across')
1563
- ? (vue.openBlock(), vue.createElementBlock("div", {
1564
- key: 1,
1565
- class: "separator",
1566
- style: vue.normalizeStyle(_ctx.separatorStyle)
1567
- }, ":", 4 /* STYLE */))
1568
- : vue.createCommentVNode("v-if", true),
1569
1550
  vue.createCommentVNode(" 分钟 "),
1570
1551
  vue.createElementVNode("div", {
1571
1552
  class: "c-com c-minute",
@@ -1602,14 +1583,6 @@
1602
1583
  }, vue.toDisplayString(_ctx.minute), 5 /* TEXT, STYLE */)
1603
1584
  ])
1604
1585
  ], 4 /* STYLE */),
1605
- vue.createCommentVNode(" 分隔符 "),
1606
- (_ctx.element.direction === 'across')
1607
- ? (vue.openBlock(), vue.createElementBlock("div", {
1608
- key: 2,
1609
- class: "separator",
1610
- style: vue.normalizeStyle(_ctx.separatorStyle)
1611
- }, ":", 4 /* STYLE */))
1612
- : vue.createCommentVNode("v-if", true),
1613
1586
  vue.createCommentVNode(" 秒钟 "),
1614
1587
  vue.createElementVNode("div", {
1615
1588
  class: "c-com c-second",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.428",
3
+ "version": "1.0.430",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",