unika-components 1.0.391 → 1.0.392

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.
@@ -67,38 +67,6 @@
67
67
  }
68
68
  }
69
69
 
70
- .ele-shape {
71
- position: absolute;
72
- overflow: hidden;
73
- }
74
-
75
- .ani-wrap {
76
- width: 100%;
77
- height: 100%;
78
- box-sizing: border-box;
79
- }
80
-
81
- .e-shape {
82
- width: 100%;
83
- height: 100%;
84
- }
85
-
86
- .svg-container :deep(svg) {
87
- width: 100%;
88
- height: 100%;
89
- display: block;
90
- }
91
-
92
- .svg-loading,
93
- .svg-error {
94
- display: flex;
95
- align-items: center;
96
- justify-content: center;
97
- width: 100%;
98
- height: 100%;
99
- background: rgba(0,0,0,0.05);
100
- }
101
-
102
70
  .ele-img {
103
71
  position: absolute;
104
72
  overflow: hidden;
@@ -196,6 +164,38 @@
196
164
  .video-cover:hover .play-btn {
197
165
  opacity: 1;
198
166
  }
167
+
168
+ .ele-shape {
169
+ position: absolute;
170
+ overflow: hidden;
171
+ }
172
+
173
+ .ani-wrap {
174
+ width: 100%;
175
+ height: 100%;
176
+ box-sizing: border-box;
177
+ }
178
+
179
+ .e-shape {
180
+ width: 100%;
181
+ height: 100%;
182
+ }
183
+
184
+ .svg-container :deep(svg) {
185
+ width: 100%;
186
+ height: 100%;
187
+ display: block;
188
+ }
189
+
190
+ .svg-loading,
191
+ .svg-error {
192
+ display: flex;
193
+ align-items: center;
194
+ justify-content: center;
195
+ width: 100%;
196
+ height: 100%;
197
+ background: rgba(0,0,0,0.05);
198
+ }
199
199
 
200
200
  #audio {
201
201
  position: absolute;
@@ -670,28 +670,6 @@
670
670
  content: "\E6A6";
671
671
  }
672
672
 
673
- .like-button {
674
- display: flex;
675
- flex-direction: column;
676
- align-items: center;
677
- cursor: pointer;
678
- }
679
-
680
- .icon-heart {
681
- font-size: 24px;
682
- color: #e74c3c;
683
- }
684
-
685
- .liked {
686
- color: #f00; /* 更改颜色以示已赞 */
687
- }
688
-
689
- .like-count {
690
- margin-top: 4px;
691
- font-size: 16px;
692
- color: #333;
693
- }
694
-
695
673
  .count-down .drag-point {
696
674
  cursor: default!important
697
675
  }
@@ -954,6 +932,28 @@
954
932
  animation: snow 5s linear infinite
955
933
  }
956
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
957
  .ant-input-number {
958
958
  box-sizing: border-box;
959
959
  margin: 0;
@@ -989,21 +989,6 @@
989
989
  vertical-align: top;
990
990
  }
991
991
 
992
- .uni-build-up-component {
993
- }
994
-
995
- .uni-lotties-component {
996
- width: 100%;
997
- height: 100%;
998
- }
999
-
1000
- /* 设计稿尺寸(如375px下20px的按钮) */
1001
- .btn {
1002
- width: 20px; /* 直接写设计稿px */
1003
- height: 10px;
1004
- font-size: 14px;
1005
- }
1006
-
1007
992
  /* Iconfont definition */
