unika-components 1.0.365 → 1.0.366

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.
@@ -98,6 +98,120 @@
98
98
  opacity: 1;
99
99
  }
100
100
  }
101
+
102
+ #audio {
103
+ position: absolute;
104
+ right: 10px;
105
+ top: 10px;
106
+ z-index: 103;
107
+ width: 30px;
108
+ height: 30px;
109
+ display: flex;
110
+ align-items: center;
111
+ }
112
+
113
+ #audio .mrotate {
114
+ animation: mrotate 5s linear infinite;
115
+ }
116
+
117
+ @keyframes mrotate {
118
+ to {
119
+ transform: rotate(1turn);
120
+ }
121
+ }
122
+
123
+ #audio .audio {
124
+ width: 100%;
125
+ height: 100%;
126
+ display: flex;
127
+ align-items: center;
128
+ justify-content: center;
129
+ color: #fff;
130
+ background: #666;
131
+ border-radius: 50%;
132
+ overflow: hidden;
133
+ cursor: pointer;
134
+ transition: all 0.3s ease;
135
+ }
136
+
137
+ #audio .audio.a-border {
138
+ border: 1px solid #fff;
139
+ }
140
+
141
+ #audio .audio .music-icon {
142
+ display: block;
143
+ width: 60%;
144
+ height: 60%;
145
+ object-fit: contain;
146
+ }
147
+
148
+ #audio .audio .iconfont {
149
+ font-size: 2opx;
150
+ line-height: 1;
151
+ }
152
+ #audio .icon-cancel {
153
+ position: absolute;
154
+ width: 100%;
155
+ height: 100%;
156
+ border-radius: 50%;
157
+ overflow: hidden;
158
+ padding: 15px 0;
159
+ }
160
+ #audio .icon-cancel .icon-h {
161
+ transform: rotate(45deg);
162
+ width: 100%;
163
+ height: 2px;
164
+ margin-top: 15px;
165
+ background: #fff;
166
+ }
167
+ #audio .icon-cancel .icon-h:before, #audio .icon-cancel .icon-h:after {
168
+ content: '';
169
+ position: absolute;
170
+ width: 100%;
171
+ height: 2px;
172
+ background: #fff;
173
+ }
174
+
175
+ .video-player {
176
+ position: absolute;
177
+ overflow: hidden;
178
+ background-color: #000;
179
+ }
180
+
181
+ .video-container {
182
+ width: 100%;
183
+ height: 100%;
184
+ }
185
+
186
+ .video-container iframe {
187
+ width: 100%;
188
+ height: 100%;
189
+ border: none;
190
+ }
191
+
192
+ .video-cover {
193
+ position: relative;
194
+ width: 100%;
195
+ height: 100%;
196
+ background-size: cover;
197
+ background-position: center;
198
+ cursor: pointer;
199
+ }
200
+
201
+ .video-cover .play-btn {
202
+ position: absolute;
203
+ left: 50%;
204
+ top: 50%;
205
+ transform: translate(-50%, -50%);
206
+ width: 50px;
207
+ height: 50px;
208
+ opacity: 0.8;
209
+ transition: opacity 0.2s;
210
+ }
211
+
212
+ .video-cover:hover .play-btn {
213
+ opacity: 1;
214
+ }
101
215
 
102
216
  .ele-img {
103
217
  position: absolute;
@@ -150,110 +264,310 @@
150
264
  }
151
265
  }
152
266
 
