@atooyu/uxto-ui 1.0.6 → 1.0.7

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 CHANGED
@@ -10,11 +10,11 @@ const _hoisted_3$o = {
10
10
  key: 1,
11
11
  class: "u-button__content"
12
12
  };
13
- const _hoisted_4$g = {
13
+ const _hoisted_4$f = {
14
14
  key: 0,
15
15
  class: "u-button__icon"
16
16
  };
17
- const _hoisted_5$d = { class: "u-button__text" };
17
+ const _hoisted_5$c = { class: "u-button__text" };
18
18
  const __default__$L = {
19
19
  options: {
20
20
  virtualHost: true,
@@ -77,8 +77,8 @@ const _sfc_main$L = /* @__PURE__ */ vue.defineComponent({
77
77
  __props.loading ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$v, [..._cache[0] || (_cache[0] = [
78
78
  vue.createElementVNode("view", { class: "u-button__loading-icon" }, null, -1)
79
79
  ])])) : (vue.openBlock(), vue.createElementBlock("view", _hoisted_3$o, [
80
- __props.icon ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_4$g, vue.toDisplayString(__props.icon), 1)) : vue.createCommentVNode("", true),
81
- vue.createElementVNode("text", _hoisted_5$d, [
80
+ __props.icon ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_4$f, vue.toDisplayString(__props.icon), 1)) : vue.createCommentVNode("", true),
81
+ vue.createElementVNode("text", _hoisted_5$c, [
82
82
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
83
83
  ])
84
84
  ]))
@@ -100,12 +100,12 @@ const _hoisted_1$E = {
100
100
  };
101
101
  const _hoisted_2$u = { class: "u-input__icon" };
102
102
  const _hoisted_3$n = { class: "u-input__body" };
103
- const _hoisted_4$f = ["type", "value", "placeholder", "placeholder-style", "disabled", "maxlength", "focus", "confirm-type", "adjust-position"];
104
- const _hoisted_5$c = {
103
+ const _hoisted_4$e = ["type", "value", "placeholder", "placeholder-style", "disabled", "maxlength", "focus", "confirm-type", "adjust-position"];
104
+ const _hoisted_5$b = {
105
105
  key: 2,
106
106
  class: "u-input__suffix"
107
107
  };
108
- const _hoisted_6$8 = { class: "u-input__icon" };
108
+ const _hoisted_6$7 = { class: "u-input__icon" };
109
109
  const __default__$K = {
110
110
  options: {
111
111
  virtualHost: true,
@@ -185,7 +185,7 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
185
185
  onFocus: handleFocus,
186
186
  onBlur: handleBlur,
187
187
  onConfirm: handleConfirm
188
- }, null, 40, _hoisted_4$f)
188
+ }, null, 40, _hoisted_4$e)
189
189
  ]),
190
190
  __props.clearable && __props.modelValue ? (vue.openBlock(), vue.createElementBlock("view", {
191
191
  key: 1,
@@ -194,9 +194,9 @@ const _sfc_main$K = /* @__PURE__ */ vue.defineComponent({
194
194
  }, [..._cache[0] || (_cache[0] = [
195
195
  vue.createElementVNode("text", { class: "u-input__clear-icon" }, "×", -1)
196
196
  ])])) : vue.createCommentVNode("", true),
197
- _ctx.$slots.suffix || __props.suffixIcon ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_5$c, [
197
+ _ctx.$slots.suffix || __props.suffixIcon ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_5$b, [
198
198
  vue.renderSlot(_ctx.$slots, "suffix", {}, () => [
199
- vue.createElementVNode("text", _hoisted_6$8, vue.toDisplayString(__props.suffixIcon), 1)
199
+ vue.createElementVNode("text", _hoisted_6$7, vue.toDisplayString(__props.suffixIcon), 1)
200
200
  ], true)
201
201
  ])) : vue.createCommentVNode("", true)
202
202
  ], 2);
@@ -210,15 +210,15 @@ const _hoisted_2$t = {
210
210
  class: "u-cell__icon"
211
211
  };
212
212
  const _hoisted_3$m = ["src"];
213
- const _hoisted_4$e = { class: "u-cell__content" };
214
- const _hoisted_5$b = { class: "u-cell__title" };
215
- const _hoisted_6$7 = { class: "u-cell__title-text" };
216
- const _hoisted_7$6 = {
213
+ const _hoisted_4$d = { class: "u-cell__content" };
214
+ const _hoisted_5$a = { class: "u-cell__title" };
215
+ const _hoisted_6$6 = { class: "u-cell__title-text" };
216
+ const _hoisted_7$5 = {
217
217
  key: 0,
218
218
  class: "u-cell__label"
219
219
  };
220
- const _hoisted_8$5 = { class: "u-cell__value" };
221
- const _hoisted_9$5 = { class: "u-cell__value-text" };
220
+ const _hoisted_8$4 = { class: "u-cell__value" };
221
+ const _hoisted_9$4 = { class: "u-cell__value-text" };
222
222
  const _hoisted_10$3 = {
223
223
  key: 1,
224
224
  class: "u-cell__arrow"
@@ -278,14 +278,14 @@ const _sfc_main$J = /* @__PURE__ */ vue.defineComponent({
278
278
  }, null, 8, _hoisted_3$m)) : vue.createCommentVNode("", true)
279
279
  ], true)
280
280
  ])) : vue.createCommentVNode("", true),
