@nutui/nutui 3.1.23-beta.6 → 3.2.2-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +63 -1
- package/dist/nutui.es.js +1475 -1070
- package/dist/nutui.umd.js +1468 -1063
- package/dist/packages/_es/ActionSheet.js +4 -22
- package/dist/packages/_es/Address.js +79 -71
- package/dist/packages/_es/AddressList.js +7 -5
- package/dist/packages/_es/Animate.js +2 -21
- package/dist/packages/_es/Audio.js +39 -68
- package/dist/packages/_es/AudioOperate.js +3 -24
- package/dist/packages/_es/Avatar.js +8 -24
- package/dist/packages/_es/AvatarGroup.js +1 -1
- package/dist/packages/_es/BackTop.js +1 -1
- package/dist/packages/_es/Badge.js +1 -1
- package/dist/packages/_es/Barrage.js +7 -4
- package/dist/packages/_es/Button.js +6 -5
- package/dist/packages/_es/Calendar.js +10 -4
- package/dist/packages/_es/CalendarItem.js +1 -1
- package/dist/packages/_es/Card.js +1 -1
- package/dist/packages/_es/Cascader.js +51 -65
- package/dist/packages/_es/Category.js +2 -2
- package/dist/packages/_es/CategoryPane.js +10 -10
- package/dist/packages/_es/Cell.js +8 -9
- package/dist/packages/_es/CellGroup.js +1 -1
- package/dist/packages/_es/Checkbox.js +31 -17
- package/dist/packages/_es/CheckboxGroup.js +14 -7
- package/dist/packages/_es/CircleProgress.js +1 -1
- package/dist/packages/_es/Col.js +5 -11
- package/dist/packages/_es/Collapse.js +22 -19
- package/dist/packages/_es/CollapseItem.js +30 -42
- package/dist/packages/_es/Comment.js +13 -9
- package/dist/packages/_es/ConfigProvider.js +8 -4
- package/dist/packages/_es/CountDown.js +40 -46
- package/dist/packages/_es/CountUp.js +39 -40
- package/dist/packages/_es/DatePicker.js +25 -33
- package/dist/packages/_es/Dialog.js +12 -27
- package/dist/packages/_es/Divider.js +7 -24
- package/dist/packages/_es/Drag.js +1 -1
- package/dist/packages/_es/Ecard.js +7 -4
- package/dist/packages/_es/Elevator.js +25 -38
- package/dist/packages/_es/Ellipsis.js +14 -28
- package/dist/packages/_es/Empty.js +1 -1
- package/dist/packages/_es/FixedNav.js +18 -14
- package/dist/packages/_es/Form.js +8 -4
- package/dist/packages/_es/FormItem.js +1 -1
- package/dist/packages/_es/Grid.js +1 -1
- package/dist/packages/_es/GridItem.js +6 -5
- package/dist/packages/_es/Icon.js +15 -11
- package/dist/packages/_es/Image.js +8 -24
- package/dist/packages/_es/ImagePreview.js +24 -39
- package/dist/packages/_es/Indicator.js +1 -1
- package/dist/packages/_es/InfiniteLoading.js +8 -33
- package/dist/packages/_es/Input.js +75 -69
- package/dist/packages/_es/InputNumber.js +20 -14
- package/dist/packages/_es/Layout.js +1 -1
- package/dist/packages/_es/List.js +10 -25
- package/dist/packages/_es/Menu.js +17 -10
- package/dist/packages/_es/MenuItem.js +5 -26
- package/dist/packages/_es/Navbar.js +10 -8
- package/dist/packages/_es/NoticeBar.js +20 -31
- package/dist/packages/_es/Notify.js +16 -32
- package/dist/packages/_es/NumberKeyboard.js +21 -16
- package/dist/packages/_es/OldPicker.js +47 -46
- package/dist/packages/_es/OverLay.js +11 -23
- package/dist/packages/_es/Pagination.js +1 -1
- package/dist/packages/_es/Picker.js +81 -59
- package/dist/packages/_es/Popover.js +58 -58
- package/dist/packages/_es/Popup.js +38 -43
- package/dist/packages/_es/Price.js +1 -1
- package/dist/packages/_es/Progress.js +4 -5
- package/dist/packages/_es/PullRefresh.js +5 -20
- package/dist/packages/_es/Radio.js +25 -13
- package/dist/packages/_es/RadioGroup.js +12 -5
- package/dist/packages/_es/Range.js +20 -33
- package/dist/packages/_es/Rate.js +5 -24
- package/dist/packages/_es/Row.js +5 -11
- package/dist/packages/_es/SearchBar.js +5 -24
- package/dist/packages/_es/ShortPassword.js +18 -11
- package/dist/packages/_es/SideNavBar.js +4 -22
- package/dist/packages/_es/SideNavBarItem.js +1 -1
- package/dist/packages/_es/Signature.js +15 -23
- package/dist/packages/_es/Skeleton.js +1 -1
- package/dist/packages/_es/Sku.js +24 -32
- package/dist/packages/_es/Step.js +9 -26
- package/dist/packages/_es/Steps.js +8 -4
- package/dist/packages/_es/Sticky.js +23 -12
- package/dist/packages/_es/SubSideNavBar.js +4 -22
- package/dist/packages/_es/Swipe.js +5 -24
- package/dist/packages/_es/Swiper.js +23 -14
- package/dist/packages/_es/SwiperItem.js +1 -1
- package/dist/packages/_es/Switch.js +15 -11
- package/dist/packages/_es/TabPane.js +1 -1
- package/dist/packages/_es/Tabbar.js +7 -4
- package/dist/packages/_es/TabbarItem.js +13 -14
- package/dist/packages/_es/Table.js +10 -25
- package/dist/packages/_es/Tabs.js +20 -29
- package/dist/packages/_es/Tag.js +11 -15
- package/dist/packages/_es/TextArea.js +8 -5
- package/dist/packages/_es/TimeDetail.js +5 -24
- package/dist/packages/_es/TimePannel.js +4 -22
- package/dist/packages/_es/TimeSelect.js +1 -1
- package/dist/packages/_es/Toast.js +22 -39
- package/dist/packages/_es/Uploader.js +54 -54
- package/dist/packages/_es/Video.js +22 -33
- package/dist/packages/_es/WaterMark.js +31 -44
- package/dist/packages/_es/common.js +21 -11
- package/dist/packages/_es/component.js +5 -5
- package/dist/packages/_es/index.js +1 -1
- package/dist/packages/_es/index2.js +1 -1
- package/dist/packages/_es/index3.js +1 -1
- package/dist/packages/_es/index4.js +1 -1
- package/dist/packages/_es/index5.js +26 -35
- package/dist/packages/_es/plugin-vue_export-helper.js +1 -1
- package/dist/packages/_es/pxCheck.js +1 -1
- package/dist/packages/_es/raf.js +1 -1
- package/dist/packages/_es/style.css +1 -111
- package/dist/packages/actionsheet/index.scss +17 -0
- package/dist/packages/address/index.scss +60 -0
- package/dist/packages/addresslist/index.scss +57 -17
- package/dist/packages/audio/index.scss +8 -0
- package/dist/packages/barrage/index.scss +7 -0
- package/dist/packages/button/index.scss +1 -0
- package/dist/packages/card/index.scss +8 -1
- package/dist/packages/category/index.scss +25 -4
- package/dist/packages/categorypane/index.scss +18 -65
- package/dist/packages/circleprogress/index.scss +6 -0
- package/dist/packages/collapseitem/index.scss +21 -0
- package/dist/packages/comment/index.scss +37 -0
- package/dist/packages/countup/index.scss +24 -3
- package/dist/packages/ecard/index.scss +31 -1
- package/dist/packages/elevator/index.scss +16 -0
- package/dist/packages/empty/index.scss +6 -0
- package/dist/packages/fixednav/index.scss +7 -0
- package/dist/packages/image/index.scss +12 -0
- package/dist/packages/infiniteloading/index.scss +18 -0
- package/dist/packages/locale/lang/baseLang.js +1 -1
- package/dist/packages/locale/lang/en-US.js +1 -1
- package/dist/packages/locale/lang/id-ID.js +1 -1
- package/dist/packages/locale/lang/index.js +1 -1
- package/dist/packages/locale/lang/zh-CN.js +1 -1
- package/dist/packages/locale/lang/zh-TW.js +1 -1
- package/dist/packages/menu/index.scss +14 -2
- package/dist/packages/menuitem/index.scss +8 -0
- package/dist/packages/noticebar/index.scss +13 -0
- package/dist/packages/numberkeyboard/index.scss +10 -0
- package/dist/packages/picker/index.scss +33 -0
- package/dist/packages/popup/index.scss +10 -0
- package/dist/packages/radio/index.scss +1 -0
- package/dist/packages/shortpassword/index.scss +20 -0
- package/dist/packages/sidenavbaritem/index.scss +9 -0
- package/dist/packages/sku/index.scss +40 -0
- package/dist/packages/step/index.scss +52 -0
- package/dist/packages/subsidenavbar/index.scss +12 -0
- package/dist/packages/swiper/index.scss +2 -0
- package/dist/packages/swiperitem/index.scss +3 -0
- package/dist/packages/tag/index.scss +20 -0
- package/dist/packages/watermark/index.scss +1 -1
- package/dist/smartips/attributes.json +38 -2
- package/dist/smartips/tags.json +14 -4
- package/dist/smartips/web-types.json +86 -4
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +51 -51
- package/dist/styles/themes/jdb.scss +51 -51
- package/dist/styles/themes/jdt.scss +51 -51
- package/dist/styles/variables-jdb.scss +28 -7
- package/dist/styles/variables-jdt.scss +28 -7
- package/dist/styles/variables.scss +27 -7
- package/dist/types/__VUE/actionsheet/index.vue.d.ts +1 -1
- package/dist/types/__VUE/address/index.vue.d.ts +1 -1
- package/dist/types/__VUE/addresslist/index.vue.d.ts +1 -1
- package/dist/types/__VUE/audio/index.vue.d.ts +4 -1
- package/dist/types/__VUE/audiooperate/index.vue.d.ts +15 -72
- package/dist/types/__VUE/avatargroup/index.vue.d.ts +1 -1
- package/dist/types/__VUE/backtop/index.vue.d.ts +1 -1
- package/dist/types/__VUE/calendar/index.vue.d.ts +7 -0
- package/dist/types/__VUE/calendaritem/index.vue.d.ts +2 -2
- package/dist/types/__VUE/categorypane/index.vue.d.ts +1 -1
- package/dist/types/__VUE/cell/index.vue.d.ts +9 -2
- package/dist/types/__VUE/cellgroup/index.vue.d.ts +1 -1
- package/dist/types/__VUE/checkboxgroup/index.vue.d.ts +1 -1
- package/dist/types/__VUE/circleprogress/index.vue.d.ts +1 -1
- package/dist/types/__VUE/col/index.vue.d.ts +2 -5
- package/dist/types/__VUE/collapse/index.vue.d.ts +2 -2
- package/dist/types/__VUE/collapseitem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/configprovider/index.vue.d.ts +1 -1
- package/dist/types/__VUE/countdown/index.vue.d.ts +1 -1
- package/dist/types/__VUE/countup/index.vue.d.ts +1 -1
- package/dist/types/__VUE/datepicker/index.vue.d.ts +1 -1
- package/dist/types/__VUE/fixednav/common.d.ts +56 -0
- package/dist/types/__VUE/fixednav/index.vue.d.ts +17 -9
- package/dist/types/__VUE/formitem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/griditem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/imagepreview/imagePreviewItem.vue.d.ts +1 -1
- package/dist/types/__VUE/imagepreview/index.d.ts +7 -6
- package/dist/types/__VUE/imagepreview/index.vue.d.ts +4 -4
- package/dist/types/__VUE/imagepreview/types.d.ts +7 -0
- package/dist/types/__VUE/infiniteloading/index.vue.d.ts +1 -1
- package/dist/types/__VUE/input/index.vue.d.ts +4 -9
- package/dist/types/__VUE/inputnumber/index.vue.d.ts +15 -1
- package/dist/types/__VUE/menu/index.vue.d.ts +3 -0
- package/dist/types/__VUE/menuitem/index.vue.d.ts +1 -4
- package/dist/types/__VUE/noticebar/index.vue.d.ts +4 -4
- package/dist/types/__VUE/numberkeyboard/index.vue.d.ts +1 -1
- package/dist/types/__VUE/oldpicker/Column.vue.d.ts +1 -1
- package/dist/types/__VUE/oldpicker/index.vue.d.ts +1 -1
- package/dist/types/__VUE/overlay/index.vue.d.ts +1 -1
- package/dist/types/__VUE/picker/Column.vue.d.ts +8 -0
- package/dist/types/__VUE/picker/index.vue.d.ts +28 -13
- package/dist/types/__VUE/popover/index.vue.d.ts +2 -2
- package/dist/types/__VUE/pullrefresh/index.vue.d.ts +1 -1
- package/dist/types/__VUE/radiogroup/index.vue.d.ts +1 -1
- package/dist/types/__VUE/row/index.vue.d.ts +2 -5
- package/dist/types/__VUE/searchbar/index.vue.d.ts +1 -1
- package/dist/types/__VUE/shortpassword/index.vue.d.ts +1 -1
- package/dist/types/__VUE/sidenavbar/index.vue.d.ts +1 -1
- package/dist/types/__VUE/sidenavbaritem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/signature/index.vue.d.ts +5 -2
- package/dist/types/__VUE/subsidenavbar/index.vue.d.ts +1 -1
- package/dist/types/__VUE/swiperitem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/switch/index.vue.d.ts +2 -2
- package/dist/types/__VUE/tabbaritem/index.vue.d.ts +1 -1
- package/dist/types/__VUE/tabpane/index.vue.d.ts +1 -1
- package/dist/types/__VUE/textarea/index.vue.d.ts +1 -1
- package/dist/types/__VUE/timedetail/index.vue.d.ts +1 -1
- package/dist/types/__VUE/timepannel/index.vue.d.ts +1 -1
- package/dist/types/__VUE/timeselect/index.vue.d.ts +1 -1
- package/dist/types/__VUE/uploader/index.vue.d.ts +7 -0
- package/dist/types/__VUE/uploader/uploader.d.ts +1 -0
- package/dist/types/__VUE/watermark/index.vue.d.ts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/package.json +2 -1
- package/dist/packages/index.d.ts +0 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.
|
|
2
|
+
* @nutui/nutui v3.2.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -94,9 +94,12 @@ const _sfc_main = create({
|
|
|
94
94
|
stepValue.value = value;
|
|
95
95
|
emit("changeStep", stepValue.value, currentValue.value);
|
|
96
96
|
};
|
|
97
|
-
watch(
|
|
98
|
-
|
|
99
|
-
|
|
97
|
+
watch(
|
|
98
|
+
() => props.modelValue,
|
|
99
|
+
(value) => {
|
|
100
|
+
money.value = value;
|
|
101
|
+
}
|
|
102
|
+
);
|
|
100
103
|
return {
|
|
101
104
|
handleClick,
|
|
102
105
|
changeStep,
|
|
@@ -1,24 +1,5 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __defProps = Object.defineProperties;
|
|
3
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
-
var __spreadValues = (a, b) => {
|
|
9
|
-
for (var prop in b || (b = {}))
|
|
10
|
-
if (__hasOwnProp.call(b, prop))
|
|
11
|
-
__defNormalProp(a, prop, b[prop]);
|
|
12
|
-
if (__getOwnPropSymbols)
|
|
13
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
14
|
-
if (__propIsEnum.call(b, prop))
|
|
15
|
-
__defNormalProp(a, prop, b[prop]);
|
|
16
|
-
}
|
|
17
|
-
return a;
|
|
18
|
-
};
|
|
19
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
1
|
/*!
|
|
21
|
-
* @nutui/nutui v3.
|
|
2
|
+
* @nutui/nutui v3.2.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
|
|
22
3
|
* (c) 2022 @jdf2e.
|
|
23
4
|
* Released under the MIT License.
|
|
24
5
|
*/
|
|
@@ -171,24 +152,30 @@ const _sfc_main = create({
|
|
|
171
152
|
useExpose({
|
|
172
153
|
scrollTo
|
|
173
154
|
});
|
|
174
|
-
watch(
|
|
175
|
-
state.
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
const listHeight = state.listHeight;
|
|
180
|
-
let fixedTop = newVal > 0 && newVal < props.titleHeight ? newVal - props.titleHeight : 0;
|
|
181
|
-
if (state.scrollY + clientHeight.value === listHeight[listHeight.length - 1]) {
|
|
182
|
-
if (fixedTop !== 0)
|
|
183
|
-
fixedTop = 0;
|
|
155
|
+
watch(
|
|
156
|
+
() => state.listGroup.length,
|
|
157
|
+
() => {
|
|
158
|
+
state.listHeight = [];
|
|
159
|
+
nextTick(calculateHeight);
|
|
184
160
|
}
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
state.
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
161
|
+
);
|
|
162
|
+
watch(
|
|
163
|
+
() => state.diff,
|
|
164
|
+
(newVal) => {
|
|
165
|
+
const listHeight = state.listHeight;
|
|
166
|
+
let fixedTop = newVal > 0 && newVal < props.titleHeight ? newVal - props.titleHeight : 0;
|
|
167
|
+
if (state.scrollY + clientHeight.value === listHeight[listHeight.length - 1]) {
|
|
168
|
+
if (fixedTop !== 0)
|
|
169
|
+
fixedTop = 0;
|
|
170
|
+
}
|
|
171
|
+
if (state.fixedTop === fixedTop)
|
|
172
|
+
return;
|
|
173
|
+
state.fixedTop = fixedTop;
|
|
174
|
+
}
|
|
175
|
+
);
|
|
176
|
+
return {
|
|
177
|
+
classes,
|
|
178
|
+
...toRefs(state),
|
|
192
179
|
fixedStyle,
|
|
193
180
|
clientHeight,
|
|
194
181
|
setListGroup,
|
|
@@ -198,7 +185,7 @@ const _sfc_main = create({
|
|
|
198
185
|
touchEnd,
|
|
199
186
|
handleClickItem,
|
|
200
187
|
handleClickIndex
|
|
201
|
-
}
|
|
188
|
+
};
|
|
202
189
|
}
|
|
203
190
|
});
|
|
204
191
|
const _hoisted_1 = { class: "nut-elevator__list__item__code" };
|
|
@@ -1,24 +1,5 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __defProps = Object.defineProperties;
|
|
3
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
-
var __spreadValues = (a, b) => {
|
|
9
|
-
for (var prop in b || (b = {}))
|
|
10
|
-
if (__hasOwnProp.call(b, prop))
|
|
11
|
-
__defNormalProp(a, prop, b[prop]);
|
|
12
|
-
if (__getOwnPropSymbols)
|
|
13
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
14
|
-
if (__propIsEnum.call(b, prop))
|
|
15
|
-
__defNormalProp(a, prop, b[prop]);
|
|
16
|
-
}
|
|
17
|
-
return a;
|
|
18
|
-
};
|
|
19
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
1
|
/*!
|
|
21
|
-
* @nutui/nutui v3.
|
|
2
|
+
* @nutui/nutui v3.2.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
|
|
22
3
|
* (c) 2022 @jdf2e.
|
|
23
4
|
* Released under the MIT License.
|
|
24
5
|
*/
|
|
@@ -70,14 +51,17 @@ const _sfc_main = create({
|
|
|
70
51
|
[prefixCls]: true
|
|
71
52
|
};
|
|
72
53
|
});
|
|
73
|
-
watch(
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
54
|
+
watch(
|
|
55
|
+
() => props.content,
|
|
56
|
+
(newV, oldVal) => {
|
|
57
|
+
if (newV != oldVal) {
|
|
58
|
+
if (container) {
|
|
59
|
+
document.body.appendChild(container);
|
|
60
|
+
}
|
|
61
|
+
createContainer();
|
|
77
62
|
}
|
|
78
|
-
createContainer();
|
|
79
63
|
}
|
|
80
|
-
|
|
64
|
+
);
|
|
81
65
|
onMounted(() => {
|
|
82
66
|
createContainer();
|
|
83
67
|
});
|
|
@@ -102,7 +86,9 @@ const _sfc_main = create({
|
|
|
102
86
|
container.style.webkitLineClamp = "unset";
|
|
103
87
|
container.style.display = "block";
|
|
104
88
|
const lineHeight = pxToNumber(originStyle.lineHeight);
|
|
105
|
-
maxHeight = Math.floor(
|
|
89
|
+
maxHeight = Math.floor(
|
|
90
|
+
lineHeight * (Number(props.rows) + 0.5) + pxToNumber(originStyle.paddingTop) + pxToNumber(originStyle.paddingBottom)
|
|
91
|
+
);
|
|
106
92
|
container.innerText = props.content;
|
|
107
93
|
document.body.appendChild(container);
|
|
108
94
|
calcEllipse();
|
|
@@ -189,7 +175,7 @@ const _sfc_main = create({
|
|
|
189
175
|
const handleClick = () => {
|
|
190
176
|
emit("click");
|
|
191
177
|
};
|
|
192
|
-
return
|
|
178
|
+
return { ...toRefs(state), root, ellipsis, classes, clickHandle, handleClick };
|
|
193
179
|
}
|
|
194
180
|
});
|
|
195
181
|
const _hoisted_1 = { key: 0 };
|
|
@@ -1,18 +1,14 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.
|
|
2
|
+
* @nutui/nutui v3.2.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
import { computed, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createBlock, createCommentVNode, renderSlot, createElementVNode, Fragment, renderList, toDisplayString, createVNode } from "vue";
|
|
7
6
|
import { c as createComponent } from "./component.js";
|
|
8
|
-
import
|
|
7
|
+
import { computed, ref, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createBlock, createCommentVNode, renderSlot, createElementVNode, Fragment, renderList, toDisplayString, createVNode } from "vue";
|
|
9
8
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
10
9
|
import "../locale/lang";
|
|
11
|
-
const { componentName,
|
|
12
|
-
const
|
|
13
|
-
components: {
|
|
14
|
-
[overlay.name]: overlay
|
|
15
|
-
},
|
|
10
|
+
const { componentName, translate } = createComponent("fixednav");
|
|
11
|
+
const component = {
|
|
16
12
|
props: {
|
|
17
13
|
visible: {
|
|
18
14
|
type: Boolean,
|
|
@@ -26,6 +22,10 @@ const _sfc_main = create({
|
|
|
26
22
|
default: () => [],
|
|
27
23
|
type: Array
|
|
28
24
|
},
|
|
25
|
+
activeColor: {
|
|
26
|
+
default: "",
|
|
27
|
+
type: String
|
|
28
|
+
},
|
|
29
29
|
activeText: {
|
|
30
30
|
default: "",
|
|
31
31
|
type: String
|
|
@@ -58,6 +58,7 @@ const _sfc_main = create({
|
|
|
58
58
|
[props.type]: true
|
|
59
59
|
};
|
|
60
60
|
});
|
|
61
|
+
const current = ref(-1);
|
|
61
62
|
const updateValue = (value = !props.visible) => {
|
|
62
63
|
emit("update:visible", value);
|
|
63
64
|
};
|
|
@@ -66,10 +67,11 @@ const _sfc_main = create({
|
|
|
66
67
|
item,
|
|
67
68
|
event
|
|
68
69
|
});
|
|
70
|
+
current.value = item.id;
|
|
69
71
|
};
|
|
70
|
-
return { classes, updateValue, selected, translate };
|
|
72
|
+
return { classes, updateValue, selected, translate, current };
|
|
71
73
|
}
|
|
72
|
-
}
|
|
74
|
+
};
|
|
73
75
|
const _hoisted_1 = { class: "nut-fixednav__list" };
|
|
74
76
|
const _hoisted_2 = ["onClick"];
|
|
75
77
|
const _hoisted_3 = ["src"];
|
|
@@ -79,7 +81,7 @@ const _hoisted_5 = {
|
|
|
79
81
|
class: "b"
|
|
80
82
|
};
|
|
81
83
|
const _hoisted_6 = { class: "text" };
|
|
82
|
-
function
|
|
84
|
+
function render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
83
85
|
const _component_nut_overlay = resolveComponent("nut-overlay");
|
|
84
86
|
const _component_nut_icon = resolveComponent("nut-icon");
|
|
85
87
|
return openBlock(), createElementBlock("view", {
|
|
@@ -96,7 +98,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
96
98
|
createElementVNode("view", _hoisted_1, [
|
|
97
99
|
(openBlock(true), createElementBlock(Fragment, null, renderList(_ctx.navList, (item, index2) => {
|
|
98
100
|
return openBlock(), createElementBlock("view", {
|
|
99
|
-
class: "nut-fixednav__list-item",
|
|
101
|
+
class: normalizeClass(["nut-fixednav__list-item", { active: item.id == _ctx.current }]),
|
|
100
102
|
onClick: ($event) => _ctx.selected(item, $event),
|
|
101
103
|
key: item.id || index2
|
|
102
104
|
}, [
|
|
@@ -105,7 +107,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
105
107
|
}, null, 8, _hoisted_3),
|
|
106
108
|
createElementVNode("view", _hoisted_4, toDisplayString(item.text), 1),
|
|
107
109
|
item.num ? (openBlock(), createElementBlock("view", _hoisted_5, toDisplayString(item.num), 1)) : createCommentVNode("", true)
|
|
108
|
-
],
|
|
110
|
+
], 10, _hoisted_2);
|
|
109
111
|
}), 128))
|
|
110
112
|
])
|
|
111
113
|
]),
|
|
@@ -123,5 +125,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
123
125
|
])
|
|
124
126
|
], 6);
|
|
125
127
|
}
|
|
126
|
-
|
|
128
|
+
const { create } = createComponent("fixednav");
|
|
129
|
+
const _sfc_main = create(component);
|
|
130
|
+
var index = /* @__PURE__ */ _export_sfc(_sfc_main, [["render", render]]);
|
|
127
131
|
export { index as default };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.
|
|
2
|
+
* @nutui/nutui v3.2.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -27,9 +27,13 @@ const component = {
|
|
|
27
27
|
const reset = () => {
|
|
28
28
|
clearErrorTips();
|
|
29
29
|
};
|
|
30
|
-
watch(
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
watch(
|
|
31
|
+
() => props.modelValue,
|
|
32
|
+
(value) => {
|
|
33
|
+
clearErrorTips(value);
|
|
34
|
+
},
|
|
35
|
+
{ immediate: true }
|
|
36
|
+
);
|
|
33
37
|
const findFormItem = (vnodes) => {
|
|
34
38
|
let task = [];
|
|
35
39
|
vnodes.forEach((vnode, index2) => {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.
|
|
2
|
+
* @nutui/nutui v3.2.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
6
|
-
import { inject, getCurrentInstance, onUnmounted, computed, ref, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, renderSlot, Fragment, createBlock, toDisplayString } from "vue";
|
|
6
|
+
import { inject, getCurrentInstance, onUnmounted, computed, ref, resolveComponent, openBlock, createElementBlock, normalizeClass, normalizeStyle, createElementVNode, renderSlot, Fragment, createBlock, mergeProps, toDisplayString } from "vue";
|
|
7
7
|
import { u as useRouter } from "./index.js";
|
|
8
8
|
import { c as createComponent } from "./component.js";
|
|
9
9
|
import { p as pxCheck } from "./pxCheck.js";
|
|
@@ -135,12 +135,13 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
135
135
|
class: normalizeClass(_ctx.contentClass)
|
|
136
136
|
}, [
|
|
137
137
|
_ctx.$slots.default ? renderSlot(_ctx.$slots, "default", { key: 0 }) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
138
|
-
_ctx.$slots.icon ? renderSlot(_ctx.$slots, "icon", { key: 0 }) : (openBlock(), createBlock(_component_nut_icon, {
|
|
138
|
+
_ctx.$slots.icon ? renderSlot(_ctx.$slots, "icon", { key: 0 }) : (openBlock(), createBlock(_component_nut_icon, mergeProps({
|
|
139
139
|
key: 1,
|
|
140
|
-
name: _ctx.iconProps.name
|
|
140
|
+
name: _ctx.iconProps.name
|
|
141
|
+
}, _ctx.$attrs, {
|
|
141
142
|
size: _ctx.iconProps.size,
|
|
142
143
|
color: _ctx.iconProps.color
|
|
143
|
-
}, null,
|
|
144
|
+
}), null, 16, ["name", "size", "color"])),
|
|
144
145
|
_ctx.$slots.text ? renderSlot(_ctx.$slots, "text", { key: 2 }) : (openBlock(), createElementBlock("view", _hoisted_1, toDisplayString(_ctx.text), 1))
|
|
145
146
|
], 64))
|
|
146
147
|
], 2)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @nutui/nutui v3.
|
|
2
|
+
* @nutui/nutui v3.2.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
|
|
3
3
|
* (c) 2022 @jdf2e.
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
*/
|
|
@@ -28,17 +28,21 @@ const _sfc_main = create({
|
|
|
28
28
|
return () => {
|
|
29
29
|
var _a;
|
|
30
30
|
const _isImage = isImage();
|
|
31
|
-
return h(
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
31
|
+
return h(
|
|
32
|
+
_isImage ? "img" : props.tag,
|
|
33
|
+
{
|
|
34
|
+
class: _isImage ? `${componentName}__img` : `${props.fontClassName} ${componentName} ${props.classPrefix}-${props.name}`,
|
|
35
|
+
style: {
|
|
36
|
+
color: props.color,
|
|
37
|
+
fontSize: pxCheck(props.size),
|
|
38
|
+
width: pxCheck(props.size),
|
|
39
|
+
height: pxCheck(props.size)
|
|
40
|
+
},
|
|
41
|
+
onClick: handleClick,
|
|
42
|
+
src: _isImage ? props.name : ""
|
|
38
43
|
},
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}, (_a = slots.default) == null ? void 0 : _a.call(slots));
|
|
44
|
+
(_a = slots.default) == null ? void 0 : _a.call(slots)
|
|
45
|
+
);
|
|
42
46
|
};
|
|
43
47
|
}
|
|
44
48
|
});
|
|
@@ -1,24 +1,5 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __defProps = Object.defineProperties;
|
|
3
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
-
var __spreadValues = (a, b) => {
|
|
9
|
-
for (var prop in b || (b = {}))
|
|
10
|
-
if (__hasOwnProp.call(b, prop))
|
|
11
|
-
__defNormalProp(a, prop, b[prop]);
|
|
12
|
-
if (__getOwnPropSymbols)
|
|
13
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
14
|
-
if (__propIsEnum.call(b, prop))
|
|
15
|
-
__defNormalProp(a, prop, b[prop]);
|
|
16
|
-
}
|
|
17
|
-
return a;
|
|
18
|
-
};
|
|
19
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
1
|
/*!
|
|
21
|
-
* @nutui/nutui v3.
|
|
2
|
+
* @nutui/nutui v3.2.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
|
|
22
3
|
* (c) 2022 @jdf2e.
|
|
23
4
|
* Released under the MIT License.
|
|
24
5
|
*/
|
|
@@ -99,9 +80,12 @@ const _sfc_main = create({
|
|
|
99
80
|
};
|
|
100
81
|
return styless;
|
|
101
82
|
});
|
|
102
|
-
watch(
|
|
103
|
-
|
|
104
|
-
|
|
83
|
+
watch(
|
|
84
|
+
() => props.src,
|
|
85
|
+
(val) => {
|
|
86
|
+
state.isError = false, state.loading = true;
|
|
87
|
+
}
|
|
88
|
+
);
|
|
105
89
|
const load = () => {
|
|
106
90
|
state.loading = false;
|
|
107
91
|
emit("load");
|
|
@@ -114,7 +98,7 @@ const _sfc_main = create({
|
|
|
114
98
|
const imageClick = (event) => {
|
|
115
99
|
emit("click", event);
|
|
116
100
|
};
|
|
117
|
-
return
|
|
101
|
+
return { ...toRefs(state), imageClick, classes, styles, stylebox, error, load };
|
|
118
102
|
}
|
|
119
103
|
});
|
|
120
104
|
const _hoisted_1 = ["src", "alt"];
|
|
@@ -1,28 +1,9 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __defProps = Object.defineProperties;
|
|
3
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
-
var __spreadValues = (a, b) => {
|
|
9
|
-
for (var prop in b || (b = {}))
|
|
10
|
-
if (__hasOwnProp.call(b, prop))
|
|
11
|
-
__defNormalProp(a, prop, b[prop]);
|
|
12
|
-
if (__getOwnPropSymbols)
|
|
13
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
14
|
-
if (__propIsEnum.call(b, prop))
|
|
15
|
-
__defNormalProp(a, prop, b[prop]);
|
|
16
|
-
}
|
|
17
|
-
return a;
|
|
18
|
-
};
|
|
19
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
1
|
/*!
|
|
21
|
-
* @nutui/nutui v3.
|
|
2
|
+
* @nutui/nutui v3.2.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
|
|
22
3
|
* (c) 2022 @jdf2e.
|
|
23
4
|
* Released under the MIT License.
|
|
24
5
|
*/
|
|
25
|
-
import { reactive, computed, watch, toRefs, resolveComponent, openBlock, createBlock, withCtx, createElementBlock, normalizeStyle, createElementVNode, createCommentVNode, createVNode, ref, onMounted, Fragment, renderList, toDisplayString, render, h } from "vue";
|
|
6
|
+
import { reactive, computed, watch, toRefs, resolveComponent, openBlock, createBlock, withCtx, createElementBlock, normalizeStyle, createElementVNode, createCommentVNode, createVNode, ref, onMounted, Fragment, renderList, toDisplayString, mergeProps, render, h } from "vue";
|
|
26
7
|
import { c as createComponent, a as isPromise } from "./component.js";
|
|
27
8
|
import Popup from "./Popup.js";
|
|
28
9
|
import Video from "./Video.js";
|
|
@@ -254,19 +235,23 @@ const _sfc_main$1 = create$1({
|
|
|
254
235
|
};
|
|
255
236
|
const clamp = (num, min, max) => Math.min(Math.max(num, min), max);
|
|
256
237
|
watch(() => props.initNo, resetScale);
|
|
257
|
-
watch(
|
|
258
|
-
|
|
259
|
-
|
|
238
|
+
watch(
|
|
239
|
+
() => props.show,
|
|
240
|
+
(value) => {
|
|
241
|
+
if (!value) {
|
|
242
|
+
resetScale();
|
|
243
|
+
}
|
|
260
244
|
}
|
|
261
|
-
|
|
262
|
-
return
|
|
245
|
+
);
|
|
246
|
+
return {
|
|
247
|
+
...toRefs(state),
|
|
263
248
|
onTouchStart,
|
|
264
249
|
onTouchMove,
|
|
265
250
|
onTouchEnd,
|
|
266
251
|
getDistance,
|
|
267
252
|
imageStyle,
|
|
268
253
|
imageLoad
|
|
269
|
-
}
|
|
254
|
+
};
|
|
270
255
|
}
|
|
271
256
|
});
|
|
272
257
|
const _hoisted_1$1 = ["src"];
|
|
@@ -433,23 +418,26 @@ const _sfc_main = create({
|
|
|
433
418
|
state.rootWidth = swipeRef.value.offsetWidth;
|
|
434
419
|
}, 100);
|
|
435
420
|
};
|
|
436
|
-
watch(
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
421
|
+
watch(
|
|
422
|
+
() => props.show,
|
|
423
|
+
(val) => {
|
|
424
|
+
state.showPop = val;
|
|
425
|
+
init();
|
|
426
|
+
}
|
|
427
|
+
);
|
|
440
428
|
onMounted(() => {
|
|
441
429
|
state.active = props.initNo;
|
|
442
430
|
state.showPop = props.show;
|
|
443
431
|
state.maxNo = props.images.length + props.videos.length;
|
|
444
432
|
});
|
|
445
|
-
return
|
|
446
|
-
swipeRef
|
|
447
|
-
|
|
433
|
+
return {
|
|
434
|
+
swipeRef,
|
|
435
|
+
...toRefs(state),
|
|
448
436
|
slideChangeEnd,
|
|
449
437
|
onClose,
|
|
450
438
|
handleCloseIcon,
|
|
451
439
|
styles
|
|
452
|
-
}
|
|
440
|
+
};
|
|
453
441
|
}
|
|
454
442
|
});
|
|
455
443
|
const _hoisted_1 = {
|
|
@@ -523,10 +511,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
523
511
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleCloseIcon && _ctx.handleCloseIcon(...args)),
|
|
524
512
|
style: normalizeStyle(_ctx.styles)
|
|
525
513
|
}, [
|
|
526
|
-
createVNode(_component_nut_icon, {
|
|
527
|
-
name: _ctx.closeIcon,
|
|
528
|
-
color: "#ffffff"
|
|
529
|
-
}, null, 8, ["name"])
|
|
514
|
+
createVNode(_component_nut_icon, mergeProps({ name: _ctx.closeIcon }, _ctx.$attrs, { color: "#ffffff" }), null, 16, ["name"])
|
|
530
515
|
], 4)) : createCommentVNode("", true)
|
|
531
516
|
]),
|
|
532
517
|
_: 1
|
|
@@ -1,28 +1,9 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __defProps = Object.defineProperties;
|
|
3
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
-
var __spreadValues = (a, b) => {
|
|
9
|
-
for (var prop in b || (b = {}))
|
|
10
|
-
if (__hasOwnProp.call(b, prop))
|
|
11
|
-
__defNormalProp(a, prop, b[prop]);
|
|
12
|
-
if (__getOwnPropSymbols)
|
|
13
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
14
|
-
if (__propIsEnum.call(b, prop))
|
|
15
|
-
__defNormalProp(a, prop, b[prop]);
|
|
16
|
-
}
|
|
17
|
-
return a;
|
|
18
|
-
};
|
|
19
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
1
|
/*!
|
|
21
|
-
* @nutui/nutui v3.
|
|
2
|
+
* @nutui/nutui v3.2.2-beta.1 Mon Aug 22 2022 15:19:47 GMT+0800 (中国标准时间)
|
|
22
3
|
* (c) 2022 @jdf2e.
|
|
23
4
|
* Released under the MIT License.
|
|
24
5
|
*/
|
|
25
|
-
import { reactive, computed, onMounted, onUnmounted, ref, onActivated, onDeactivated, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, createVNode, toDisplayString, renderSlot, Fragment, createCommentVNode } from "vue";
|
|
6
|
+
import { reactive, computed, onMounted, onUnmounted, ref, onActivated, onDeactivated, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, createVNode, mergeProps, toDisplayString, renderSlot, Fragment, createCommentVNode } from "vue";
|
|
26
7
|
import { c as createComponent } from "./component.js";
|
|
27
8
|
import { _ as _export_sfc } from "./plugin-vue_export-helper.js";
|
|
28
9
|
import "../locale/lang";
|
|
@@ -206,16 +187,16 @@ const _sfc_main = create({
|
|
|
206
187
|
isKeepAlive.value = true;
|
|
207
188
|
state.scrollEl.removeEventListener("scroll", handleScroll, props.useCapture);
|
|
208
189
|
});
|
|
209
|
-
return
|
|
210
|
-
classes
|
|
211
|
-
|
|
190
|
+
return {
|
|
191
|
+
classes,
|
|
192
|
+
...toRefs(state),
|
|
212
193
|
touchStart,
|
|
213
194
|
touchMove,
|
|
214
195
|
touchEnd,
|
|
215
196
|
getStyle,
|
|
216
197
|
translate,
|
|
217
198
|
slots
|
|
218
|
-
}
|
|
199
|
+
};
|
|
219
200
|
}
|
|
220
201
|
});
|
|
221
202
|
const _hoisted_1 = { class: "top-box" };
|
|
@@ -246,10 +227,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
246
227
|
style: normalizeStyle(_ctx.getStyle)
|
|
247
228
|
}, [
|
|
248
229
|
createElementVNode("view", _hoisted_1, [
|
|
249
|
-
createVNode(_component_nut_icon, {
|
|
250
|
-
class: "top-img",
|
|
251
|
-
name: _ctx.pullIcon
|
|
252
|
-
}, null, 8, ["name"]),
|
|
230
|
+
createVNode(_component_nut_icon, mergeProps({ class: "top-img" }, _ctx.$attrs, { name: _ctx.pullIcon }), null, 16, ["name"]),
|
|
253
231
|
createElementVNode("view", _hoisted_2, toDisplayString(_ctx.pullTxt || _ctx.translate("pullTxt")), 1)
|
|
254
232
|
])
|
|
255
233
|
], 4),
|
|
@@ -259,10 +237,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
259
237
|
createElementVNode("view", _hoisted_4, [
|
|
260
238
|
_ctx.isInfiniting ? (openBlock(), createElementBlock("view", _hoisted_5, [
|
|
261
239
|
!_ctx.slots.loading ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
262
|
-
createVNode(_component_nut_icon, {
|
|
263
|
-
class: "bottom-img",
|
|
264
|
-
name: _ctx.loadIcon
|
|
265
|
-
}, null, 8, ["name"]),
|
|
240
|
+
createVNode(_component_nut_icon, mergeProps({ class: "bottom-img" }, _ctx.$attrs, { name: _ctx.loadIcon }), null, 16, ["name"]),
|
|
266
241
|
createElementVNode("view", _hoisted_6, toDisplayString(_ctx.loadTxt || _ctx.translate("loading")), 1)
|
|
267
242
|
], 64)) : renderSlot(_ctx.$slots, "loading", { key: 1 })
|
|
268
243
|
])) : !_ctx.hasMore ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|