153
- .bohao-button {
154
- position: absolute;
155
- cursor: pointer;
156
- user-select: none;
267
+ @font-face {
268
+ font-family: "iconfont"; /* Project id 3350423 */
269
+ src: url('//at.alicdn.com/t/c/font_3350423_yo5fsq7j90g.woff2?t=1737679854669') format('woff2'),
270
+ url('//at.alicdn.com/t/c/font_3350423_yo5fsq7j90g.woff?t=1737679854669') format('woff'),
271
+ url('//at.alicdn.com/t/c/font_3350423_yo5fsq7j90g.ttf?t=1737679854669') format('truetype'),
272
+ url('//at.alicdn.com/t/c/font_3350423_yo5fsq7j90g.svg?t=1737679854669#iconfont') format('svg');
157
273
  }
158
274
 
159
- .bohao-container {
160
- display: flex;
161
- justify-content: center;
162
- align-items: center;
163
- width: 100%;
164
- height: 100%;
165
- overflow: hidden;
166
- transition: opacity 0.2s;
275
+ .iconfont {
276
+ font-family: "iconfont" !important;
277
+ font-size: 16px;
278
+ font-style: normal;
279
+ -webkit-font-smoothing: antialiased;
280
+ -moz-osx-font-smoothing: grayscale;
167
281
  }
168
282
 
169
- .bohao-container:hover {
170
- opacity: 0.9;
283
+ @keyframes jumpheart {
284
+ to {
285
+ -webkit-transform: scale(1.2);
286
+ transform: scale(1.2)
287
+ }
171
288
  }
172
-
173
- .bohao-content {
174
- display: flex;
175
- align-items: center;
176
- justify-content: center;
289
+ .ele-calendar {
290
+ position: relative;
291
+ width: 325px !important;
292
+ min-height: 325px !important;
293
+ height: auto !important;
177
294
  }
178
295
 
179
- .btn-text {
180
- margin-left: 10px;
296
+ .ele-calendar .drag-point {
297
+ cursor: default !important;
181
298
  }
182
299
 
183
- /* 这里可以添加实际的电话图标样式 */
184
- .iconfont.hb-tel {
185
- display: inline-block;
186
- width: 16px;
187
- height: 16px;
188
- 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>');
189
- background-repeat: no-repeat;
190
- background-position: center;
191
- background-size: contain;
300
+ .ele-calendar .ani-wrap {
301
+ position: relative;
302
+ width: 100%;
303
+ min-height: 325px !important;
304
+ height: auto !important;
305
+ padding: 22px 0;
192
306
  }
193
307
 
194
- .element-ditu .ani-wrap {
195
- width: 100%;
196
- height: 100%;
197
- overflow: hidden
308
+ .ele-calendar .ani-wrap .can-wrap .can-top {
309
+ display: flex;
310
+ justify-content: space-between;
311
+ align-items: flex-end;
312
+ line-height: 1;
313
+ padding: 0 47px 20px;
198
314
  }
199
315
 
200
- .element-ditu .map {
201
- width: 100%;
202
- height: 100%
316
+ .ele-calendar .ani-wrap .can-wrap .can-top .can-left {
317
+ font-size: 25px;
318
+ padding-bottom: 4px;
203
319
  }
204
320
 
205
- .element-ditu .map .el-button {
206
- width: 100%;
207
- height: 100%;
208
- display: -webkit-box;
209
- display: -ms-flexbox;
210
- display: flex;
211
- -webkit-box-align: center;
212
- -ms-flex-align: center;
213
- align-items: center;
214
- padding: 0;
215
- -webkit-box-pack: center;
216
- -ms-flex-pack: center;
217
- justify-content: center;
218
- background: inherit;
219
- color: inherit;
220
- border: none
321
+ .ele-calendar .ani-wrap .can-wrap .can-top .can-right {
322
+ font-size: 25px;
221
323
  }
222
324
 
223
- .element-ditu .center-map {
224
- width: 100%;
225
- height: 100%;
226
- background: #fff
325
+ .ele-calendar .ani-wrap .can-wrap .can-top .can-right span {
326
+ position: relative;
327
+ top: 2px;
328
+ font-size: 57px;
227
329
  }
228
330
 
229
- .element-ditu .mask-map {
230
- position: absolute;
231
- width: 100%;
232
- height: 100%;
233
- top: 0
331
+ .ele-calendar .ani-wrap .can-wrap .can-main {
332
+ padding: 0 23px;
234
333
  }
235
334
 
236
-
237
- .count-down .drag-point {
238
- cursor: default!important
335
+ .ele-calendar .ani-wrap .can-wrap .can-main .can-week {
336
+ display: flex;
337
+ justify-content: flex-start;
338
+ height: 25px;
339
+ line-height: 25px;
340
+ padding: 0 10px;
341
+ border-radius: 13px;
239
342
  }
240
343
 
241
- .count-down .ani-wrap {
242
- width: 100%;
243
- height: 100%
344
+ .ele-calendar .ani-wrap .can-wrap .can-main .can-week span {
345
+ width: 14.2%;
346
+ text-align: center;
347
+ color: #fff;
348
+ font-size: 12px;
244
349
  }
245
350
 
246
- .count-down .count-text,.count-down .finish-cont {
247
- display: -webkit-box;
248
- display: -ms-flexbox;
249
- display: flex;
250
- height: 100%;
251
- -webkit-box-align: center;
252
- -ms-flex-align: center;
253
- align-items: center;
254
- -webkit-box-pack: center;
255
- -ms-flex-pack: center;
256
- justify-content: center
351
+ .ele-calendar .ani-wrap .can-wrap .can-main .can-date ul {
352
+ font-size: 0;
353
+ padding: 5px 10px 0;
354
+ text-align: left;
355
+ }
356
+
357
+ .ele-calendar .ani-wrap .can-wrap .can-main .can-date ul li {
358
+ position: relative;
359
+ display: inline-block;
360
+ height: 25px;
361
+ text-align: center;
362
+ margin-top: 8px;
363
+ }
364
+
365
+ .ele-calendar .ani-wrap .can-wrap .can-main .can-date ul li.active .iconfont {
366
+ display: block;
367
+ }
368
+
369
+ .ele-calendar .ani-wrap .can-wrap .can-main .can-date ul li.active span {
370
+ color: #fff !important;
371
+ }
372
+
373
+ .ele-calendar .ani-wrap .can-wrap .can-main .can-date ul li.heart-ani .iconfont {
374
+ animation: jumpheart 0.8s ease infinite alternate;
375
+ }
376
+
377
+ .ele-calendar .ani-wrap .can-wrap .can-main .can-date ul li .iconfont {
378
+ display: none;
379
+ font-size: 26px;
380
+ }
381
+
382
+ .ele-calendar .ani-wrap .can-wrap .can-main .can-date ul li span {
383
+ position: absolute;
384
+ left: 50%;
385
+ top: 50%;
386
+ z-index: 1;
387
+ color: #666;
388
+ font-size: 13px;
389
+ transform: translate(-50%, -52%);
390
+ }
391
+
392
+ .ele-calendar .bottom-center,
393
+ .ele-calendar .left-center,
394
+ .ele-calendar .right-center,
395
+ .ele-calendar .top-center {
396
+ display: none !important;
397
+ }
398
+ .hb-zan1:before {
399
+ content: "\e6aa";
400
+ }
401
+
402
+ .like-button {
403
+ display: flex;
404
+ flex-direction: column;
405
+ align-items: center;
406
+ cursor: pointer;
407
+ }
408
+
409
+ .icon-heart {
410
+ font-size: 24px;
411
+ color: #e74c3c;
412
+ }
413
+
414
+ .liked {
415
+ color: #f00; /* 更改颜色以示已赞 */
416
+ }
417
+
418
+ .like-count {
419
+ margin-top: 4px;
420
+ font-size: 16px;
421
+ color: #333;
422
+ }
423
+
424
+ .element-ditu .ani-wrap {
425
+ width: 100%;
426
+ height: 100%;
427
+ overflow: hidden
428
+ }
429
+
430
+ .element-ditu .map {
431
+ width: 100%;
432
+ height: 100%
433
+ }
434
+
435
+ .element-ditu .map .el-button {
436
+ width: 100%;
437
+ height: 100%;
438
+ display: -webkit-box;
439
+ display: -ms-flexbox;
440
+ display: flex;
441
+ -webkit-box-align: center;
442
+ -ms-flex-align: center;
443
+ align-items: center;
444
+ padding: 0;
445
+ -webkit-box-pack: center;
446
+ -ms-flex-pack: center;
447
+ justify-content: center;
448
+ background: inherit;
449
+ color: inherit;
450
+ border: none
451
+ }
452
+
453
+ .element-ditu .center-map {
454
+ width: 100%;
455
+ height: 100%;
456
+ background: #fff
457
+ }
458
+
459
+ .element-ditu .mask-map {
460
+ position: absolute;
461
+ width: 100%;
462
+ height: 100%;
463
+ top: 0
464
+ }
465
+
466
+
467
+ .ant-input-number {
468
+ box-sizing: border-box;
469
+ margin: 0;
470
+ padding: 0;
471
+ color: rgba(0, 0, 0, 0.88);
472
+ font-size: 14px;
473
+ line-height: 1.5714285714285714;
474
+ list-style: none;
475
+ 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';
476
+ position: relative;
477
+ display: inline-block;
478
+ width: 100%;
479
+ min-width: 0;
480
+ background-color: #ffffff;
481
+ background-image: none;
482
+ border-width: 1px;
483
+ border-style: solid;
484
+ border-color: #d9d9d9;
485
+ border-radius: 6px;
486
+ transition: all 0.2s;
487
+ border: 1px solid #d9d9d9;
488
+ }
489
+ .ant-form-item {
490
+ box-sizing: border-box;
491
+ margin: 0;
492
+ padding: 0;
493
+ color: rgba(0, 0, 0, 0.88);
494
+ font-size: 14px;
495
+ line-height: 1.5714285714285714;
496
+ list-style: none;
497
+ 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';
498
+ margin-bottom: 0px;
499
+ vertical-align: top;
500
+ }
501
+
502
+ .uni-lotties-component {
503
+ width: 100%;
504
+ height: 100%;
505
+ }
506
+
507
+ .uni-build-up-component {
508
+ }
509
+
510
+ .bohao-button {
511
+ position: absolute;
512
+ cursor: pointer;
513
+ user-select: none;
514
+ }
515
+
516
+ .bohao-container {
517
+ display: flex;
518
+ justify-content: center;
519
+ align-items: center;
520
+ width: 100%;
521
+ height: 100%;
522
+ overflow: hidden;
523
+ transition: opacity 0.2s;
524
+ }
525
+
526
+ .bohao-container:hover {
527
+ opacity: 0.9;
528
+ }
529
+
530
+ .bohao-content {
531
+ display: flex;
532
+ align-items: center;
533
+ justify-content: center;
534
+ }
535
+
536
+ .btn-text {
537
+ margin-left: 10px;
538
+ }
539
+
540
+ /* 这里可以添加实际的电话图标样式 */
541
+ .iconfont.hb-tel {
542
+ display: inline-block;
543
+ width: 16px;
544
+ height: 16px;
545
+ 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>');
546
+ background-repeat: no-repeat;
547
+ background-position: center;
548
+ background-size: contain;
549
+ }
550
+
551
+ .count-down .drag-point {
552
+ cursor: default!important
553
+ }
554
+
555
+ .count-down .ani-wrap {
556
+ width: 100%;
557
+ height: 100%
558
+ }
559
+
560
+ .count-down .count-text,.count-down .finish-cont {
561
+ display: -webkit-box;
562
+ display: -ms-flexbox;
563
+ display: flex;
564
+ height: 100%;
565
+ -webkit-box-align: center;
566
+ -ms-flex-align: center;
567
+ align-items: center;
568
+ -webkit-box-pack: center;
569
+ -ms-flex-pack: center;
570
+ justify-content: center
257
571
  }
258
572
 
259
573
  .count-down .finish-cont {
@@ -399,279 +713,21 @@
399
713
 
400
714
 
401
715
 
402
- @font-face {
403
- font-family: "iconfont"; /* Project id 3350423 */
404
- src: url('//at.alicdn.com/t/c/font_3350423_yo5fsq7j90g.woff2?t=1737679854669') format('woff2'),
405
- url('//at.alicdn.com/t/c/font_3350423_yo5fsq7j90g.woff?t=1737679854669') format('woff'),
406
- url('//at.alicdn.com/t/c/font_3350423_yo5fsq7j90g.ttf?t=1737679854669') format('truetype'),
407
- url('//at.alicdn.com/t/c/font_3350423_yo5fsq7j90g.svg?t=1737679854669#iconfont') format('svg');
716
+ /* 设计稿尺寸(如375px下20px的按钮) */
717
+ .btn {
718
+ width: 20px; /* 直接写设计稿px */
719
+ height: 10px;
720
+ font-size: 14px;
408
721
  }
409
722
 
410
- .iconfont {
411
- font-family: "iconfont" !important;
412
- font-size: 16px;
413
- font-style: normal;
414
- -webkit-font-smoothing: antialiased;
415
- -moz-osx-font-smoothing: grayscale;
723
+ .effect-container {
724
+ will-change: transform;
416
725
  }
417
726
 
418
- @keyframes jumpheart {
419
- to {
420
- -webkit-transform: scale(1.2);
421
- transform: scale(1.2)
422
- }
423
- }
424
- .ele-calendar {
727
+ .particles-wrapper {
425
728
  position: relative;
426
- width: 325px !important;
427
- min-height: 325px !important;
428
- height: auto !important;
429
- }
430
-
431
- .ele-calendar .drag-point {
432
- cursor: default !important;
433
- }
434
-
435
- .ele-calendar .ani-wrap {
436
- position: relative;
437
- width: 100%;
438
- min-height: 325px !important;
439
- height: auto !important;
440
- padding: 22px 0;
441
- }
442
-
443
- .ele-calendar .ani-wrap .can-wrap .can-top {
444
- display: flex;
445
- justify-content: space-between;
446
- align-items: flex-end;
447
- line-height: 1;
448
- padding: 0 47px 20px;
449
- }
450
-
451
- .ele-calendar .ani-wrap .can-wrap .can-top .can-left {
452
- font-size: 25px;
453
- padding-bottom: 4px;
454
- }
455
-
456
- .ele-calendar .ani-wrap .can-wrap .can-top .can-right {
457
- font-size: 25px;
458
- }
459
-
460
- .ele-calendar .ani-wrap .can-wrap .can-top .can-right span {
461
- position: relative;
462
- top: 2px;
463
- font-size: 57px;
464
- }
465
-
466
- .ele-calendar .ani-wrap .can-wrap .can-main {
467
- padding: 0 23px;
468
- }
469
-
470
- .ele-calendar .ani-wrap .can-wrap .can-main .can-week {
471
- display: flex;
472
- justify-content: flex-start;
473
- height: 25px;
474
- line-height: 25px;
475
- padding: 0 10px;
476
- border-radius: 13px;
477
- }
478
-
479
- .ele-calendar .ani-wrap .can-wrap .can-main .can-week span {
480
- width: 14.2%;
481
- text-align: center;
482
- color: #fff;
483
- font-size: 12px;
484
- }
485
-
486
- .ele-calendar .ani-wrap .can-wrap .can-main .can-date ul {
487
- font-size: 0;
488
- padding: 5px 10px 0;
489
- text-align: left;
490
- }
491
-
492
- .ele-calendar .ani-wrap .can-wrap .can-main .can-date ul li {
493
- position: relative;
494
- display: inline-block;
495
- height: 25px;
496
- text-align: center;
497
- margin-top: 8px;
498
- }
499
-
500
- .ele-calendar .ani-wrap .can-wrap .can-main .can-date ul li.active .iconfont {
501
- display: block;
502
- }
503
-
504
- .ele-calendar .ani-wrap .can-wrap .can-main .can-date ul li.active span {
505
- color: #fff !important;
506
- }
507
-
508
- .ele-calendar .ani-wrap .can-wrap .can-main .can-date ul li.heart-ani .iconfont {
509
- animation: jumpheart 0.8s ease infinite alternate;
510
- }
511
-
512
- .ele-calendar .ani-wrap .can-wrap .can-main .can-date ul li .iconfont {
513
- display: none;
514
- font-size: 26px;
515
- }
516
-
517
- .ele-calendar .ani-wrap .can-wrap .can-main .can-date ul li span {
518
- position: absolute;
519
- left: 50%;
520
- top: 50%;
521
- z-index: 1;
522
- color: #666;
523
- font-size: 13px;
524
- transform: translate(-50%, -52%);
525
- }
526
-
527
- .ele-calendar .bottom-center,
528
- .ele-calendar .left-center,
529
- .ele-calendar .right-center,
530
- .ele-calendar .top-center {
531
- display: none !important;
532
- }
533
- .hb-zan1:before {
534
- content: "\e6aa";
535
- }
536
-
537
- #audio {
538
- position: absolute;
539
- right: 10px;
540
- top: 10px;
541
- z-index: 103;
542
- width: 30px;
543
- height: 30px;
544
- display: flex;
545
- align-items: center;
546
- }
547
-
548
- #audio .mrotate {
549
- animation: mrotate 5s linear infinite;
550
- }
551
-
552
- @keyframes mrotate {
553
- to {
554
- transform: rotate(1turn);
555
- }
556
- }
557
-
558
- #audio .audio {
559
- width: 100%;
560
- height: 100%;
561
- display: flex;
562
- align-items: center;
563
- justify-content: center;
564
- color: #fff;
565
- background: #666;
566
- border-radius: 50%;
567
- overflow: hidden;
568
- cursor: pointer;
569
- transition: all 0.3s ease;
570
- }
571
-
572
- #audio .audio.a-border {
573
- border: 1px solid #fff;
574
- }
575
-
576
- #audio .audio .music-icon {
577
- display: block;
578
- width: 60%;
579
- height: 60%;
580
- object-fit: contain;
581
- }
582
-
583
- #audio .audio .iconfont {
584
- font-size: 2opx;
585
- line-height: 1;
586
- }
587
- #audio .icon-cancel {
588
- position: absolute;
589
- width: 100%;
590
- height: 100%;
591
- border-radius: 50%;
592
- overflow: hidden;
593
- padding: 15px 0;
594
- }
595
- #audio .icon-cancel .icon-h {
596
- transform: rotate(45deg);
597
- width: 100%;
598
- height: 2px;
599
- margin-top: 15px;
600
- background: #fff;
601
- }
602
- #audio .icon-cancel .icon-h:before, #audio .icon-cancel .icon-h:after {
603
- content: '';
604
- position: absolute;
605
- width: 100%;
606
- height: 2px;
607
- background: #fff;
608
- }
609
-
610
- .like-button {
611
- display: flex;
612
- flex-direction: column;
613
- align-items: center;
614
- cursor: pointer;
615
- }
616
-
617
- .icon-heart {
618
- font-size: 24px;
619
- color: #e74c3c;
620
- }
621
-
622
- .liked {
623
- color: #f00; /* 更改颜色以示已赞 */
624
- }
625
-
626
- .like-count {
627
- margin-top: 4px;
628
- font-size: 16px;
629
- color: #333;
630
- }
631
-
632
- .ant-input-number {
633
- box-sizing: border-box;
634
- margin: 0;
635
- padding: 0;
636
- color: rgba(0, 0, 0, 0.88);
637
- font-size: 14px;
638
- line-height: 1.5714285714285714;
639
- list-style: none;
640
- 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';
641
- position: relative;
642
- display: inline-block;
643
- width: 100%;
644
- min-width: 0;
645
- background-color: #ffffff;
646
- background-image: none;
647
- border-width: 1px;
648
- border-style: solid;
649
- border-color: #d9d9d9;
650
- border-radius: 6px;
651
- transition: all 0.2s;
652
- border: 1px solid #d9d9d9;
653
- }
654
- .ant-form-item {
655
- box-sizing: border-box;
656
- margin: 0;
657
- padding: 0;
658
- color: rgba(0, 0, 0, 0.88);
659
- font-size: 14px;
660
- line-height: 1.5714285714285714;
661
- list-style: none;
662
- 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';
663
- margin-bottom: 0px;
664
- vertical-align: top;
665
- }
666
-
667
- .effect-container {
668
- will-change: transform;
669
- }
670
-
671
- .particles-wrapper {
672
- position: relative;
673
- width: 100%;
674
- height: 100%;
729
+ width: 100%;
730
+ height: 100%;
675
731
  }
676
732
 
677
733
  .particle {
@@ -720,59 +776,203 @@
720
776
  -webkit-animation: snow 5s linear infinite;
721
777
  animation: snow 5s linear infinite
722
778
  }
723
-
724
- .video-player {
725
- position: absolute;
726
- overflow: hidden;
727
- background-color: #000;
728
- }
729
-
730
- .video-container {
731
- width: 100%;
732
- height: 100%;
733
- }
734
-
735
- .video-container iframe {
736
- width: 100%;
737
- height: 100%;
738
- border: none;
739
- }
740
-
741
- .video-cover {
742
- position: relative;
743
- width: 100%;
744
- height: 100%;
745
- background-size: cover;
746
- background-position: center;
747
- cursor: pointer;
748
- }
749
-
750
- .video-cover .play-btn {
751
- position: absolute;
752
- left: 50%;
753
- top: 50%;
754
- transform: translate(-50%, -50%);
755
- width: 50px;
756
- height: 50px;
757
- opacity: 0.8;
758
- transition: opacity 0.2s;
759
- }
760
-
761
- .video-cover:hover .play-btn {
762
- opacity: 1;
763
- }
764
-
765
- /* 设计稿尺寸(如375px下20px的按钮) */
766
- .btn {
767
- width: 20px; /* 直接写设计稿px */
768
- height: 10px;
769
- font-size: 14px;
770
- }
771
-
772
- .uni-lotties-component {
773
- width: 100%;
774
- height: 100%;
775
- }
779
+
780
+ .work-container {
781
+ position: relative;
782
+ overflow: hidden;
783
+ touch-action: pan-y pinch-zoom;
784
+ }
785
+
786
+ .pages-wrapper {
787
+ position: relative;
788
+ width: 100%;
789
+ height: 100%;
790
+ }
791
+
792
+ .pages-wrapper.scroll-mode {
793
+ overflow-y: auto;
794
+ overflow-x: hidden;
795
+ -webkit-overflow-scrolling: touch;
796
+ }
797
+
798
+ .page-container {
799
+ position: absolute;
800
+ width: 100%;
801
+ height: 100%;
802
+ background-size: cover;
803
+ background-position: center;
804
+ }
805
+
806
+ .scroll-mode .page-container {
807
+ position: relative;
808
+ min-height: 100vh;
809
+ }
810
+
811
+ /* 页面切换动画 */
812
+ .fade-enter-active,
813
+ .fade-leave-active {
814
+ transition: opacity 1.5s ease;
815
+ position: absolute;
816
+ width: 100%;
817
+ height: 100%;
818
+ }
819
+ .fade-enter-from {
820
+ opacity: 0;
821
+ }
822
+ .fade-leave-to {
823
+ opacity: 0;
824
+ }
825
+
826
+ .fadeInDown-enter-active,
827
+ .fadeInDown-leave-active {
828
+ transition: all 1.5s ease;
829
+ position: absolute;
830
+ width: 100%;
831
+ height: 100%;
832
+ }
833
+ .fadeInDown-enter-from {
834
+ opacity: 0;
835
+ transform: translateY(-100%);
836
+ }
837
+ .fadeInDown-leave-to {
838
+ opacity: 0;
839
+ transform: translateY(100%);
840
+ }
841
+
842
+ /* 垂直滑动动画 */
843
+ .slide-up-enter-active,
844
+ .slide-up-leave-active,
845
+ .slide-down-enter-active,
846
+ .slide-down-leave-active {
847
+ transition: transform 1.5s ease;
848
+ position: absolute;
849
+ width: 100%;
850
+ height: 100%;
851
+ }
852
+
853
+ .slide-up-enter-from {
854
+ transform: translateY(100%);
855
+ }
856
+
857
+ .slide-up-leave-to {
858
+ transform: translateY(-100%);
859
+ }
860
+
861
+ .slide-down-enter-from {
862
+ transform: translateY(-100%);
863
+ }
864
+
865
+ .slide-down-leave-to {
866
+ transform: translateY(100%);
867
+ }
868
+
869
+ /* 页面背景动画 */
870
+ .animate-fadeInDown {
871
+ animation: fadeInDown 1.5s ease 0s 1 normal backwards running;
872
+ }
873
+
874
+ .animate-fadeInUp {
875
+ animation: fadeInUp 1.5s ease 0s 1 normal backwards running;
876
+ }
877
+
878
+ .animate-fadeInLeft {
879
+ animation: fadeInLeft 1.5s ease 0s 1 normal backwards running;
880
+ }
881
+
882
+ .animate-fadeInRight {
883
+ animation: fadeInRight 1.5s ease 0s 1 normal backwards running;
884
+ }
885
+
886
+ .animate-zoomIn {
887
+ animation: zoomIn 1.5s ease 0s 1 normal backwards running;
888
+ }
889
+
890
+ .animate-zoomOut {
891
+ animation: zoomOut 1.5s ease 0s 1 normal backwards running;
892
+ }
893
+
894
+ @keyframes fadeInDown {
895
+ from {
896
+ opacity: 0;
897
+ transform: translateY(-100%);
898
+ }
899
+ to {
900
+ opacity: 1;
901
+ transform: translateY(0);
902
+ }
903
+ }
904
+
905
+ @keyframes fadeInUp {
906
+ from {
907
+ opacity: 0;
908
+ transform: translateY(100%);
909
+ }
910
+ to {
911
+ opacity: 1;
912
+ transform: translateY(0);
913
+ }
914
+ }
915
+
916
+ @keyframes fadeInLeft {
917
+ from {
918
+ opacity: 0;
919
+ transform: translateX(-100%);
920
+ }
921
+ to {
922
+ opacity: 1;
923
+ transform: translateX(0);
924
+ }
925
+ }
926
+
927
+ @keyframes fadeInRight {
928
+ from {
929
+ opacity: 0;
930
+ transform: translateX(100%);
931
+ }
932
+ to {
933
+ opacity: 1;
934
+ transform: translateX(0);
935
+ }
936
+ }
937
+
938
+ @keyframes zoomIn {
939
+ from {
940
+ opacity: 0;
941
+ transform: scale(0.5);
942
+ }
943
+ to {
944
+ opacity: 1;
945
+ transform: scale(1);
946
+ }
947
+ }
948
+
949
+ @keyframes zoomOut {
950
+ from {
951
+ opacity: 0;
952
+ transform: scale(1.5);
953
+ }
954
+ to {
955
+ opacity: 1;
956
+ transform: scale(1);
957
+ }
958
+ }
959
+
960
+ /* 确保循环时的过渡效果平滑 */
961
+ .pages-wrapper {
962
+ position: relative;
963
+ width: 100%;
964
+ height: 100%;
965
+ overflow: hidden;
966
+ }
967
+
968
+ .page-container {
969
+ position: absolute;
970
+ width: 100%;
971
+ height: 100%;
972
+ background-size: cover;
973
+ background-position: center;
974
+ will-change: transform;
975
+ }
776
976
 
777
977
  /* Iconfont definition moved here for completeness */
778
978
  @font-face {
@@ -1016,216 +1216,6 @@ i {
1016
1216
  transform: translateY(-50%);
1017
1217
  }
1018
1218
  */
1019
-
1020
- .uni-build-up-component {
1021
- }
1022
-
1023
- .uni-svg-component {
1024
- display: inline-block;
1025
- }
1026
-
1027
- .form-container {
1028
- position: relative;
1029
- width: 100%;
1030
- height: 100%;
1031
- }
1032
-
1033
- .work-container {
1034
- position: relative;
1035
- overflow: hidden;
1036
- touch-action: pan-y pinch-zoom;
1037
- }
1038
-
1039
- .pages-wrapper {
1040
- position: relative;
1041
- width: 100%;
1042
- height: 100%;
1043
- }
1044
-
1045
- .pages-wrapper.scroll-mode {
1046
- overflow-y: auto;
1047
- overflow-x: hidden;
1048
- -webkit-overflow-scrolling: touch;
1049
- }
1050
-
1051
- .page-container {
1052
- position: absolute;
1053
- width: 100%;
1054
- height: 100%;
1055
- background-size: cover;
1056
- background-position: center;
1057
- }
1058
-
1059
- .scroll-mode .page-container {
1060
- position: relative;
1061
- min-height: 100vh;
1062
- }
1063
-
1064
- /* 页面切换动画 */
1065
- .fade-enter-active,
1066
- .fade-leave-active {
1067
- transition: opacity 1.5s ease;
1068
- position: absolute;
1069
- width: 100%;
1070
- height: 100%;
1071
- }
1072
- .fade-enter-from {
1073
- opacity: 0;
1074
- }
1075
- .fade-leave-to {
1076
- opacity: 0;
1077
- }
1078
-
1079
- .fadeInDown-enter-active,
1080
- .fadeInDown-leave-active {
1081
- transition: all 1.5s ease;
1082
- position: absolute;
1083
- width: 100%;
1084
- height: 100%;
1085
- }
1086
- .fadeInDown-enter-from {
1087
- opacity: 0;
1088
- transform: translateY(-100%);
1089
- }
1090
- .fadeInDown-leave-to {
1091
- opacity: 0;
1092
- transform: translateY(100%);
1093
- }
1094
-
1095
- /* 垂直滑动动画 */
1096
- .slide-up-enter-active,
1097
- .slide-up-leave-active,
1098
- .slide-down-enter-active,
1099
- .slide-down-leave-active {
1100
- transition: transform 1.5s ease;
1101
- position: absolute;
1102
- width: 100%;
1103
- height: 100%;
1104
- }
1105
-
1106
- .slide-up-enter-from {
1107
- transform: translateY(100%);
1108
- }
1109
-
1110
- .slide-up-leave-to {
1111
- transform: translateY(-100%);
1112
- }
1113
-
1114
- .slide-down-enter-from {
1115
- transform: translateY(-100%);
1116
- }
1117
-
1118
- .slide-down-leave-to {
1119
- transform: translateY(100%);
1120
- }
1121
-
1122
- /* 页面背景动画 */
1123
- .animate-fadeInDown {
1124
- animation: fadeInDown 1.5s ease 0s 1 normal backwards running;
1125
- }
1126
-
1127
- .animate-fadeInUp {
1128
- animation: fadeInUp 1.5s ease 0s 1 normal backwards running;
1129
- }
1130
-
1131
- .animate-fadeInLeft {
1132
- animation: fadeInLeft 1.5s ease 0s 1 normal backwards running;
1133
- }
1134
-
1135
- .animate-fadeInRight {
1136
- animation: fadeInRight 1.5s ease 0s 1 normal backwards running;
1137
- }
1138
-
1139
- .animate-zoomIn {
1140
- animation: zoomIn 1.5s ease 0s 1 normal backwards running;
1141
- }
1142
-
1143
- .animate-zoomOut {
1144
- animation: zoomOut 1.5s ease 0s 1 normal backwards running;
1145
- }
1146
-
1147
- @keyframes fadeInDown {
1148
- from {
1149
- opacity: 0;
1150
- transform: translateY(-100%);
1151
- }
1152
- to {
1153
- opacity: 1;
1154
- transform: translateY(0);
1155
- }
1156
- }
1157
-
1158
- @keyframes fadeInUp {
1159
- from {
1160
- opacity: 0;
1161
- transform: translateY(100%);
1162
- }
1163
- to {
1164
- opacity: 1;
1165
- transform: translateY(0);
1166
- }
1167
- }
1168
-
1169
- @keyframes fadeInLeft {
1170
- from {
1171
- opacity: 0;
1172
- transform: translateX(-100%);
1173
- }
1174
- to {
1175
- opacity: 1;
1176
- transform: translateX(0);
1177
- }
1178
- }
1179
-
1180
- @keyframes fadeInRight {
1181
- from {
1182
- opacity: 0;
1183
- transform: translateX(100%);
1184
- }
1185
- to {
1186
- opacity: 1;
1187
- transform: translateX(0);
1188
- }
1189
- }
1190
-
1191
- @keyframes zoomIn {
1192
- from {
1193
- opacity: 0;
1194
- transform: scale(0.5);
1195
- }
1196
- to {
1197
- opacity: 1;
1198
- transform: scale(1);
1199
- }
1200
- }
1201
-
1202
- @keyframes zoomOut {
1203
- from {
1204
- opacity: 0;
1205
- transform: scale(1.5);
1206
- }
1207
- to {
1208
- opacity: 1;
1209
- transform: scale(1);
1210
- }
1211
- }
1212
-
1213
- /* 确保循环时的过渡效果平滑 */
1214
- .pages-wrapper {
1215
- position: relative;
1216
- width: 100%;
1217
- height: 100%;
1218
- overflow: hidden;
1219
- }
1220
-
1221
- .page-container {
1222
- position: absolute;
1223
- width: 100%;
1224
- height: 100%;
1225
- background-size: cover;
1226
- background-position: center;
1227
- will-change: transform;
1228
- }
1229
1219
 
1230
1220
  .form-input {
1231
1221
  position: absolute;
@@ -1304,6 +1294,10 @@ input::placeholder {
1304
1294
  opacity: 1;
1305
1295
  }
1306
1296
 
1297
+ .uni-svg-component {
1298
+ display: inline-block;
1299
+ }
1300
+
1307
1301
  .form-submit {
1308
1302
  cursor: pointer;
1309
1303
  transition: all 0.2s;
@@ -1327,6 +1321,12 @@ input::placeholder {
1327
1321
  transform: none !important;
1328
1322
  }
1329
1323
 
1324
+ .form-container {
1325
+ position: relative;
1326
+ width: 100%;
1327
+ height: 100%;
1328
+ }
1329
+
1330
1330
  .page-indicator {
1331
1331
  position: fixed;
1332
1332
  display: flex;