unika-components 1.0.376 → 1.0.377

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.
@@ -1,70 +1,34 @@
1
1
 
2
- .ele-text {
3
- position: relative;
2
+ .ele-shape {
3
+ position: absolute;
4
+ overflow: hidden;
4
5
  }
5
6
 
6
- .ele-text .ani-wrap {
7
+ .ani-wrap {
7
8
  width: 100%;
8
9
  height: 100%;
10
+ box-sizing: border-box;
9
11
  }
10
12
 
11
- .text-common {
12
- padding: 5px;
13
- text-orientation: upright;
14
- white-space: pre-wrap;
15
- }
16
-
17
- /* 文本动画类 */
18
- .text-fadeIn {
19
- animation: fadeIn 1s ease-in-out;
20
- }
21
-
22
- .text-slideIn {
23
- animation: slideIn 1s ease-in-out;
24
- }
25
-
26
- .text-bounceIn {
27
- animation: bounceIn 1s ease-in-out;
28
- }
29
-
30
- /* 基础动画关键帧 */
31
- @keyframes fadeIn {
32
- from {
33
- opacity: 0;
34
- }
35
- to {
36
- opacity: 1;
37
- }
13
+ .e-shape {
14
+ width: 100%;
15
+ height: 100%;
38
16
  }
39
17
 
40
- @keyframes slideIn {
41
- from {
42
- transform: translateY(20px);
43
- opacity: 0;
44
- }
45
- to {
46
- transform: translateY(0);
47
- opacity: 1;
48
- }
18
+ .svg-container :deep(svg) {
19
+ width: 100%;
20
+ height: 100%;
21
+ display: block;
49
22
  }
50
23
 
51
- @keyframes bounceIn {
52
- 0% {
53
- transform: scale(0.3);
54
- opacity: 0;
55
- }
56
- 50% {
57
- transform: scale(1.05);
58
- opacity: 0.8;
59
- }
60
- 70% {
61
- transform: scale(0.9);
62
- opacity: 0.9;
63
- }
64
- 100% {
65
- transform: scale(1);
66
- opacity: 1;
67
- }
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);
68
32
  }
69
33
 
70
34
  .ele-img {
@@ -117,44 +81,280 @@
117
81
  transform: scale(1);
118
82
  }
119
83
  }
84
+
85
+ .bohao-button {
86
+ position: absolute;
87
+ cursor: pointer;
88
+ user-select: none;
89
+ }
90
+
91
+ .bohao-container {
92
+ display: flex;
93
+ justify-content: center;
94
+ align-items: center;
95
+ width: 100%;
96
+ height: 100%;
97
+ overflow: hidden;
98
+ transition: opacity 0.2s;
99
+ }
100
+
101
+ .bohao-container:hover {
102
+ opacity: 0.9;
103
+ }
104
+
105
+ .bohao-content {
106
+ display: flex;
107
+ align-items: center;
108
+ justify-content: center;
109
+ }
110
+
111
+ .btn-text {
112
+ margin-left: 10px;
113
+ }
114
+
115
+ /* 这里可以添加实际的电话图标样式 */
116
+ .iconfont.hb-tel {
117
+ display: inline-block;
118
+ width: 16px;
119
+ height: 16px;
120
+ 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>');
121
+ background-repeat: no-repeat;
122
+ background-position: center;
123
+ background-size: contain;
124
+ }
120
125
 
121
- .ele-shape {
122
- position: absolute;
123
- overflow: hidden;
126
+ .ele-text {
127
+ position: relative;
124
128
  }
125
129
 
126
- .ani-wrap {
130
+ .ele-text .ani-wrap {
127
131
  width: 100%;
128
132
  height: 100%;
129
- box-sizing: border-box;
130
133
  }
131
134
 
132
- .e-shape {
133
- width: 100%;
134
- height: 100%;
135
+ .text-common {
136
+ padding: 5px;
137
+ text-orientation: upright;
138
+ white-space: pre-wrap;
135
139
  }
136
140
 
137
- .svg-container :deep(svg) {
138
- width: 100%;
139
- height: 100%;
140
- display: block;
141
+ /* 文本动画类 */
142
+ .text-fadeIn {
143
+ animation: fadeIn 1s ease-in-out;
141
144
  }
142
145
 
143
- .svg-loading,
144
- .svg-error {
145
- display: flex;
146
- align-items: center;
147
- justify-content: center;
148
- width: 100%;
149
- height: 100%;
150
- background: rgba(0,0,0,0.05);
146
+ .text-slideIn {
147
+ animation: slideIn 1s ease-in-out;
148
+ }
149
+
150
+ .text-bounceIn {
151
+ animation: bounceIn 1s ease-in-out;
152
+ }
153
+
154
+ /* 基础动画关键帧 */
155
+ @keyframes fadeIn {
156
+ from {
157
+ opacity: 0;
158
+ }
159
+ to {
160
+ opacity: 1;
161
+ }
162
+ }
163
+
164
+ @keyframes slideIn {
165
+ from {
166
+ transform: translateY(20px);
167
+ opacity: 0;
168
+ }
169
+ to {
170
+ transform: translateY(0);
171
+ opacity: 1;
172
+ }
151
173
  }
174
+
175
+ @keyframes bounceIn {
176
+ 0% {
177
+ transform: scale(0.3);
178
+ opacity: 0;
179
+ }
180
+ 50% {
181
+ transform: scale(1.05);
182
+ opacity: 0.8;
183
+ }
184
+ 70% {
185
+ transform: scale(0.9);
186
+ opacity: 0.9;
187
+ }
188
+ 100% {
189
+ transform: scale(1);
190
+ opacity: 1;
191
+ }
192
+ }
193
+
194
+ .count-down .drag-point {
195
+ cursor: default!important
196
+ }
197
+
198
+ .count-down .ani-wrap {
199
+ width: 100%;
200
+ height: 100%
201
+ }
202
+
203
+ .count-down .count-text,.count-down .finish-cont {
204
+ display: -webkit-box;
205
+ display: -ms-flexbox;
206
+ display: flex;
207
+ height: 100%;
208
+ -webkit-box-align: center;
209
+ -ms-flex-align: center;
210
+ align-items: center;
211
+ -webkit-box-pack: center;
212
+ -ms-flex-pack: center;
213
+ justify-content: center
214
+ }
215
+
216
+ .count-down .finish-cont {
217
+ width: 100%
218
+ }
219
+
220
+ .count-down .count-flip {
221
+ display: -webkit-box;
222
+ display: -ms-flexbox;
223
+ display: flex;
224
+ height: 100%;
225
+ -webkit-box-align: center;
226
+ -ms-flex-align: center;
227
+ align-items: center;
228
+ -webkit-box-pack: center;
229
+ -ms-flex-pack: center;
230
+ justify-content: center
231
+ }
232
+
233
+ .count-down .count-flip .numscroll {
234
+ -webkit-animation: numscroll .4s ease-in-out;
235
+ animation: numscroll .4s ease-in-out;
236
+ -webkit-animation-fill-mode: both;
237
+ animation-fill-mode: both
238
+ }
239
+
240
+ .count-down .count-flip .numscroll .curr-num {
241
+ -webkit-transition: all .3s ease-in-out;
242
+ transition: all .3s ease-in-out;
243
+ opacity: .6;
244
+ -webkit-transform: scale(.5)!important;
245
+ transform: scale(.5)!important
246
+ }
247
+
248
+ @-webkit-keyframes numscroll {
249
+ 0% {
250
+ -webkit-transform: translateZ(0);
251
+ transform: translateZ(0)
252
+ }
253
+
254
+ to {
255
+ -webkit-transform: translate3d(0,100%,0);
256
+ transform: translate3d(0,100%,0)
257
+ }
258
+ }
259
+
260
+ @keyframes numscroll {
261
+ 0% {
262
+ -webkit-transform: translateZ(0);
263
+ transform: translateZ(0)
264
+ }
265
+
266
+ to {
267
+ -webkit-transform: translate3d(0,100%,0);
268
+ transform: translate3d(0,100%,0)
269
+ }
270
+ }
271
+
272
+ .count-down .count-flip .c-com {
273
+ min-width: 50px;
274
+ height: auto;
275
+ margin: 6px;
276
+ padding: 5px 0 6px;
277
+ background-color: #111
278
+ }
279
+
280
+ .count-down .count-flip .c-com .flex-wrap {
281
+ display: -webkit-box;
282
+ display: -ms-flexbox;
283
+ display: flex;
284
+ position: relative;
285
+ width: 100%;
286
+ height: 100%;
287
+ -webkit-box-align: center;
288
+ -ms-flex-align: center;
289
+ align-items: center
290
+ }
291
+
292
+ .count-down .count-flip .c-com .flex-wrap .curr-num,.count-down .count-flip .c-com .flex-wrap .next-num {
293
+ line-height: 27px
294
+ }
295
+
296
+ .count-down .count-flip .c-com .flex-wrap .next-num {
297
+ position: absolute;
298
+ top: -100%
299
+ }
300
+
301
+ .count-down .count-flip .c-com .flex-wrap .curr-num {
302
+ -webkit-transform: scale(1);
303
+ transform: scale(1)
304
+ }
305
+
306
+ .count-down .bottom-center,.count-down .left-bottom,.count-down .left-center,.count-down .left-top,.count-down .right-bottom,.count-down .right-center,.count-down .right-top,.count-down .top-center {
307
+ display: none!important
308
+ }
309
+
310
+ .c-wrap {
311
+ width: 100%;
312
+ height: 100%;
313
+ overflow: hidden;
314
+ font-size: 0
315
+ }
152
316
 
153
- .uni-lotties-component {
154
- width: 100%;
155
- height: 100%;
317
+ .c-wrap.c-day-wrap {
318
+ text-align: center
319
+ }
320
+
321
+ .c-wrap.c-day-wrap .c-num {
322
+ width: auto
323
+ }
324
+
325
+ .c-wrap .c-num {
326
+ display: inline-block;
327
+ width: 50%;
328
+ overflow: hidden;
329
+ font-size: 20px;
330
+ color: #999
331
+ }
332
+
333
+ .c-wrap .c-left .flex-wrap {
334
+ display: -webkit-box;
335
+ display: -ms-flexbox;
336
+ display: flex;
337
+ -webkit-box-pack: end;
338
+ -ms-flex-pack: end;
339
+ justify-content: flex-end
156
340
  }
157
341
 
342
+ .c-wrap .c-text {
343
+ display: -webkit-box;
344
+ display: -ms-flexbox;
345
+ display: flex;
346
+ width: 100%;
347
+ font-size: 12px;
348
+ -webkit-box-pack: center;
349
+ -ms-flex-pack: center;
350
+ justify-content: center;
351
+ -webkit-box-align: center;
352
+ -ms-flex-align: center;
353
+ align-items: center;
354
+ white-space: nowrap
355
+ }
356
+
357
+
158
358
  @font-face {
159
359
  font-family: "iconfont"; /* Project id 3350423 */
160
360
  src: url('//at.alicdn.com/t/c/font_3350423_yo5fsq7j90g.woff2?t=1737679854669') format('woff2'),
@@ -585,272 +785,91 @@
585
785
  background: #fff;
586
786
  }
587
787
 
588
- .video-player {
589
- position: absolute;
590
- overflow: hidden;
591
- background-color: #000;
592
- }
593
-
594
- .video-container {
595
- width: 100%;
596
- height: 100%;
597
- }
598
-
599
- .video-container iframe {
600
- width: 100%;
601
- height: 100%;
602
- border: none;
603
- }
604
-
605
- .video-cover {
606
- position: relative;
607
- width: 100%;
608
- height: 100%;
609
- background-size: cover;
610
- background-position: center;
611
- cursor: pointer;
612
- }
613
-
614
- .video-cover .play-btn {
615
- position: absolute;
616
- left: 50%;
617
- top: 50%;
618
- transform: translate(-50%, -50%);
619
- width: 50px;
620
- height: 50px;
621
- opacity: 0.8;
622
- transition: opacity 0.2s;
623
- }
624
-
625
- .video-cover:hover .play-btn {
626
- opacity: 1;
627
- }
628
-
629
- .like-button {
630
- display: flex;
631
- flex-direction: column;
632
- align-items: center;
633
- cursor: pointer;
634
- }
635
-
636
- .icon-heart {
637
- font-size: 24px;
638
- color: #e74c3c;
639
- }
640
-
641
- .liked {
642
- color: #f00; /* 更改颜色以示已赞 */
643
- }
644
-
645
- .like-count {
646
- margin-top: 4px;
647
- font-size: 16px;
648
- color: #333;
649
- }
650
-
651
- .count-down .drag-point {
652
- cursor: default!important
653
- }
654
-
655
- .count-down .ani-wrap {
656
- width: 100%;
657
- height: 100%
658
- }
659
-
660
- .count-down .count-text,.count-down .finish-cont {
661
- display: -webkit-box;
662
- display: -ms-flexbox;
663
- display: flex;
664
- height: 100%;
665
- -webkit-box-align: center;
666
- -ms-flex-align: center;
667
- align-items: center;
668
- -webkit-box-pack: center;
669
- -ms-flex-pack: center;
670
- justify-content: center
671
- }
672
-
673
- .count-down .finish-cont {
674
- width: 100%
675
- }
676
-
677
- .count-down .count-flip {
678
- display: -webkit-box;
679
- display: -ms-flexbox;
680
- display: flex;
681
- height: 100%;
682
- -webkit-box-align: center;
683
- -ms-flex-align: center;
684
- align-items: center;
685
- -webkit-box-pack: center;
686
- -ms-flex-pack: center;
687
- justify-content: center
688
- }
689
-
690
- .count-down .count-flip .numscroll {
691
- -webkit-animation: numscroll .4s ease-in-out;
692
- animation: numscroll .4s ease-in-out;
693
- -webkit-animation-fill-mode: both;
694
- animation-fill-mode: both
695
- }
696
-
697
- .count-down .count-flip .numscroll .curr-num {
698
- -webkit-transition: all .3s ease-in-out;
699
- transition: all .3s ease-in-out;
700
- opacity: .6;
701
- -webkit-transform: scale(.5)!important;
702
- transform: scale(.5)!important
703
- }
704
-
705
- @-webkit-keyframes numscroll {
706
- 0% {
707
- -webkit-transform: translateZ(0);
708
- transform: translateZ(0)
709
- }
710
-
711
- to {
712
- -webkit-transform: translate3d(0,100%,0);
713
- transform: translate3d(0,100%,0)
714
- }
715
- }
716
-
717
- @keyframes numscroll {
718
- 0% {
719
- -webkit-transform: translateZ(0);
720
- transform: translateZ(0)
721
- }
722
-
723
- to {
724
- -webkit-transform: translate3d(0,100%,0);
725
- transform: translate3d(0,100%,0)
726
- }
727
- }
728
-
729
- .count-down .count-flip .c-com {
730
- min-width: 50px;
731
- height: auto;
732
- margin: 6px;
733
- padding: 5px 0 6px;
734
- background-color: #111
735
- }
736
-
737
- .count-down .count-flip .c-com .flex-wrap {
738
- display: -webkit-box;
739
- display: -ms-flexbox;
740
- display: flex;
741
- position: relative;
742
- width: 100%;
743
- height: 100%;
744
- -webkit-box-align: center;
745
- -ms-flex-align: center;
746
- align-items: center
747
- }
748
-
749
- .count-down .count-flip .c-com .flex-wrap .curr-num,.count-down .count-flip .c-com .flex-wrap .next-num {
750
- line-height: 27px
751
- }
752
-
753
- .count-down .count-flip .c-com .flex-wrap .next-num {
754
- position: absolute;
755
- top: -100%
756
- }
757
-
758
- .count-down .count-flip .c-com .flex-wrap .curr-num {
759
- -webkit-transform: scale(1);
760
- transform: scale(1)
761
- }
762
-
763
- .count-down .bottom-center,.count-down .left-bottom,.count-down .left-center,.count-down .left-top,.count-down .right-bottom,.count-down .right-center,.count-down .right-top,.count-down .top-center {
764
- display: none!important
765
- }
766
-
767
- .c-wrap {
788
+ .element-ditu .ani-wrap {
768
789
  width: 100%;
769
790
  height: 100%;
770
- overflow: hidden;
771
- font-size: 0
772
- }
773
-
774
- .c-wrap.c-day-wrap {
775
- text-align: center
776
- }
777
-
778
- .c-wrap.c-day-wrap .c-num {
779
- width: auto
780
- }
781
-
782
- .c-wrap .c-num {
783
- display: inline-block;
784
- width: 50%;
785
- overflow: hidden;
786
- font-size: 20px;
787
- color: #999
791
+ overflow: hidden
788
792
  }
789
793
 
790
- .c-wrap .c-left .flex-wrap {
791
- display: -webkit-box;
792
- display: -ms-flexbox;
793
- display: flex;
794
- -webkit-box-pack: end;
795
- -ms-flex-pack: end;
796
- justify-content: flex-end
794
+ .element-ditu .map {
795
+ width: 100%;
796
+ height: 100%
797
797
  }
798
798
 
799
- .c-wrap .c-text {
799
+ .element-ditu .map .el-button {
800
+ width: 100%;
801
+ height: 100%;
800
802
  display: -webkit-box;
801
803
  display: -ms-flexbox;
802
804
  display: flex;
803
- width: 100%;
804
- font-size: 12px;
805
- -webkit-box-pack: center;
806
- -ms-flex-pack: center;
807
- justify-content: center;
808
805
  -webkit-box-align: center;
809
806
  -ms-flex-align: center;
810
807
  align-items: center;
811
- white-space: nowrap
808
+ padding: 0;
809
+ -webkit-box-pack: center;
810
+ -ms-flex-pack: center;
811
+ justify-content: center;
812
+ background: inherit;
813
+ color: inherit;
814
+ border: none
812
815
  }
813
816
 
817
+ .element-ditu .center-map {
818
+ width: 100%;
819
+ height: 100%;
820
+ background: #fff
821
+ }
814
822
 
815
- .bohao-button {
823
+ .element-ditu .mask-map {
824
+ position: absolute;
825
+ width: 100%;
826
+ height: 100%;
827
+ top: 0
828
+ }
829
+ .map-iframe {
830
+ width: 100%;
831
+ height: 100%;
832
+ }
833
+
834
+ .video-player {
816
835
  position: absolute;
817
- cursor: pointer;
818
- user-select: none;
836
+ overflow: hidden;
837
+ background-color: #000;
819
838
  }
820
839
 
821
- .bohao-container {
822
- display: flex;
823
- justify-content: center;
824
- align-items: center;
840
+ .video-container {
825
841
  width: 100%;
826
842
  height: 100%;
827
- overflow: hidden;
828
- transition: opacity 0.2s;
829
843
  }
830
844
 
831
- .bohao-container:hover {
832
- opacity: 0.9;
845
+ .video-container iframe {
846
+ width: 100%;
847
+ height: 100%;
848
+ border: none;
833
849
  }
834
850
 
835
- .bohao-content {
836
- display: flex;
837
- align-items: center;
838
- justify-content: center;
851
+ .video-cover {
852
+ position: relative;
853
+ width: 100%;
854
+ height: 100%;
855
+ background-size: cover;
856
+ background-position: center;
857
+ cursor: pointer;
839
858
  }
840
859
 
841
- .btn-text {
842
- margin-left: 10px;
860
+ .video-cover .play-btn {
861
+ position: absolute;
862
+ left: 50%;
863
+ top: 50%;
864
+ transform: translate(-50%, -50%);
865
+ width: 50px;
866
+ height: 50px;
867
+ opacity: 0.8;
868
+ transition: opacity 0.2s;
843
869
  }
844
870
 
845
- /* 这里可以添加实际的电话图标样式 */
846
- .iconfont.hb-tel {
847
- display: inline-block;
848
- width: 16px;
849
- height: 16px;
850
- 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>');
851
- background-repeat: no-repeat;
852
- background-position: center;
853
- background-size: contain;
871
+ .video-cover:hover .play-btn {
872
+ opacity: 1;
854
873
  }
855
874
 
856
875
  .effect-container {
@@ -910,6 +929,73 @@
910
929
  animation: snow 5s linear infinite
911
930
  }
912
931
 
932
+ .uni-build-up-component {
933
+ }
934
+
935
+ .like-button {
936
+ display: flex;
937
+ flex-direction: column;
938
+ align-items: center;
939
+ cursor: pointer;
940
+ }
941
+
942
+ .icon-heart {
943
+ font-size: 24px;
944
+ color: #e74c3c;
945
+ }
946
+
947
+ .liked {
948
+ color: #f00; /* 更改颜色以示已赞 */
949
+ }
950
+
951
+ .like-count {
952
+ margin-top: 4px;
953
+ font-size: 16px;
954
+ color: #333;
955
+ }
956
+
957
+ .ant-input-number {
958
+ box-sizing: border-box;
959
+ margin: 0;
960
+ padding: 0;
961
+ color: rgba(0, 0, 0, 0.88);
962
+ font-size: 14px;
963
+ line-height: 1.5714285714285714;
964
+ list-style: none;
965
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
966
+ position: relative;
967
+ display: inline-block;
968
+ width: 100%;
969
+ min-width: 0;
970
+ background-color: #ffffff;
971
+ background-image: none;
972
+ border-width: 1px;
973
+ border-style: solid;
974
+ border-color: #d9d9d9;
975
+ border-radius: 6px;
976
+ transition: all 0.2s;
977
+ border: 1px solid #d9d9d9;
978
+ }
979
+ .ant-form-item {
980
+ box-sizing: border-box;
981
+ margin: 0;
982
+ padding: 0;
983
+ color: rgba(0, 0, 0, 0.88);
984
+ font-size: 14px;
985
+ line-height: 1.5714285714285714;
986
+ list-style: none;
987
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
988
+ margin-bottom: 0px;
989
+ vertical-align: top;
990
+ }
991
+
992
+ /* 设计稿尺寸(如375px下20px的按钮) */
993
+ .btn {
994
+ width: 20px; /* 直接写设计稿px */
995
+ height: 10px;
996
+ font-size: 14px;
997
+ }
998
+
913
999
  /* Iconfont definition moved here for completeness */
914
1000
  @font-face {
915
1001
  font-family: iconfont;
@@ -1112,155 +1198,140 @@ i {
1112
1198
  box-sizing: border-box;
1113
1199
  }
1114
1200
 
1115
- .input-field {
1116
- height: 45px;
1117
- }
1118
-
1119
- .textarea-field {
1120
- height: 100px;
1121
- resize: none;
1122
- }
1123
-
1124
- .submit-btn {
1125
- width: 100%;
1126
- height: 45px;
1127
- background: #ff4d4f;
1128
- color: white;
1129
- border: none;
1130
- border-radius: 6px;
1131
- font-size: 16px;
1132
- cursor: pointer;
1133
- margin-top: 10px;
1134
- }
1135
-
1136
- .submit-btn:hover {
1137
- background: #ff7875;
1138
- }
1139
-
1140
- /* Original iconfont and icon rules - kept for reference but refined above */
1141
- /*
1142
- #toolbarNew .toolbar .bar-left .iconfont.icon-danmuliebiao1 {
1143
- right: 3px;
1144
- font-size: 16px;
1145
- font-weight: 400;
1146
- }
1147
-
1148
- #toolbarNew .toolbar .bar-left .iconfont {
1149
- position: absolute;
1150
- top: 50%;
1151
- color: #f2f2f2;
1152
- padding: 5px 5px 5px 0;
1153
- transform: translateY(-50%);
1154
- }
1155
- */
1156
-
1157
- .uni-build-up-component {
1158
- }
1159
-
1160
- .ant-input-number {
1161
- box-sizing: border-box;
1162
- margin: 0;
1163
- padding: 0;
1164
- color: rgba(0, 0, 0, 0.88);
1165
- font-size: 14px;
1166
- line-height: 1.5714285714285714;
1167
- list-style: none;
1168
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
1169
- position: relative;
1170
- display: inline-block;
1171
- width: 100%;
1172
- min-width: 0;
1173
- background-color: #ffffff;
1174
- background-image: none;
1175
- border-width: 1px;
1176
- border-style: solid;
1177
- border-color: #d9d9d9;
1178
- border-radius: 6px;
1179
- transition: all 0.2s;
1180
- border: 1px solid #d9d9d9;
1181
- }
1182
- .ant-form-item {
1183
- box-sizing: border-box;
1184
- margin: 0;
1185
- padding: 0;
1186
- color: rgba(0, 0, 0, 0.88);
1187
- font-size: 14px;
1188
- line-height: 1.5714285714285714;
1189
- list-style: none;
1190
- font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';
1191
- margin-bottom: 0px;
1192
- vertical-align: top;
1193
- }
1194
-
1195
- .form-submit {
1196
- cursor: pointer;
1197
- transition: all 0.2s;
1198
- outline: none;
1199
- border: none;
1200
- }
1201
-
1202
- .form-submit:hover {
1203
- opacity: 0.9;
1204
- transform: translateY(-1px);
1205
- }
1206
-
1207
- .form-submit:active {
1208
- opacity: 0.8;
1209
- transform: translateY(0);
1210
- }
1211
-
1212
- .form-submit:disabled {
1213
- opacity: 0.6;
1214
- cursor: not-allowed;
1215
- transform: none !important;
1216
- }
1201
+ .input-field {
1202
+ height: 45px;
1203
+ }
1217
1204
 
1218
- .element-ditu .ani-wrap {
1219
- width: 100%;
1220
- height: 100%;
1221
- overflow: hidden
1205
+ .textarea-field {
1206
+ height: 100px;
1207
+ resize: none;
1222
1208
  }
1223
1209
 
1224
- .element-ditu .map {
1225
- width: 100%;
1226
- height: 100%
1210
+ .submit-btn {
1211
+ width: 100%;
1212
+ height: 45px;
1213
+ background: #ff4d4f;
1214
+ color: white;
1215
+ border: none;
1216
+ border-radius: 6px;
1217
+ font-size: 16px;
1218
+ cursor: pointer;
1219
+ margin-top: 10px;
1227
1220
  }
1228
1221
 
1229
- .element-ditu .map .el-button {
1230
- width: 100%;
1231
- height: 100%;
1232
- display: -webkit-box;
1233
- display: -ms-flexbox;
1234
- display: flex;
1235
- -webkit-box-align: center;
1236
- -ms-flex-align: center;
1237
- align-items: center;
1238
- padding: 0;
1239
- -webkit-box-pack: center;
1240
- -ms-flex-pack: center;
1241
- justify-content: center;
1242
- background: inherit;
1243
- color: inherit;
1244
- border: none
1222
+ .submit-btn:hover {
1223
+ background: #ff7875;
1245
1224
  }
1246
1225
 
1247
- .element-ditu .center-map {
1248
- width: 100%;
1249
- height: 100%;
1250
- background: #fff
1226
+ /* Original iconfont and icon rules - kept for reference but refined above */
1227
+ /*
1228
+ #toolbarNew .toolbar .bar-left .iconfont.icon-danmuliebiao1 {
1229
+ right: 3px;
1230
+ font-size: 16px;
1231
+ font-weight: 400;
1251
1232
  }
1252
1233
 
1253
- .element-ditu .mask-map {
1254
- position: absolute;
1255
- width: 100%;
1256
- height: 100%;
1257
- top: 0
1234
+ #toolbarNew .toolbar .bar-left .iconfont {
1235
+ position: absolute;
1236
+ top: 50%;
1237
+ color: #f2f2f2;
1238
+ padding: 5px 5px 5px 0;
1239
+ transform: translateY(-50%);
1258
1240
  }
1259
- .map-iframe {
1260
- width: 100%;
1261
- height: 100%;
1241
+ */
1242
+
1243
+ .uni-lotties-component {
1244
+ width: 100%;
1245
+ height: 100%;
1262
1246
  }
1263
1247
 
1248
+ .form-input {
1249
+ position: absolute;
1250
+ }
1251
+
1252
+ .input-wrapper {
1253
+ display: flex;
1254
+ align-items: center;
1255
+ width: 100%;
1256
+ height: 100%;
1257
+ padding: 0 10px;
1258
+ box-sizing: border-box;
1259
+ position: relative; /* 为错误提示添加定位上下文 */
1260
+ transition: border-color 0.3s;
1261
+ }
1262
+
1263
+ .required-marker {
1264
+ color: red;
1265
+ margin-right: 5px;
1266
+ }
1267
+
1268
+ input {
1269
+ flex: 1;
1270
+ border: none;
1271
+ outline: none;
1272
+ background: transparent;
1273
+ height: 100%;
1274
+ padding: 0;
1275
+ margin: 0;
1276
+ padding-right: 20px; /* 为错误图标留出空间 */
1277
+ }
1278
+
1279
+ input::placeholder {
1280
+ color: #ccc;
1281
+ opacity: 1;
1282
+ }
1283
+
1284
+ /* 内联错误样式 */
1285
+ .inline-error {
1286
+ position: absolute;
1287
+ right: 10px;
1288
+ display: flex;
1289
+ align-items: center;
1290
+ }
1291
+
1292
+ .error-icon {
1293
+ display: inline-block;
1294
+ width: 16px;
1295
+ height: 16px;
1296
+ line-height: 16px;
1297
+ text-align: center;
1298
+ border-radius: 50%;
1299
+ background-color: #ff4d4f;
1300
+ color: white;
1301
+ font-size: 12px;
1302
+ font-weight: bold;
1303
+ margin-left: 5px;
1304
+ }
1305
+
1306
+ .error-tooltip {
1307
+ position: absolute;
1308
+ right: 0;
1309
+ top: 100%;
1310
+ background-color: #ff4d4f;
1311
+ color: white;
1312
+ padding: 4px 8px;
1313
+ border-radius: 4px;
1314
+ font-size: 12px;
1315
+ white-space: nowrap;
1316
+ opacity: 0;
1317
+ transition: opacity 0.3s;
1318
+ pointer-events: none;
1319
+ }
1320
+
1321
+ .error-icon:hover + .error-tooltip {
1322
+ opacity: 1;
1323
+ }
1324
+
1325
+ .uni-svg-component {
1326
+ display: inline-block;
1327
+ }
1328
+
1329
+ .form-container {
1330
+ position: relative;
1331
+ width: 100%;
1332
+ height: 100%;
1333
+ }
1334
+
1264
1335
  body, html {
1265
1336
  width: 100%;
1266
1337
  height: 100%;
@@ -1656,99 +1727,28 @@ body, html {
1656
1727
  background-position: center;
1657
1728
  will-change: transform;
1658
1729
  }
1659
-
1660
- /* 设计稿尺寸(如375px下20px的按钮) */
1661
- .btn {
1662
- width: 20px; /* 直接写设计稿px */
1663
- height: 10px;
1664
- font-size: 14px;
1665
- }
1666
-
1667
- .uni-svg-component {
1668
- display: inline-block;
1669
- }
1670
-
1671
- .form-container {
1672
- position: relative;
1673
- width: 100%;
1674
- height: 100%;
1675
- }
1676
-
1677
- .form-input {
1678
- position: absolute;
1679
- }
1680
-
1681
- .input-wrapper {
1682
- display: flex;
1683
- align-items: center;
1684
- width: 100%;
1685
- height: 100%;
1686
- padding: 0 10px;
1687
- box-sizing: border-box;
1688
- position: relative; /* 为错误提示添加定位上下文 */
1689
- transition: border-color 0.3s;
1690
- }
1691
-
1692
- .required-marker {
1693
- color: red;
1694
- margin-right: 5px;
1695
- }
1696
1730
 
1697
- input {
1698
- flex: 1;
1699
- border: none;
1731
+ .form-submit {
1732
+ cursor: pointer;
1733
+ transition: all 0.2s;
1700
1734
  outline: none;
1701
- background: transparent;
1702
- height: 100%;
1703
- padding: 0;
1704
- margin: 0;
1705
- padding-right: 20px; /* 为错误图标留出空间 */
1706
- }
1707
-
1708
- input::placeholder {
1709
- color: #ccc;
1710
- opacity: 1;
1711
- }
1712
-
1713
- /* 内联错误样式 */
1714
- .inline-error {
1715
- position: absolute;
1716
- right: 10px;
1717
- display: flex;
1718
- align-items: center;
1735
+ border: none;
1719
1736
  }
1720
1737
 
1721
- .error-icon {
1722
- display: inline-block;
1723
- width: 16px;
1724
- height: 16px;
1725
- line-height: 16px;
1726
- text-align: center;
1727
- border-radius: 50%;
1728
- background-color: #ff4d4f;
1729
- color: white;
1730
- font-size: 12px;
1731
- font-weight: bold;
1732
- margin-left: 5px;
1738
+ .form-submit:hover {
1739
+ opacity: 0.9;
1740
+ transform: translateY(-1px);
1733
1741
  }
1734
1742
 
1735
- .error-tooltip {
1736
- position: absolute;
1737
- right: 0;
1738
- top: 100%;
1739
- background-color: #ff4d4f;
1740
- color: white;
1741
- padding: 4px 8px;
1742
- border-radius: 4px;
1743
- font-size: 12px;
1744
- white-space: nowrap;
1745
- opacity: 0;
1746
- transition: opacity 0.3s;
1747
- pointer-events: none;
1743
+ .form-submit:active {
1744
+ opacity: 0.8;
1745
+ transform: translateY(0);
1748
1746
  }
1749
1747
 
1750
- .error-icon:hover + .error-tooltip {
1751
- opacity: 1;
1748
+ .form-submit:disabled {
1749
+ opacity: 0.6;
1750
+ cursor: not-allowed;
1751
+ transform: none !important;
1752
1752
  }
1753
1753
 
1754
1754
  .page-indicator {
@@ -6017,7 +6017,7 @@ var script$g = defineComponent({
6017
6017
  // Extract YouTube video ID from embed code
6018
6018
  const youtubeVideoId = computed(() => {
6019
6019
  const embedCode = props.element.videoCode || '';
6020
- const match = embedCode.match(/bvid=([^&]+)/);
6020
+ const match = embedCode.match(/youtu\.be\/([^?&]+)/);
6021
6021
  return match ? match[1] : '';
6022
6022
  });
6023
6023
  const youtubeEmbedUrl = computed(() => {
@@ -6054,7 +6054,7 @@ const _hoisted_1$d = {
6054
6054
  };
6055
6055
  const _hoisted_2$9 = ["src"];
6056
6056
  const _hoisted_3$8 = /*#__PURE__*/ _withScopeId$6(() => /*#__PURE__*/createElementVNode("img", {
6057
- src: "https://h5cdn.hunbei.com/play1.png",
6057
+ src: "https://unika-static-dev.oss-ap-southeast-7.aliyuncs.com/button.png",
6058
6058
  alt: "Play button",
6059
6059
  class: "play-btn"
6060
6060
  }, null, -1 /* HOISTED */));
@@ -6082,6 +6082,7 @@ function render$j(_ctx, _cache, $props, $setup, $data, $options) {
6082
6082
  ? (openBlock(), createElementBlock("div", _hoisted_1$d, [
6083
6083
  createElementVNode("iframe", {
6084
6084
  src: _ctx.youtubeEmbedUrl,
6085
+ type: "text/html",
6085
6086
  frameborder: "0",
6086
6087
  allowfullscreen: "",
6087
6088
  scrolling: "no",
@@ -6021,7 +6021,7 @@
6021
6021
  // Extract YouTube video ID from embed code
6022
6022
  const youtubeVideoId = vue.computed(() => {
6023
6023
  const embedCode = props.element.videoCode || '';
6024
- const match = embedCode.match(/bvid=([^&]+)/);
6024
+ const match = embedCode.match(/youtu\.be\/([^?&]+)/);
6025
6025
  return match ? match[1] : '';
6026
6026
  });
6027
6027
  const youtubeEmbedUrl = vue.computed(() => {
@@ -6058,7 +6058,7 @@
6058
6058
  };
6059
6059
  const _hoisted_2$9 = ["src"];
6060
6060
  const _hoisted_3$8 = /*#__PURE__*/ _withScopeId$6(() => /*#__PURE__*/vue.createElementVNode("img", {
6061
- src: "https://h5cdn.hunbei.com/play1.png",
6061
+ src: "https://unika-static-dev.oss-ap-southeast-7.aliyuncs.com/button.png",
6062
6062
  alt: "Play button",
6063
6063
  class: "play-btn"
6064
6064
  }, null, -1 /* HOISTED */));
@@ -6086,6 +6086,7 @@
6086
6086
  ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$d, [
6087
6087
  vue.createElementVNode("iframe", {
6088
6088
  src: _ctx.youtubeEmbedUrl,
6089
+ type: "text/html",
6089
6090
  frameborder: "0",
6090
6091
  allowfullscreen: "",
6091
6092
  scrolling: "no",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.376",
3
+ "version": "1.0.377",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",