@atooyu/uxto-ui 1.0.5 → 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.mjs CHANGED
@@ -8,11 +8,11 @@ const _hoisted_3$o = {
8
8
  key: 1,
9
9
  class: "u-button__content"
10
10
  };
11
- const _hoisted_4$g = {
11
+ const _hoisted_4$f = {
12
12
  key: 0,
13
13
  class: "u-button__icon"
14
14
  };
15
- const _hoisted_5$d = { class: "u-button__text" };
15
+ const _hoisted_5$c = { class: "u-button__text" };
16
16
  const __default__$L = {
17
17
  options: {
18
18
  virtualHost: true,
@@ -75,8 +75,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
75
75
  __props.loading ? (openBlock(), createElementBlock("view", _hoisted_2$v, [..._cache[0] || (_cache[0] = [
76
76
  createElementVNode("view", { class: "u-button__loading-icon" }, null, -1)
77
77
  ])])) : (openBlock(), createElementBlock("view", _hoisted_3$o, [
78
- __props.icon ? (openBlock(), createElementBlock("text", _hoisted_4$g, toDisplayString(__props.icon), 1)) : createCommentVNode("", true),
79
- createElementVNode("text", _hoisted_5$d, [
78
+ __props.icon ? (openBlock(), createElementBlock("text", _hoisted_4$f, toDisplayString(__props.icon), 1)) : createCommentVNode("", true),
79
+ createElementVNode("text", _hoisted_5$c, [
80
80
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
81
81
  ])
82
82
  ]))
@@ -98,12 +98,12 @@ const _hoisted_1$E = {
98
98
  };
99
99
  const _hoisted_2$u = { class: "u-input__icon" };
100
100
  const _hoisted_3$n = { class: "u-input__body" };
101
- const _hoisted_4$f = ["type", "value", "placeholder", "placeholder-style", "disabled", "maxlength", "focus", "confirm-type", "adjust-position"];
102
- const _hoisted_5$c = {
101
+ const _hoisted_4$e = ["type", "value", "placeholder", "placeholder-style", "disabled", "maxlength", "focus", "confirm-type", "adjust-position"];
102
+ const _hoisted_5$b = {
103
103
  key: 2,
104
104
  class: "u-input__suffix"
105
105
  };
106
- const _hoisted_6$8 = { class: "u-input__icon" };
106
+ const _hoisted_6$7 = { class: "u-input__icon" };
107
107
  const __default__$K = {
108
108
  options: {
109
109
  virtualHost: true,
@@ -183,7 +183,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
183
183
  onFocus: handleFocus,
184
184
  onBlur: handleBlur,
185
185
  onConfirm: handleConfirm
186
- }, null, 40, _hoisted_4$f)
186
+ }, null, 40, _hoisted_4$e)
187
187
  ]),
188
188
  __props.clearable && __props.modelValue ? (openBlock(), createElementBlock("view", {
189
189
  key: 1,
@@ -192,9 +192,9 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
192
192
  }, [..._cache[0] || (_cache[0] = [
193
193
  createElementVNode("text", { class: "u-input__clear-icon" }, "×", -1)
194
194
  ])])) : createCommentVNode("", true),
195
- _ctx.$slots.suffix || __props.suffixIcon ? (openBlock(), createElementBlock("view", _hoisted_5$c, [
195
+ _ctx.$slots.suffix || __props.suffixIcon ? (openBlock(), createElementBlock("view", _hoisted_5$b, [
196
196
  renderSlot(_ctx.$slots, "suffix", {}, () => [
197
- createElementVNode("text", _hoisted_6$8, toDisplayString(__props.suffixIcon), 1)
197
+ createElementVNode("text", _hoisted_6$7, toDisplayString(__props.suffixIcon), 1)
198
198
  ], true)
199
199
  ])) : createCommentVNode("", true)
200
200
  ], 2);
@@ -208,15 +208,15 @@ const _hoisted_2$t = {
208
208
  class: "u-cell__icon"
209
209
  };
210
210
  const _hoisted_3$m = ["src"];
211
- const _hoisted_4$e = { class: "u-cell__content" };
212
- const _hoisted_5$b = { class: "u-cell__title" };
213
- const _hoisted_6$7 = { class: "u-cell__title-text" };
214
- const _hoisted_7$6 = {
211
+ const _hoisted_4$d = { class: "u-cell__content" };
212
+ const _hoisted_5$a = { class: "u-cell__title" };
213
+ const _hoisted_6$6 = { class: "u-cell__title-text" };
214
+ const _hoisted_7$5 = {
215
215
  key: 0,
216
216
  class: "u-cell__label"
217
217
  };
218
- const _hoisted_8$5 = { class: "u-cell__value" };
219
- const _hoisted_9$5 = { class: "u-cell__value-text" };
218
+ const _hoisted_8$4 = { class: "u-cell__value" };
219
+ const _hoisted_9$4 = { class: "u-cell__value-text" };
220
220
  const _hoisted_10$3 = {
221
221
  key: 1,
222
222
  class: "u-cell__arrow"
@@ -276,14 +276,14 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
276
276
  }, null, 8, _hoisted_3$m)) : createCommentVNode("", true)
277
277
  ], true)
278
278
  ])) : createCommentVNode("", true),
