@atooyu/uxto-ui 1.1.6 → 1.1.8
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.
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +5 -2
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +19 -11
- package/package.json +1 -1
- package/src/components/u-tabbar/u-tabbar.vue +15 -1
package/dist/style.css
CHANGED
|
@@ -2414,7 +2414,7 @@ to {
|
|
|
2414
2414
|
.u-read-more__toggle-icon[data-v-b31720eb] {
|
|
2415
2415
|
font-size: 12px;
|
|
2416
2416
|
}
|
|
2417
|
-
.u-tabbar[data-v-
|
|
2417
|
+
.u-tabbar[data-v-69811cb8] {
|
|
2418
2418
|
position: fixed;
|
|
2419
2419
|
left: 0;
|
|
2420
2420
|
right: 0;
|
|
@@ -2423,7 +2423,7 @@ to {
|
|
|
2423
2423
|
width: 100%;
|
|
2424
2424
|
pointer-events: none;
|
|
2425
2425
|
}
|
|
2426
|
-
.u-tabbar__nav-wrap[data-v-
|
|
2426
|
+
.u-tabbar__nav-wrap[data-v-69811cb8] {
|
|
2427
2427
|
pointer-events: auto;
|
|
2428
2428
|
position: absolute;
|
|
2429
2429
|
left: 14px;
|
|
@@ -2442,7 +2442,7 @@ to {
|
|
|
2442
2442
|
padding: 0 8px;
|
|
2443
2443
|
box-sizing: border-box;
|
|
2444
2444
|
}
|
|
2445
|
-
.u-tabbar__tab-btn[data-v-
|
|
2445
|
+
.u-tabbar__tab-btn[data-v-69811cb8] {
|
|
2446
2446
|
height: 40px;
|
|
2447
2447
|
border-radius: 20px;
|
|
2448
2448
|
background: transparent;
|
|
@@ -2457,23 +2457,23 @@ to {
|
|
|
2457
2457
|
padding: 0 16px;
|
|
2458
2458
|
margin: 0 20px;
|
|
2459
2459
|
}
|
|
2460
|
-
.u-tabbar__tab-btn--active[data-v-
|
|
2460
|
+
.u-tabbar__tab-btn--active[data-v-69811cb8] {
|
|
2461
2461
|
background: #ffffff;
|
|
2462
2462
|
box-shadow: inset 0 0 0 1px rgba(17, 135, 128, 0.14);
|
|
2463
2463
|
}
|
|
2464
|
-
.u-tabbar__tab-text[data-v-
|
|
2464
|
+
.u-tabbar__tab-text[data-v-69811cb8] {
|
|
2465
2465
|
font-weight: 600;
|
|
2466
2466
|
font-size: 14px;
|
|
2467
2467
|
overflow: hidden;
|
|
2468
2468
|
text-overflow: ellipsis;
|
|
2469
2469
|
}
|
|
2470
|
-
.u-tabbar__center[data-v-
|
|
2470
|
+
.u-tabbar__center[data-v-69811cb8] {
|
|
2471
2471
|
position: relative;
|
|
2472
2472
|
width: 72px;
|
|
2473
2473
|
height: 56px;
|
|
2474
2474
|
flex-shrink: 0;
|
|
2475
2475
|
}
|
|
2476
|
-
.u-tabbar__center-btn[data-v-
|
|
2476
|
+
.u-tabbar__center-btn[data-v-69811cb8] {
|
|
2477
2477
|
position: absolute;
|
|
2478
2478
|
left: 50%;
|
|
2479
2479
|
top: -22px;
|
|
@@ -2491,21 +2491,29 @@ to {
|
|
|
2491
2491
|
box-shadow: 0 8px 20px rgba(8, 112, 106, 0.25);
|
|
2492
2492
|
transition: all 200ms ease;
|
|
2493
2493
|
}
|
|
2494
|
-
.u-tabbar__center-btn[data-v-
|
|
2494
|
+
.u-tabbar__center-btn[data-v-69811cb8]:active {
|
|
2495
2495
|
transform: translateX(-50%) scale(0.95);
|
|
2496
2496
|
}
|
|
2497
|
-
.u-tabbar__center-btn--active[data-v-
|
|
2497
|
+
.u-tabbar__center-btn--active[data-v-69811cb8] {
|
|
2498
2498
|
border-color: #12b6af;
|
|
2499
2499
|
box-shadow: 0 8px 24px rgba(8, 112, 106, 0.35);
|
|
2500
2500
|
}
|
|
2501
|
-
.u-tabbar__center-
|
|
2501
|
+
.u-tabbar__center-btn--left-active[data-v-69811cb8] {
|
|
2502
|
+
background: linear-gradient(135deg, #12b6af 0%, #65d8d1 100%);
|
|
2503
|
+
border-color: #9fe4dd;
|
|
2504
|
+
}
|
|
2505
|
+
.u-tabbar__center-btn--left-active .u-tabbar__center-brand[data-v-69811cb8],
|
|
2506
|
+
.u-tabbar__center-btn--left-active .u-tabbar__center-text[data-v-69811cb8] {
|
|
2507
|
+
color: #ffffff;
|
|
2508
|
+
}
|
|
2509
|
+
.u-tabbar__center-brand[data-v-69811cb8] {
|
|
2502
2510
|
font-size: 22px;
|
|
2503
2511
|
line-height: 1;
|
|
2504
2512
|
font-weight: 700;
|
|
2505
2513
|
color: #12b6af;
|
|
2506
2514
|
letter-spacing: 1px;
|
|
2507
2515
|
}
|
|
2508
|
-
.u-tabbar__center-text[data-v-
|
|
2516
|
+
.u-tabbar__center-text[data-v-69811cb8] {
|
|
2509
2517
|
font-size: 12px;
|
|
2510
2518
|
letter-spacing: 0.5px;
|
|
2511
2519
|
color: #12b6af;
|
package/package.json
CHANGED
|
@@ -26,7 +26,10 @@
|
|
|
26
26
|
<view class="u-tabbar__center">
|
|
27
27
|
<view
|
|
28
28
|
class="u-tabbar__center-btn"
|
|
29
|
-
:class="{
|
|
29
|
+
:class="{
|
|
30
|
+
'u-tabbar__center-btn--active': modelValue === centerTab.value,
|
|
31
|
+
'u-tabbar__center-btn--left-active': modelValue === leftTab.value
|
|
32
|
+
}"
|
|
30
33
|
@click="switchTab(centerTab.value)"
|
|
31
34
|
>
|
|
32
35
|
<text class="u-tabbar__center-brand">
|
|
@@ -228,6 +231,17 @@ $--paper: #ffffff;
|
|
|
228
231
|
border-color: $--mint-1;
|
|
229
232
|
box-shadow: 0 8px 24px rgba(8, 112, 106, 0.35);
|
|
230
233
|
}
|
|
234
|
+
|
|
235
|
+
// 左侧tab选中时的样式(首页选中)
|
|
236
|
+
&--left-active {
|
|
237
|
+
background: linear-gradient(135deg, $--mint-1 0%, $--mint-3 100%);
|
|
238
|
+
border-color: $--mint-2;
|
|
239
|
+
|
|
240
|
+
.u-tabbar__center-brand,
|
|
241
|
+
.u-tabbar__center-text {
|
|
242
|
+
color: $--paper;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
231
245
|
}
|
|
232
246
|
|
|
233
247
|
&__center-brand {
|