@atooyu/uxto-ui 1.1.44 → 1.1.46

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,17 +2380,18 @@ to {
2380
2380
  }
2381
2381
  .u-read-more__toggle-icon[data-v-b31720eb] {
2382
2382
  font-size: 12px;
2383
- }.u-tabbar[data-v-be1becb2] {
2383
+ }.u-tabbar[data-v-745a84ac] {
2384
2384
  position: fixed;
2385
2385
  left: 0;
2386
2386
  right: 0;
2387
2387
  bottom: 0;
2388
2388
  z-index: 999;
2389
2389
  width: 100%;
2390
+ height: 70px;
2390
2391
  padding-bottom: constant(safe-area-inset-bottom);
2391
2392
  padding-bottom: env(safe-area-inset-bottom);
2392
2393
  }
2393
- .u-tabbar__nav-wrap[data-v-be1becb2] {
2394
+ .u-tabbar__nav-wrap[data-v-745a84ac] {
2394
2395
  position: absolute;
2395
2396
  left: 14px;
2396
2397
  right: 14px;
@@ -2406,7 +2407,7 @@ to {
2406
2407
  padding: 0 8px;
2407
2408
  box-sizing: border-box;
2408
2409
  }
2409
- .u-tabbar__tab-btn[data-v-be1becb2] {
2410
+ .u-tabbar__tab-btn[data-v-745a84ac] {
2410
2411
  height: 40px;
2411
2412
  border-radius: 20px;
2412
2413
  background: transparent;
@@ -2421,23 +2422,23 @@ to {
2421
2422
  padding: 0 16px;
2422
2423
  margin: 0 20px;
2423
2424
  }
2424
- .u-tabbar__tab-btn--active[data-v-be1becb2] {
2425
+ .u-tabbar__tab-btn--active[data-v-745a84ac] {
2425
2426
  background: #ffffff;
2426
2427
  box-shadow: inset 0 0 0 1px rgba(17, 135, 128, 0.14);
2427
2428
  }
2428
- .u-tabbar__tab-text[data-v-be1becb2] {
2429
+ .u-tabbar__tab-text[data-v-745a84ac] {
2429
2430
  font-weight: 600;
2430
2431
  font-size: 14px;
2431
2432
  overflow: hidden;
2432
2433
  text-overflow: ellipsis;
2433
2434
  }
2434
- .u-tabbar__center[data-v-be1becb2] {
2435
+ .u-tabbar__center[data-v-745a84ac] {
2435
2436
  position: relative;
2436
2437
  width: 72px;
2437
2438
  height: 56px;
2438
2439
  flex-shrink: 0;
2439
2440
  }
2440
- .u-tabbar__center-btn[data-v-be1becb2] {
2441
+ .u-tabbar__center-btn[data-v-745a84ac] {
2441
2442
  position: absolute;
2442
2443
  left: 50%;
2443
2444
  top: -22px;
@@ -2455,29 +2456,29 @@ to {
2455
2456
  box-shadow: 0 8px 20px rgba(8, 112, 106, 0.25);
2456
2457
  transition: all 200ms ease;
2457
2458
  }
2458
- .u-tabbar__center-btn[data-v-be1becb2]:active {
2459
+ .u-tabbar__center-btn[data-v-745a84ac]:active {
2459
2460
  transform: translateX(-50%) scale(0.95);
2460
2461
  }
2461
- .u-tabbar__center-btn--active[data-v-be1becb2] {
2462
+ .u-tabbar__center-btn--active[data-v-745a84ac] {
2462
2463
  border-color: #12b6af;
2463
2464
  box-shadow: 0 8px 24px rgba(8, 112, 106, 0.35);
2464
2465
  }
2465
- .u-tabbar__center-btn--side-active[data-v-be1becb2] {
2466
+ .u-tabbar__center-btn--side-active[data-v-745a84ac] {
2466
2467
  background: linear-gradient(135deg, #12b6af 0%, #65d8d1 100%);
2467
2468
  border-color: #9fe4dd;
2468
2469
  }
2469
- .u-tabbar__center-btn--side-active .u-tabbar__center-brand[data-v-be1becb2],
2470
- .u-tabbar__center-btn--side-active .u-tabbar__center-text[data-v-be1becb2] {
2470
+ .u-tabbar__center-btn--side-active .u-tabbar__center-brand[data-v-745a84ac],
2471
+ .u-tabbar__center-btn--side-active .u-tabbar__center-text[data-v-745a84ac] {
2471
2472
  color: #ffffff;
2472
2473
  }
2473
- .u-tabbar__center-brand[data-v-be1becb2] {
2474
+ .u-tabbar__center-brand[data-v-745a84ac] {
2474
2475
  font-size: 22px;
2475
2476
  line-height: 1;
2476
2477
  font-weight: 700;
2477
2478
  color: #12b6af;
2478
2479
  letter-spacing: 1px;
2479
2480
  }
2480
- .u-tabbar__center-text[data-v-be1becb2] {
2481
+ .u-tabbar__center-text[data-v-745a84ac] {
2481
2482
  font-size: 12px;
2482
2483
  letter-spacing: 0.5px;
2483
2484
  color: #12b6af;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atooyu/uxto-ui",
3
- "version": "1.1.44",
3
+ "version": "1.1.46",
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
- @click="switchTab(leftTab.value)"
9
+ @tap="switchTab(leftTab.value)"
10
10
  >
11
11
  <u-icon
12
12
  v-if="leftTab.icon"
@@ -30,7 +30,7 @@
30
30
  'u-tabbar__center-btn--active': modelValue === centerTab.value,
31
31
  'u-tabbar__center-btn--side-active': modelValue === leftTab.value || modelValue === rightTab.value
32
32
  }"
33
- @click="switchTab(centerTab.value)"
33
+ @tap="switchTab(centerTab.value)"
34
34
  >
35
35
  <text class="u-tabbar__center-brand">
36
36
  {{ centerBrand }}
@@ -45,7 +45,7 @@
45
45
  <view
46
46
  class="u-tabbar__tab-btn"
47
47
  :class="{ 'u-tabbar__tab-btn--active': modelValue === rightTab.value }"
48
- @click="switchTab(rightTab.value)"
48
+ @tap="switchTab(rightTab.value)"
49
49
  >
50
50
  <u-icon
51
51
  v-if="rightTab.icon"
@@ -124,7 +124,7 @@ const switchTab = (tab: string) => {
124
124
  <script lang="ts">
125
125
  export default {
126
126
  options: {
127
- virtualHost: true,
127
+ virtualHost: false,
128
128
  styleIsolation: 'shared'
129
129
  }
130
130
  }
@@ -145,6 +145,8 @@ $--paper: #ffffff;
145
145
  bottom: 0;
146
146
  z-index: 999;
147
147
  width: 100%;
148
+ // 设置高度,确保触摸区域正确
149
+ height: 70px;
148
150
  // 底部安全区域适配
149
151
  padding-bottom: constant(safe-area-inset-bottom);
150
152
  padding-bottom: env(safe-area-inset-bottom);