279
- createElementVNode("view", _hoisted_4$e, [
280
- createElementVNode("view", _hoisted_5$b, [
281
- createElementVNode("text", _hoisted_6$7, toDisplayString(__props.title), 1),
282
- __props.label ? (openBlock(), createElementBlock("text", _hoisted_7$6, toDisplayString(__props.label), 1)) : createCommentVNode("", true)
279
+ createElementVNode("view", _hoisted_4$d, [
280
+ createElementVNode("view", _hoisted_5$a, [
281
+ createElementVNode("text", _hoisted_6$6, toDisplayString(__props.title), 1),
282
+ __props.label ? (openBlock(), createElementBlock("text", _hoisted_7$5, toDisplayString(__props.label), 1)) : createCommentVNode("", true)
283
283
  ]),
284
- createElementVNode("view", _hoisted_8$5, [
284
+ createElementVNode("view", _hoisted_8$4, [
285
285
  renderSlot(_ctx.$slots, "value", {}, () => [
286
- createElementVNode("text", _hoisted_9$5, toDisplayString(__props.value), 1)
286
+ createElementVNode("text", _hoisted_9$4, toDisplayString(__props.value), 1)
287
287
  ], true)
288
288
  ])
289
289
  ]),
@@ -336,8 +336,8 @@ const _hoisted_1$B = {
336
336
  };
337
337
  const _hoisted_2$r = { class: "u-modal__title" };
338
338
  const _hoisted_3$k = { class: "u-modal__body" };
339
- const _hoisted_4$d = { class: "u-modal__message" };
340
- const _hoisted_5$a = { class: "u-modal__footer" };
339
+ const _hoisted_4$c = { class: "u-modal__message" };
340
+ const _hoisted_5$9 = { class: "u-modal__footer" };
341
341
  const __default__$H = {
342
342
  options: {
343
343
  virtualHost: true,
@@ -389,10 +389,10 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
389
389
  ])) : createCommentVNode("", true),
390
390
  createElementVNode("view", _hoisted_3$k, [
391
391
  renderSlot(_ctx.$slots, "default", {}, () => [
392
- createElementVNode("text", _hoisted_4$d, toDisplayString(__props.message), 1)
392
+ createElementVNode("text", _hoisted_4$c, toDisplayString(__props.message), 1)
393
393
  ], true)
394
394
  ]),
395
- createElementVNode("view", _hoisted_5$a, [
395
+ createElementVNode("view", _hoisted_5$9, [
396
396
  __props.showCancel ? (openBlock(), createElementBlock("view", {
397
397
  key: 0,
398
398
  class: "u-modal__button u-modal__button--cancel",
@@ -485,6 +485,10 @@ const upload = "data:image/svg+xml,%3csvg%20viewBox='0%200%2024%2024'%20xmlns='h
485
485
  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";
486
486
  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";
487
487
  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";
488
+ 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";
489
+ 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";
490
+ 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";
491
+ 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";
488
492
  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";
489
493
  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";
490
494
  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";
@@ -551,10 +555,15 @@ const icons = {
551
555
  "share": share,
552
556
  // 用户类
553
557
  "user": user,
558
+ "user-fill": userFill,
554
559
  "account": account,
560
+ "account-fill": accountFill,
555
561
  "group": group,
556
562
  "smile": smile,
557
563
  "smile-o": smileO,
564
+ // 导航类 - 新增首页图标
565
+ "home": home,
566
+ "home-fill": homeFill,
558
567
  // 安全类
559
568
  "lock": lock,
560
569
  "unlock": unlock,
@@ -674,7 +683,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
674
683
  };
675
684
  }
676
685
  });
677
- const uIcon = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-5d845d48"]]);
686
+ const UIcon = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-5d845d48"]]);
678
687
  const __default__$F = {
679
688
  options: {
680
689
  virtualHost: true,
@@ -2022,12 +2031,12 @@ const _hoisted_3$f = {
2022
2031
  key: 1,
2023
2032
  class: "u-grid-item__icon-text"
2024
2033
  };
2025
- const _hoisted_4$c = {
2034
+ const _hoisted_4$b = {
2026
2035
  key: 0,
2027
2036
  class: "u-grid-item__badge"
2028
2037
  };
2029
- const _hoisted_5$9 = { class: "u-grid-item__badge-text" };
2030
- const _hoisted_6$6 = {
2038
+ const _hoisted_5$8 = { class: "u-grid-item__badge-text" };
2039
+ const _hoisted_6$5 = {
2031
2040
  key: 1,
2032
2041
  class: "u-grid-item__text"
2033
2042
  };
@@ -2095,11 +2104,11 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
2095
2104
  mode: "aspectFit"
2096
2105
  }, null, 8, _hoisted_2$i)) : __props.icon ? (openBlock(), createElementBlock("text", _hoisted_3$f, toDisplayString(__props.icon), 1)) : createCommentVNode("", true)
2097
2106
  ], true),
2098
- __props.badge !== void 0 && __props.badge !== null && __props.badge !== "" ? (openBlock(), createElementBlock("view", _hoisted_4$c, [
2099
- createElementVNode("text", _hoisted_5$9, toDisplayString(__props.badge), 1)
2107
+ __props.badge !== void 0 && __props.badge !== null && __props.badge !== "" ? (openBlock(), createElementBlock("view", _hoisted_4$b, [
2108
+ createElementVNode("text", _hoisted_5$8, toDisplayString(__props.badge), 1)
2100
2109
  ])) : createCommentVNode("", true)
2101
2110
  ])) : createCommentVNode("", true),
2102
- __props.text || _ctx.$slots.default ? (openBlock(), createElementBlock("view", _hoisted_6$6, [
2111
+ __props.text || _ctx.$slots.default ? (openBlock(), createElementBlock("view", _hoisted_6$5, [
2103
2112
  renderSlot(_ctx.$slots, "default", {}, () => [
2104
2113
  createTextVNode(toDisplayString(__props.text), 1)
2105
2114
  ], true)
@@ -2118,8 +2127,8 @@ const _hoisted_3$e = {
2118
2127
  key: 1,
2119
2128
  class: "u-swiper__title"
2120
2129
  };
2121
- const _hoisted_4$b = { class: "u-swiper__title-text" };
2122
- const _hoisted_5$8 = {
2130
+ const _hoisted_4$a = { class: "u-swiper__title-text" };
2131
+ const _hoisted_5$7 = {
2123
2132
  key: 2,
2124
2133
  class: "u-swiper__indicator"
2125
2134
  };
@@ -2171,10 +2180,10 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
2171
2180
  const indicatorStyle = computed(() => {
2172
2181
  const style = {};
2173
2182
  if (props.indicatorColor) {
2174
- style.setProperty("--indicator-color", props.indicatorColor);
2183
+ style["--indicator-color"] = props.indicatorColor;
2175
2184
  }
2176
2185
  if (props.indicatorActiveColor) {
2177
- style.setProperty("--indicator-active-color", props.indicatorActiveColor);
2186
+ style["--indicator-active-color"] = props.indicatorActiveColor;
2178
2187
  }
2179
2188
  return style;
2180
2189
  });
@@ -2246,9 +2255,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
2246
2255
  createElementVNode("view", { class: "u-swiper__loading-icon" }, null, -1)
2247
2256
  ])])) : createCommentVNode("", true),
2248
2257
  __props.showTitle && currentTitle.value ? (openBlock(), createElementBlock("view", _hoisted_3$e, [
2249
- createElementVNode("text", _hoisted_4$b, toDisplayString(currentTitle.value), 1)
2258
+ createElementVNode("text", _hoisted_4$a, toDisplayString(currentTitle.value), 1)
2250
2259
  ])) : createCommentVNode("", true),
2251
- showIndicator.value && indicatorSlot.value ? (openBlock(), createElementBlock("view", _hoisted_5$8, [
2260
+ showIndicator.value && indicatorSlot.value ? (openBlock(), createElementBlock("view", _hoisted_5$7, [
2252
2261
  renderSlot(_ctx.$slots, "indicator", {
2253
2262
  current: currentIndex.value,
2254
2263
  total: itemCount.value
@@ -2270,7 +2279,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
2270
2279
  };
2271
2280
  }
2272
2281
  });
2273
- const uSwiper = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-5602345b"]]);
2282
+ const uSwiper = /* @__PURE__ */ _export_sfc(_sfc_main$p, [["__scopeId", "data-v-aa989e67"]]);
2274
2283
  const __default__$o = {
2275
2284
  options: {
2276
2285
  virtualHost: true,
@@ -2331,7 +2340,7 @@ const _hoisted_1$k = {
2331
2340
  };
2332
2341
  const _hoisted_2$g = { class: "u-search__body" };
2333
2342
  const _hoisted_3$d = ["type", "value", "placeholder", "placeholder-style", "disabled", "maxlength", "focus", "confirm-type", "adjust-position"];
2334
- const _hoisted_4$a = { class: "u-search__action-text" };
2343
+ const _hoisted_4$9 = { class: "u-search__action-text" };
2335
2344
  const __default__$n = {
2336
2345
  options: {
2337
2346
  virtualHost: true,
@@ -2447,7 +2456,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
2447
2456
  onClick: handleAction
2448
2457
  }, [
2449
2458
  renderSlot(_ctx.$slots, "action", {}, () => [
2450
- createElementVNode("text", _hoisted_4$a, toDisplayString(__props.actionText), 1)
2459
+ createElementVNode("text", _hoisted_4$9, toDisplayString(__props.actionText), 1)
2451
2460
  ], true)
2452
2461
  ])) : createCommentVNode("", true)
2453
2462
  ], 2);
@@ -2624,18 +2633,18 @@ const uNumberBox = /* @__PURE__ */ _export_sfc(_sfc_main$m, [["__scopeId", "data
2624
2633
  const _hoisted_1$i = { class: "u-upload" };
2625
2634
  const _hoisted_2$f = { class: "u-upload__list" };
2626
2635
  const _hoisted_3$c = ["src", "onClick"];
2627
- const _hoisted_4$9 = {
2636
+ const _hoisted_4$8 = {
2628
2637
  key: 1,
2629
2638
  class: "u-upload__video"
2630
2639
  };
2631
- const _hoisted_5$7 = ["src", "onClick"];
2632
- const _hoisted_6$5 = ["onClick"];
2633
- const _hoisted_7$5 = { class: "u-upload__file-name" };
2634
- const _hoisted_8$4 = {
2640
+ const _hoisted_5$6 = ["src", "onClick"];
2641
+ const _hoisted_6$4 = ["onClick"];
2642
+ const _hoisted_7$4 = { class: "u-upload__file-name" };
2643
+ const _hoisted_8$3 = {
2635
2644
  key: 3,
2636
2645
  class: "u-upload__progress"
2637
2646
  };
2638
- const _hoisted_9$4 = ["onClick"];
2647
+ const _hoisted_9$3 = ["onClick"];
2639
2648
  const _hoisted_10$2 = {
2640
2649
  key: 5,
2641
2650
  class: "u-upload__error"
@@ -2768,13 +2777,13 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
2768
2777
  src: file.url || file.thumb,
2769
2778
  mode: "aspectFill",
2770
2779
  onClick: ($event) => handlePreview(file, index)
2771
- }, null, 8, _hoisted_3$c)) : isVideo(file) ? (openBlock(), createElementBlock("view", _hoisted_4$9, [
2780
+ }, null, 8, _hoisted_3$c)) : isVideo(file) ? (openBlock(), createElementBlock("view", _hoisted_4$8, [
2772
2781
  createElementVNode("image", {
2773
2782
  class: "u-upload__preview",
2774
2783
  src: file.thumb || defaultVideoThumb,
2775
2784
  mode: "aspectFill",
2776
2785
  onClick: ($event) => handlePreview(file, index)
2777
- }, null, 8, _hoisted_5$7),
2786
+ }, null, 8, _hoisted_5$6),
2778
2787
  _cache[0] || (_cache[0] = createElementVNode("view", { class: "u-upload__video-icon" }, [
2779
2788
  createElementVNode("text", null, "▶")
2780
2789
  ], -1))
@@ -2784,9 +2793,9 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
2784
2793
  onClick: ($event) => handlePreview(file, index)
2785
2794
  }, [
2786
2795
  _cache[1] || (_cache[1] = createElementVNode("text", { class: "u-upload__file-icon" }, "📄", -1)),
2787
- createElementVNode("text", _hoisted_7$5, toDisplayString(getFileName(file)), 1)
2788
- ], 8, _hoisted_6$5)),
2789
- file.status === "uploading" ? (openBlock(), createElementBlock("view", _hoisted_8$4, [
2796
+ createElementVNode("text", _hoisted_7$4, toDisplayString(getFileName(file)), 1)
2797
+ ], 8, _hoisted_6$4)),
2798
+ file.status === "uploading" ? (openBlock(), createElementBlock("view", _hoisted_8$3, [
2790
2799
  createElementVNode("view", {
2791
2800
  class: "u-upload__progress-bar",
2792
2801
  style: normalizeStyle({ width: file.progress + "%" })
@@ -2798,7 +2807,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
2798
2807
  onClick: ($event) => handleDelete(index)
2799
2808
  }, [..._cache[2] || (_cache[2] = [
2800
2809
  createElementVNode("text", { class: "u-upload__delete-icon" }, "×", -1)
2801
- ])], 8, _hoisted_9$4)) : createCommentVNode("", true),
2810
+ ])], 8, _hoisted_9$3)) : createCommentVNode("", true),
2802
2811
  file.status === "error" ? (openBlock(), createElementBlock("view", _hoisted_10$2, [..._cache[3] || (_cache[3] = [
2803
2812
  createElementVNode("text", null, "上传失败", -1)
2804
2813
  ])])) : createCommentVNode("", true)
@@ -2934,18 +2943,18 @@ const _hoisted_3$a = {
2934
2943
  key: 0,
2935
2944
  class: "u-slider__tooltip"
2936
2945
  };
2937
- const _hoisted_4$8 = { class: "u-slider__tooltip-text" };
2938
- const _hoisted_5$6 = {
2946
+ const _hoisted_4$7 = { class: "u-slider__tooltip-text" };
2947
+ const _hoisted_5$5 = {
2939
2948
  key: 0,
2940
2949
  class: "u-slider__tooltip"
2941
2950
  };
2942
- const _hoisted_6$4 = { class: "u-slider__tooltip-text" };
2943
- const _hoisted_7$4 = {
2951
+ const _hoisted_6$3 = { class: "u-slider__tooltip-text" };
2952
+ const _hoisted_7$3 = {
2944
2953
  key: 0,
2945
2954
  class: "u-slider__tooltip"
2946
2955
  };
2947
- const _hoisted_8$3 = { class: "u-slider__tooltip-text" };
2948
- const _hoisted_9$3 = {
2956
+ const _hoisted_8$2 = { class: "u-slider__tooltip-text" };
2957
+ const _hoisted_9$2 = {
2949
2958
  key: 0,
2950
2959
  class: "u-slider__ticks"
2951
2960
  };
@@ -3199,7 +3208,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
3199
3208
  onTouchend: withModifiers(handleButtonTouchEnd, ["stop"])
3200
3209
  }, [
3201
3210
  __props.showValue ? (openBlock(), createElementBlock("view", _hoisted_3$a, [
3202
- createElementVNode("text", _hoisted_4$8, toDisplayString(currentValue.value), 1)
3211
+ createElementVNode("text", _hoisted_4$7, toDisplayString(currentValue.value), 1)
3203
3212
  ])) : createCommentVNode("", true)
3204
3213
  ], 36)) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
3205
3214
  createElementVNode("view", {
@@ -3209,8 +3218,8 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
3209
3218
  onTouchmove: withModifiers(handleStartButtonTouchMove, ["stop"]),
3210
3219
  onTouchend: withModifiers(handleButtonTouchEnd, ["stop"])
3211
3220
  }, [
3212
- __props.showValue ? (openBlock(), createElementBlock("view", _hoisted_5$6, [
3213
- createElementVNode("text", _hoisted_6$4, toDisplayString(startValue.value), 1)
3221
+ __props.showValue ? (openBlock(), createElementBlock("view", _hoisted_5$5, [
3222
+ createElementVNode("text", _hoisted_6$3, toDisplayString(startValue.value), 1)
3214
3223
  ])) : createCommentVNode("", true)
3215
3224
  ], 36),
3216
3225
  createElementVNode("view", {
@@ -3220,13 +3229,13 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
3220
3229
  onTouchmove: withModifiers(handleEndButtonTouchMove, ["stop"]),
3221
3230
  onTouchend: withModifiers(handleButtonTouchEnd, ["stop"])
3222
3231
  }, [
3223
- __props.showValue ? (openBlock(), createElementBlock("view", _hoisted_7$4, [
3224
- createElementVNode("text", _hoisted_8$3, toDisplayString(endValue.value), 1)
3232
+ __props.showValue ? (openBlock(), createElementBlock("view", _hoisted_7$3, [
3233
+ createElementVNode("text", _hoisted_8$2, toDisplayString(endValue.value), 1)
3225
3234
  ])) : createCommentVNode("", true)
3226
3235
  ], 36)
3227
3236
  ], 64))
3228
3237
  ], 4),
3229
- __props.showTicks ? (openBlock(), createElementBlock("view", _hoisted_9$3, [
3238
+ __props.showTicks ? (openBlock(), createElementBlock("view", _hoisted_9$2, [
3230
3239
  (openBlock(true), createElementBlock(Fragment, null, renderList(ticks.value, (tick2, index) => {
3231
3240
  return openBlock(), createElementBlock("view", {
3232
3241
  key: index,
@@ -3250,18 +3259,18 @@ const _hoisted_2$c = {
3250
3259
  class: "u-list__header"
3251
3260
  };
3252
3261
  const _hoisted_3$9 = { class: "u-list__content" };
3253
- const _hoisted_4$7 = {
3262
+ const _hoisted_4$6 = {
3254
3263
  key: 1,
3255
3264
  class: "u-list__loading"
3256
3265
  };
3257
- const _hoisted_5$5 = { class: "u-list__loading-text" };
3258
- const _hoisted_6$3 = {
3266
+ const _hoisted_5$4 = { class: "u-list__loading-text" };
3267
+ const _hoisted_6$2 = {
3259
3268
  key: 2,
3260
3269
  class: "u-list__finished"
3261
3270
  };
3262
- const _hoisted_7$3 = { class: "u-list__finished-text" };
3263
- const _hoisted_8$2 = { class: "u-list__error-text" };
3264
- const _hoisted_9$2 = {
3271
+ const _hoisted_7$2 = { class: "u-list__finished-text" };
3272
+ const _hoisted_8$1 = { class: "u-list__error-text" };
3273
+ const _hoisted_9$1 = {
3265
3274
  key: 4,
3266
3275
  class: "u-list__footer"
3267
3276
  };
@@ -3304,21 +3313,21 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
3304
3313
  createElementVNode("view", _hoisted_3$9, [
3305
3314
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
3306
3315
  ]),
3307
- __props.loading ? (openBlock(), createElementBlock("view", _hoisted_4$7, [
3316
+ __props.loading ? (openBlock(), createElementBlock("view", _hoisted_4$6, [
3308
3317
  _cache[0] || (_cache[0] = createElementVNode("view", { class: "u-list__loading-icon" }, null, -1)),
3309
- createElementVNode("text", _hoisted_5$5, toDisplayString(__props.loadingText), 1)
3318
+ createElementVNode("text", _hoisted_5$4, toDisplayString(__props.loadingText), 1)
3310
3319
  ])) : createCommentVNode("", true),
3311
- __props.finished && !__props.loading ? (openBlock(), createElementBlock("view", _hoisted_6$3, [
3312
- createElementVNode("text", _hoisted_7$3, toDisplayString(__props.finishedText), 1)
3320
+ __props.finished && !__props.loading ? (openBlock(), createElementBlock("view", _hoisted_6$2, [
3321
+ createElementVNode("text", _hoisted_7$2, toDisplayString(__props.finishedText), 1)
3313
3322
  ])) : createCommentVNode("", true),
3314
3323
  __props.error && !__props.loading ? (openBlock(), createElementBlock("view", {
3315
3324
  key: 3,
3316
3325
  class: "u-list__error",
3317
3326
  onClick: handleErrorClick
3318
3327
  }, [
3319
- createElementVNode("text", _hoisted_8$2, toDisplayString(__props.errorText), 1)
3328
+ createElementVNode("text", _hoisted_8$1, toDisplayString(__props.errorText), 1)
3320
3329
  ])) : createCommentVNode("", true),
3321
- _ctx.$slots.footer || __props.footer ? (openBlock(), createElementBlock("view", _hoisted_9$2, [
3330
+ _ctx.$slots.footer || __props.footer ? (openBlock(), createElementBlock("view", _hoisted_9$1, [
3322
3331
  renderSlot(_ctx.$slots, "footer", {}, () => [
3323
3332
  createTextVNode(toDisplayString(__props.footer), 1)
3324
3333
  ], true)
@@ -3337,24 +3346,24 @@ const _hoisted_3$8 = {
3337
3346
  key: 1,
3338
3347
  class: "u-list-item__icon-text"
3339
3348
  };
3340
- const _hoisted_4$6 = { class: "u-list-item__body" };
3341
- const _hoisted_5$4 = {
3349
+ const _hoisted_4$5 = { class: "u-list-item__body" };
3350
+ const _hoisted_5$3 = {
3342
3351
  key: 0,
3343
3352
  class: "u-list-item__title"
3344
3353
  };
3345
- const _hoisted_6$2 = {
3354
+ const _hoisted_6$1 = {
3346
3355
  key: 1,
3347
3356
  class: "u-list-item__desc"
3348
3357
  };
3349
- const _hoisted_7$2 = {
3358
+ const _hoisted_7$1 = {
3350
3359
  key: 2,
3351
3360
  class: "u-list-item__content"
3352
3361
  };
3353
- const _hoisted_8$1 = {
3362
+ const _hoisted_8 = {
3354
3363
  key: 1,
3355
3364
  class: "u-list-item__extra"
3356
3365
  };
3357
- const _hoisted_9$1 = {
3366
+ const _hoisted_9 = {
3358
3367
  key: 0,
3359
3368
  class: "u-list-item__value"
3360
3369
  };
@@ -3412,24 +3421,24 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
3412
3421
  }, null, 8, _hoisted_2$b)) : __props.icon ? (openBlock(), createElementBlock("text", _hoisted_3$8, toDisplayString(__props.icon), 1)) : createCommentVNode("", true)
3413
3422
  ], true)
3414
3423
  ])) : createCommentVNode("", true),
3415
- createElementVNode("view", _hoisted_4$6, [
3416
- __props.title || _ctx.$slots.title ? (openBlock(), createElementBlock("view", _hoisted_5$4, [
3424
+ createElementVNode("view", _hoisted_4$5, [
3425
+ __props.title || _ctx.$slots.title ? (openBlock(), createElementBlock("view", _hoisted_5$3, [
3417
3426
  renderSlot(_ctx.$slots, "title", {}, () => [
3418
3427
  createTextVNode(toDisplayString(__props.title), 1)
3419
3428
  ], true)
3420
3429
  ])) : createCommentVNode("", true),
3421
- __props.desc || _ctx.$slots.desc ? (openBlock(), createElementBlock("view", _hoisted_6$2, [
3430
+ __props.desc || _ctx.$slots.desc ? (openBlock(), createElementBlock("view", _hoisted_6$1, [
3422
3431
  renderSlot(_ctx.$slots, "desc", {}, () => [
3423
3432
  createTextVNode(toDisplayString(__props.desc), 1)
3424
3433
  ], true)
3425
3434
  ])) : createCommentVNode("", true),
3426
- _ctx.$slots.default ? (openBlock(), createElementBlock("view", _hoisted_7$2, [
3435
+ _ctx.$slots.default ? (openBlock(), createElementBlock("view", _hoisted_7$1, [
3427
3436
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
3428
3437
  ])) : createCommentVNode("", true)
3429
3438
  ]),
3430
- _ctx.$slots.extra || __props.extra || __props.value ? (openBlock(), createElementBlock("view", _hoisted_8$1, [
3439
+ _ctx.$slots.extra || __props.extra || __props.value ? (openBlock(), createElementBlock("view", _hoisted_8, [
3431
3440
  renderSlot(_ctx.$slots, "extra", {}, () => [
3432
- __props.value ? (openBlock(), createElementBlock("text", _hoisted_9$1, toDisplayString(__props.value), 1)) : createCommentVNode("", true),
3441
+ __props.value ? (openBlock(), createElementBlock("text", _hoisted_9, toDisplayString(__props.value), 1)) : createCommentVNode("", true),
3433
3442
  __props.extra ? (openBlock(), createElementBlock("text", _hoisted_10, toDisplayString(__props.extra), 1)) : createCommentVNode("", true)
3434
3443
  ], true),
3435
3444
  __props.showArrow ? (openBlock(), createElementBlock("view", _hoisted_11, [..._cache[0] || (_cache[0] = [
@@ -3667,8 +3676,8 @@ const _hoisted_2$9 = {
3667
3676
  class: "u-tooltip__actions"
3668
3677
  };
3669
3678
  const _hoisted_3$7 = ["onClick"];
3670
- const _hoisted_4$5 = { class: "u-tooltip__action-text" };
3671
- const _hoisted_5$3 = { class: "u-tooltip__text" };
3679
+ const _hoisted_4$4 = { class: "u-tooltip__action-text" };
3680
+ const _hoisted_5$2 = { class: "u-tooltip__text" };
3672
3681
  const __default__$e = {
3673
3682
  options: {
3674
3683
  virtualHost: true,
@@ -3847,11 +3856,11 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
3847
3856
  class: normalizeClass(["u-tooltip__action", { "u-tooltip__action--disabled": action.disabled }]),
3848
3857
  onClick: withModifiers(($event) => handleActionClick(action, index), ["stop"])
3849
3858
  }, [
3850
- createElementVNode("text", _hoisted_4$5, toDisplayString(action.text), 1)
3859
+ createElementVNode("text", _hoisted_4$4, toDisplayString(action.text), 1)
3851
3860
  ], 10, _hoisted_3$7);
3852
3861
  }), 128))
3853
3862
  ])) : renderSlot(_ctx.$slots, "content", { key: 1 }, () => [
3854
- createElementVNode("text", _hoisted_5$3, toDisplayString(__props.content), 1)
3863
+ createElementVNode("text", _hoisted_5$2, toDisplayString(__props.content), 1)
3855
3864
  ], true)
3856
3865
  ])
3857
3866
  ], 6)) : createCommentVNode("", true)
@@ -3869,7 +3878,7 @@ const _hoisted_3$6 = {
3869
3878
  key: 2,
3870
3879
  class: "u-avatar__icon"
3871
3880
  };
3872
- const _hoisted_4$4 = {
3881
+ const _hoisted_4$3 = {
3873
3882
  key: 0,
3874
3883
  class: "u-avatar__badge-text"
3875
3884
  };
@@ -3965,7 +3974,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
3965
3974
  key: 0,
3966
3975
  class: normalizeClass(["u-avatar__badge", badgeClass.value])
3967
3976
  }, [
3968
- !__props.dot ? (openBlock(), createElementBlock("text", _hoisted_4$4, toDisplayString(__props.badge), 1)) : createCommentVNode("", true)
3977
+ !__props.dot ? (openBlock(), createElementBlock("text", _hoisted_4$3, toDisplayString(__props.badge), 1)) : createCommentVNode("", true)
3969
3978
  ], 2)) : createCommentVNode("", true),
3970
3979
  renderSlot(_ctx.$slots, "badge", {}, void 0, true)
3971
3980
  ], 6);
@@ -3979,11 +3988,11 @@ const _hoisted_3$5 = {
3979
3988
  key: 1,
3980
3989
  class: "u-empty__image-default"
3981
3990
  };
3982
- const _hoisted_4$3 = {
3991
+ const _hoisted_4$2 = {
3983
3992
  key: 0,
3984
3993
  class: "u-empty__description"
3985
3994
  };
3986
- const _hoisted_5$2 = {
3995
+ const _hoisted_5$1 = {
3987
3996
  key: 1,
3988
3997
  class: "u-empty__bottom"
3989
3998
  };
@@ -4018,12 +4027,12 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
4018
4027
  ])]))
4019
4028
  ], true)
4020
4029
  ]),
4021
- __props.description || _ctx.$slots.description ? (openBlock(), createElementBlock("view", _hoisted_4$3, [
4030
+ __props.description || _ctx.$slots.description ? (openBlock(), createElementBlock("view", _hoisted_4$2, [
4022
4031
  renderSlot(_ctx.$slots, "description", {}, () => [
4023
4032
  createTextVNode(toDisplayString(__props.description), 1)
4024
4033
  ], true)
4025
4034
  ])) : createCommentVNode("", true),
4026
- _ctx.$slots.default ? (openBlock(), createElementBlock("view", _hoisted_5$2, [
4035
+ _ctx.$slots.default ? (openBlock(), createElementBlock("view", _hoisted_5$1, [
4027
4036
  renderSlot(_ctx.$slots, "default", {}, void 0, true)
4028
4037
  ])) : createCommentVNode("", true)
4029
4038
  ], 2);
@@ -4318,7 +4327,7 @@ const _hoisted_3$4 = {
4318
4327
  key: 1,
4319
4328
  class: "u-toast__icon"
4320
4329
  };
4321
- const _hoisted_4$2 = {
4330
+ const _hoisted_4$1 = {
4322
4331
  key: 2,
4323
4332
  class: "u-toast__text"
4324
4333
  };
@@ -4397,7 +4406,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
4397
4406
  __props.type === "loading" ? (openBlock(), createElementBlock("view", _hoisted_2$4, [..._cache[0] || (_cache[0] = [
4398
4407
  createElementVNode("view", { class: "u-toast__loading-icon" }, null, -1)
4399
4408
  ])])) : __props.icon ? (openBlock(), createElementBlock("text", _hoisted_3$4, toDisplayString(__props.icon), 1)) : createCommentVNode("", true),
4400
- __props.message ? (openBlock(), createElementBlock("text", _hoisted_4$2, toDisplayString(__props.message), 1)) : createCommentVNode("", true)
4409
+ __props.message ? (openBlock(), createElementBlock("text", _hoisted_4$1, toDisplayString(__props.message), 1)) : createCommentVNode("", true)
4401
4410
  ])
4402
4411
  ], 6)) : createCommentVNode("", true);
4403
4412
  };
@@ -4510,19 +4519,19 @@ const _hoisted_3$3 = {
4510
4519
  key: 0,
4511
4520
  class: "u-code-input__char"
4512
4521
  };
4513
- const _hoisted_4$1 = {
4522
+ const _hoisted_4 = {
4514
4523
  key: 1,
4515
4524
  class: "u-code-input__dot"
4516
4525
  };
4517
- const _hoisted_5$1 = {
4526
+ const _hoisted_5 = {
4518
4527
  key: 2,
4519
4528
  class: "u-code-input__placeholder"
4520
4529
  };
4521
- const _hoisted_6$1 = {
4530
+ const _hoisted_6 = {
4522
4531
  key: 3,
4523
4532
  class: "u-code-input__cursor"
4524
4533
  };
4525
- const _hoisted_7$1 = ["value", "maxlength", "disabled", "focus", "password"];
4534
+ const _hoisted_7 = ["value", "maxlength", "disabled", "focus", "password"];
4526
4535
  const __default__$5 = {
4527
4536
  options: {
4528
4537
  virtualHost: true,
@@ -4611,8 +4620,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
4611
4620
  class: normalizeClass(["u-code-input__item", itemClass(i)]),
4612
4621
  style: normalizeStyle(itemStyle.value)
4613
4622
  }, [
4614
- values.value[i - 1] && !__props.password ? (openBlock(), createElementBlock("text", _hoisted_3$3, toDisplayString(values.value[i - 1]), 1)) : values.value[i - 1] && __props.password ? (openBlock(), createElementBlock("view", _hoisted_4$1)) : (openBlock(), createElementBlock("view", _hoisted_5$1, toDisplayString(__props.placeholderChar), 1)),
4615
- __props.focus && i - 1 === currentIndex.value ? (openBlock(), createElementBlock("view", _hoisted_6$1)) : createCommentVNode("", true)
4623
+ values.value[i - 1] && !__props.password ? (openBlock(), createElementBlock("text", _hoisted_3$3, toDisplayString(values.value[i - 1]), 1)) : values.value[i - 1] && __props.password ? (openBlock(), createElementBlock("view", _hoisted_4)) : (openBlock(), createElementBlock("view", _hoisted_5, toDisplayString(__props.placeholderChar), 1)),
4624
+ __props.focus && i - 1 === currentIndex.value ? (openBlock(), createElementBlock("view", _hoisted_6)) : createCommentVNode("", true)
4616
4625
  ], 6);
4617
4626
  }), 128))
4618
4627
  ]),
@@ -4627,7 +4636,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
4627
4636
  onInput: handleInput,
4628
4637
  onFocus: handleFocus,
4629
4638
  onBlur: handleBlur
4630
- }, null, 40, _hoisted_7$1)
4639
+ }, null, 40, _hoisted_7)
4631
4640
  ]);
4632
4641
  };
4633
4642
  }
@@ -4935,13 +4944,7 @@ const _sfc_main$1 = /* @__PURE__ */ defineComponent({
4935
4944
  const uReadMore = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["__scopeId", "data-v-e27ed42c"]]);
4936
4945
  const _hoisted_1 = { class: "u-tabbar" };
4937
4946
  const _hoisted_2 = { class: "u-tabbar__nav-wrap" };
4938
- const _hoisted_3 = { class: "u-tabbar__tab-icon" };
4939
- const _hoisted_4 = { class: "u-tabbar__tab-text" };
4940
- const _hoisted_5 = { class: "u-tabbar__center" };
4941
- const _hoisted_6 = { class: "u-tabbar__center-brand" };
4942
- const _hoisted_7 = { class: "u-tabbar__center-text" };
4943
- const _hoisted_8 = { class: "u-tabbar__tab-icon" };
4944
- const _hoisted_9 = { class: "u-tabbar__tab-text" };
4947
+ const _hoisted_3 = { class: "u-tabbar__center" };
4945
4948
  const __default__ = {
4946
4949
  options: {
4947
4950
  virtualHost: true,
@@ -4953,11 +4956,13 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4953
4956
  __name: "u-tabbar",
4954
4957
  props: {
4955
4958
  modelValue: { default: "home" },
4956
- leftTab: { default: () => ({ label: "首页", icon: "", value: "home" }) },
4957
- centerTab: { default: () => ({ label: "图域", icon: "TU", value: "center" }) },
4958
- rightTab: { default: () => ({ label: "我的", icon: "", value: "mine" }) },
4959
+ leftTab: { default: () => ({ label: "首页", icon: "home-fill", value: "home" }) },
4960
+ centerTab: { default: () => ({ label: "图域", value: "center" }) },
4961
+ rightTab: { default: () => ({ label: "我的", icon: "account-fill", value: "mine" }) },
4959
4962
  centerBrand: { default: "TU" },
4960
- centerLabel: { default: "图域" }
4963
+ centerLabel: { default: "图域" },
4964
+ activeColor: { default: "#0c958e" },
4965
+ inactiveColor: { default: "#ffffff" }
4961
4966
  },
4962
4967
  emits: ["update:modelValue", "tab-change"],
4963
4968
  setup(__props, { emit: __emit }) {
@@ -4973,31 +4978,53 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
4973
4978
  class: normalizeClass(["u-tabbar__tab-btn", { "u-tabbar__tab-btn--active": __props.modelValue === __props.leftTab.value }]),
4974
4979
  onClick: _cache[0] || (_cache[0] = ($event) => switchTab(__props.leftTab.value))
4975
4980
  }, [
4976
- createElementVNode("text", _hoisted_3, toDisplayString(__props.leftTab.icon), 1),
4977
- createElementVNode("text", _hoisted_4, toDisplayString(__props.leftTab.label), 1)
4981
+ __props.leftTab.icon ? (openBlock(), createBlock(UIcon, {
4982
+ key: 0,
4983
+ name: __props.leftTab.icon,
4984
+ size: 16,
4985
+ color: __props.modelValue === __props.leftTab.value ? __props.activeColor : __props.inactiveColor
4986
+ }, null, 8, ["name", "color"])) : createCommentVNode("", true),
4987
+ createElementVNode("text", {
4988
+ class: "u-tabbar__tab-text",
4989
+ style: normalizeStyle({ color: __props.modelValue === __props.leftTab.value ? __props.activeColor : __props.inactiveColor })
4990
+ }, toDisplayString(__props.leftTab.label), 5)
4978
4991
  ], 2),
4979
- createElementVNode("view", _hoisted_5, [
4992
+ createElementVNode("view", _hoisted_3, [
4980
4993
  createElementVNode("view", {
4981
4994
  class: normalizeClass(["u-tabbar__center-btn", { "u-tabbar__center-btn--active": __props.modelValue === __props.centerTab.value }]),
4982
4995
  onClick: _cache[1] || (_cache[1] = ($event) => switchTab(__props.centerTab.value))
4983
4996
  }, [
4984
- createElementVNode("text", _hoisted_6, toDisplayString(__props.centerBrand), 1),
4985
- createElementVNode("text", _hoisted_7, toDisplayString(__props.centerLabel), 1)
4997
+ createElementVNode("text", {
4998
+ class: "u-tabbar__center-brand",
4999
+ style: normalizeStyle({ color: __props.modelValue === __props.centerTab.value ? __props.activeColor : "#ffffff" })
5000
+ }, toDisplayString(__props.centerBrand), 5),
5001
+ createElementVNode("text", {
5002
+ class: "u-tabbar__center-text",
5003
+ style: normalizeStyle({ color: __props.modelValue === __props.centerTab.value ? __props.activeColor : "#ffffff" })
5004
+ }, toDisplayString(__props.centerLabel), 5)
4986
5005
  ], 2)
4987
5006
  ]),
4988
5007
  createElementVNode("view", {
4989
5008
  class: normalizeClass(["u-tabbar__tab-btn", { "u-tabbar__tab-btn--active": __props.modelValue === __props.rightTab.value }]),
4990
5009
  onClick: _cache[2] || (_cache[2] = ($event) => switchTab(__props.rightTab.value))
4991
5010
  }, [
4992
- createElementVNode("text", _hoisted_8, toDisplayString(__props.rightTab.icon), 1),
4993
- createElementVNode("text", _hoisted_9, toDisplayString(__props.rightTab.label), 1)
5011
+ __props.rightTab.icon ? (openBlock(), createBlock(UIcon, {
5012
+ key: 0,
5013
+ name: __props.rightTab.icon,
5014
+ size: 16,
5015
+ color: __props.modelValue === __props.rightTab.value ? __props.activeColor : __props.inactiveColor
5016
+ }, null, 8, ["name", "color"])) : createCommentVNode("", true),
5017
+ createElementVNode("text", {
5018
+ class: "u-tabbar__tab-text",
5019
+ style: normalizeStyle({ color: __props.modelValue === __props.rightTab.value ? __props.activeColor : __props.inactiveColor })
5020
+ }, toDisplayString(__props.rightTab.label), 5)
4994
5021
  ], 2)
4995
5022
  ])
4996
5023
  ]);
4997
5024
  };
4998
5025
  }
4999
5026
  });
5000
- const uTabbar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-cdd03f9f"]]);
5027
+ const uTabbar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-9b683b39"]]);
5001
5028
  export {
5002
5029
  uAvatar as UAvatar,
5003
5030
  uBadge as UBadge,
@@ -5013,7 +5040,7 @@ export {
5013
5040
  uEmpty as UEmpty,
5014
5041
  uGrid as UGrid,
5015
5042
  uGridItem as UGridItem,
5016
- uIcon as UIcon,
5043
+ UIcon,
5017
5044
  uImage as UImage,
5018
5045
  uInput as UInput,
5019
5046
  uKeyboard as UKeyboard,