@atooyu/uxto-ui 1.0.9 → 1.1.1

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
@@ -2415,7 +2415,7 @@ to {
2415
2415
  .u-read-more__toggle-icon[data-v-b31720eb] {
2416
2416
  font-size: 12px;
2417
2417
  }
2418
- .u-tabbar[data-v-a50e7599] {
2418
+ .u-tabbar[data-v-5998a8d0] {
2419
2419
  position: fixed;
2420
2420
  left: 0;
2421
2421
  right: 0;
@@ -2424,7 +2424,7 @@ to {
2424
2424
  width: 100%;
2425
2425
  pointer-events: none;
2426
2426
  }
2427
- .u-tabbar__nav-wrap[data-v-a50e7599] {
2427
+ .u-tabbar__nav-wrap[data-v-5998a8d0] {
2428
2428
  pointer-events: auto;
2429
2429
  position: absolute;
2430
2430
  left: 14px;
@@ -2443,7 +2443,7 @@ to {
2443
2443
  padding: 0 8px;
2444
2444
  box-sizing: border-box;
2445
2445
  }
2446
- .u-tabbar__tab-btn[data-v-a50e7599] {
2446
+ .u-tabbar__tab-btn[data-v-5998a8d0] {
2447
2447
  height: 40px;
2448
2448
  border-radius: 20px;
2449
2449
  background: transparent;
@@ -2456,24 +2456,25 @@ to {
2456
2456
  white-space: nowrap;
2457
2457
  overflow: hidden;
2458
2458
  padding: 0 16px;
2459
+ margin: 0 20px;
2459
2460
  }
2460
- .u-tabbar__tab-btn--active[data-v-a50e7599] {
2461
+ .u-tabbar__tab-btn--active[data-v-5998a8d0] {
2461
2462
  background: #ffffff;
2462
2463
  box-shadow: inset 0 0 0 1px rgba(17, 135, 128, 0.14);
2463
2464
  }
2464
- .u-tabbar__tab-text[data-v-a50e7599] {
2465
+ .u-tabbar__tab-text[data-v-5998a8d0] {
2465
2466
  font-weight: 600;
2466
2467
  font-size: 14px;
2467
2468
  overflow: hidden;
2468
2469
  text-overflow: ellipsis;
2469
2470
  }
2470
- .u-tabbar__center[data-v-a50e7599] {
2471
+ .u-tabbar__center[data-v-5998a8d0] {
2471
2472
  position: relative;
2472
2473
  width: 72px;
2473
2474
  height: 56px;
2474
2475
  flex-shrink: 0;
2475
2476
  }
2476
- .u-tabbar__center-btn[data-v-a50e7599] {
2477
+ .u-tabbar__center-btn[data-v-5998a8d0] {
2477
2478
  position: absolute;
2478
2479
  left: 50%;
2479
2480
  top: -22px;
@@ -2491,21 +2492,21 @@ to {
2491
2492
  box-shadow: 0 8px 20px rgba(8, 112, 106, 0.25);
2492
2493
  transition: all 200ms ease;
2493
2494
  }
2494
- .u-tabbar__center-btn[data-v-a50e7599]:active {
2495
+ .u-tabbar__center-btn[data-v-5998a8d0]:active {
2495
2496
  transform: translateX(-50%) scale(0.95);
2496
2497
  }
2497
- .u-tabbar__center-btn--active[data-v-a50e7599] {
2498
+ .u-tabbar__center-btn--active[data-v-5998a8d0] {
2498
2499
  border-color: #12b6af;
2499
2500
  box-shadow: 0 8px 24px rgba(8, 112, 106, 0.35);
2500
2501
  }
2501
- .u-tabbar__center-brand[data-v-a50e7599] {
2502
+ .u-tabbar__center-brand[data-v-5998a8d0] {
2502
2503
  font-size: 22px;
2503
2504
  line-height: 1;
2504
2505
  font-weight: 700;
2505
2506
  color: #12b6af;
2506
2507
  letter-spacing: 1px;
2507
2508
  }
2508
- .u-tabbar__center-text[data-v-a50e7599] {
2509
+ .u-tabbar__center-text[data-v-5998a8d0] {
2509
2510
  font-size: 12px;
2510
2511
  letter-spacing: 0.5px;
2511
2512
  color: #12b6af;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atooyu/uxto-ui",
3
- "version": "1.0.9",
3
+ "version": "1.1.1",
4
4
  "description": "跨平台 UI 组件库 - 支持 Android、iOS、鸿蒙",
5
5
  "keywords": [
6
6
  "uxto-ui",
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
2
+ <path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor">
2
+ <path d="M3 11h8V3H3v8zm2-6h4v4H5V5zm8-2v8h8V3h-8zm6 6h-4V5h4v4zM3 21h8v-8H3v8zm2-6h4v4H5v-4zm13-2h-2v3h-3v2h3v3h2v-3h3v-2h-3v-3z"/>
3
+ </svg>
@@ -85,6 +85,8 @@ import bookmark from './icons/bookmark.svg'
85
85
  import bookmarkO from './icons/bookmark-o.svg'
86
86
  import chat from './icons/chat.svg'
87
87
  import clipboard from './icons/clipboard.svg'
88
+ import location from './icons/location.svg'
89
+ import scan from './icons/scan.svg'
88
90
 
89
91
  // 图标映射表
90
92
  export const icons: Record<string, string> = {
@@ -208,6 +210,10 @@ export const icons: Record<string, string> = {
208
210
  'clock': clock,
209
211
  'time': clock,
210
212
  'calendar': clock,
213
+
214
+ // 位置和扫码
215
+ 'location': location,
216
+ 'scan': scan,
211
217
  }
212
218
 
213
219
  // 获取图标 SVG 内容
@@ -178,6 +178,7 @@ $--paper: #ffffff;
178
178
  white-space: nowrap;
179
179
  overflow: hidden;
180
180
  padding: 0 16px;
181
+ margin: 0 20px;
181
182
 
182
183
  &--active {
183
184
  background: $--paper;