281
- vue.createElementVNode("view", _hoisted_4$e, [
282
- vue.createElementVNode("view", _hoisted_5$b, [
283
- vue.createElementVNode("text", _hoisted_6$7, vue.toDisplayString(__props.title), 1),
284
- __props.label ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_7$6, vue.toDisplayString(__props.label), 1)) : vue.createCommentVNode("", true)
281
+ vue.createElementVNode("view", _hoisted_4$d, [
282
+ vue.createElementVNode("view", _hoisted_5$a, [
283
+ vue.createElementVNode("text", _hoisted_6$6, vue.toDisplayString(__props.title), 1),
284
+ __props.label ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_7$5, vue.toDisplayString(__props.label), 1)) : vue.createCommentVNode("", true)
285
285
  ]),
286
- vue.createElementVNode("view", _hoisted_8$5, [
286
+ vue.createElementVNode("view", _hoisted_8$4, [
287
287
  vue.renderSlot(_ctx.$slots, "value", {}, () => [
288
- vue.createElementVNode("text", _hoisted_9$5, vue.toDisplayString(__props.value), 1)
288
+ vue.createElementVNode("text", _hoisted_9$4, vue.toDisplayString(__props.value), 1)
289
289
  ], true)
290
290
  ])
291
291
  ]),
@@ -338,8 +338,8 @@ const _hoisted_1$B = {
338
338
  };
339
339
  const _hoisted_2$r = { class: "u-modal__title" };
340
340
  const _hoisted_3$k = { class: "u-modal__body" };
341
- const _hoisted_4$d = { class: "u-modal__message" };
342
- const _hoisted_5$a = { class: "u-modal__footer" };
341
+ const _hoisted_4$c = { class: "u-modal__message" };
342
+ const _hoisted_5$9 = { class: "u-modal__footer" };
343
343
  const __default__$H = {
344
344
  options: {
345
345
  virtualHost: true,
@@ -391,10 +391,10 @@ const _sfc_main$H = /* @__PURE__ */ vue.defineComponent({
391
391
  ])) : vue.createCommentVNode("", true),
392
392
  vue.createElementVNode("view", _hoisted_3$k, [
393
393
  vue.renderSlot(_ctx.$slots, "default", {}, () => [
394
- vue.createElementVNode("text", _hoisted_4$d, vue.toDisplayString(__props.message), 1)
394
+ vue.createElementVNode("text", _hoisted_4$c, vue.toDisplayString(__props.message), 1)
395
395
  ], true)
396
396
  ]),
397
- vue.createElementVNode("view", _hoisted_5$a, [
397
+ vue.createElementVNode("view", _hoisted_5$9, [
398
398
  __props.showCancel ? (vue.openBlock(), vue.createElementBlock("view", {
399
399
  key: 0,
400
400
  class: "u-modal__button u-modal__button--cancel",
@@ -487,6 +487,10 @@ const upload = "data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='h
487
487
  const user = "data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='currentColor'%20d='M12%2012c2.21%200%204-1.79%204-4s-1.79-4-4-4-4%201.79-4%204%201.79%204%204%204zm0%202c-2.67%200-8%201.34-8%204v2h16v-2c0-2.66-5.33-4-8-4z'/%3e%3c/svg%3e";
488
488
  const account = "data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='currentColor'%20d='M19%203H5c-1.1%200-2%20.9-2%202v14c0%201.1.9%202%202%202h14c1.1%200%202-.9%202-2V5c0-1.1-.9-2-2-2zm-7%203c1.93%200%203.5%201.57%203.5%203.5S13.93%2013%2012%2013s-3.5-1.57-3.5-3.5S10.07%206%2012%206zm7%2013H5v-.23c0-.62.28-1.2.76-1.58C7.47%2015.82%209.64%2015%2012%2015s4.53.82%206.24%202.19c.48.38.76.97.76%201.58V19z'/%3e%3c/svg%3e";
489
489
  const group = "data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='currentColor'%20d='M16%2011c1.66%200%202.99-1.34%202.99-3S17.66%205%2016%205c-1.66%200-3%201.34-3%203s1.34%203%203%203zm-8%200c1.66%200%202.99-1.34%202.99-3S9.66%205%208%205C6.34%205%205%206.34%205%208s1.34%203%203%203zm0%202c-2.33%200-7%201.17-7%203.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8%200c-.29%200-.62.02-.97.05%201.16.84%201.97%201.97%201.97%203.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z'/%3e%3c/svg%3e";
490
+ const home = "data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='currentColor'%20d='M10%2020v-6h4v6h5v-8h3L12%203%202%2012h3v8z'/%3e%3c/svg%3e";
491
+ const homeFill = "data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='currentColor'%20d='M12%203L4%209v12h6v-6h4v6h6V9l-8-6z'/%3e%3c/svg%3e";
492
+ const accountFill = "data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='currentColor'%20d='M12%202C6.48%202%202%206.48%202%2012s4.48%2010%2010%2010%2010-4.48%2010-10S17.52%202%2012%202zm0%203c1.66%200%203%201.34%203%203s-1.34%203-3%203-3-1.34-3-3%201.34-3%203-3zm0%2014.2c-2.5%200-4.71-1.28-6-3.22.03-1.99%204-3.08%206-3.08%201.99%200%205.97%201.09%206%203.08-1.29%201.94-3.5%203.22-6%203.22z'/%3e%3c/svg%3e";
493
+ const userFill = "data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='currentColor'%20d='M12%202C6.48%202%202%206.48%202%2012s4.48%2010%2010%2010%2010-4.48%2010-10S17.52%202%2012%202zm0%203c1.66%200%203%201.34%203%203s-1.34%203-3%203-3-1.34-3-3%201.34-3%203-3zm0%2014.2c-2.5%200-4.71-1.28-6-3.22.03-1.99%204-3.08%206-3.08%201.99%200%205.97%201.09%206%203.08-1.29%201.94-3.5%203.22-6%203.22z'/%3e%3c/svg%3e";
490
494
  const warning = "data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='currentColor'%20d='M12%202C6.48%202%202%206.48%202%2012s4.48%2010%2010%2010%2010-4.48%2010-10S17.52%202%2012%202zm1%2015h-2v-2h2v2zm0-4h-2V7h2v6z'/%3e%3c/svg%3e";
491
495
  const warningO = "data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='currentColor'%20d='M12%202C6.48%202%202%206.48%202%2012s4.48%2010%2010%2010%2010-4.48%2010-10S17.52%202%2012%202zm1%2015h-2v-2h2v2zm0-4h-2V7h2v6z'/%3e%3c/svg%3e";
492
496
  const zoomIn = "data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill='currentColor'%20d='M15.5%2014h-.79l-.28-.27C15.41%2012.59%2016%2011.11%2016%209.5%2016%205.91%2013.09%203%209.5%203S3%205.91%203%209.5%205.91%2016%209.5%2016c1.61%200%203.09-.59%204.23-1.57l.27.28v.79l5%204.99L20.49%2019l-4.99-5zm-6%200C7.01%2014%205%2011.99%205%209.5S7.01%205%209.5%205%2014%207.01%2014%209.5%2011.99%2014%209.5%2014z'/%3e%3c/svg%3e";
@@ -553,10 +557,15 @@ const icons = {
553
557
  "share": share,
554
558
  // 用户类
555
559
  "user": user,
560
+ "user-fill": userFill,
556
561
  "account": account,
562
+ "account-fill": accountFill,
557
563
  "group": group,
558
564
  "smile": smile,
559
565
  "smile-o": smileO,
566
+ // 导航类 - 新增首页图标
567
+ "home": home,
568
+ "home-fill": homeFill,
560
569
  // 安全类
561
570
  "lock": lock,
562
571
  "unlock": unlock,
@@ -676,7 +685,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
676
685
  };
677
686
  }
678
687
  });
679
- const uIcon = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-5d845d48"]]);
688
+ const UIcon = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-5d845d48"]]);
680
689
  const __default__$F = {
681
690
  options: {
682
691
  virtualHost: true,
@@ -2024,12 +2033,12 @@ const _hoisted_3$f = {
2024
2033
  key: 1,
2025
2034
  class: "u-grid-item__icon-text"
2026
2035
  };
2027
- const _hoisted_4$c = {
2036
+ const _hoisted_4$b = {
2028
2037
  key: 0,
2029
2038
  class: "u-grid-item__badge"
2030
2039
  };
2031
- const _hoisted_5$9 = { class: "u-grid-item__badge-text" };
2032
- const _hoisted_6$6 = {
2040
+ const _hoisted_5$8 = { class: "u-grid-item__badge-text" };
2041
+ const _hoisted_6$5 = {
2033
2042
  key: 1,
2034
2043
  class: "u-grid-item__text"
2035
2044
  };
@@ -2097,11 +2106,11 @@ const _sfc_main$q = /* @__PURE__ */ vue.defineComponent({
2097
2106
  mode: "aspectFit"
2098
2107
  }, null, 8, _hoisted_2$i)) : __props.icon ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_3$f, vue.toDisplayString(__props.icon), 1)) : vue.createCommentVNode("", true)
2099
2108
  ], true),
2100
- __props.badge !== void 0 && __props.badge !== null && __props.badge !== "" ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_4$c, [
2101
- vue.createElementVNode("text", _hoisted_5$9, vue.toDisplayString(__props.badge), 1)
2109
+ __props.badge !== void 0 && __props.badge !== null && __props.badge !== "" ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_4$b, [
2110
+ vue.createElementVNode("text", _hoisted_5$8, vue.toDisplayString(__props.badge), 1)
2102
2111
  ])) : vue.createCommentVNode("", true)
2103
2112
  ])) : vue.createCommentVNode("", true),
2104
- __props.text || _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_6$6, [
2113
+ __props.text || _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_6$5, [
2105
2114
  vue.renderSlot(_ctx.$slots, "default", {}, () => [
2106
2115
  vue.createTextVNode(vue.toDisplayString(__props.text), 1)
2107
2116
  ], true)
@@ -2120,8 +2129,8 @@ const _hoisted_3$e = {
2120
2129
  key: 1,
2121
2130
  class: "u-swiper__title"
2122
2131
  };
2123
- const _hoisted_4$b = { class: "u-swiper__title-text" };
2124
- const _hoisted_5$8 = {
2132
+ const _hoisted_4$a = { class: "u-swiper__title-text" };
2133
+ const _hoisted_5$7 = {
2125
2134
  key: 2,
2126
2135
  class: "u-swiper__indicator"
2127
2136
  };
@@ -2248,9 +2257,9 @@ const _sfc_main$p = /* @__PURE__ */ vue.defineComponent({
2248
2257
  vue.createElementVNode("view", { class: "u-swiper__loading-icon" }, null, -1)
2249
2258
  ])])) : vue.createCommentVNode("", true),
2250
2259
  __props.showTitle && currentTitle.value ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_3$e, [
2251
- vue.createElementVNode("text", _hoisted_4$b, vue.toDisplayString(currentTitle.value), 1)
2260
+ vue.createElementVNode("text", _hoisted_4$a, vue.toDisplayString(currentTitle.value), 1)
2252
2261
  ])) : vue.createCommentVNode("", true),