1008
993
  @font-face {
1009
994
  font-family: iconfont;
@@ -1921,6 +1906,21 @@ i {
1921
1906
  100% { transform: rotate(360deg); }
1922
1907
  }
1923
1908
 
1909
+
1910
+ .uni-build-up-component {
1911
+ }
1912
+
1913
+ /* 设计稿尺寸(如375px下20px的按钮) */
1914
+ .btn {
1915
+ width: 20px; /* 直接写设计稿px */
1916
+ height: 10px;
1917
+ font-size: 14px;
1918
+ }
1919
+
1920
+ .uni-lotties-component {
1921
+ width: 100%;
1922
+ height: 100%;
1923
+ }
1924
1924
 
1925
1925
  body, html {
1926
1926
  width: 100%;
@@ -2281,7 +2281,7 @@ body, html {
2281
2281
  user-select: none;
2282
2282
  }
2283
2283
 
2284
- .f-single {
2284
+ .f-select {
2285
2285
  cursor: pointer;
2286
2286
  }
2287
2287
 
@@ -2290,14 +2290,12 @@ body, html {
2290
2290
  }
2291
2291
 
2292
2292
  .fs-tit {
2293
+ position: relative;
2293
2294
  display: flex;
2294
2295
  padding: 0 5px;
2295
- height: 40px;
2296
+ height: 35px;
2297
+ line-height: 35px;
2296
2298
  align-items: center;
2297
- white-space: nowrap;
2298
- overflow: hidden;
2299
- text-overflow: ellipsis;
2300
- border-bottom: 1px solid rgba(153, 153, 153, 1);
2301
2299
  }
2302
2300
 
2303
2301
  .require {
@@ -2306,63 +2304,84 @@ body, html {
2306
2304
  vertical-align: middle;
2307
2305
  }
2308
2306
 
2309
- .f-single ul {
2310
- padding: 15px;
2311
- margin: 0;
2312
- list-style: none;
2307
+ .fs-cont {
2308
+ padding-right: 15px;
2309
+ white-space: nowrap;
2310
+ overflow: hidden;
2311
+ text-overflow: ellipsis;
2312
+ flex-grow: 1;
2313
2313
  }
2314
2314
 
2315
- .f-single ul li {
2316
- display: flex;
2317
- align-items: center;
2318
- margin-top: 12px;
2319
- font-size: 0;
2315
+ .icon-bofang1 {
2316
+ font-size: 12px;
2317
+ transition: transform 0.2s ease;
2320
2318
  }
2321
2319
 
2322
- .f-single ul li:first-child {
2323
- margin-top: 0;
2320
+ .rotate-180 {
2321
+ transform: rotate(180deg) !important;
2324
2322
  }
2325
2323
 
2326
- .fs-circle {
2327
- display: inline-block;
2328
- width: 16px;
2329
- height: 16px;
2330
- border-radius: 50%;
2331
- position: relative;
2332
- transition: all 0.2s;
2324
+ .f-real {
2325
+ position: absolute;
2326
+ left: 0;
2327
+ top: 0;
2328
+ width: 100%;
2329
+ height: 100%;
2330
+ z-index: 1;
2331
+ opacity: 0;
2332
+ cursor: pointer;
2333
2333
  }
2334
2334
 
2335
- .fs-circle.selected {
2336
- background-color: #2687f1;
2337
- border-color: #2687f1 !important;
2335
+ .dropdown-menu {
2336
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
2338
2337
  }
2339
2338
 
2340
- .fs-circle.selected::after {
2341
- content: "";
2342
- position: absolute;
2343
- top: 3px;
2344
- left: 3px;
2345
- width: 8px;
2346
- height: 8px;
2347
- border-radius: 50%;
2348
- background-color: white;
2339
+ .dropdown-item {
2340
+ padding: 8px 10px;
2341
+ cursor: pointer;
2342
+ transition: background-color 0.2s;
2349
2343
  }
2350
2344
 
2351
- .fs-txt {
2352
- display: inline-block;
2353
- width: calc(100% - 16px);
2354
- padding-left: 8px;
2355
- vertical-align: top;
2356
- word-break: break-all;
2345
+ .dropdown-item:hover {
2346
+ background-color: #f5f5f5;
2347
+ }
2348
+
2349
+ .dropdown-item.selected {
2350
+ background-color: #e6f7ff;
2351
+ color: #1890ff;
2352
+ }
2353
+
2354
+ .f-select .fs-tit .icon-bofang1 {
2355
+ position: absolute;
2356
+ right: 10px;
2357
+ font-size: 12px;
2358
+ display: inline-block;
2359
+ transform: rotate(90deg);
2360
+ }
2361
+
2362
+ @font-face {
2363
+ font-family: iconfont;
2364
+ src: url(https://h5static.hunbei.com/preview/static/fonts/iconfont.f1262e4.woff2) format("woff2"),
2365
+ url(https://h5static.hunbei.com/preview/static/fonts/iconfont.788d827.woff) format("woff"),
2366
+ url(https://h5static.hunbei.com/preview/static/fonts/iconfont.9541e59.ttf) format("truetype");
2367
+ }
2368
+
2369
+ .iconfont {
2370
+ font-family: iconfont !important;
2357
2371
  font-size: 14px;
2358
- line-height: 1.2;
2372
+ font-style: normal;
2373
+ -webkit-font-smoothing: antialiased;
2374
+ -moz-osx-font-smoothing: grayscale;
2359
2375
  }
2360
2376
 
2361
- .has-error .fs-tit {
2362
- border-bottom-color: #ff4d4f;
2377
+ .icon-bofang1:before {
2378
+ content: "\E6CF";
2379
+ }
2380
+
2381
+ .has-error {
2382
+ border-color: #ff4d4f !important;
2363
2383
  }
2364
2384
 
2365
- /* 错误提示样式 */
2366
2385
  .error-tip {
2367
2386
  position: fixed;
2368
2387
  left: 0;
@@ -2372,12 +2391,6 @@ body, html {
2372
2391
  z-index: 1000;
2373
2392
  }
2374
2393
 
2375
- .form-container {
2376
- position: relative;
2377
- width: 100%;
2378
- height: 100%;
2379
- }
2380
-
2381
2394
  .uni-svg-component {
2382
2395
  display: inline-block;
2383
2396
  }
@@ -2447,12 +2460,64 @@ body, html {
2447
2460
  text-align: center;
2448
2461
  }
2449
2462
 
2463
+ .form-input {
2464
+ position: absolute;
2465
+ }
2466
+
2467
+ .input-wrapper {
2468
+ display: flex;
2469
+ align-items: center;
2470
+ width: 100%;
2471
+ height: 100%;
2472
+ padding: 0 10px;
2473
+ box-sizing: border-box;
2474
+ position: relative;
2475
+ transition: border-color 0.3s;
2476
+ }
2477
+
2478
+ .required-marker {
2479
+ font-size: 12px;
2480
+ padding: 0 5px 0 0;
2481
+ color: red;
2482
+ vertical-align: middle;
2483
+ }
2484
+
2485
+ input {
2486
+ flex: 1;
2487
+ border: none;
2488
+ outline: none;
2489
+ background: transparent;
2490
+ height: 100%;
2491
+ padding: 0;
2492
+ margin: 0;
2493
+ }
2494
+ /*
2495
+ input::placeholder {
2496
+ color: #ccc;
2497
+ opacity: 1;
2498
+ } */
2499
+
2500
+ .dynamic-placeholder-input::placeholder {
2501
+ color: var(--placeholder-color, #999);
2502
+ opacity: 1;
2503
+ }
2504
+ .dynamic-placeholder-input::-webkit-input-placeholder {
2505
+ color: var(--placeholder-color, #999);
2506
+ }
2507
+ .dynamic-placeholder-input::-moz-placeholder {
2508
+ color: var(--placeholder-color, #999);
2509
+ opacity: 1;
2510
+ }
2511
+ .dynamic-placeholder-input:-ms-input-placeholder {
2512
+ color: var(--placeholder-color, #999);
2513
+ }
2514
+
2450
2515
  .ele-form {
2451
2516
  position: absolute;
2452
2517
  user-select: none;
2453
2518
  }
2454
2519
 
2455
- .f-select {
2520
+ .f-single {
2456
2521
  cursor: pointer;
2457
2522
  }
2458
2523
 
@@ -2461,12 +2526,14 @@ body, html {
2461
2526
  }
2462
2527
 
2463
2528
  .fs-tit {
2464
- position: relative;
2465
2529
  display: flex;
2466
2530
  padding: 0 5px;
2467
- height: 35px;
2468
- line-height: 35px;
2531
+ height: 40px;
2469
2532
  align-items: center;
2533
+ white-space: nowrap;
2534
+ overflow: hidden;
2535
+ text-overflow: ellipsis;
2536
+ border-bottom: 1px solid rgba(153, 153, 153, 1);
2470
2537
  }
2471
2538
 
2472
2539
  .require {
@@ -2475,84 +2542,63 @@ body, html {
2475
2542
  vertical-align: middle;
2476
2543
  }
2477
2544
 
2478
- .fs-cont {
2479
- padding-right: 15px;
2480
- white-space: nowrap;
2481
- overflow: hidden;
2482
- text-overflow: ellipsis;
2483
- flex-grow: 1;
2484
- }
2485
-
2486
- .icon-bofang1 {
2487
- font-size: 12px;
2488
- transition: transform 0.2s ease;
2489
- }
2490
-
2491
- .rotate-180 {
2492
- transform: rotate(180deg) !important;
2493
- }
2494
-
2495
- .f-real {
2496
- position: absolute;
2497
- left: 0;
2498
- top: 0;
2499
- width: 100%;
2500
- height: 100%;
2501
- z-index: 1;
2502
- opacity: 0;
2503
- cursor: pointer;
2504
- }
2505
-
2506
- .dropdown-menu {
2507
- box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
2545
+ .f-single ul {
2546
+ padding: 15px;
2547
+ margin: 0;
2548
+ list-style: none;
2508
2549
  }
2509
2550
 
2510
- .dropdown-item {
2511
- padding: 8px 10px;
2512
- cursor: pointer;
2513
- transition: background-color 0.2s;
2551
+ .f-single ul li {
2552
+ display: flex;
2553
+ align-items: center;
2554
+ margin-top: 12px;
2555
+ font-size: 0;
2514
2556
  }
2515
2557
 
2516
- .dropdown-item:hover {
2517
- background-color: #f5f5f5;
2558
+ .f-single ul li:first-child {
2559
+ margin-top: 0;
2518
2560
  }
2519
2561
 
2520
- .dropdown-item.selected {
2521
- background-color: #e6f7ff;
2522
- color: #1890ff;
2562
+ .fs-circle {
2563
+ display: inline-block;
2564
+ width: 16px;
2565
+ height: 16px;
2566
+ border-radius: 50%;
2567
+ position: relative;
2568
+ transition: all 0.2s;
2523
2569
  }
2524
2570
 
2525
- .f-select .fs-tit .icon-bofang1 {
2526
- position: absolute;
2527
- right: 10px;
2528
- font-size: 12px;
2529
- display: inline-block;
2530
- transform: rotate(90deg);
2571
+ .fs-circle.selected {
2572
+ background-color: #2687f1;
2573
+ border-color: #2687f1 !important;
2531
2574
  }
2532
2575
 
2533
- @font-face {
2534
- font-family: iconfont;
2535
- src: url(https://h5static.hunbei.com/preview/static/fonts/iconfont.f1262e4.woff2) format("woff2"),
2536
- url(https://h5static.hunbei.com/preview/static/fonts/iconfont.788d827.woff) format("woff"),
2537
- url(https://h5static.hunbei.com/preview/static/fonts/iconfont.9541e59.ttf) format("truetype");
2576
+ .fs-circle.selected::after {
2577
+ content: "";
2578
+ position: absolute;
2579
+ top: 3px;
2580
+ left: 3px;
2581
+ width: 8px;
2582
+ height: 8px;
2583
+ border-radius: 50%;
2584
+ background-color: white;
2538
2585
  }
2539
2586
 
2540
- .iconfont {
2541
- font-family: iconfont !important;
2587
+ .fs-txt {
2588
+ display: inline-block;
2589
+ width: calc(100% - 16px);
2590
+ padding-left: 8px;
2591
+ vertical-align: top;
2592
+ word-break: break-all;
2542
2593
  font-size: 14px;
2543
- font-style: normal;
2544
- -webkit-font-smoothing: antialiased;
2545
- -moz-osx-font-smoothing: grayscale;
2546
- }
2547
-
2548
- .icon-bofang1:before {
2549
- content: "\E6CF";
2594
+ line-height: 1.2;
2550
2595
  }
2551
2596
 
2552
- .has-error {
2553
- border-color: #ff4d4f !important;
2597
+ .has-error .fs-tit {
2598
+ border-bottom-color: #ff4d4f;
2554
2599
  }
2555
2600
 
2601
+ /* 错误提示样式 */
2556
2602
  .error-tip {
2557
2603
  position: fixed;
2558
2604
  left: 0;
@@ -2648,58 +2694,6 @@ body, html {
2648
2694
  .has-error .fs-tit {
2649
2695
  border-bottom-color: #ff4d4f;
2650
2696
  }
2651
-
2652
- .form-input {
2653
- position: absolute;
2654
- }
2655
-
2656
- .input-wrapper {
2657
- display: flex;
2658
- align-items: center;
2659
- width: 100%;
2660
- height: 100%;
2661
- padding: 0 10px;
2662
- box-sizing: border-box;
2663
- position: relative;
2664
- transition: border-color 0.3s;
2665
- }
2666
-
2667
- .required-marker {
2668
- font-size: 12px;
2669
- padding: 0 5px 0 0;
2670
- color: red;
2671
- vertical-align: middle;
2672
- }
2673
-
2674
- input {
2675
- flex: 1;
2676
- border: none;
2677
- outline: none;
2678
- background: transparent;
2679
- height: 100%;
2680
- padding: 0;
2681
- margin: 0;
2682
- }
2683
- /*
2684
- input::placeholder {
2685
- color: #ccc;
2686
- opacity: 1;
2687
- } */
2688
-
2689
- .dynamic-placeholder-input::placeholder {
2690
- color: var(--placeholder-color, #999);
2691
- opacity: 1;
2692
- }
2693
- .dynamic-placeholder-input::-webkit-input-placeholder {
2694
- color: var(--placeholder-color, #999);
2695
- }
2696
- .dynamic-placeholder-input::-moz-placeholder {
2697
- color: var(--placeholder-color, #999);
2698
- opacity: 1;
2699
- }
2700
- .dynamic-placeholder-input:-ms-input-placeholder {
2701
- color: var(--placeholder-color, #999);
2702
- }
2703
2697
 
2704
2698
  /* 字体定义 */
2705
2699
  @font-face {
@@ -3113,6 +3107,12 @@ input::placeholder {
3113
3107
  }
3114
3108
 
3115
3109
 
3110
+ .form-container {
3111
+ position: relative;
3112
+ width: 100%;
3113
+ height: 100%;
3114
+ }
3115
+
3116
3116
  .global.video {
3117
3117
  width: 35px;
3118
3118
  height: 55px;
@@ -3125,6 +3125,19 @@ input::placeholder {
3125
3125
  .icon-shipin2:before { content: "\E611"; }
3126
3126
  .iconfont { font-family: iconfont !important; font-size: 30px; font-style: normal; }
3127
3127
  .global.video > span { font-size: 12px; line-height: 20px; display: block; position: relative; top: -4px;}
3128
+
3129
+ .global.tel {
3130
+ width: 35px;
3131
+ height: 55px;
3132
+ border-radius: 50%;
3133
+ text-align: center;
3134
+ margin-bottom: 15px;
3135
+ border: 2px solid #fff;
3136
+ cursor: pointer;
3137
+ }
3138
+ .icon-dianhua:before { content: "\E60E"; }
3139
+ .iconfont { font-family: iconfont !important; font-size: 30px; font-style: normal; }
3140
+ .global.tel > span { font-size: 12px; line-height: 20px; display: block;}
3128
3141
 
3129
3142
  .global.receipt {
3130
3143
  width: 35px;
@@ -3139,19 +3152,6 @@ input::placeholder {
3139
3152
  .iconfont { font-family: iconfont !important; font-size: 30px; font-style: normal; }
3140
3153
  .global.receipt > span { font-size: 12px; line-height: 20px; display: block; }
3141
3154
 
3142
- .global.tel {
3143
- width: 35px;
3144
- height: 55px;
3145
- border-radius: 50%;
3146
- text-align: center;
3147
- margin-bottom: 15px;
3148
- border: 2px solid #fff;
3149
- cursor: pointer;
3150
- }
3151
- .icon-dianhua:before { content: "\E60E"; }
3152
- .iconfont { font-family: iconfont !important; font-size: 30px; font-style: normal; }
3153
- .global.tel > span { font-size: 12px; line-height: 20px; display: block;}
3154
-
3155
3155
  .global.map {
3156
3156
  width: 35px;
3157
3157
  height: 55px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "unika-components",
3
- "version": "1.0.391",
3
+ "version": "1.0.392",
4
4
  "private": false,
5
5
  "main": "dist/unika-components.umd.js",
6
6
  "module": "dist/unika-components.esm.js",