@nutui/nutui 4.0.0-beta.24 → 4.0.0-beta.26
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 +13 -940
- package/dist/nutui.es.js +1 -1
- package/dist/nutui.umd.js +2 -2
- package/dist/packages/_es/ActionSheet.js +1 -1
- package/dist/packages/_es/Address.js +4 -4
- package/dist/packages/_es/AddressList.js +25 -25
- package/dist/packages/_es/Barrage.js +42 -18
- package/dist/packages/_es/Calendar.js +12 -12
- package/dist/packages/_es/CalendarItem.js +1 -1
- package/dist/packages/_es/Cascader.js +1 -1
- package/dist/packages/_es/CollapseItem.js +2 -2
- package/dist/packages/_es/Dialog.js +1 -1
- package/dist/packages/_es/ImagePreview.js +1 -1
- package/dist/packages/_es/InfiniteLoading.js +1 -1
- package/dist/packages/_es/MenuItem.js +1 -1
- package/dist/packages/_es/Navbar.js +4 -4
- package/dist/packages/_es/Noticebar.js +11 -7
- package/dist/packages/_es/Notify.js +1 -1
- package/dist/packages/_es/NumberKeyboard.js +1 -1
- package/dist/packages/_es/Popover.js +1 -1
- package/dist/packages/_es/Popup.js +1 -1
- package/dist/packages/_es/Progress.js +1 -1
- package/dist/packages/_es/Searchbar.js +1 -1
- package/dist/packages/_es/ShortPassword.js +1 -1
- package/dist/packages/_es/Sku.js +1 -1
- package/dist/packages/_es/TimeSelect.js +1 -1
- package/dist/packages/_es/Tour.js +3 -3
- package/dist/packages/_es/TrendArrow.js +2 -2
- package/dist/packages/_es/{index-f3a722c9.js → index-2ae3ae87.js} +4 -4
- package/dist/packages/_es/{index-af79da1a.js → index-991c279f.js} +1 -1
- package/dist/packages/countup/index.scss +1 -0
- package/dist/packages/ecard/index.scss +2 -2
- package/dist/packages/noticebar/index.scss +9 -9
- package/dist/smartips/web-types.json +6 -6
- package/dist/style.css +1 -1
- package/dist/styles/themes/default.scss +53 -53
- package/dist/styles/themes/jdb.scss +53 -53
- package/dist/styles/themes/jddkh.scss +53 -53
- package/dist/styles/themes/jdt.scss +53 -53
- package/dist/styles/variables-jdb.scss +2 -4
- package/dist/styles/variables-jddkh.scss +2 -4
- package/dist/styles/variables-jdt.scss +2 -4
- package/dist/styles/variables.scss +2 -4
- package/dist/types/__VUE/noticebar/index.vue.d.ts +6 -10
- package/dist/types/index.d.ts +1 -1
- package/package.json +1 -1
- package/dist/types/__VUE/actionsheet/index.taro.vue.d.ts +0 -310
- package/dist/types/__VUE/address/index.taro.vue.d.ts +0 -397
- package/dist/types/__VUE/addresslist/components/GeneralShell.taro.vue.d.ts +0 -60
- package/dist/types/__VUE/addresslist/components/ItemContents.taro.vue.d.ts +0 -23
- package/dist/types/__VUE/addresslist/index.taro.vue.d.ts +0 -83
- package/dist/types/__VUE/animate/index.taro.vue.d.ts +0 -54
- package/dist/types/__VUE/avatar/index.taro.vue.d.ts +0 -76
- package/dist/types/__VUE/avatargroup/index.taro.vue.d.ts +0 -92
- package/dist/types/__VUE/backtop/index.taro.vue.d.ts +0 -76
- package/dist/types/__VUE/badge/index.taro.vue.d.ts +0 -93
- package/dist/types/__VUE/barrage/index.taro.vue.d.ts +0 -80
- package/dist/types/__VUE/button/index.taro.vue.d.ts +0 -90
- package/dist/types/__VUE/calendar/index.taro.vue.d.ts +0 -187
- package/dist/types/__VUE/calendaritem/index.taro.vue.d.ts +0 -217
- package/dist/types/__VUE/card/index.taro.vue.d.ts +0 -89
- package/dist/types/__VUE/cascader/cascader-item.taro.vue.d.ts +0 -77
- package/dist/types/__VUE/cascader/index.taro.vue.d.ts +0 -263
- package/dist/types/__VUE/category/index.taro.vue.d.ts +0 -42
- package/dist/types/__VUE/categorypane/index.taro.vue.d.ts +0 -54
- package/dist/types/__VUE/cell/index.taro.vue.d.ts +0 -124
- package/dist/types/__VUE/checkbox/index.taro.vue.d.ts +0 -12
- package/dist/types/__VUE/circleprogress/index.taro.vue.d.ts +0 -93
- package/dist/types/__VUE/collapse/index.taro.vue.d.ts +0 -38
- package/dist/types/__VUE/collapseitem/index.taro.vue.d.ts +0 -111
- package/dist/types/__VUE/comment/components/CmtBottom.taro.vue.d.ts +0 -42
- package/dist/types/__VUE/comment/components/CmtHeader.taro.vue.d.ts +0 -27
- package/dist/types/__VUE/comment/components/CmtImages.taro.vue.d.ts +0 -59
- package/dist/types/__VUE/comment/index.taro.vue.d.ts +0 -119
- package/dist/types/__VUE/configprovider/index.taro.vue.d.ts +0 -45
- package/dist/types/__VUE/countdown/index.taro.vue.d.ts +0 -103
- package/dist/types/__VUE/countup/index.taro.vue.d.ts +0 -213
- package/dist/types/__VUE/datepicker/index.taro.vue.d.ts +0 -232
- package/dist/types/__VUE/dialog/index.taro.vue.d.ts +0 -345
- package/dist/types/__VUE/divider/index.taro.vue.d.ts +0 -53
- package/dist/types/__VUE/drag/index.taro.vue.d.ts +0 -62
- package/dist/types/__VUE/ecard/index.taro.vue.d.ts +0 -128
- package/dist/types/__VUE/elevator/index.taro.vue.d.ts +0 -117
- package/dist/types/__VUE/ellipsis/index.taro.vue.d.ts +0 -103
- package/dist/types/__VUE/empty/index.taro.vue.d.ts +0 -46
- package/dist/types/__VUE/fixednav/index.taro.vue.d.ts +0 -105
- package/dist/types/__VUE/form/index.taro.vue.d.ts +0 -40
- package/dist/types/__VUE/formitem/index.taro.vue.d.ts +0 -114
- package/dist/types/__VUE/grid/index.taro.vue.d.ts +0 -84
- package/dist/types/__VUE/griditem/index.taro.vue.d.ts +0 -22
- package/dist/types/__VUE/icon/index.taro.vue.d.ts +0 -12
- package/dist/types/__VUE/image/index.taro.vue.d.ts +0 -32
- package/dist/types/__VUE/imagepreview/index.taro.vue.d.ts +0 -163
- package/dist/types/__VUE/indicator/index.taro.vue.d.ts +0 -70
- package/dist/types/__VUE/input/index.taro.vue.d.ts +0 -224
- package/dist/types/__VUE/inputnumber/index.taro.vue.d.ts +0 -116
- package/dist/types/__VUE/invoice/index.taro.vue.d.ts +0 -52
- package/dist/types/__VUE/layout/index.taro.vue.d.ts +0 -12
- package/dist/types/__VUE/list/index.taro.vue.d.ts +0 -58
- package/dist/types/__VUE/menu/index.taro.vue.d.ts +0 -93
- package/dist/types/__VUE/menuitem/index.taro.vue.d.ts +0 -89
- package/dist/types/__VUE/navbar/index.taro.vue.d.ts +0 -121
- package/dist/types/__VUE/noticebar/index.taro.vue.d.ts +0 -207
- package/dist/types/__VUE/notify/index.taro.vue.d.ts +0 -110
- package/dist/types/__VUE/numberkeyboard/index.taro.vue.d.ts +0 -132
- package/dist/types/__VUE/overlay/index.taro.vue.d.ts +0 -85
- package/dist/types/__VUE/pagination/index.taro.vue.d.ts +0 -111
- package/dist/types/__VUE/picker/index.taro.vue.d.ts +0 -14
- package/dist/types/__VUE/popover/index.taro.vue.d.ts +0 -192
- package/dist/types/__VUE/popup/index.taro.vue.d.ts +0 -219
- package/dist/types/__VUE/price/index.taro.vue.d.ts +0 -87
- package/dist/types/__VUE/progress/index.taro.vue.d.ts +0 -128
- package/dist/types/__VUE/radio/index.taro.vue.d.ts +0 -53
- package/dist/types/__VUE/range/index.taro.vue.d.ts +0 -158
- package/dist/types/__VUE/rate/index.taro.vue.d.ts +0 -121
- package/dist/types/__VUE/scrollView/index.taro.vue.d.ts +0 -14
- package/dist/types/__VUE/searchbar/index.taro.vue.d.ts +0 -177
- package/dist/types/__VUE/shortpassword/index.taro.vue.d.ts +0 -103
- package/dist/types/__VUE/sidenavbar/index.taro.vue.d.ts +0 -31
- package/dist/types/__VUE/signature/index.taro.vue.d.ts +0 -84
- package/dist/types/__VUE/skeleton/index.taro.vue.d.ts +0 -115
- package/dist/types/__VUE/sku/components/SkuHeader.taro.vue.d.ts +0 -28
- package/dist/types/__VUE/sku/components/SkuStepper.taro.vue.d.ts +0 -56
- package/dist/types/__VUE/sku/index.taro.vue.d.ts +0 -146
- package/dist/types/__VUE/steps/index.taro.vue.d.ts +0 -46
- package/dist/types/__VUE/sticky/index.taro.vue.d.ts +0 -47
- package/dist/types/__VUE/subsidenavbar/index.taro.vue.d.ts +0 -53
- package/dist/types/__VUE/swipe/index.taro.vue.d.ts +0 -71
- package/dist/types/__VUE/swiper/index.taro.vue.d.ts +0 -168
- package/dist/types/__VUE/swiperitem/index.taro.vue.d.ts +0 -18
- package/dist/types/__VUE/switch/index.taro.vue.d.ts +0 -108
- package/dist/types/__VUE/tabbar/index.taro.vue.d.ts +0 -93
- package/dist/types/__VUE/tabbaritem/index.taro.vue.d.ts +0 -59
- package/dist/types/__VUE/table/index.taro.vue.d.ts +0 -80
- package/dist/types/__VUE/tabs/index.taro.vue.d.ts +0 -164
- package/dist/types/__VUE/tag/index.taro.vue.d.ts +0 -90
- package/dist/types/__VUE/textarea/index.taro.vue.d.ts +0 -127
- package/dist/types/__VUE/timedetail/index.taro.vue.d.ts +0 -38
- package/dist/types/__VUE/timepannel/index.taro.vue.d.ts +0 -42
- package/dist/types/__VUE/timeselect/index.taro.vue.d.ts +0 -91
- package/dist/types/__VUE/toast/index.taro.vue.d.ts +0 -184
- package/dist/types/__VUE/tour/index.taro.vue.d.ts +0 -192
- package/dist/types/__VUE/trendarrow/index.taro.vue.d.ts +0 -105
- package/dist/types/__VUE/uploader/index.taro.vue.d.ts +0 -260
- package/dist/types/__VUE/watermark/index.taro.vue.d.ts +0 -175
- package/dist/types/nutui.taro.vue.build.d.ts +0 -106
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
2
2
|
import { useSlots, computed, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, normalizeClass, createElementBlock, toDisplayString, createCommentVNode, renderSlot, Fragment, renderList, normalizeStyle } from "vue";
|
|
3
|
-
import { P as Popup, p as popupProps } from "./index-
|
|
3
|
+
import { P as Popup, p as popupProps } from "./index-991c279f.js";
|
|
4
4
|
import { Loading } from "@nutui/icons-vue";
|
|
5
5
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
6
6
|
import "../locale/lang";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref, computed, reactive, watch, toRefs, nextTick, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, renderSlot, withDirectives, createVNode, vShow, toDisplayString, createElementBlock, Fragment, renderList, normalizeClass, createCommentVNode, normalizeStyle, createTextVNode } from "vue";
|
|
2
2
|
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
-
import { P as Popup, p as popupProps } from "./index-
|
|
3
|
+
import { P as Popup, p as popupProps } from "./index-991c279f.js";
|
|
4
4
|
import Elevator from "./Elevator.js";
|
|
5
5
|
import { Location, Location2, Check, Close, Left } from "@nutui/icons-vue";
|
|
6
6
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
@@ -375,7 +375,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
375
375
|
class: "nut-address__header-back",
|
|
376
376
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.switchModule && _ctx.switchModule(...args))
|
|
377
377
|
}, [
|
|
378
|
-
renderSlot(_ctx.$slots, "
|
|
378
|
+
renderSlot(_ctx.$slots, "back-icon", {}, () => [
|
|
379
379
|
withDirectives(createVNode(_component_Left, null, null, 512), [
|
|
380
380
|
[vShow, _ctx.type == "exist" && _ctx.privateType == "custom"]
|
|
381
381
|
])
|
|
@@ -386,7 +386,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
386
386
|
class: "nut-address__header-close",
|
|
387
387
|
onClick: _cache[1] || (_cache[1] = ($event) => _ctx.handClose("cross"))
|
|
388
388
|
}, [
|
|
389
|
-
renderSlot(_ctx.$slots, "
|
|
389
|
+
renderSlot(_ctx.$slots, "close-icon", {}, () => [
|
|
390
390
|
createVNode(_component_Close, {
|
|
391
391
|
color: "#cccccc",
|
|
392
392
|
size: "18px"
|
|
@@ -451,7 +451,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
451
451
|
key: index2,
|
|
452
452
|
onClick: ($event) => _ctx.selectedExist(item)
|
|
453
453
|
}, [
|
|
454
|
-
!item.selectedAddress ? renderSlot(_ctx.$slots, "
|
|
454
|
+
!item.selectedAddress ? renderSlot(_ctx.$slots, "unselected-icon", { key: 0 }, () => [
|
|
455
455
|
createVNode(_component_Location2, {
|
|
456
456
|
class: "nut-address-select-icon",
|
|
457
457
|
width: "13px"
|
|
@@ -57,14 +57,14 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
57
57
|
}, [
|
|
58
58
|
createElementVNode("div", _hoisted_1$1, [
|
|
59
59
|
createElementVNode("div", _hoisted_2$1, [
|
|
60
|
-
renderSlot(_ctx.$slots, "
|
|
60
|
+
renderSlot(_ctx.$slots, "content-top", {}, () => [
|
|
61
61
|
createElementVNode("div", _hoisted_3, toDisplayString(_ctx.item.addressName), 1),
|
|
62
62
|
createElementVNode("div", _hoisted_4, toDisplayString(_ctx.item.phone), 1),
|
|
63
63
|
_ctx.item.defaultAddress ? (openBlock(), createElementBlock("div", _hoisted_5, toDisplayString(_ctx.translate("default")), 1)) : createCommentVNode("", true)
|
|
64
64
|
])
|
|
65
65
|
]),
|
|
66
66
|
createElementVNode("div", _hoisted_6, [
|
|
67
|
-
renderSlot(_ctx.$slots, "
|
|
67
|
+
renderSlot(_ctx.$slots, "content-icon", {}, () => [
|
|
68
68
|
createVNode(_component_Del, {
|
|
69
69
|
name: "del",
|
|
70
70
|
class: "nut-address-list-item__info-handle-del",
|
|
@@ -79,7 +79,7 @@ function _sfc_render$2(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
79
79
|
])
|
|
80
80
|
]),
|
|
81
81
|
createElementVNode("div", _hoisted_7, [
|
|
82
|
-
renderSlot(_ctx.$slots, "
|
|
82
|
+
renderSlot(_ctx.$slots, "content-addr", {}, () => [
|
|
83
83
|
createTextVNode(toDisplayString(_ctx.item.fullAddress), 1)
|
|
84
84
|
])
|
|
85
85
|
])
|
|
@@ -222,14 +222,14 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
222
222
|
onTouchend: _ctx.holddownend,
|
|
223
223
|
onTouchmove: _ctx.holddownmove
|
|
224
224
|
}, {
|
|
225
|
-
|
|
226
|
-
renderSlot(_ctx.$slots, "
|
|
225
|
+
"content-top": withCtx(() => [
|
|
226
|
+
renderSlot(_ctx.$slots, "content-info")
|
|
227
227
|
]),
|
|
228
|
-
|
|
229
|
-
renderSlot(_ctx.$slots, "
|
|
228
|
+
"content-icon": withCtx(() => [
|
|
229
|
+
renderSlot(_ctx.$slots, "content-icons")
|
|
230
230
|
]),
|
|
231
|
-
|
|
232
|
-
renderSlot(_ctx.$slots, "
|
|
231
|
+
"content-addr": withCtx(() => [
|
|
232
|
+
renderSlot(_ctx.$slots, "content-addrs")
|
|
233
233
|
]),
|
|
234
234
|
_: 3
|
|
235
235
|
}, 40, ["onTouchstart", "onTouchend", "onTouchmove"])),
|
|
@@ -238,7 +238,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
238
238
|
class: "nut-address-list-general__mask",
|
|
239
239
|
onClick: _cache[3] || (_cache[3] = (...args) => _ctx.maskClick && _ctx.maskClick(...args))
|
|
240
240
|
}, [
|
|
241
|
-
renderSlot(_ctx.$slots, "
|
|
241
|
+
renderSlot(_ctx.$slots, "longpress-all", {}, () => [
|
|
242
242
|
createElementVNode("div", {
|
|
243
243
|
class: "nut-address-list-general__mask-copy",
|
|
244
244
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.copyCLick && _ctx.copyCLick(...args))
|
|
@@ -260,7 +260,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
260
260
|
})) : createCommentVNode("", true)
|
|
261
261
|
])) : (openBlock(), createBlock(_component_nut_swipe, { key: 1 }, {
|
|
262
262
|
right: withCtx(() => [
|
|
263
|
-
renderSlot(_ctx.$slots, "
|
|
263
|
+
renderSlot(_ctx.$slots, "swipe-right-btn", {}, () => [
|
|
264
264
|
createVNode(_component_nut_button, {
|
|
265
265
|
shape: "square",
|
|
266
266
|
style: { "height": "100%" },
|
|
@@ -280,14 +280,14 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
280
280
|
onTouchmove: _ctx.swipemove,
|
|
281
281
|
onTouchstart: _ctx.swipestart
|
|
282
282
|
}, {
|
|
283
|
-
|
|
284
|
-
renderSlot(_ctx.$slots, "
|
|
283
|
+
"content-top": withCtx(() => [
|
|
284
|
+
renderSlot(_ctx.$slots, "content-info")
|
|
285
285
|
]),
|
|
286
|
-
|
|
287
|
-
renderSlot(_ctx.$slots, "
|
|
286
|
+
"content-icon": withCtx(() => [
|
|
287
|
+
renderSlot(_ctx.$slots, "content-icons")
|
|
288
288
|
]),
|
|
289
|
-
|
|
290
|
-
renderSlot(_ctx.$slots, "
|
|
289
|
+
"content-addr": withCtx(() => [
|
|
290
|
+
renderSlot(_ctx.$slots, "content-addrs")
|
|
291
291
|
]),
|
|
292
292
|
_: 3
|
|
293
293
|
}, 40, ["onTouchmove", "onTouchstart"]))
|
|
@@ -423,28 +423,28 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
423
423
|
onLongSet: _ctx.clickLongSet,
|
|
424
424
|
onLongDel: _ctx.clickLongDel
|
|
425
425
|
}, createSlots({
|
|
426
|
-
|
|
427
|
-
renderSlot(_ctx.$slots, "
|
|
426
|
+
"content-info": withCtx(() => [
|
|
427
|
+
renderSlot(_ctx.$slots, "item-infos")
|
|
428
428
|
]),
|
|
429
|
-
|
|
429
|
+
"content-icons": withCtx(() => [
|
|
430
430
|
renderSlot(_ctx.$slots, "itemicon")
|
|
431
431
|
]),
|
|
432
|
-
|
|
432
|
+
"content-addrs": withCtx(() => [
|
|
433
433
|
renderSlot(_ctx.$slots, "itemaddr")
|
|
434
434
|
]),
|
|
435
435
|
_: 2
|
|
436
436
|
}, [
|
|
437
437
|
_ctx.longPress ? {
|
|
438
|
-
name: "
|
|
438
|
+
name: "longpress-all",
|
|
439
439
|
fn: withCtx(() => [
|
|
440
|
-
renderSlot(_ctx.$slots, "
|
|
440
|
+
renderSlot(_ctx.$slots, "longpress-btns")
|
|
441
441
|
]),
|
|
442
442
|
key: "0"
|
|
443
443
|
} : void 0,
|
|
444
444
|
_ctx.swipeEdition ? {
|
|
445
|
-
name: "
|
|
445
|
+
name: "swipe-right-btn",
|
|
446
446
|
fn: withCtx(() => [
|
|
447
|
-
renderSlot(_ctx.$slots, "
|
|
447
|
+
renderSlot(_ctx.$slots, "swipe-right")
|
|
448
448
|
]),
|
|
449
449
|
key: "1"
|
|
450
450
|
} : void 0
|
|
@@ -31,7 +31,7 @@ const _sfc_main = create({
|
|
|
31
31
|
default: true
|
|
32
32
|
}
|
|
33
33
|
},
|
|
34
|
-
setup(props
|
|
34
|
+
setup(props) {
|
|
35
35
|
const classTime = new Date().getTime();
|
|
36
36
|
const slotDefault = !!useSlots().default;
|
|
37
37
|
const classes = computed(() => {
|
|
@@ -51,32 +51,53 @@ const _sfc_main = create({
|
|
|
51
51
|
const danmuCWidth = ref(0);
|
|
52
52
|
onMounted(() => {
|
|
53
53
|
init();
|
|
54
|
+
if (slotDefault) {
|
|
55
|
+
document.addEventListener("visibilitychange", function() {
|
|
56
|
+
if (document.visibilityState === "hidden") {
|
|
57
|
+
clearTime();
|
|
58
|
+
index2.value = 0;
|
|
59
|
+
eleSlot("hidden");
|
|
60
|
+
} else if (document.visibilityState === "visible") {
|
|
61
|
+
init();
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
}
|
|
54
65
|
});
|
|
55
66
|
onUnmounted(() => {
|
|
56
67
|
danmuList.value = [];
|
|
57
68
|
clearTime();
|
|
58
69
|
});
|
|
59
70
|
const init = () => {
|
|
60
|
-
var _a;
|
|
61
71
|
danmuCWidth.value = dmBody.value.offsetWidth;
|
|
62
72
|
if (slotDefault) {
|
|
63
|
-
|
|
64
|
-
let childrens = ((_a = list == null ? void 0 : list[0]) == null ? void 0 : _a.children) || [];
|
|
65
|
-
const dmList = [];
|
|
66
|
-
if (childrens) {
|
|
67
|
-
Array.from(childrens).forEach((item) => {
|
|
68
|
-
item.style.opacity = "0";
|
|
69
|
-
dmList.push(item);
|
|
70
|
-
});
|
|
71
|
-
}
|
|
72
|
-
danmuList.value = dmList;
|
|
73
|
+
eleSlot("init");
|
|
73
74
|
}
|
|
74
75
|
setTimeout(() => {
|
|
75
|
-
var
|
|
76
|
-
(
|
|
76
|
+
var _a;
|
|
77
|
+
(_a = dmBody.value) == null ? void 0 : _a.style.setProperty("--move-distance", `-${danmuCWidth.value}px`);
|
|
77
78
|
run();
|
|
78
79
|
}, 300);
|
|
79
80
|
};
|
|
81
|
+
const eleSlot = (flag) => {
|
|
82
|
+
var _a;
|
|
83
|
+
const list = document.getElementsByClassName("slotBody" + classTime);
|
|
84
|
+
let childrens = ((_a = list == null ? void 0 : list[0]) == null ? void 0 : _a.children) || [];
|
|
85
|
+
const dmList = [];
|
|
86
|
+
if (childrens) {
|
|
87
|
+
Array.from(childrens).forEach((item) => {
|
|
88
|
+
if (flag == "init") {
|
|
89
|
+
item.style.opacity = "0";
|
|
90
|
+
dmList.push(item);
|
|
91
|
+
} else {
|
|
92
|
+
item.classList = "";
|
|
93
|
+
item.style = {};
|
|
94
|
+
}
|
|
95
|
+
});
|
|
96
|
+
}
|
|
97
|
+
if (flag == "init") {
|
|
98
|
+
danmuList.value = dmList;
|
|
99
|
+
}
|
|
100
|
+
};
|
|
80
101
|
const clearTime = () => {
|
|
81
102
|
clearTimeout(timer);
|
|
82
103
|
timer = 0;
|
|
@@ -101,7 +122,6 @@ const _sfc_main = create({
|
|
|
101
122
|
clearTime();
|
|
102
123
|
timer = setTimeout(() => {
|
|
103
124
|
play();
|
|
104
|
-
run();
|
|
105
125
|
}, props.frequency);
|
|
106
126
|
};
|
|
107
127
|
const play = () => {
|
|
@@ -130,16 +150,20 @@ const _sfc_main = create({
|
|
|
130
150
|
const width = el.offsetWidth;
|
|
131
151
|
el.style.width = width + 20 + "px";
|
|
132
152
|
}
|
|
133
|
-
el.dataset.index = `${_index}`;
|
|
134
153
|
el.addEventListener("animationend", () => {
|
|
135
|
-
var _a3;
|
|
136
154
|
if (slotDefault) {
|
|
137
|
-
|
|
155
|
+
el.classList.remove("move");
|
|
138
156
|
} else {
|
|
139
157
|
dmContainer.value.removeChild(el);
|
|
140
158
|
}
|
|
141
159
|
});
|
|
142
160
|
index2.value++;
|
|
161
|
+
if (index2.value >= danmuList.value.length) {
|
|
162
|
+
index2.value = 0;
|
|
163
|
+
}
|
|
164
|
+
el.removeEventListener("animationend", () => {
|
|
165
|
+
});
|
|
166
|
+
run();
|
|
143
167
|
});
|
|
144
168
|
};
|
|
145
169
|
return { classTime, classes, danmuList, dmBody, dmContainer, add };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed, ref, resolveComponent, openBlock, createBlock, withCtx, createSlots, renderSlot, createCommentVNode } from "vue";
|
|
2
2
|
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
-
import { C as CalendarItem, U as Utils } from "./index-
|
|
4
|
-
import { P as Popup } from "./index-
|
|
3
|
+
import { C as CalendarItem, U as Utils } from "./index-2ae3ae87.js";
|
|
4
|
+
import { P as Popup } from "./index-991c279f.js";
|
|
5
5
|
import { u as useExpose } from "./index-79c5dc33.js";
|
|
6
6
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
7
7
|
import "../locale/lang";
|
|
@@ -86,13 +86,13 @@ const _sfc_main = create({
|
|
|
86
86
|
return slots.btn;
|
|
87
87
|
});
|
|
88
88
|
const topInfo = computed(() => {
|
|
89
|
-
return slots
|
|
89
|
+
return slots["top-info"];
|
|
90
90
|
});
|
|
91
91
|
const dayInfo = computed(() => {
|
|
92
92
|
return slots.day;
|
|
93
93
|
});
|
|
94
94
|
const bottomInfo = computed(() => {
|
|
95
|
-
return slots
|
|
95
|
+
return slots["bottom-info"];
|
|
96
96
|
});
|
|
97
97
|
const calendarRef = ref(null);
|
|
98
98
|
const scrollToDate = (date) => {
|
|
@@ -189,18 +189,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
189
189
|
key: "1"
|
|
190
190
|
} : void 0,
|
|
191
191
|
_ctx.topInfo ? {
|
|
192
|
-
name: "
|
|
192
|
+
name: "top-info",
|
|
193
193
|
fn: withCtx((date) => [
|
|
194
|
-
renderSlot(_ctx.$slots, "
|
|
194
|
+
renderSlot(_ctx.$slots, "top-info", {
|
|
195
195
|
date: date.date
|
|
196
196
|
})
|
|
197
197
|
]),
|
|
198
198
|
key: "2"
|
|
199
199
|
} : void 0,
|
|
200
200
|
_ctx.bottomInfo ? {
|
|
201
|
-
name: "
|
|
201
|
+
name: "bottom-info",
|
|
202
202
|
fn: withCtx((date) => [
|
|
203
|
-
renderSlot(_ctx.$slots, "
|
|
203
|
+
renderSlot(_ctx.$slots, "bottom-info", {
|
|
204
204
|
date: date.date
|
|
205
205
|
})
|
|
206
206
|
]),
|
|
@@ -249,18 +249,18 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
249
249
|
key: "1"
|
|
250
250
|
} : void 0,
|
|
251
251
|
_ctx.topInfo ? {
|
|
252
|
-
name: "
|
|
252
|
+
name: "top-info",
|
|
253
253
|
fn: withCtx((date) => [
|
|
254
|
-
renderSlot(_ctx.$slots, "
|
|
254
|
+
renderSlot(_ctx.$slots, "top-info", {
|
|
255
255
|
date: date.date
|
|
256
256
|
})
|
|
257
257
|
]),
|
|
258
258
|
key: "2"
|
|
259
259
|
} : void 0,
|
|
260
260
|
_ctx.bottomInfo ? {
|
|
261
|
-
name: "
|
|
261
|
+
name: "bottom-info",
|
|
262
262
|
fn: withCtx((date) => [
|
|
263
|
-
renderSlot(_ctx.$slots, "
|
|
263
|
+
renderSlot(_ctx.$slots, "bottom-info", {
|
|
264
264
|
date: date.date
|
|
265
265
|
})
|
|
266
266
|
]),
|
|
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => {
|
|
|
5
5
|
return value;
|
|
6
6
|
};
|
|
7
7
|
import { computed, ref, watch, resolveComponent, openBlock, createBlock, withCtx, createElementBlock, Fragment, renderList, createElementVNode, normalizeClass, toDisplayString, createCommentVNode, createVNode } from "vue";
|
|
8
|
-
import { P as Popup, p as popupProps } from "./index-
|
|
8
|
+
import { P as Popup, p as popupProps } from "./index-991c279f.js";
|
|
9
9
|
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
10
10
|
import { Loading, Checklist } from "@nutui/icons-vue";
|
|
11
11
|
import Tabs from "./Tabs.js";
|
|
@@ -228,9 +228,9 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
228
228
|
(openBlock(), createBlock(resolveDynamicComponent(_ctx.renderIcon(_ctx.icon))))
|
|
229
229
|
], 6)
|
|
230
230
|
], 2),
|
|
231
|
-
_ctx.$slots.
|
|
231
|
+
_ctx.$slots.extra ? (openBlock(), createElementBlock("view", _hoisted_7, [
|
|
232
232
|
createElementVNode("div", _hoisted_8, [
|
|
233
|
-
renderSlot(_ctx.$slots, "
|
|
233
|
+
renderSlot(_ctx.$slots, "extra")
|
|
234
234
|
])
|
|
235
235
|
])) : createCommentVNode("", true),
|
|
236
236
|
createElementVNode("view", _hoisted_9, [
|
|
@@ -7,7 +7,7 @@ var __publicField = (obj, key, value) => {
|
|
|
7
7
|
import { ref, onMounted, watch, computed, resolveComponent, openBlock, createBlock, normalizeStyle, withCtx, createElementVNode, normalizeClass, createElementBlock, renderSlot, Fragment, createTextVNode, toDisplayString, createCommentVNode, resolveDynamicComponent, h } from "vue";
|
|
8
8
|
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
9
9
|
import { f as funInterceptor } from "./interceptor-956b24fc.js";
|
|
10
|
-
import { P as Popup, p as popupProps } from "./index-
|
|
10
|
+
import { P as Popup, p as popupProps } from "./index-991c279f.js";
|
|
11
11
|
import Button from "./Button.js";
|
|
12
12
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
13
13
|
import Overlay from "./Overlay.js";
|
|
@@ -12,7 +12,7 @@ import Video from "./Video.js";
|
|
|
12
12
|
import SwiperItem from "./SwiperItem.js";
|
|
13
13
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
14
14
|
import { CircleClose } from "@nutui/icons-vue";
|
|
15
|
-
import { P as Popup } from "./index-
|
|
15
|
+
import { P as Popup } from "./index-991c279f.js";
|
|
16
16
|
import Swiper from "./Swiper.js";
|
|
17
17
|
import { f as funInterceptor } from "./interceptor-956b24fc.js";
|
|
18
18
|
import "../locale/lang";
|
|
@@ -151,7 +151,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
151
151
|
createElementVNode("view", _hoisted_2, [
|
|
152
152
|
_ctx.isInfiniting ? (openBlock(), createElementBlock("view", _hoisted_3, [
|
|
153
153
|
renderSlot(_ctx.$slots, "loading", {}, () => [
|
|
154
|
-
renderSlot(_ctx.$slots, "
|
|
154
|
+
renderSlot(_ctx.$slots, "loading-icon", {}, () => [
|
|
155
155
|
createVNode(_component_Loading, { class: "nut-icon-loading nut-infinite__bottom-box__img" })
|
|
156
156
|
]),
|
|
157
157
|
createElementVNode("view", _hoisted_4, toDisplayString(_ctx.loadTxt || _ctx.translate("loading")), 1)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { reactive, computed, inject, getCurrentInstance, onUnmounted, resolveComponent, withDirectives, openBlock, createElementBlock, normalizeClass, createElementVNode, normalizeStyle, vShow, createVNode, mergeProps, withCtx, Fragment, renderList, renderSlot, createCommentVNode, toDisplayString } from "vue";
|
|
2
2
|
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
-
import { P as Popup } from "./index-
|
|
3
|
+
import { P as Popup } from "./index-991c279f.js";
|
|
4
4
|
import { Check } from "@nutui/icons-vue";
|
|
5
5
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
6
6
|
import "../locale/lang";
|
|
@@ -127,7 +127,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
127
127
|
class: "nut-navbar__left",
|
|
128
128
|
onClick: _cache[0] || (_cache[0] = (...args) => _ctx.handleLeft && _ctx.handleLeft(...args))
|
|
129
129
|
}, [
|
|
130
|
-
_ctx.leftShow ? renderSlot(_ctx.$slots, "
|
|
130
|
+
_ctx.leftShow ? renderSlot(_ctx.$slots, "left-show", { key: 0 }, () => [
|
|
131
131
|
createVNode(_component_Left, {
|
|
132
132
|
height: "12px",
|
|
133
133
|
color: "#979797"
|
|
@@ -147,7 +147,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
147
147
|
class: "icon",
|
|
148
148
|
onClick: _cache[3] || (_cache[3] = (...args) => _ctx.handleCenterIcon && _ctx.handleCenterIcon(...args))
|
|
149
149
|
}, [
|
|
150
|
-
renderSlot(_ctx.$slots, "
|
|
150
|
+
renderSlot(_ctx.$slots, "title-icon", {
|
|
151
151
|
onClick: _cache[2] || (_cache[2] = (...args) => _ctx.handleCenterIcon && _ctx.handleCenterIcon(...args))
|
|
152
152
|
})
|
|
153
153
|
])) : createCommentVNode("", true),
|
|
@@ -170,7 +170,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
170
170
|
class: "nut-navbar__left",
|
|
171
171
|
onClick: _cache[5] || (_cache[5] = (...args) => _ctx.handleLeft && _ctx.handleLeft(...args))
|
|
172
172
|
}, [
|
|
173
|
-
_ctx.leftShow ? renderSlot(_ctx.$slots, "
|
|
173
|
+
_ctx.leftShow ? renderSlot(_ctx.$slots, "left-show", { key: 0 }, () => [
|
|
174
174
|
createVNode(_component_Left, {
|
|
175
175
|
height: "12px",
|
|
176
176
|
color: "#979797"
|
|
@@ -190,7 +190,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
190
190
|
class: "icon",
|
|
191
191
|
onClick: _cache[8] || (_cache[8] = (...args) => _ctx.handleCenterIcon && _ctx.handleCenterIcon(...args))
|
|
192
192
|
}, [
|
|
193
|
-
renderSlot(_ctx.$slots, "
|
|
193
|
+
renderSlot(_ctx.$slots, "title-icon", {
|
|
194
194
|
onClick: _cache[7] || (_cache[7] = (...args) => _ctx.handleCenterIcon && _ctx.handleCenterIcon(...args))
|
|
195
195
|
})
|
|
196
196
|
])) : createCommentVNode("", true),
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { h, ref, reactive, computed, watch, onMounted, onActivated, onDeactivated, onUnmounted, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, withDirectives, normalizeStyle, createElementVNode, renderSlot, createBlock,
|
|
1
|
+
import { h, ref, reactive, computed, watch, onMounted, onActivated, onDeactivated, onUnmounted, toRefs, resolveComponent, openBlock, createElementBlock, normalizeClass, withDirectives, normalizeStyle, createElementVNode, renderSlot, createBlock, createCommentVNode, createTextVNode, toDisplayString, withModifiers, vShow, Fragment, renderList } from "vue";
|
|
2
2
|
import { Notice, CircleClose } from "@nutui/icons-vue";
|
|
3
3
|
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
4
|
-
import { r as renderIcon } from "./renderIcon-3d0fd47c.js";
|
|
5
4
|
import { p as pxCheck } from "./pxCheck-c6b9f6b7.js";
|
|
6
5
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
7
6
|
import "../locale/lang";
|
|
@@ -43,7 +42,7 @@ const _sfc_main = create({
|
|
|
43
42
|
type: Boolean,
|
|
44
43
|
default: false
|
|
45
44
|
},
|
|
46
|
-
leftIcon: { type:
|
|
45
|
+
leftIcon: { type: Boolean, default: true },
|
|
47
46
|
color: {
|
|
48
47
|
type: String,
|
|
49
48
|
default: ""
|
|
@@ -277,8 +276,7 @@ const _sfc_main = create({
|
|
|
277
276
|
handleClickIcon,
|
|
278
277
|
slots,
|
|
279
278
|
pxCheck,
|
|
280
|
-
wrapContentClass
|
|
281
|
-
renderIcon
|
|
279
|
+
wrapContentClass
|
|
282
280
|
};
|
|
283
281
|
}
|
|
284
282
|
});
|
|
@@ -289,6 +287,7 @@ const _hoisted_2 = {
|
|
|
289
287
|
};
|
|
290
288
|
const _hoisted_3 = ["onClick"];
|
|
291
289
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
290
|
+
const _component_Notice = resolveComponent("Notice");
|
|
292
291
|
const _component_CircleClose = resolveComponent("CircleClose");
|
|
293
292
|
const _component_ScrollItem = resolveComponent("ScrollItem");
|
|
294
293
|
return openBlock(), createElementBlock("view", {
|
|
@@ -305,7 +304,12 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
305
304
|
onClick: _cache[3] || (_cache[3] = (...args) => _ctx.handleClick && _ctx.handleClick(...args))
|
|
306
305
|
}, [
|
|
307
306
|
createElementVNode("view", _hoisted_1, [
|
|
308
|
-
|
|
307
|
+
renderSlot(_ctx.$slots, "left-icon", {}, () => [
|
|
308
|
+
_ctx.leftIcon ? (openBlock(), createBlock(_component_Notice, {
|
|
309
|
+
key: 0,
|
|
310
|
+
size: "16px"
|
|
311
|
+
})) : createCommentVNode("", true)
|
|
312
|
+
])
|
|
309
313
|
]),
|
|
310
314
|
createElementVNode("view", _hoisted_2, [
|
|
311
315
|
createElementVNode("view", {
|
|
@@ -365,7 +369,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
365
369
|
class: "go",
|
|
366
370
|
onClick: _cache[4] || (_cache[4] = ($event) => !_ctx.slots.rightIcon && _ctx.handleClickIcon())
|
|
367
371
|
}, [
|
|
368
|
-
renderSlot(_ctx.$slots, "
|
|
372
|
+
renderSlot(_ctx.$slots, "right-icon", {}, () => [
|
|
369
373
|
_ctx.closeMode ? (openBlock(), createBlock(_component_CircleClose, {
|
|
370
374
|
key: 0,
|
|
371
375
|
color: _ctx.color,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref, watch, resolveComponent, openBlock, createBlock, withCtx, createElementVNode, normalizeClass, normalizeStyle, renderSlot, createElementBlock, Fragment, createTextVNode, toDisplayString, createVNode, render, onMounted, h } from "vue";
|
|
2
2
|
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
-
import { P as Popup } from "./index-
|
|
3
|
+
import { P as Popup } from "./index-991c279f.js";
|
|
4
4
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
5
5
|
import "../locale/lang";
|
|
6
6
|
import "./Overlay.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref, computed, watch, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, toDisplayString, createCommentVNode, Fragment, renderList, normalizeClass, createTextVNode } from "vue";
|
|
2
2
|
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
-
import { P as Popup } from "./index-
|
|
3
|
+
import { P as Popup } from "./index-991c279f.js";
|
|
4
4
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
5
5
|
import "../locale/lang";
|
|
6
6
|
import "./Overlay.js";
|
|
@@ -2,7 +2,7 @@ import { ref, computed, onMounted, watch, resolveComponent, openBlock, createEle
|
|
|
2
2
|
import { i as isArray, c as createComponent } from "./component-81a4c1d0.js";
|
|
3
3
|
import { r as renderIcon } from "./renderIcon-3d0fd47c.js";
|
|
4
4
|
import { u as useRect } from "./index-29892cda.js";
|
|
5
|
-
import { P as Popup } from "./index-
|
|
5
|
+
import { P as Popup } from "./index-991c279f.js";
|
|
6
6
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
7
7
|
import "../locale/lang";
|
|
8
8
|
import "./Overlay.js";
|
|
@@ -130,7 +130,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
130
130
|
_ctx.status == "active" || _ctx.status == "" ? (openBlock(), createElementBlock("span", {
|
|
131
131
|
key: 0,
|
|
132
132
|
style: normalizeStyle(_ctx.textStyle)
|
|
133
|
-
}, toDisplayString(_ctx.percentage) + toDisplayString(_ctx.isShowPercentage ? "%" : ""), 5)) : _ctx.status == "icon" ? renderSlot(_ctx.$slots, "
|
|
133
|
+
}, toDisplayString(_ctx.percentage) + toDisplayString(_ctx.isShowPercentage ? "%" : ""), 5)) : _ctx.status == "icon" ? renderSlot(_ctx.$slots, "icon-name", { key: 1 }, () => [
|
|
134
134
|
createVNode(_component_Checked, {
|
|
135
135
|
width: "15px",
|
|
136
136
|
height: "15px",
|
|
@@ -230,7 +230,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
230
230
|
onClick: _cache[6] || (_cache[6] = (...args) => _ctx.handleClear && _ctx.handleClear(...args)),
|
|
231
231
|
class: "nut-searchbar__input-clear"
|
|
232
232
|
}, [
|
|
233
|
-
_ctx.$slots
|
|
233
|
+
_ctx.$slots["clear-icon"] ? renderSlot(_ctx.$slots, "clear-icon", { key: 0 }) : (openBlock(), createBlock(resolveDynamicComponent(_ctx.renderIcon(_ctx.clearIcon)), { key: 1 }))
|
|
234
234
|
], 512)), [
|
|
235
235
|
[vShow, String(_ctx.modelValue).length > 0]
|
|
236
236
|
]) : createCommentVNode("", true)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ref, computed, watch, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createElementVNode, toDisplayString, Fragment, renderList, createCommentVNode } from "vue";
|
|
2
2
|
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
-
import { P as Popup } from "./index-
|
|
3
|
+
import { P as Popup } from "./index-991c279f.js";
|
|
4
4
|
import { Tips } from "@nutui/icons-vue";
|
|
5
5
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
6
6
|
import "../locale/lang";
|
package/dist/packages/_es/Sku.js
CHANGED
|
@@ -3,7 +3,7 @@ import Price from "./Price.js";
|
|
|
3
3
|
import { c as createComponent, T as TypeOfFun } from "./component-81a4c1d0.js";
|
|
4
4
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
5
5
|
import InputNumber from "./InputNumber.js";
|
|
6
|
-
import { p as popupProps, P as Popup } from "./index-
|
|
6
|
+
import { p as popupProps, P as Popup } from "./index-991c279f.js";
|
|
7
7
|
import "../locale/lang";
|
|
8
8
|
import "./pxCheck-c6b9f6b7.js";
|
|
9
9
|
import "@nutui/icons-vue";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed, provide, resolveComponent, openBlock, createBlock, normalizeStyle, withCtx, createElementVNode, normalizeClass, createElementBlock, toDisplayString, renderSlot } from "vue";
|
|
2
2
|
import { c as createComponent } from "./component-81a4c1d0.js";
|
|
3
|
-
import { P as Popup } from "./index-
|
|
3
|
+
import { P as Popup } from "./index-991c279f.js";
|
|
4
4
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
5
5
|
import "../locale/lang";
|
|
6
6
|
import "./Overlay.js";
|
|
@@ -6,7 +6,7 @@ import Popover from "./Popover.js";
|
|
|
6
6
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper-cc2b3d55.js";
|
|
7
7
|
import "../locale/lang";
|
|
8
8
|
import "./renderIcon-3d0fd47c.js";
|
|
9
|
-
import "./index-
|
|
9
|
+
import "./index-991c279f.js";
|
|
10
10
|
import "./Overlay.js";
|
|
11
11
|
const { create } = createComponent("tour");
|
|
12
12
|
const _sfc_main = create({
|
|
@@ -226,7 +226,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
226
226
|
createElementVNode("div", _hoisted_4, [
|
|
227
227
|
createElementVNode("div", _hoisted_5, toDisplayString(_ctx.active + 1) + "/" + toDisplayString(_ctx.steps.length), 1),
|
|
228
228
|
createElementVNode("div", _hoisted_6, [
|
|
229
|
-
renderSlot(_ctx.$slots, "
|
|
229
|
+
renderSlot(_ctx.$slots, "prev-step", {}, () => [
|
|
230
230
|
_ctx.active != 0 && _ctx.showPrevStep ? (openBlock(), createElementBlock("div", {
|
|
231
231
|
key: 0,
|
|
232
232
|
class: "nut-tour-content-bottom-operate-btn",
|
|
@@ -238,7 +238,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
238
238
|
class: "nut-tour-content-bottom-operate-btn active",
|
|
239
239
|
onClick: _cache[3] || (_cache[3] = (...args) => _ctx.close && _ctx.close(...args))
|
|
240
240
|
}, toDisplayString(_ctx.completeTxt), 1)) : createCommentVNode("", true),
|
|
241
|
-
renderSlot(_ctx.$slots, "
|
|
241
|
+
renderSlot(_ctx.$slots, "next-step", {}, () => [
|
|
242
242
|
_ctx.steps.length - 1 != _ctx.active ? (openBlock(), createElementBlock("div", {
|
|
243
243
|
key: 0,
|
|
244
244
|
class: "nut-tour-content-bottom-operate-btn active",
|
|
@@ -88,10 +88,10 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
88
88
|
class: "nut-trend-arrow-icon-before nut-trend-arrow-rate",
|
|
89
89
|
style: normalizeStyle(_ctx.calcStyle)
|
|
90
90
|
}, toDisplayString(_ctx.calcRate), 5)) : createCommentVNode("", true),
|
|
91
|
-
Number(_ctx.rate) !== 0 && _ctx.rateTrend ? renderSlot(_ctx.$slots, "
|
|
91
|
+
Number(_ctx.rate) !== 0 && _ctx.rateTrend ? renderSlot(_ctx.$slots, "up-icon", { key: 1 }, () => [
|
|
92
92
|
createVNode(_component_TriangleUp, { color: _ctx.riseColor }, null, 8, ["color"])
|
|
93
93
|
]) : createCommentVNode("", true),
|
|
94
|
-
Number(_ctx.rate) !== 0 && !_ctx.rateTrend ? renderSlot(_ctx.$slots, "
|
|
94
|
+
Number(_ctx.rate) !== 0 && !_ctx.rateTrend ? renderSlot(_ctx.$slots, "down-icon", { key: 2 }, () => [
|
|
95
95
|
createVNode(_component_TriangleDown, { color: _ctx.dropColor }, null, 8, ["color"])
|
|
96
96
|
]) : createCommentVNode("", true),
|
|
97
97
|
_ctx.arrowLeft ? (openBlock(), createElementBlock("span", {
|