2253
- showIndicator.value && indicatorSlot.value ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_5$8, [
2262
+ showIndicator.value && indicatorSlot.value ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_5$7, [
2254
2263
  vue.renderSlot(_ctx.$slots, "indicator", {
2255
2264
  current: currentIndex.value,
2256
2265
  total: itemCount.value
@@ -2333,7 +2342,7 @@ const _hoisted_1$k = {
2333
2342
  };
2334
2343
  const _hoisted_2$g = { class: "u-search__body" };
2335
2344
  const _hoisted_3$d = ["type", "value", "placeholder", "placeholder-style", "disabled", "maxlength", "focus", "confirm-type", "adjust-position"];
2336
- const _hoisted_4$a = { class: "u-search__action-text" };
2345
+ const _hoisted_4$9 = { class: "u-search__action-text" };
2337
2346
  const __default__$n = {
2338
2347
  options: {
2339
2348
  virtualHost: true,
@@ -2449,7 +2458,7 @@ const _sfc_main$n = /* @__PURE__ */ vue.defineComponent({
2449
2458
  onClick: handleAction
2450
2459
  }, [
2451
2460
  vue.renderSlot(_ctx.$slots, "action", {}, () => [
2452
- vue.createElementVNode("text", _hoisted_4$a, vue.toDisplayString(__props.actionText), 1)
2461
+ vue.createElementVNode("text", _hoisted_4$9, vue.toDisplayString(__props.actionText), 1)
2453
2462
  ], true)
2454
2463
  ])) : vue.createCommentVNode("", true)
2455
2464
  ], 2);
@@ -2626,18 +2635,18 @@ const uNumberBox = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data
2626
2635
  const _hoisted_1$i = { class: "u-upload" };
2627
2636
  const _hoisted_2$f = { class: "u-upload__list" };
2628
2637
  const _hoisted_3$c = ["src", "onClick"];
2629
- const _hoisted_4$9 = {
2638
+ const _hoisted_4$8 = {
2630
2639
  key: 1,
2631
2640
  class: "u-upload__video"
2632
2641
  };
2633
- const _hoisted_5$7 = ["src", "onClick"];
2634
- const _hoisted_6$5 = ["onClick"];
2635
- const _hoisted_7$5 = { class: "u-upload__file-name" };
2636
- const _hoisted_8$4 = {
2642
+ const _hoisted_5$6 = ["src", "onClick"];
2643
+ const _hoisted_6$4 = ["onClick"];
2644
+ const _hoisted_7$4 = { class: "u-upload__file-name" };
2645
+ const _hoisted_8$3 = {
2637
2646
  key: 3,
2638
2647
  class: "u-upload__progress"
2639
2648
  };
2640
- const _hoisted_9$4 = ["onClick"];
2649
+ const _hoisted_9$3 = ["onClick"];
2641
2650
  const _hoisted_10$2 = {
2642
2651
  key: 5,
2643
2652
  class: "u-upload__error"
@@ -2770,13 +2779,13 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
2770
2779
  src: file.url || file.thumb,
2771
2780
  mode: "aspectFill",
2772
2781
  onClick: ($event) => handlePreview(file, index)
2773
- }, null, 8, _hoisted_3$c)) : isVideo(file) ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_4$9, [
2782
+ }, null, 8, _hoisted_3$c)) : isVideo(file) ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_4$8, [
2774
2783
  vue.createElementVNode("image", {
2775
2784
  class: "u-upload__preview",
2776
2785
  src: file.thumb || defaultVideoThumb,
2777
2786
  mode: "aspectFill",
2778
2787
  onClick: ($event) => handlePreview(file, index)
2779
- }, null, 8, _hoisted_5$7),
2788
+ }, null, 8, _hoisted_5$6),
2780
2789
  _cache[0] || (_cache[0] = vue.createElementVNode("view", { class: "u-upload__video-icon" }, [
2781
2790
  vue.createElementVNode("text", null, "▶")
2782
2791
  ], -1))
