@atooyu/uxto-ui 1.1.47 → 1.1.48

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/style.css CHANGED
@@ -2380,7 +2380,7 @@ to {
2380
2380
  }
2381
2381
  .u-read-more__toggle-icon[data-v-b31720eb] {
2382
2382
  font-size: 12px;
2383
- }.u-tabbar[data-v-4e37a87c] {
2383
+ }.u-tabbar[data-v-eb2ab9a2] {
2384
2384
  position: fixed;
2385
2385
  left: 0;
2386
2386
  right: 0;
@@ -2391,7 +2391,7 @@ to {
2391
2391
  padding-bottom: constant(safe-area-inset-bottom);
2392
2392
  padding-bottom: env(safe-area-inset-bottom);
2393
2393
  }
2394
- .u-tabbar__nav-wrap[data-v-4e37a87c] {
2394
+ .u-tabbar__nav-wrap[data-v-eb2ab9a2] {
2395
2395
  position: absolute;
2396
2396
  left: 14px;
2397
2397
  right: 14px;
@@ -2407,7 +2407,7 @@ to {
2407
2407
  padding: 0 8px;
2408
2408
  box-sizing: border-box;
2409
2409
  }
2410
- .u-tabbar__tab-btn[data-v-4e37a87c] {
2410
+ .u-tabbar__tab-btn[data-v-eb2ab9a2] {
2411
2411
  height: 40px;
2412
2412
  border-radius: 20px;
2413
2413
  background: transparent;
@@ -2422,30 +2422,30 @@ to {
2422
2422
  padding: 0 16px;
2423
2423
  margin: 0 20px;
2424
2424
  }
2425
- .u-tabbar__tab-btn--active[data-v-4e37a87c] {
2425
+ .u-tabbar__tab-btn--active[data-v-eb2ab9a2] {
2426
2426
  background: #ffffff;
2427
2427
  box-shadow: inset 0 0 0 1px rgba(17, 135, 128, 0.14);
2428
2428
  }
2429
- .u-tabbar__tab-content[data-v-4e37a87c] {
2429
+ .u-tabbar__tab-content[data-v-eb2ab9a2] {
2430
2430
  display: flex;
2431
2431
  align-items: center;
2432
2432
  justify-content: center;
2433
2433
  gap: 4px;
2434
2434
  pointer-events: none;
2435
2435
  }
2436
- .u-tabbar__tab-text[data-v-4e37a87c] {
2436
+ .u-tabbar__tab-text[data-v-eb2ab9a2] {
2437
2437
  font-weight: 600;
2438
2438
  font-size: 14px;
2439
2439
  overflow: hidden;
2440
2440
  text-overflow: ellipsis;
2441
2441
  }
2442
- .u-tabbar__center[data-v-4e37a87c] {
2442
+ .u-tabbar__center[data-v-eb2ab9a2] {
2443
2443
  position: relative;
2444
2444
  width: 72px;
2445
2445
  height: 56px;
2446
2446
  flex-shrink: 0;
2447
2447
  }
2448
- .u-tabbar__center-btn[data-v-4e37a87c] {
2448
+ .u-tabbar__center-btn[data-v-eb2ab9a2] {
2449
2449
  position: absolute;
2450
2450
  left: 50%;
2451
2451
  top: -22px;
@@ -2463,29 +2463,29 @@ to {
2463
2463
  box-shadow: 0 8px 20px rgba(8, 112, 106, 0.25);
2464
2464
  transition: all 200ms ease;
2465
2465
  }
2466
- .u-tabbar__center-btn[data-v-4e37a87c]:active {
2466
+ .u-tabbar__center-btn[data-v-eb2ab9a2]:active {
2467
2467
  transform: translateX(-50%) scale(0.95);
2468
2468
  }
2469
- .u-tabbar__center-btn--active[data-v-4e37a87c] {
2469
+ .u-tabbar__center-btn--active[data-v-eb2ab9a2] {
2470
2470
  border-color: #12b6af;
2471
2471
  box-shadow: 0 8px 24px rgba(8, 112, 106, 0.35);
2472
2472
  }
2473
- .u-tabbar__center-btn--side-active[data-v-4e37a87c] {
2473
+ .u-tabbar__center-btn--side-active[data-v-eb2ab9a2] {
2474
2474
  background: linear-gradient(135deg, #12b6af 0%, #65d8d1 100%);
2475
2475
  border-color: #9fe4dd;
2476
2476
  }
2477
- .u-tabbar__center-btn--side-active .u-tabbar__center-brand[data-v-4e37a87c],
2478
- .u-tabbar__center-btn--side-active .u-tabbar__center-text[data-v-4e37a87c] {
2477
+ .u-tabbar__center-btn--side-active .u-tabbar__center-brand[data-v-eb2ab9a2],
2478
+ .u-tabbar__center-btn--side-active .u-tabbar__center-text[data-v-eb2ab9a2] {
2479
2479
  color: #ffffff;
2480
2480
  }
2481
- .u-tabbar__center-brand[data-v-4e37a87c] {
2481
+ .u-tabbar__center-brand[data-v-eb2ab9a2] {
2482
2482
  font-size: 22px;
2483
2483
  line-height: 1;
2484
2484
  font-weight: 700;
2485
2485
  color: #12b6af;
2486
2486
  letter-spacing: 1px;
2487
2487
  }
2488
- .u-tabbar__center-text[data-v-4e37a87c] {
2488
+ .u-tabbar__center-text[data-v-eb2ab9a2] {
2489
2489
  font-size: 12px;
2490
2490
  letter-spacing: 0.5px;
2491
2491
  color: #12b6af;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atooyu/uxto-ui",
3
- "version": "1.1.47",
3
+ "version": "1.1.48",
4
4
  "description": "跨平台 UI 组件库 - 支持 Android、iOS、鸿蒙",
5
5
  "keywords": [
6
6
  "uxto-ui",
@@ -6,7 +6,7 @@
6
6
  <view
7
7
  class="u-tabbar__tab-btn"
8
8
  :class="{ 'u-tabbar__tab-btn--active': modelValue === leftTab.value }"
9
- @tap.stop="switchTab(leftTab.value)"
9
+ @tap.stop.prevent="switchTab(leftTab.value)"
10
10
  >
11
11
  <view class="u-tabbar__tab-content">
12
12
  <u-icon
@@ -32,7 +32,7 @@
32
32
  'u-tabbar__center-btn--active': modelValue === centerTab.value,
33
33
  'u-tabbar__center-btn--side-active': modelValue === leftTab.value || modelValue === rightTab.value
34
34
  }"
35
- @tap.stop="switchTab(centerTab.value)"
35
+ @tap.stop.prevent="switchTab(centerTab.value)"
36
36
  >
37
37
  <text class="u-tabbar__center-brand">
38
38
  {{ centerBrand }}
@@ -47,7 +47,7 @@
47
47
  <view
48
48
  class="u-tabbar__tab-btn"
49
49
  :class="{ 'u-tabbar__tab-btn--active': modelValue === rightTab.value }"
50
- @tap.stop="switchTab(rightTab.value)"
50
+ @tap.stop.prevent="switchTab(rightTab.value)"
51
51
  >
52
52
  <view class="u-tabbar__tab-content">
53
53
  <u-icon