@atooyu/uxto-ui 1.1.7 → 1.1.9
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 +33 -25
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +33 -25
- package/dist/index.mjs.map +1 -1
- package/dist/style.css +38 -23
- package/package.json +1 -1
- package/src/components/u-notice-bar/u-notice-bar.vue +12 -3
- package/src/components/u-tabbar/u-tabbar.vue +15 -1
package/dist/index.mjs
CHANGED
|
@@ -4,11 +4,11 @@ const _hoisted_2$v = {
|
|
|
4
4
|
key: 0,
|
|
5
5
|
class: "u-button__loading"
|
|
6
6
|
};
|
|
7
|
-
const _hoisted_3$
|
|
7
|
+
const _hoisted_3$p = {
|
|
8
8
|
key: 1,
|
|
9
9
|
class: "u-button__content"
|
|
10
10
|
};
|
|
11
|
-
const _hoisted_4$
|
|
11
|
+
const _hoisted_4$h = {
|
|
12
12
|
key: 0,
|
|
13
13
|
class: "u-button__icon"
|
|
14
14
|
};
|
|
@@ -74,8 +74,8 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
|
74
74
|
}, [
|
|
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
|
-
])])) : (openBlock(), createElementBlock("view", _hoisted_3$
|
|
78
|
-
__props.icon ? (openBlock(), createElementBlock("text", _hoisted_4$
|
|
77
|
+
])])) : (openBlock(), createElementBlock("view", _hoisted_3$p, [
|
|
78
|
+
__props.icon ? (openBlock(), createElementBlock("text", _hoisted_4$h, toDisplayString(__props.icon), 1)) : createCommentVNode("", true),
|
|
79
79
|
createElementVNode("text", _hoisted_5$d, [
|
|
80
80
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
81
81
|
])
|
|
@@ -97,8 +97,8 @@ const _hoisted_1$E = {
|
|
|
97
97
|
class: "u-input__prefix"
|
|
98
98
|
};
|
|
99
99
|
const _hoisted_2$u = { class: "u-input__icon" };
|
|
100
|
-
const _hoisted_3$
|
|
101
|
-
const _hoisted_4$
|
|
100
|
+
const _hoisted_3$o = { class: "u-input__body" };
|
|
101
|
+
const _hoisted_4$g = ["type", "value", "placeholder", "placeholder-style", "disabled", "maxlength", "focus", "confirm-type", "adjust-position"];
|
|
102
102
|
const _hoisted_5$c = {
|
|
103
103
|
key: 2,
|
|
104
104
|
class: "u-input__suffix"
|
|
@@ -166,7 +166,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
166
166
|
createElementVNode("text", _hoisted_2$u, toDisplayString(__props.prefixIcon), 1)
|
|
167
167
|
], true)
|
|
168
168
|
])) : createCommentVNode("", true),
|
|
169
|
-
createElementVNode("view", _hoisted_3$
|
|
169
|
+
createElementVNode("view", _hoisted_3$o, [
|
|
170
170
|
createElementVNode("input", {
|
|
171
171
|
class: "u-input__control",
|
|
172
172
|
type: __props.type,
|
|
@@ -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$
|
|
186
|
+
}, null, 40, _hoisted_4$g)
|
|
187
187
|
]),
|
|
188
188
|
__props.clearable && __props.modelValue ? (openBlock(), createElementBlock("view", {
|
|
189
189
|
key: 1,
|
|
@@ -207,8 +207,8 @@ const _hoisted_2$t = {
|
|
|
207
207
|
key: 0,
|
|
208
208
|
class: "u-cell__icon"
|
|
209
209
|
};
|
|
210
|
-
const _hoisted_3$
|
|
211
|
-
const _hoisted_4$
|
|
210
|
+
const _hoisted_3$n = ["src"];
|
|
211
|
+
const _hoisted_4$f = { class: "u-cell__content" };
|
|
212
212
|
const _hoisted_5$b = { class: "u-cell__title" };
|
|
213
213
|
const _hoisted_6$6 = { class: "u-cell__title-text" };
|
|
214
214
|
const _hoisted_7$5 = {
|
|
@@ -273,10 +273,10 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
|
273
273
|
class: "u-cell__icon-img",
|
|
274
274
|
src: __props.icon,
|
|
275
275
|
mode: "aspectFit"
|
|
276
|
-
}, null, 8, _hoisted_3$
|
|
276
|
+
}, null, 8, _hoisted_3$n)) : createCommentVNode("", true)
|
|
277
277
|
], true)
|
|
278
278
|
])) : createCommentVNode("", true),
|
|
279
|
-
createElementVNode("view", _hoisted_4$
|
|
279
|
+
createElementVNode("view", _hoisted_4$f, [
|
|
280
280
|
createElementVNode("view", _hoisted_5$b, [
|
|
281
281
|
createElementVNode("text", _hoisted_6$6, toDisplayString(__props.title), 1),
|
|
282
282
|
__props.label ? (openBlock(), createElementBlock("text", _hoisted_7$5, toDisplayString(__props.label), 1)) : createCommentVNode("", true)
|
|
@@ -301,7 +301,7 @@ const _hoisted_2$s = {
|
|
|
301
301
|
key: 0,
|
|
302
302
|
class: "u-cell-group__title"
|
|
303
303
|
};
|
|
304
|
-
const _hoisted_3$
|
|
304
|
+
const _hoisted_3$m = { class: "u-cell-group__body" };
|
|
305
305
|
const __default__$I = {
|
|
306
306
|
options: {
|
|
307
307
|
virtualHost: true,
|
|
@@ -322,7 +322,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
322
322
|
createTextVNode(toDisplayString(__props.title), 1)
|
|
323
323
|
], true)
|
|
324
324
|
])) : createCommentVNode("", true),
|
|
325
|
-
createElementVNode("view", _hoisted_3$
|
|
325
|
+
createElementVNode("view", _hoisted_3$m, [
|
|
326
326
|
renderSlot(_ctx.$slots, "default", {}, void 0, true)
|
|
327
327
|
])
|
|
328
328
|
]);
|
|
@@ -335,8 +335,8 @@ const _hoisted_1$B = {
|
|
|
335
335
|
class: "u-modal__header"
|
|
336
336
|
};
|
|
337
337
|
const _hoisted_2$r = { class: "u-modal__title" };
|
|
338
|
-
const _hoisted_3$
|
|
339
|
-
const _hoisted_4$
|
|
338
|
+
const _hoisted_3$l = { class: "u-modal__body" };
|
|
339
|
+
const _hoisted_4$e = { class: "u-modal__message" };
|
|
340
340
|
const _hoisted_5$a = { class: "u-modal__footer" };
|
|
341
341
|
const __default__$H = {
|
|
342
342
|
options: {
|
|
@@ -387,9 +387,9 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
387
387
|
__props.title ? (openBlock(), createElementBlock("view", _hoisted_1$B, [
|
|
388
388
|
createElementVNode("text", _hoisted_2$r, toDisplayString(__props.title), 1)
|
|
389
389
|
])) : createCommentVNode("", true),
|
|
390
|
-
createElementVNode("view", _hoisted_3$
|
|
390
|
+
createElementVNode("view", _hoisted_3$l, [
|
|
391
391
|
renderSlot(_ctx.$slots, "default", {}, () => [
|
|
392
|
-
createElementVNode("text", _hoisted_4$
|
|
392
|
+
createElementVNode("text", _hoisted_4$e, toDisplayString(__props.message), 1)
|
|
393
393
|
], true)
|
|
394
394
|
]),
|
|
395
395
|
createElementVNode("view", _hoisted_5$a, [
|
|
@@ -890,7 +890,7 @@ const _hoisted_2$p = {
|
|
|
890
890
|
key: 0,
|
|
891
891
|
class: "u-image__loading"
|
|
892
892
|
};
|
|
893
|
-
const _hoisted_3$
|
|
893
|
+
const _hoisted_3$k = {
|
|
894
894
|
key: 1,
|
|
895
895
|
class: "u-image__error"
|
|
896
896
|
};
|
|
@@ -945,7 +945,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
945
945
|
createVNode(_component_u_loading, { size: 20 })
|
|
946
946
|
], true)
|
|
947
947
|
])) : createCommentVNode("", true),
|
|
948
|
-
__props.error && !loaded.value ? (openBlock(), createElementBlock("view", _hoisted_3$
|
|
948
|
+
__props.error && !loaded.value ? (openBlock(), createElementBlock("view", _hoisted_3$k, [
|
|
949
949
|
renderSlot(_ctx.$slots, "error", {}, () => [
|
|
950
950
|
_cache[0] || (_cache[0] = createElementVNode("text", { class: "u-image__error-text" }, "加载失败", -1))
|
|
951
951
|
], true)
|
|
@@ -992,7 +992,9 @@ const _hoisted_1$w = {
|
|
|
992
992
|
key: 0,
|
|
993
993
|
class: "u-notice-bar__left-icon"
|
|
994
994
|
};
|
|
995
|
-
const _hoisted_2$o = {
|
|
995
|
+
const _hoisted_2$o = { class: "u-notice-bar__text-item" };
|
|
996
|
+
const _hoisted_3$j = { class: "u-notice-bar__text-item" };
|
|
997
|
+
const _hoisted_4$d = {
|
|
996
998
|
key: 1,
|
|
997
999
|
class: "u-notice-bar__text"
|
|
998
1000
|
};
|
|
@@ -1038,7 +1040,10 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
1038
1040
|
key: 0,
|
|
1039
1041
|
class: "u-notice-bar__text",
|
|
1040
1042
|
style: normalizeStyle({ animationDuration: __props.speed + "s" })
|
|
1041
|
-
},
|
|
1043
|
+
}, [
|
|
1044
|
+
createElementVNode("text", _hoisted_2$o, toDisplayString(__props.text), 1),
|
|
1045
|
+
createElementVNode("text", _hoisted_3$j, toDisplayString(__props.text), 1)
|
|
1046
|
+
], 4)) : (openBlock(), createElementBlock("text", _hoisted_4$d, toDisplayString(__props.text), 1))
|
|
1042
1047
|
], 2),
|
|
1043
1048
|
_ctx.$slots.rightIcon || __props.rightIcon ? (openBlock(), createElementBlock("view", {
|
|
1044
1049
|
key: 1,
|
|
@@ -1053,7 +1058,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
1053
1058
|
};
|
|
1054
1059
|
}
|
|
1055
1060
|
});
|
|
1056
|
-
const uNoticeBar = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-
|
|
1061
|
+
const uNoticeBar = /* @__PURE__ */ _export_sfc(_sfc_main$A, [["__scopeId", "data-v-f80a744d"]]);
|
|
1057
1062
|
const _hoisted_1$v = {
|
|
1058
1063
|
key: 0,
|
|
1059
1064
|
class: "u-layout__header"
|
|
@@ -5029,7 +5034,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
5029
5034
|
], 2),
|
|
5030
5035
|
createElementVNode("view", _hoisted_3, [
|
|
5031
5036
|
createElementVNode("view", {
|
|
5032
|
-
class: normalizeClass(["u-tabbar__center-btn", {
|
|
5037
|
+
class: normalizeClass(["u-tabbar__center-btn", {
|
|
5038
|
+
"u-tabbar__center-btn--active": __props.modelValue === __props.centerTab.value,
|
|
5039
|
+
"u-tabbar__center-btn--left-active": __props.modelValue === __props.leftTab.value
|
|
5040
|
+
}]),
|
|
5033
5041
|
onClick: _cache[1] || (_cache[1] = ($event) => switchTab(__props.centerTab.value))
|
|
5034
5042
|
}, [
|
|
5035
5043
|
createElementVNode("text", _hoisted_4, toDisplayString(__props.centerBrand), 1),
|
|
@@ -5056,7 +5064,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
5056
5064
|
};
|
|
5057
5065
|
}
|
|
5058
5066
|
});
|
|
5059
|
-
const uTabbar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
5067
|
+
const uTabbar = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-69811cb8"]]);
|
|
5060
5068
|
export {
|
|
5061
5069
|
uAvatar as UAvatar,
|
|
5062
5070
|
uBadge as UBadge,
|