@@ -2786,9 +2795,9 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
2786
2795
  onClick: ($event) => handlePreview(file, index)
2787
2796
  }, [
2788
2797
  _cache[1] || (_cache[1] = vue.createElementVNode("text", { class: "u-upload__file-icon" }, "📄", -1)),
2789
- vue.createElementVNode("text", _hoisted_7$5, vue.toDisplayString(getFileName(file)), 1)
2790
- ], 8, _hoisted_6$5)),
2791
- file.status === "uploading" ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_8$4, [
2798
+ vue.createElementVNode("text", _hoisted_7$4, vue.toDisplayString(getFileName(file)), 1)
2799
+ ], 8, _hoisted_6$4)),
2800
+ file.status === "uploading" ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_8$3, [
2792
2801
  vue.createElementVNode("view", {
2793
2802
  class: "u-upload__progress-bar",
2794
2803
  style: vue.normalizeStyle({ width: file.progress + "%" })
@@ -2800,7 +2809,7 @@ const _sfc_main$l = /* @__PURE__ */ vue.defineComponent({
2800
2809
  onClick: ($event) => handleDelete(index)
2801
2810
  }, [..._cache[2] || (_cache[2] = [
2802
2811
  vue.createElementVNode("text", { class: "u-upload__delete-icon" }, "×", -1)
2803
- ])], 8, _hoisted_9$4)) : vue.createCommentVNode("", true),
2812
+ ])], 8, _hoisted_9$3)) : vue.createCommentVNode("", true),
2804
2813
  file.status === "error" ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_10$2, [..._cache[3] || (_cache[3] = [
2805
2814
  vue.createElementVNode("text", null, "上传失败", -1)
2806
2815
  ])])) : vue.createCommentVNode("", true)
@@ -2936,18 +2945,18 @@ const _hoisted_3$a = {
2936
2945
  key: 0,
2937
2946
  class: "u-slider__tooltip"
2938
2947
  };
2939
- const _hoisted_4$8 = { class: "u-slider__tooltip-text" };
2940
- const _hoisted_5$6 = {
2948
+ const _hoisted_4$7 = { class: "u-slider__tooltip-text" };
2949
+ const _hoisted_5$5 = {
2941
2950
  key: 0,
2942
2951
  class: "u-slider__tooltip"
2943
2952
  };
2944
- const _hoisted_6$4 = { class: "u-slider__tooltip-text" };
2945
- const _hoisted_7$4 = {
2953
+ const _hoisted_6$3 = { class: "u-slider__tooltip-text" };
2954
+ const _hoisted_7$3 = {
2946
2955
  key: 0,
2947
2956
  class: "u-slider__tooltip"
2948
2957
  };
2949
- const _hoisted_8$3 = { class: "u-slider__tooltip-text" };
2950
- const _hoisted_9$3 = {
2958
+ const _hoisted_8$2 = { class: "u-slider__tooltip-text" };
2959
+ const _hoisted_9$2 = {
2951
2960
  key: 0,
2952
2961
  class: "u-slider__ticks"
2953
2962
  };
@@ -3201,7 +3210,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
3201
3210
  onTouchend: vue.withModifiers(handleButtonTouchEnd, ["stop"])
3202
3211
  }, [
3203
3212
  __props.showValue ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_3$a, [
3204
- vue.createElementVNode("text", _hoisted_4$8, vue.toDisplayString(currentValue.value), 1)
3213
+ vue.createElementVNode("text", _hoisted_4$7, vue.toDisplayString(currentValue.value), 1)
3205
3214
  ])) : vue.createCommentVNode("", true)
3206
3215
  ], 36)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
