@cmstops/pro-compo 0.3.84 → 0.3.86
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/es/baseFilter/components/FilterGroup.js +1 -1
- package/es/baseFilter/useCalcWidth.d.ts +2 -2
- package/es/contentDetailList/components/Content/DocItem/index.js +12 -14
- package/es/contentDetailList/components/Content/LiveItem/index.js +5 -6
- package/es/contentDetailList/components/Content/courseItem/index.js +7 -8
- package/es/contentDetailList/components/Content/funhdItem/index.js +7 -8
- package/es/contentDetailList/components/Content/index.js +2 -2
- package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.js +10 -11
- package/es/contentModal/component.js +53 -14
- package/es/contentModal/components/Dejin/MediaFilter/index.d.ts +0 -0
- package/es/contentModal/components/Dejin/MediaFilter/index.js +128 -0
- package/es/contentModal/components/Dejin/index.d.ts +0 -0
- package/es/contentModal/components/Dejin/index.js +236 -0
- package/es/contentModal/components/MpContentList/MediaFilter/index.js +3 -4
- package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +1 -1
- package/es/contentModal/components/storeBox/index.js +4 -4
- package/es/contentModal/script/api.d.ts +3 -0
- package/es/contentModal/script/api.js +22 -1
- package/es/dataTags/component.js +10 -10
- package/es/docHistory/component.js +2 -2
- package/es/docHistory/scripts/useDocHistory.d.ts +4 -4
- package/es/docPreview/component.js +47 -56
- package/es/docPreview/components/PreviewIframe.js +9 -10
- package/es/docPreview/scripts/hook.d.ts +16 -6
- package/es/editMetaInfo/component.js +35 -12
- package/es/editMetaInfo/components/metaInfoForm.js +4 -4
- package/es/emptyData/svg/acount.js +3 -5
- package/es/emptyData/svg/add.js +3 -5
- package/es/emptyData/svg/analize.js +3 -5
- package/es/emptyData/svg/analize_fail.js +3 -5
- package/es/emptyData/svg/empty.js +3 -5
- package/es/emptyData/svg/file.js +3 -5
- package/es/emptyData/svg/manager.js +3 -5
- package/es/emptyData/svg/message.js +14 -17
- package/es/emptyData/svg/noanalize.js +3 -5
- package/es/emptyData/svg/null.js +3 -5
- package/es/emptyData/svg/search.js +3 -5
- package/es/emptyData/svg/star.js +3 -5
- package/es/emptyData/svg/trash.js +3 -5
- package/es/emptyData/svg/user.js +3 -5
- package/es/hooks/batch.d.ts +1 -1
- package/es/hooks/dialogVisible.d.ts +1 -1
- package/es/hooks/source.d.ts +1 -1
- package/es/hooks/toggle.d.ts +1 -1
- package/es/hooks/useAttachement.d.ts +6 -6
- package/es/hooks/useMediaContext.d.ts +5 -5
- package/es/hooks/usePopper.d.ts +1 -1
- package/es/hooks/useSelection.d.ts +9 -2
- package/es/hooks/useUpload.d.ts +2 -2
- package/es/hooks/user.d.ts +1 -1
- package/es/imageCrop/component.js +4 -4
- package/es/importData/component.js +18 -21
- package/es/mediaFilter/components/DocFilter.js +1 -1
- package/es/mediaFilter/components/FilterGroup.js +1 -1
- package/es/mediaView/component.js +3 -5
- package/es/messageBox/component.js +2 -2
- package/es/previousVersion/component.js +3 -4
- package/es/resourceGridList/component.js +15 -18
- package/es/resourceModal/component.js +2 -2
- package/es/resourceModal/components/MediaPreviewer/index.js +7 -10
- package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +15 -17
- package/es/resourceModal/components/MediaSelection/MainContent/index.js +20 -24
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +2 -2
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -4
- package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +9 -13
- package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.js +2 -2
- package/es/selectGategory/component.js +3 -4
- package/es/selectResourceModal/component.js +15 -13
- package/es/selectResourceModal/components/List/ListAi/index.js +7 -8
- package/es/selectResourceModal/components/List/ListCardWrapper.js +6 -8
- package/es/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
- package/es/selectResourceModal/components/List/ListNormal/Filter.js +7 -7
- package/es/selectResourceModal/components/List/ListSystem/Filter.js +2 -2
- package/es/selectResourceModal/components/List/ListSystem/SubList.js +3 -4
- package/es/selectResourceModal/components/List/ListSystem/index.js +1 -2
- package/es/selectResourceModal/components/List/ListVideo/index.js +1 -0
- package/es/selectResourceModal/scripts/useResourceSelect.d.ts +1 -1
- package/es/selectResourceModal/scripts/useTabFilter.d.ts +1 -1
- package/es/selectThumb/component.js +23 -28
- package/es/uploadBefore/components/UploadBefore.js +2 -2
- package/es/uploadBefore/script/uploadHooks.d.ts +42 -1
- package/es/userAvater/component.js +2 -2
- package/es/userDirector/component.js +2 -2
- package/es/utils/filter.d.ts +12 -0
- package/es/videoThumb/component.js +8 -5
- package/es/videoThumb/scripts/useVideoThumbs.d.ts +4 -4
- package/lib/baseFilter/components/FilterGroup.js +1 -1
- package/lib/contentDetailList/components/Content/DocItem/index.js +12 -14
- package/lib/contentDetailList/components/Content/LiveItem/index.js +5 -6
- package/lib/contentDetailList/components/Content/courseItem/index.js +7 -8
- package/lib/contentDetailList/components/Content/funhdItem/index.js +7 -8
- package/lib/contentDetailList/components/Content/index.js +2 -2
- package/lib/contentDetailList/components/ShowQRCode/QrcodeView/index.js +10 -11
- package/lib/contentModal/component.js +53 -14
- package/lib/contentModal/components/Dejin/MediaFilter/index.js +129 -0
- package/lib/contentModal/components/Dejin/index.js +237 -0
- package/lib/contentModal/components/MpContentList/MediaFilter/index.js +3 -4
- package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +1 -1
- package/lib/contentModal/components/storeBox/index.js +4 -4
- package/lib/contentModal/script/api.js +24 -0
- package/lib/dataTags/component.js +10 -10
- package/lib/docHistory/component.js +2 -2
- package/lib/docPreview/component.js +47 -56
- package/lib/docPreview/components/PreviewIframe.js +9 -10
- package/lib/editMetaInfo/component.js +34 -11
- package/lib/editMetaInfo/components/metaInfoForm.js +4 -4
- package/lib/emptyData/svg/acount.js +3 -5
- package/lib/emptyData/svg/add.js +3 -5
- package/lib/emptyData/svg/analize.js +3 -5
- package/lib/emptyData/svg/analize_fail.js +3 -5
- package/lib/emptyData/svg/empty.js +3 -5
- package/lib/emptyData/svg/file.js +3 -5
- package/lib/emptyData/svg/manager.js +3 -5
- package/lib/emptyData/svg/message.js +14 -17
- package/lib/emptyData/svg/noanalize.js +3 -5
- package/lib/emptyData/svg/null.js +3 -5
- package/lib/emptyData/svg/search.js +3 -5
- package/lib/emptyData/svg/star.js +3 -5
- package/lib/emptyData/svg/trash.js +3 -5
- package/lib/emptyData/svg/user.js +3 -5
- package/lib/imageCrop/component.js +4 -4
- package/lib/importData/component.js +18 -21
- package/lib/mediaFilter/components/DocFilter.js +1 -1
- package/lib/mediaFilter/components/FilterGroup.js +1 -1
- package/lib/mediaView/component.js +3 -5
- package/lib/messageBox/component.js +2 -2
- package/lib/previousVersion/component.js +3 -4
- package/lib/resourceGridList/component.js +15 -18
- package/lib/resourceModal/component.js +2 -2
- package/lib/resourceModal/components/MediaPreviewer/index.js +7 -10
- package/lib/resourceModal/components/MediaSelection/DocAiMediaSelected/index.js +15 -17
- package/lib/resourceModal/components/MediaSelection/MainContent/index.js +20 -24
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +2 -2
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +3 -4
- package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/index.js +9 -13
- package/lib/resourceModal/components/MediaSelection/ToolbarSearch/index.js +2 -2
- package/lib/selectGategory/component.js +3 -4
- package/lib/selectResourceModal/component.js +15 -13
- package/lib/selectResourceModal/components/List/ListAi/index.js +6 -7
- package/lib/selectResourceModal/components/List/ListCardWrapper.js +6 -8
- package/lib/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
- package/lib/selectResourceModal/components/List/ListNormal/Filter.js +7 -7
- package/lib/selectResourceModal/components/List/ListSystem/Filter.js +2 -2
- package/lib/selectResourceModal/components/List/ListSystem/SubList.js +3 -4
- package/lib/selectResourceModal/components/List/ListSystem/index.js +1 -2
- package/lib/selectResourceModal/components/List/ListVideo/index.js +1 -0
- package/lib/selectThumb/component.js +23 -28
- package/lib/uploadBefore/components/UploadBefore.js +2 -2
- package/lib/userAvater/component.js +2 -2
- package/lib/userDirector/component.js +2 -2
- package/lib/videoThumb/component.js +9 -6
- package/package.json +1 -1
|
@@ -3,7 +3,6 @@ var vue = require("vue");
|
|
|
3
3
|
var sys_load_more = require("../../../assets/images/sys_load_more.js");
|
|
4
4
|
var useAttachement = require("../../../../hooks/useAttachement.js");
|
|
5
5
|
const _hoisted_1 = { class: "list-item-grid" };
|
|
6
|
-
const _hoisted_2 = /* @__PURE__ */ vue.createElementVNode("img", { src: sys_load_more }, null, -1);
|
|
7
6
|
const _sfc_main = vue.defineComponent({
|
|
8
7
|
__name: "SubList",
|
|
9
8
|
props: {
|
|
@@ -56,10 +55,10 @@ const _sfc_main = vue.defineComponent({
|
|
|
56
55
|
key: 0,
|
|
57
56
|
class: "item-load-more",
|
|
58
57
|
onClick: loadMore
|
|
59
|
-
}, [
|
|
60
|
-
|
|
58
|
+
}, _cache[0] || (_cache[0] = [
|
|
59
|
+
vue.createElementVNode("img", { src: sys_load_more }, null, -1),
|
|
61
60
|
vue.createTextVNode(" \u70B9\u51FB\u52A0\u8F7D\u66F4\u591A ")
|
|
62
|
-
])) : vue.createCommentVNode("v-if", true)
|
|
61
|
+
]))) : vue.createCommentVNode("v-if", true)
|
|
63
62
|
])
|
|
64
63
|
], 2112);
|
|
65
64
|
};
|
|
@@ -9,7 +9,6 @@ const _hoisted_1 = {
|
|
|
9
9
|
class: "scen-module"
|
|
10
10
|
};
|
|
11
11
|
const _hoisted_2 = { class: "title" };
|
|
12
|
-
const _hoisted_3 = /* @__PURE__ */ vue.createElementVNode("div", { class: "line" }, null, -1);
|
|
13
12
|
const _sfc_main = vue.defineComponent({
|
|
14
13
|
__name: "index",
|
|
15
14
|
emits: ["confirm"],
|
|
@@ -81,7 +80,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
81
80
|
}, [
|
|
82
81
|
sceniro.data && sceniro.data.length > 0 ? vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
83
82
|
vue.createElementVNode("div", _hoisted_2, [
|
|
84
|
-
|
|
83
|
+
_cache[0] || (_cache[0] = vue.createElementVNode("div", { class: "line" }, null, -1)),
|
|
85
84
|
vue.createTextVNode(" " + vue.toDisplayString(sceniro.scenario_name), 1)
|
|
86
85
|
]),
|
|
87
86
|
vue.createCommentVNode(" \u5185\u7F6E\u7D20\u6750 - \u573A\u666F\u5217\u8868 "),
|
|
@@ -28,40 +28,31 @@ const _hoisted_7 = {
|
|
|
28
28
|
key: 0,
|
|
29
29
|
class: "tip"
|
|
30
30
|
};
|
|
31
|
-
const _hoisted_8 =
|
|
32
|
-
const _hoisted_9 = {
|
|
33
|
-
const _hoisted_10 = {
|
|
31
|
+
const _hoisted_8 = { class: "thumbbox" };
|
|
32
|
+
const _hoisted_9 = {
|
|
34
33
|
key: 2,
|
|
35
34
|
class: "title"
|
|
36
35
|
};
|
|
37
|
-
const
|
|
38
|
-
const
|
|
39
|
-
_hoisted_11
|
|
40
|
-
];
|
|
41
|
-
const _hoisted_13 = { key: 0 };
|
|
42
|
-
const _hoisted_14 = {
|
|
36
|
+
const _hoisted_10 = { key: 0 };
|
|
37
|
+
const _hoisted_11 = {
|
|
43
38
|
key: 0,
|
|
44
39
|
class: "star"
|
|
45
40
|
};
|
|
46
|
-
const
|
|
47
|
-
const
|
|
41
|
+
const _hoisted_12 = { key: 1 };
|
|
42
|
+
const _hoisted_13 = {
|
|
48
43
|
key: 2,
|
|
49
44
|
class: "tip",
|
|
50
45
|
style: { "margin-left": "10px" }
|
|
51
46
|
};
|
|
52
|
-
const
|
|
53
|
-
const
|
|
47
|
+
const _hoisted_14 = { class: "thumbbox" };
|
|
48
|
+
const _hoisted_15 = {
|
|
54
49
|
key: 0,
|
|
55
50
|
class: "tip"
|
|
56
51
|
};
|
|
57
|
-
const
|
|
52
|
+
const _hoisted_16 = {
|
|
58
53
|
key: 1,
|
|
59
54
|
class: "title"
|
|
60
55
|
};
|
|
61
|
-
const _hoisted_20 = /* @__PURE__ */ vue.createElementVNode("span", null, "\u56FE\u7247\u80CC\u666F\u989C\u8272", -1);
|
|
62
|
-
const _hoisted_21 = [
|
|
63
|
-
_hoisted_20
|
|
64
|
-
];
|
|
65
56
|
const _sfc_main = vue.defineComponent({
|
|
66
57
|
...{ name: "selectThumb" },
|
|
67
58
|
__name: "component",
|
|
@@ -492,7 +483,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
492
483
|
class: "title",
|
|
493
484
|
style: vue.normalizeStyle({ width: _ctx.offset })
|
|
494
485
|
}, [
|
|
495
|
-
|
|
486
|
+
_cache[11] || (_cache[11] = vue.createElementVNode("span", { style: { "margin-right": "10px" } }, "\u72EC\u7ACB\u8F6E\u64AD\u56FE", -1)),
|
|
496
487
|
vue.createCommentVNode(" \u4E0A\u4E0B\u5E03\u5C40\u5F00\u5173\u5728\u6807\u9898\u540E "),
|
|
497
488
|
!_ctx.flex ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Switch), {
|
|
498
489
|
key: 0,
|
|
@@ -501,7 +492,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
501
492
|
size: "small"
|
|
502
493
|
}, null, 8, ["modelValue"])) : vue.createCommentVNode("v-if", true)
|
|
503
494
|
], 4),
|
|
504
|
-
vue.createElementVNode("div",
|
|
495
|
+
vue.createElementVNode("div", _hoisted_8, [
|
|
505
496
|
vue.createCommentVNode(" \u5DE6\u53F3\u5E03\u5C40\u5F00\u5173\u663E\u793A "),
|
|
506
497
|
_ctx.flex ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Switch), {
|
|
507
498
|
key: 0,
|
|
@@ -524,7 +515,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
524
515
|
onUploadLocal: _cache[6] || (_cache[6] = (cb) => _ctx.$emit("upload", cb)),
|
|
525
516
|
onOpen: openDialogMediaSelection
|
|
526
517
|
}, null, 8, ["data", "parentRef", "preview-list", "is-popover"])) : vue.createCommentVNode("v-if", true),
|
|
527
|
-
hasBanner.value && styleData.value.banner_theme_color ? (vue.openBlock(), vue.createElementBlock("div",
|
|
518
|
+
hasBanner.value && styleData.value.banner_theme_color ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_9, _cache[12] || (_cache[12] = [
|
|
519
|
+
vue.createElementVNode("span", null, "\u72EC\u7ACB\u8F6E\u64AD\u56FE\u80CC\u666F\u989C\u8272", -1)
|
|
520
|
+
]))) : vue.createCommentVNode("v-if", true),
|
|
528
521
|
vue.createCommentVNode(" banner\u8C03\u8272\u677F "),
|
|
529
522
|
hasBanner.value ? (vue.openBlock(), vue.createBlock(colorPalette, {
|
|
530
523
|
key: 3,
|
|
@@ -542,13 +535,13 @@ const _sfc_main = vue.defineComponent({
|
|
|
542
535
|
class: "title",
|
|
543
536
|
style: vue.normalizeStyle({ width: _ctx.offset })
|
|
544
537
|
}, [
|
|
545
|
-
docSeriesShowTopThemeColor.value ? (vue.openBlock(), vue.createElementBlock("span",
|
|
546
|
-
_ctx.topImageTitleValid ? (vue.openBlock(), vue.createElementBlock("span",
|
|
538
|
+
docSeriesShowTopThemeColor.value ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_10, [
|
|
539
|
+
_ctx.topImageTitleValid ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_11, "*")) : vue.createCommentVNode("v-if", true),
|
|
547
540
|
vue.createElementVNode("span", null, vue.toDisplayString(_ctx.topImageTitle || "\u5C01\u9762\u5934\u56FE"), 1)
|
|
548
|
-
])) : (vue.openBlock(), vue.createElementBlock("span",
|
|
549
|
-
!_ctx.flex ? (vue.openBlock(), vue.createElementBlock("span",
|
|
541
|
+
])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_12, "PC\u5C01\u9762\u56FE")),
|
|
542
|
+
!_ctx.flex ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_13, " (\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A1242px*662px) ")) : vue.createCommentVNode("v-if", true)
|
|
550
543
|
], 4),
|
|
551
|
-
vue.createElementVNode("div",
|
|
544
|
+
vue.createElementVNode("div", _hoisted_14, [
|
|
552
545
|
vue.createVNode(card, {
|
|
553
546
|
id: `pc-banner-card`,
|
|
554
547
|
data: pcBanner.value,
|
|
@@ -562,8 +555,10 @@ const _sfc_main = vue.defineComponent({
|
|
|
562
555
|
onUploadLocal: _cache[8] || (_cache[8] = (cb) => _ctx.$emit("upload", cb)),
|
|
563
556
|
onOpen: openDialogMediaSelection
|
|
564
557
|
}, null, 8, ["data", "parentRef", "previewList", "is-popover"]),
|
|
565
|
-
_ctx.flex ? (vue.openBlock(), vue.createElementBlock("span",
|
|
566
|
-
docSeriesShowTopThemeColor.value && styleData.value.top_theme_color ? (vue.openBlock(), vue.createElementBlock("div",
|
|
558
|
+
_ctx.flex ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_15, "(\u5EFA\u8BAE\u5C3A\u5BF8\uFF1A1242px*662px)")) : vue.createCommentVNode("v-if", true),
|
|
559
|
+
docSeriesShowTopThemeColor.value && styleData.value.top_theme_color ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_16, _cache[13] || (_cache[13] = [
|
|
560
|
+
vue.createElementVNode("span", null, "\u56FE\u7247\u80CC\u666F\u989C\u8272", -1)
|
|
561
|
+
]))) : vue.createCommentVNode("v-if", true),
|
|
567
562
|
docSeriesShowTopThemeColor.value ? (vue.openBlock(), vue.createBlock(colorPalette, {
|
|
568
563
|
key: 2,
|
|
569
564
|
model: "top",
|
|
@@ -122,9 +122,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
122
122
|
onOk: handleOk,
|
|
123
123
|
onCancel: handleClose
|
|
124
124
|
}, {
|
|
125
|
-
title: vue.withCtx(() => [
|
|
125
|
+
title: vue.withCtx(() => _cache[1] || (_cache[1] = [
|
|
126
126
|
vue.createTextVNode("\u4E0A\u4F20\u914D\u7F6E")
|
|
127
|
-
]),
|
|
127
|
+
])),
|
|
128
128
|
default: vue.withCtx(() => [
|
|
129
129
|
vue.createElementVNode("div", _hoisted_1, [
|
|
130
130
|
vue.createVNode(vue.unref(webVue.Table), {
|
|
@@ -138,9 +138,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
138
138
|
type: "text",
|
|
139
139
|
onClick: _cache[1] || (_cache[1] = ($event) => loginOut())
|
|
140
140
|
}, {
|
|
141
|
-
default: vue.withCtx(() => [
|
|
141
|
+
default: vue.withCtx(() => _cache[2] || (_cache[2] = [
|
|
142
142
|
vue.createTextVNode("\u9000\u51FA")
|
|
143
|
-
]),
|
|
143
|
+
])),
|
|
144
144
|
_: 1
|
|
145
145
|
})
|
|
146
146
|
])
|
|
@@ -226,9 +226,9 @@ const _sfc_main = vue.defineComponent({
|
|
|
226
226
|
size: "mini",
|
|
227
227
|
onClick: clearUserSelectedList
|
|
228
228
|
}, {
|
|
229
|
-
default: vue.withCtx(() => [
|
|
229
|
+
default: vue.withCtx(() => _cache[0] || (_cache[0] = [
|
|
230
230
|
vue.createTextVNode("\u5168\u90E8\u6E05\u9664")
|
|
231
|
-
]),
|
|
231
|
+
])),
|
|
232
232
|
_: 1
|
|
233
233
|
})
|
|
234
234
|
]),
|
|
@@ -3,6 +3,7 @@ var vue = require("vue");
|
|
|
3
3
|
var webVue = require("@arco-design/web-vue");
|
|
4
4
|
var config = require("../config.js");
|
|
5
5
|
var useVideoThumbs = require("./scripts/useVideoThumbs.js");
|
|
6
|
+
var index = require("../emptyData/index.js");
|
|
6
7
|
const _hoisted_1 = { class: "video-thumb" };
|
|
7
8
|
const _hoisted_2 = {
|
|
8
9
|
key: 0,
|
|
@@ -45,8 +46,8 @@ const _sfc_main = vue.defineComponent({
|
|
|
45
46
|
if (pos < 0 || pos > rect.width - 5)
|
|
46
47
|
return;
|
|
47
48
|
videoThumbDrager.value.style.left = `${pos}px`;
|
|
48
|
-
const
|
|
49
|
-
curThumb.value = thumbs.value[
|
|
49
|
+
const index2 = Math.floor(pos / width.value);
|
|
50
|
+
curThumb.value = thumbs.value[index2 < thumbs.value.length ? index2 : thumbs.value.length - 1];
|
|
50
51
|
}
|
|
51
52
|
function upDragger() {
|
|
52
53
|
startPos.value = 0;
|
|
@@ -80,7 +81,10 @@ const _sfc_main = vue.defineComponent({
|
|
|
80
81
|
loading: vue.unref(loading),
|
|
81
82
|
tip: "\u751F\u6210\u89C6\u9891\u5C01\u9762\u4E2D..."
|
|
82
83
|
}, null, 8, ["loading"])
|
|
83
|
-
])) : (vue.openBlock(), vue.
|
|
84
|
+
])) : vue.unref(thumbs).length === 0 ? (vue.openBlock(), vue.createBlock(vue.unref(index), {
|
|
85
|
+
key: 1,
|
|
86
|
+
type: "empty"
|
|
87
|
+
})) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
|
|
84
88
|
vue.createElementVNode("div", _hoisted_3, [
|
|
85
89
|
vue.createElementVNode("img", { src: vue.unref(curThumb) }, null, 8, _hoisted_4)
|
|
86
90
|
]),
|
|
@@ -90,13 +94,12 @@ const _sfc_main = vue.defineComponent({
|
|
|
90
94
|
ref: videoThumbRef,
|
|
91
95
|
class: "video-thumb-list"
|
|
92
96
|
}, [
|
|
93
|
-
vue.
|
|
94
|
-
key: 0,
|
|
97
|
+
vue.createElementVNode("div", {
|
|
95
98
|
ref_key: "videoThumbDrager",
|
|
96
99
|
ref: videoThumbDrager,
|
|
97
100
|
class: "video-thumb-list-drager",
|
|
98
101
|
onMousedown: _cache[0] || (_cache[0] = (...args) => vue.unref(handleMousedown) && vue.unref(handleMousedown)(...args))
|
|
99
|
-
}, null, 544)
|
|
102
|
+
}, null, 544),
|
|
100
103
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(thumbs), (thumb, idx) => {
|
|
101
104
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
102
105
|
key: thumb,
|