3207
3216
  vue.createElementVNode("view", {
@@ -3211,8 +3220,8 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
3211
3220
  onTouchmove: vue.withModifiers(handleStartButtonTouchMove, ["stop"]),
3212
3221
  onTouchend: vue.withModifiers(handleButtonTouchEnd, ["stop"])
3213
3222
  }, [
3214
- __props.showValue ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_5$6, [
3215
- vue.createElementVNode("text", _hoisted_6$4, vue.toDisplayString(startValue.value), 1)
3223
+ __props.showValue ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_5$5, [
3224
+ vue.createElementVNode("text", _hoisted_6$3, vue.toDisplayString(startValue.value), 1)
3216
3225
  ])) : vue.createCommentVNode("", true)
3217
3226
  ], 36),
3218
3227
  vue.createElementVNode("view", {
@@ -3222,13 +3231,13 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
3222
3231
  onTouchmove: vue.withModifiers(handleEndButtonTouchMove, ["stop"]),
3223
3232
  onTouchend: vue.withModifiers(handleButtonTouchEnd, ["stop"])
3224
3233
  }, [
3225
- __props.showValue ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_7$4, [
3226
- vue.createElementVNode("text", _hoisted_8$3, vue.toDisplayString(endValue.value), 1)
3234
+ __props.showValue ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_7$3, [
3235
+ vue.createElementVNode("text", _hoisted_8$2, vue.toDisplayString(endValue.value), 1)
3227
3236
  ])) : vue.createCommentVNode("", true)
3228
3237
  ], 36)
3229
3238
  ], 64))
3230
3239
  ], 4),
3231
- __props.showTicks ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_9$3, [
3240
+ __props.showTicks ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_9$2, [
3232
3241
  (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(ticks.value, (tick2, index) => {
3233
3242
  return vue.openBlock(), vue.createElementBlock("view", {
3234
3243
  key: index,
@@ -3252,18 +3261,18 @@ const _hoisted_2$c = {
3252
3261
  class: "u-list__header"
3253
3262
  };
3254
3263
  const _hoisted_3$9 = { class: "u-list__content" };
3255
- const _hoisted_4$7 = {
3264
+ const _hoisted_4$6 = {
3256
3265
  key: 1,
3257
3266
  class: "u-list__loading"
3258
3267
  };
3259
- const _hoisted_5$5 = { class: "u-list__loading-text" };
3260
- const _hoisted_6$3 = {
3268
+ const _hoisted_5$4 = { class: "u-list__loading-text" };
3269
+ const _hoisted_6$2 = {
3261
3270
  key: 2,
3262
3271
  class: "u-list__finished"
3263
3272
  };
3264
- const _hoisted_7$3 = { class: "u-list__finished-text" };
3265
- const _hoisted_8$2 = { class: "u-list__error-text" };
3266
- const _hoisted_9$2 = {
3273
+ const _hoisted_7$2 = { class: "u-list__finished-text" };
3274
+ const _hoisted_8$1 = { class: "u-list__error-text" };
3275
+ const _hoisted_9$1 = {
3267
3276
  key: 4,
3268
3277
  class: "u-list__footer"
3269
3278
  };
@@ -3306,21 +3315,21 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
3306
3315
  vue.createElementVNode("view", _hoisted_3$9, [
3307
3316
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
3308
3317
  ]),
3309
- __props.loading ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_4$7, [
3318
+ __props.loading ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_4$6, [
3310
3319
  _cache[0] || (_cache[0] = vue.createElementVNode("view", { class: "u-list__loading-icon" }, null, -1)),
3311
- vue.createElementVNode("text", _hoisted_5$5, vue.toDisplayString(__props.loadingText), 1)
3320
+ vue.createElementVNode("text", _hoisted_5$4, vue.toDisplayString(__props.loadingText), 1)
3312
3321
  ])) : vue.createCommentVNode("", true),
3313
- __props.finished && !__props.loading ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_6$3, [
3314
- vue.createElementVNode("text", _hoisted_7$3, vue.toDisplayString(__props.finishedText), 1)
3322
+ __props.finished && !__props.loading ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_6$2, [
3323
+ vue.createElementVNode("text", _hoisted_7$2, vue.toDisplayString(__props.finishedText), 1)
3315
3324
  ])) : vue.createCommentVNode("", true),
3316
3325
  __props.error && !__props.loading ? (vue.openBlock(), vue.createElementBlock("view", {
3317
3326
  key: 3,
3318
3327
  class: "u-list__error",
3319
3328
  onClick: handleErrorClick
3320
3329
  }, [
3321
- vue.createElementVNode("text", _hoisted_8$2, vue.toDisplayString(__props.errorText), 1)
3330
+ vue.createElementVNode("text", _hoisted_8$1, vue.toDisplayString(__props.errorText), 1)
3322
3331
  ])) : vue.createCommentVNode("", true),
3323
- _ctx.$slots.footer || __props.footer ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_9$2, [
3332
+ _ctx.$slots.footer || __props.footer ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_9$1, [
3324
3333
  vue.renderSlot(_ctx.$slots, "footer", {}, () => [
3325
3334
  vue.createTextVNode(vue.toDisplayString(__props.footer), 1)
3326
3335
  ], true)
@@ -3339,24 +3348,24 @@ const _hoisted_3$8 = {
3339
3348
  key: 1,
3340
3349
  class: "u-list-item__icon-text"
3341
3350
  };
3342
- const _hoisted_4$6 = { class: "u-list-item__body" };
3343
- const _hoisted_5$4 = {
3351
+ const _hoisted_4$5 = { class: "u-list-item__body" };
3352
+ const _hoisted_5$3 = {
3344
3353
  key: 0,
3345
3354
  class: "u-list-item__title"
3346
3355
  };
3347
- const _hoisted_6$2 = {
3356
+ const _hoisted_6$1 = {
3348
3357
  key: 1,
3349
3358
  class: "u-list-item__desc"
3350
3359
  };
3351
- const _hoisted_7$2 = {
3360
+ const _hoisted_7$1 = {
3352
3361
  key: 2,
3353
3362
  class: "u-list-item__content"
3354
3363
  };
3355
- const _hoisted_8$1 = {
3364
+ const _hoisted_8 = {
3356
3365
  key: 1,
3357
3366
  class: "u-list-item__extra"
3358
3367
  };
3359
- const _hoisted_9$1 = {
3368
+ const _hoisted_9 = {
3360
3369
  key: 0,
3361
3370
  class: "u-list-item__value"
3362
3371
  };
@@ -3414,24 +3423,24 @@ const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
3414
3423
  }, null, 8, _hoisted_2$b)) : __props.icon ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_3$8, vue.toDisplayString(__props.icon), 1)) : vue.createCommentVNode("", true)
3415
3424
  ], true)
3416
3425
  ])) : vue.createCommentVNode("", true),
3417
- vue.createElementVNode("view", _hoisted_4$6, [
3418
- __props.title || _ctx.$slots.title ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_5$4, [
3426
+ vue.createElementVNode("view", _hoisted_4$5, [
3427
+ __props.title || _ctx.$slots.title ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_5$3, [
3419
3428
  vue.renderSlot(_ctx.$slots, "title", {}, () => [
3420
3429
  vue.createTextVNode(vue.toDisplayString(__props.title), 1)
3421
3430
  ], true)
3422
3431
  ])) : vue.createCommentVNode("", true),
3423
- __props.desc || _ctx.$slots.desc ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_6$2, [
3432
+ __props.desc || _ctx.$slots.desc ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_6$1, [
3424
3433
  vue.renderSlot(_ctx.$slots, "desc", {}, () => [
3425
3434
  vue.createTextVNode(vue.toDisplayString(__props.desc), 1)
3426
3435
  ], true)
3427
3436
  ])) : vue.createCommentVNode("", true),
3428
- _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_7$2, [
3437
+ _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_7$1, [
3429
3438
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
3430
3439
  ])) : vue.createCommentVNode("", true)
3431
3440
  ]),
3432
- _ctx.$slots.extra || __props.extra || __props.value ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_8$1, [
3441
+ _ctx.$slots.extra || __props.extra || __props.value ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_8, [
3433
3442
  vue.renderSlot(_ctx.$slots, "extra", {}, () => [
3434
- __props.value ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_9$1, vue.toDisplayString(__props.value), 1)) : vue.createCommentVNode("", true),
3443
+ __props.value ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_9, vue.toDisplayString(__props.value), 1)) : vue.createCommentVNode("", true),
3435
3444
  __props.extra ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_10, vue.toDisplayString(__props.extra), 1)) : vue.createCommentVNode("", true)
3436
3445
  ], true),
3437
3446
  __props.showArrow ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_11, [..._cache[0] || (_cache[0] = [
@@ -3669,8 +3678,8 @@ const _hoisted_2$9 = {
3669
3678
  class: "u-tooltip__actions"
3670
3679
  };
3671
3680
  const _hoisted_3$7 = ["onClick"];
3672
- const _hoisted_4$5 = { class: "u-tooltip__action-text" };
3673
- const _hoisted_5$3 = { class: "u-tooltip__text" };
3681
+ const _hoisted_4$4 = { class: "u-tooltip__action-text" };
3682
+ const _hoisted_5$2 = { class: "u-tooltip__text" };
3674
3683
  const __default__$e = {
3675
3684
  options: {
3676
3685
  virtualHost: true,
@@ -3849,11 +3858,11 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
3849
3858
  class: vue.normalizeClass(["u-tooltip__action", { "u-tooltip__action--disabled": action.disabled }]),
3850
3859
  onClick: vue.withModifiers(($event) => handleActionClick(action, index), ["stop"])
3851
3860
  }, [
3852
- vue.createElementVNode("text", _hoisted_4$5, vue.toDisplayString(action.text), 1)
3861
+ vue.createElementVNode("text", _hoisted_4$4, vue.toDisplayString(action.text), 1)
3853
3862
  ], 10, _hoisted_3$7);
3854
3863
  }), 128))
3855
3864
  ])) : vue.renderSlot(_ctx.$slots, "content", { key: 1 }, () => [
3856
- vue.createElementVNode("text", _hoisted_5$3, vue.toDisplayString(__props.content), 1)
3865
+ vue.createElementVNode("text", _hoisted_5$2, vue.toDisplayString(__props.content), 1)
3857
3866
  ], true)
3858
3867
  ])
3859
3868
  ], 6)) : vue.createCommentVNode("", true)
@@ -3871,7 +3880,7 @@ const _hoisted_3$6 = {
3871
3880
  key: 2,
3872
3881
  class: "u-avatar__icon"
3873
3882
  };
3874
- const _hoisted_4$4 = {
3883
+ const _hoisted_4$3 = {
3875
3884
  key: 0,
3876
3885
  class: "u-avatar__badge-text"
3877
3886
  };
@@ -3967,7 +3976,7 @@ const _sfc_main$d = /* @__PURE__ */ vue.defineComponent({
3967
3976
  key: 0,
3968
3977
  class: vue.normalizeClass(["u-avatar__badge", badgeClass.value])
3969
3978
  }, [
3970
- !__props.dot ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_4$4, vue.toDisplayString(__props.badge), 1)) : vue.createCommentVNode("", true)
3979
+ !__props.dot ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_4$3, vue.toDisplayString(__props.badge), 1)) : vue.createCommentVNode("", true)
3971
3980
  ], 2)) : vue.createCommentVNode("", true),
3972
3981
  vue.renderSlot(_ctx.$slots, "badge", {}, void 0, true)
3973
3982
  ], 6);
@@ -3981,11 +3990,11 @@ const _hoisted_3$5 = {
3981
3990
  key: 1,
3982
3991
  class: "u-empty__image-default"
3983
3992
  };
3984
- const _hoisted_4$3 = {
3993
+ const _hoisted_4$2 = {
3985
3994
  key: 0,
3986
3995
  class: "u-empty__description"
3987
3996
  };
3988
- const _hoisted_5$2 = {
3997
+ const _hoisted_5$1 = {
3989
3998
  key: 1,
3990
3999
  class: "u-empty__bottom"
3991
4000
  };
@@ -4020,12 +4029,12 @@ const _sfc_main$c = /* @__PURE__ */ vue.defineComponent({
4020
4029
  ])]))
4021
4030
  ], true)
4022
4031
  ]),
4023
- __props.description || _ctx.$slots.description ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_4$3, [
4032
+ __props.description || _ctx.$slots.description ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_4$2, [
4024
4033
  vue.renderSlot(_ctx.$slots, "description", {}, () => [
4025
4034
  vue.createTextVNode(vue.toDisplayString(__props.description), 1)
4026
4035
  ], true)
4027
4036
  ])) : vue.createCommentVNode("", true),
4028
- _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_5$2, [
4037
+ _ctx.$slots.default ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_5$1, [
4029
4038
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true)
4030
4039
  ])) : vue.createCommentVNode("", true)
4031
4040
  ], 2);
@@ -4320,7 +4329,7 @@ const _hoisted_3$4 = {
4320
4329
  key: 1,
4321
4330
  class: "u-toast__icon"
4322
4331
  };
4323
- const _hoisted_4$2 = {
4332
+ const _hoisted_4$1 = {
4324
4333
  key: 2,
4325
4334
  class: "u-toast__text"
4326
4335
  };
@@ -4399,7 +4408,7 @@ const _sfc_main$7 = /* @__PURE__ */ vue.defineComponent({
4399
4408
  __props.type === "loading" ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_2$4, [..._cache[0] || (_cache[0] = [
4400
4409
  vue.createElementVNode("view", { class: "u-toast__loading-icon" }, null, -1)
4401
4410
  ])])) : __props.icon ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_3$4, vue.toDisplayString(__props.icon), 1)) : vue.createCommentVNode("", true),
4402
- __props.message ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_4$2, vue.toDisplayString(__props.message), 1)) : vue.createCommentVNode("", true)
4411
+ __props.message ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_4$1, vue.toDisplayString(__props.message), 1)) : vue.createCommentVNode("", true)
4403
4412
  ])
4404
4413
  ], 6)) : vue.createCommentVNode("", true);
4405
4414
  };
@@ -4512,19 +4521,19 @@ const _hoisted_3$3 = {
4512
4521
  key: 0,
4513
4522
  class: "u-code-input__char"
4514
4523
  };
4515
- const _hoisted_4$1 = {
4524
+ const _hoisted_4 = {
4516
4525
  key: 1,
4517
4526
  class: "u-code-input__dot"
4518
4527
  };
4519
- const _hoisted_5$1 = {
4528
+ const _hoisted_5 = {
4520
4529
  key: 2,
4521
4530
  class: "u-code-input__placeholder"
4522
4531
  };
4523
- const _hoisted_6$1 = {
4532
+ const _hoisted_6 = {
4524
4533
  key: 3,
4525
4534
  class: "u-code-input__cursor"
4526
4535
  };
4527
- const _hoisted_7$1 = ["value", "maxlength", "disabled", "focus", "password"];
4536
+ const _hoisted_7 = ["value", "maxlength", "disabled", "focus", "password"];
4528
4537
  const __default__$5 = {
4529
4538
  options: {
4530
4539
  virtualHost: true,
@@ -4613,8 +4622,8 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
4613
4622
  class: vue.normalizeClass(["u-code-input__item", itemClass(i)]),
4614
4623
  style: vue.normalizeStyle(itemStyle.value)
4615
4624
  }, [
4616
- values.value[i - 1] && !__props.password ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_3$3, vue.toDisplayString(values.value[i - 1]), 1)) : values.value[i - 1] && __props.password ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_4$1)) : (vue.openBlock(), vue.createElementBlock("view", _hoisted_5$1, vue.toDisplayString(__props.placeholderChar), 1)),
4617
- __props.focus && i - 1 === currentIndex.value ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_6$1)) : vue.createCommentVNode("", true)
4625
+ values.value[i - 1] && !__props.password ? (vue.openBlock(), vue.createElementBlock("text", _hoisted_3$3, vue.toDisplayString(values.value[i - 1]), 1)) : values.value[i - 1] && __props.password ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_4)) : (vue.openBlock(), vue.createElementBlock("view", _hoisted_5, vue.toDisplayString(__props.placeholderChar), 1)),
4626
+ __props.focus && i - 1 === currentIndex.value ? (vue.openBlock(), vue.createElementBlock("view", _hoisted_6)) : vue.createCommentVNode("", true)
4618
4627
  ], 6);
4619
4628
  }), 128))
4620
4629
  ]),
@@ -4629,7 +4638,7 @@ const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
4629
4638
  onInput: handleInput,
4630
4639
  onFocus: handleFocus,
4631
4640
  onBlur: handleBlur
4632
- }, null, 40, _hoisted_7$1)
4641
+ }, null, 40, _hoisted_7)
4633
4642
  ]);
4634
4643
  };
4635
4644
  }
@@ -4937,13 +4946,7 @@ const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
4937
4946
  const uReadMore = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-e27ed42c"]]);
4938
4947
  const _hoisted_1 = { class: "u-tabbar" };
4939
4948
  const _hoisted_2 = { class: "u-tabbar__nav-wrap" };
4940
- const _hoisted_3 = { class: "u-tabbar__tab-icon" };
4941
- const _hoisted_4 = { class: "u-tabbar__tab-text" };
4942
- const _hoisted_5 = { class: "u-tabbar__center" };
4943
- const _hoisted_6 = { class: "u-tabbar__center-brand" };
4944
- const _hoisted_7 = { class: "u-tabbar__center-text" };
4945
- const _hoisted_8 = { class: "u-tabbar__tab-icon" };
4946
- const _hoisted_9 = { class: "u-tabbar__tab-text" };
4949
+ const _hoisted_3 = { class: "u-tabbar__center" };
4947
4950
  const __default__ = {
4948
4951
  options: {
4949
4952
  virtualHost: true,
@@ -4955,11 +4958,13 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
4955
4958
  __name: "u-tabbar",
4956
4959
  props: {
4957
4960
  modelValue: { default: "home" },
4958
- leftTab: { default: () => ({ label: "首页", icon: "", value: "home" }) },
4959
- centerTab: { default: () => ({ label: "图域", icon: "TU", value: "center" }) },
4960
- rightTab: { default: () => ({ label: "我的", icon: "", value: "mine" }) },
4961
+ leftTab: { default: () => ({ label: "首页", icon: "home-fill", value: "home" }) },
4962
+ centerTab: { default: () => ({ label: "图域", value: "center" }) },
4963
+ rightTab: { default: () => ({ label: "我的", icon: "account-fill", value: "mine" }) },
4961
4964
  centerBrand: { default: "TU" },
4962
- centerLabel: { default: "图域" }
4965
+ centerLabel: { default: "图域" },
4966
+ activeColor: { default: "#0c958e" },
4967
+ inactiveColor: { default: "#ffffff" }
4963
4968
  },
4964
4969
  emits: ["update:modelValue", "tab-change"],
4965
4970
  setup(__props, { emit: __emit }) {
@@ -4975,31 +4980,53 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
4975
4980
  class: vue.normalizeClass(["u-tabbar__tab-btn", { "u-tabbar__tab-btn--active": __props.modelValue === __props.leftTab.value }]),
4976
4981
  onClick: _cache[0] || (_cache[0] = ($event) => switchTab(__props.leftTab.value))
4977
4982
  }, [
4978
- vue.createElementVNode("text", _hoisted_3, vue.toDisplayString(__props.leftTab.icon), 1),
4979
- vue.createElementVNode("text", _hoisted_4, vue.toDisplayString(__props.leftTab.label), 1)
4983
+ __props.leftTab.icon ? (vue.openBlock(), vue.createBlock(UIcon, {
4984
+ key: 0,
4985
+ name: __props.leftTab.icon,
4986
+ size: 16,
4987
+ color: __props.modelValue === __props.leftTab.value ? __props.activeColor : __props.inactiveColor
4988
+ }, null, 8, ["name", "color"])) : vue.createCommentVNode("", true),
4989
+ vue.createElementVNode("text", {
4990
+ class: "u-tabbar__tab-text",
4991
+ style: vue.normalizeStyle({ color: __props.modelValue === __props.leftTab.value ? __props.activeColor : __props.inactiveColor })
4992
+ }, vue.toDisplayString(__props.leftTab.label), 5)
4980
4993
  ], 2),
4981
- vue.createElementVNode("view", _hoisted_5, [
4994
+ vue.createElementVNode("view", _hoisted_3, [
4982
4995
  vue.createElementVNode("view", {
4983
4996
  class: vue.normalizeClass(["u-tabbar__center-btn", { "u-tabbar__center-btn--active": __props.modelValue === __props.centerTab.value }]),
4984
4997
  onClick: _cache[1] || (_cache[1] = ($event) => switchTab(__props.centerTab.value))
4985
4998
  }, [
4986
- vue.createElementVNode("text", _hoisted_6, vue.toDisplayString(__props.centerBrand), 1),
4987
- vue.createElementVNode("text", _hoisted_7, vue.toDisplayString(__props.centerLabel), 1)
4999
+ vue.createElementVNode("text", {
5000
+ class: "u-tabbar__center-brand",
5001
+ style: vue.normalizeStyle({ color: __props.modelValue === __props.centerTab.value ? __props.activeColor : "#ffffff" })
5002
+ }, vue.toDisplayString(__props.centerBrand), 5),
5003
+ vue.createElementVNode("text", {
5004
+ class: "u-tabbar__center-text",
5005
+ style: vue.normalizeStyle({ color: __props.modelValue === __props.centerTab.value ? __props.activeColor : "#ffffff" })
5006
+ }, vue.toDisplayString(__props.centerLabel), 5)
4988
5007
  ], 2)
4989
5008
  ]),
4990
5009
  vue.createElementVNode("view", {
4991
5010
  class: vue.normalizeClass(["u-tabbar__tab-btn", { "u-tabbar__tab-btn--active": __props.modelValue === __props.rightTab.value }]),
4992
5011
  onClick: _cache[2] || (_cache[2] = ($event) => switchTab(__props.rightTab.value))
4993
5012
  }, [
4994
- vue.createElementVNode("text", _hoisted_8, vue.toDisplayString(__props.rightTab.icon), 1),
4995
- vue.createElementVNode("text", _hoisted_9, vue.toDisplayString(__props.rightTab.label), 1)
5013
+ __props.rightTab.icon ? (vue.openBlock(), vue.createBlock(UIcon, {
5014
+ key: 0,
5015
+ name: __props.rightTab.icon,
5016
+ size: 16,
5017
+ color: __props.modelValue === __props.rightTab.value ? __props.activeColor : __props.inactiveColor
5018
+ }, null, 8, ["name", "color"])) : vue.createCommentVNode("", true),
5019
+ vue.createElementVNode("text", {
5020
+ class: "u-tabbar__tab-text",
5021
+ style: vue.normalizeStyle({ color: __props.modelValue === __props.rightTab.value ? __props.activeColor : __props.inactiveColor })
5022
+ }, vue.toDisplayString(__props.rightTab.label), 5)
4996
5023
  ], 2)
4997
5024
  ])
4998
5025
  ]);
4999
5026
  };
5000
5027
  }
5001
5028
  });
5002
- const uTabbar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-cdd03f9f"]]);
5029
+ const uTabbar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9b683b39"]]);
5003
5030
  exports.UAvatar = uAvatar;
5004
5031
  exports.UBadge = uBadge;
5005
5032
  exports.UButton = uButton;
@@ -5014,7 +5041,7 @@ exports.UDivider = uDivider;
5014
5041
  exports.UEmpty = uEmpty;
5015
5042
  exports.UGrid = uGrid;
5016
5043
  exports.UGridItem = uGridItem;
5017
- exports.UIcon = uIcon;
5044
+ exports.UIcon = UIcon;
5018
5045
  exports.UImage = uImage;
5019
5046
  exports.UInput = uInput;
5020
5047
  exports.UKeyboard = uKeyboard;