@haluo/biz 1.0.20 → 1.0.21
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/README.md +11 -7
- package/dist/haluo-biz.js +60 -49
- package/dist/haluo-biz.umd.cjs +59 -48
- package/dist/style.css +27 -27
- package/package.json +46 -46
- /package/dist/{squire-raw.7e84068d.js → squire-raw.32b523bf.js} +0 -0
package/README.md
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
#
|
|
6
|
-
```
|
|
7
|
-
|
|
1
|
+
|
|
2
|
+
# 说明
|
|
3
|
+
线上vue3版本 tag = online 2.0.x 分支online
|
|
4
|
+
开发测试vue3版本 tag = next 1.0.x 分支vue3
|
|
5
|
+
# 发布
|
|
6
|
+
```
|
|
7
|
+
npm publish --tag=online
|
|
8
|
+
```
|
|
9
|
+
# 安装
|
|
10
|
+
```
|
|
11
|
+
pnpm add @haluo/biz@online
|
|
8
12
|
```
|
package/dist/haluo-biz.js
CHANGED
|
@@ -232,11 +232,11 @@ const _hoisted_1$7 = {
|
|
|
232
232
|
};
|
|
233
233
|
const _hoisted_2$7 = { class: "tools-content" };
|
|
234
234
|
const _hoisted_3$7 = ["src"];
|
|
235
|
-
const _hoisted_4$
|
|
236
|
-
const _hoisted_5$
|
|
235
|
+
const _hoisted_4$6 = ["src"];
|
|
236
|
+
const _hoisted_5$5 = ["src"];
|
|
237
237
|
const _hoisted_6$2 = { class: "box" };
|
|
238
|
-
const _hoisted_7$
|
|
239
|
-
const _hoisted_8 = {
|
|
238
|
+
const _hoisted_7$2 = ["src"];
|
|
239
|
+
const _hoisted_8$1 = {
|
|
240
240
|
key: 0,
|
|
241
241
|
class: "box-mask"
|
|
242
242
|
};
|
|
@@ -334,7 +334,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
334
334
|
height: "40",
|
|
335
335
|
alt: "",
|
|
336
336
|
onClick: _cache[1] || (_cache[1] = ($event) => $options.forward($event))
|
|
337
|
-
}, null, 12, _hoisted_4$
|
|
337
|
+
}, null, 12, _hoisted_4$6)
|
|
338
338
|
]),
|
|
339
339
|
_: 1
|
|
340
340
|
}),
|
|
@@ -355,7 +355,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
355
355
|
height: "40",
|
|
356
356
|
alt: "",
|
|
357
357
|
onClick: _cache[2] || (_cache[2] = (...args) => $options.clearFormat && $options.clearFormat(...args))
|
|
358
|
-
}, null, 8, _hoisted_5$
|
|
358
|
+
}, null, 8, _hoisted_5$5)
|
|
359
359
|
]),
|
|
360
360
|
_: 1
|
|
361
361
|
}),
|
|
@@ -373,8 +373,8 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
373
373
|
height: "40",
|
|
374
374
|
alt: "",
|
|
375
375
|
onClick: _cache[3] || (_cache[3] = (...args) => $options.copyFormat && $options.copyFormat(...args))
|
|
376
|
-
}, null, 8, _hoisted_7$
|
|
377
|
-
$props.editor.cursorStyle !== "auto" ? (openBlock(), createElementBlock("div", _hoisted_8)) : createCommentVNode("", true)
|
|
376
|
+
}, null, 8, _hoisted_7$2),
|
|
377
|
+
$props.editor.cursorStyle !== "auto" ? (openBlock(), createElementBlock("div", _hoisted_8$1)) : createCommentVNode("", true)
|
|
378
378
|
])
|
|
379
379
|
]),
|
|
380
380
|
_: 1
|
|
@@ -808,17 +808,18 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
808
808
|
])
|
|
809
809
|
])) : createCommentVNode("", true);
|
|
810
810
|
}
|
|
811
|
-
const ToolBar = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$3], ["__scopeId", "data-v-
|
|
811
|
+
const ToolBar = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$3], ["__scopeId", "data-v-192334e4"]]);
|
|
812
812
|
const index_vue_vue_type_style_index_0_lang$4 = "";
|
|
813
813
|
const _hoisted_1$6 = { class: "basic-dialog_title" };
|
|
814
814
|
const _hoisted_2$6 = /* @__PURE__ */ createElementVNode("span", { class: "basic-dialog_divider" }, null, -1);
|
|
815
815
|
const _hoisted_3$6 = {
|
|
816
816
|
key: 0,
|
|
817
|
-
slot: "footer",
|
|
818
817
|
class: "dialog-footer"
|
|
819
818
|
};
|
|
819
|
+
const _hoisted_4$5 = /* @__PURE__ */ createTextVNode("\u53D6\u6D88");
|
|
820
|
+
const _hoisted_5$4 = /* @__PURE__ */ createTextVNode("\u786E\u8BA4");
|
|
820
821
|
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
821
|
-
|
|
822
|
+
name: "index",
|
|
822
823
|
props: {
|
|
823
824
|
visible: { type: Boolean, default: false },
|
|
824
825
|
showBtn: { type: Boolean, default: true },
|
|
@@ -849,8 +850,8 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
849
850
|
});
|
|
850
851
|
return (_ctx, _cache) => {
|
|
851
852
|
return openBlock(), createBlock(unref(ElDialog), {
|
|
852
|
-
|
|
853
|
-
"onUpdate:
|
|
853
|
+
modelValue: unref(dialogVisible),
|
|
854
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(dialogVisible) ? dialogVisible.value = $event : null),
|
|
854
855
|
"before-close": handleClose,
|
|
855
856
|
width: __props.width,
|
|
856
857
|
class: "basic-dialog"
|
|
@@ -863,8 +864,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
863
864
|
])
|
|
864
865
|
])
|
|
865
866
|
]),
|
|
866
|
-
|
|
867
|
-
renderSlot(_ctx.$slots, "default"),
|
|
867
|
+
footer: withCtx(() => [
|
|
868
868
|
__props.showBtn ? (openBlock(), createElementBlock("span", _hoisted_3$6, [
|
|
869
869
|
createVNode(unref(ElButton), {
|
|
870
870
|
style: { "width": "120px", "border-color": "#CCCCCC", "color": "#333333" },
|
|
@@ -873,7 +873,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
873
873
|
onClick: handleClose
|
|
874
874
|
}, {
|
|
875
875
|
default: withCtx(() => [
|
|
876
|
-
|
|
876
|
+
_hoisted_4$5
|
|
877
877
|
]),
|
|
878
878
|
_: 1
|
|
879
879
|
}),
|
|
@@ -884,14 +884,17 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
884
884
|
onClick: confirm
|
|
885
885
|
}, {
|
|
886
886
|
default: withCtx(() => [
|
|
887
|
-
|
|
887
|
+
_hoisted_5$4
|
|
888
888
|
]),
|
|
889
889
|
_: 1
|
|
890
890
|
})
|
|
891
891
|
])) : createCommentVNode("", true)
|
|
892
892
|
]),
|
|
893
|
+
default: withCtx(() => [
|
|
894
|
+
renderSlot(_ctx.$slots, "default")
|
|
895
|
+
]),
|
|
893
896
|
_: 3
|
|
894
|
-
}, 8, ["
|
|
897
|
+
}, 8, ["modelValue", "width"]);
|
|
895
898
|
};
|
|
896
899
|
}
|
|
897
900
|
});
|
|
@@ -1040,15 +1043,17 @@ const _hoisted_1$5 = /* @__PURE__ */ createElementVNode("span", null, [
|
|
|
1040
1043
|
/* @__PURE__ */ createElementVNode("strong", { style: { "margin-left": "20px", "color": "#FF5A25" } }, "\u5E73\u53F0\u4EC5\u652F\u6301\u63D2\u516518\u4E2A\u6708\u5185\u7684\u63A8\u8350\u5185\u5BB9")
|
|
1041
1044
|
], -1);
|
|
1042
1045
|
const _hoisted_2$5 = { class: "insert-article" };
|
|
1043
|
-
const _hoisted_3$5 =
|
|
1044
|
-
const _hoisted_4$
|
|
1046
|
+
const _hoisted_3$5 = /* @__PURE__ */ createTextVNode("\u4ECE\u6211\u7684\u6587\u7AE0\u4E2D\u9009\u62E9");
|
|
1047
|
+
const _hoisted_4$4 = /* @__PURE__ */ createTextVNode("\u4ECE\u6240\u6709\u6587\u7AE0\u4E2D\u9009\u62E9");
|
|
1048
|
+
const _hoisted_5$3 = { class: "insert-article_input" };
|
|
1049
|
+
const _hoisted_6$1 = {
|
|
1045
1050
|
key: 0,
|
|
1046
1051
|
class: "nodata"
|
|
1047
1052
|
};
|
|
1048
|
-
const
|
|
1049
|
-
const
|
|
1053
|
+
const _hoisted_7$1 = ["infinite-scroll-disabled"];
|
|
1054
|
+
const _hoisted_8 = { style: { "display": "inline-flex", "flex-direction": "column" } };
|
|
1050
1055
|
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
1051
|
-
|
|
1056
|
+
name: "index",
|
|
1052
1057
|
props: {
|
|
1053
1058
|
visible: { type: Boolean, default: false },
|
|
1054
1059
|
getList: null
|
|
@@ -1143,7 +1148,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
1143
1148
|
label: "1"
|
|
1144
1149
|
}, {
|
|
1145
1150
|
default: withCtx(() => [
|
|
1146
|
-
|
|
1151
|
+
_hoisted_3$5
|
|
1147
1152
|
]),
|
|
1148
1153
|
_: 1
|
|
1149
1154
|
}, 8, ["modelValue"]),
|
|
@@ -1153,12 +1158,12 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
1153
1158
|
label: "2"
|
|
1154
1159
|
}, {
|
|
1155
1160
|
default: withCtx(() => [
|
|
1156
|
-
|
|
1161
|
+
_hoisted_4$4
|
|
1157
1162
|
]),
|
|
1158
1163
|
_: 1
|
|
1159
1164
|
}, 8, ["modelValue"])
|
|
1160
1165
|
]),
|
|
1161
|
-
createElementVNode("div",
|
|
1166
|
+
createElementVNode("div", _hoisted_5$3, [
|
|
1162
1167
|
createVNode(unref(ElInput), {
|
|
1163
1168
|
modelValue: data.params.title,
|
|
1164
1169
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => data.params.title = $event),
|
|
@@ -1175,7 +1180,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
1175
1180
|
_: 1
|
|
1176
1181
|
}, 8, ["modelValue"])
|
|
1177
1182
|
]),
|
|
1178
|
-
data.data.length === 0 && !data.busy ? (openBlock(), createElementBlock("div",
|
|
1183
|
+
data.data.length === 0 && !data.busy ? (openBlock(), createElementBlock("div", _hoisted_6$1, "\u6CA1\u6709\u7B26\u5408\u6761\u4EF6\u7684\u6587\u7AE0\u54E6\uFF0C\u4F60\u53EF\u4EE5\u8BD5\u8BD5\u641C\u7D22\u5176\u4ED6\u6587\u7AE0\uFF5E")) : withDirectives((openBlock(), createElementBlock("div", {
|
|
1179
1184
|
key: 1,
|
|
1180
1185
|
"infinite-scroll-immediate": false,
|
|
1181
1186
|
class: "insert-article_list",
|
|
@@ -1193,7 +1198,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
1193
1198
|
onChange: ($event) => select(item)
|
|
1194
1199
|
}, {
|
|
1195
1200
|
default: withCtx(() => [
|
|
1196
|
-
createElementVNode("div",
|
|
1201
|
+
createElementVNode("div", _hoisted_8, [
|
|
1197
1202
|
createElementVNode("span", null, toDisplayString(item.title || "[\u65E0\u6807\u9898]"), 1),
|
|
1198
1203
|
createElementVNode("span", null, toDisplayString(unref(date).format(item.createTime * 1e3, "YYYY-MM-DD")), 1)
|
|
1199
1204
|
])
|
|
@@ -1202,7 +1207,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
1202
1207
|
}, 1032, ["modelValue", "label", "onChange"])
|
|
1203
1208
|
]);
|
|
1204
1209
|
}), 128))
|
|
1205
|
-
], 8,
|
|
1210
|
+
], 8, _hoisted_7$1)), [
|
|
1206
1211
|
[unref(vInfiniteScroll), getArticleList]
|
|
1207
1212
|
])
|
|
1208
1213
|
])
|
|
@@ -1258,15 +1263,15 @@ const _hoisted_2$4 = {
|
|
|
1258
1263
|
class: "upload-wrap"
|
|
1259
1264
|
};
|
|
1260
1265
|
const _hoisted_3$4 = /* @__PURE__ */ createElementVNode("span", null, "\u672C\u5730\u4E0A\u4F20", -1);
|
|
1261
|
-
const _hoisted_4$
|
|
1262
|
-
const _hoisted_5$
|
|
1266
|
+
const _hoisted_4$3 = /* @__PURE__ */ createElementVNode("span", { class: "remark" }, "\u652F\u6301jpg\u3001jpeg\u3001png\u7B49\u591A\u79CD\u683C\u5F0F\uFF0C\u5355\u5F20\u56FE\u7247\u6700\u5927\u652F\u630120MB", -1);
|
|
1267
|
+
const _hoisted_5$2 = {
|
|
1263
1268
|
key: 1,
|
|
1264
1269
|
class: "img-list"
|
|
1265
1270
|
};
|
|
1266
1271
|
const _hoisted_6 = ["src"];
|
|
1267
1272
|
const _hoisted_7 = { class: "upload-btn" };
|
|
1268
1273
|
const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
1269
|
-
|
|
1274
|
+
name: "index",
|
|
1270
1275
|
props: {
|
|
1271
1276
|
visible: { type: Boolean, default: false },
|
|
1272
1277
|
imgList: { default: [] }
|
|
@@ -1339,8 +1344,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
1339
1344
|
}),
|
|
1340
1345
|
_hoisted_3$4
|
|
1341
1346
|
]),
|
|
1342
|
-
_hoisted_4$
|
|
1343
|
-
])) : (openBlock(), createElementBlock("div", _hoisted_5$
|
|
1347
|
+
_hoisted_4$3
|
|
1348
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_5$2, [
|
|
1344
1349
|
createVNode(unref(draggable), {
|
|
1345
1350
|
modelValue: unref(imgListTemp),
|
|
1346
1351
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(imgListTemp) ? imgListTemp.value = $event : null),
|
|
@@ -1404,9 +1409,10 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
1404
1409
|
const index_vue_vue_type_style_index_0_lang$1 = "";
|
|
1405
1410
|
const _hoisted_1$3 = /* @__PURE__ */ createElementVNode("span", null, "\u63D2\u5165\u89C6\u9891", -1);
|
|
1406
1411
|
const _hoisted_2$3 = { class: "insert-video" };
|
|
1407
|
-
const _hoisted_3$3 = /* @__PURE__ */
|
|
1412
|
+
const _hoisted_3$3 = /* @__PURE__ */ createTextVNode("\u9009\u62E9\u89C6\u9891");
|
|
1413
|
+
const _hoisted_4$2 = /* @__PURE__ */ createElementVNode("span", { class: "remark" }, "\u4E3A\u4E86\u83B7\u5F97\u66F4\u9AD8\u7684\u63A8\u8350\u91CF\u548C\u70B9\u51FB\u91CF\uFF0C\u5EFA\u8BAE\u4E0A\u4F20720p\uFF081280*720\uFF09\u6216\u66F4\u9AD8\u5206\u8FA8\u7387\u7684\u89C6\u9891\uFF0C\u89C6\u9891\u683C\u5F0F\u4E3A.mp4\u6216.mov\uFF0C\u5927\u5C0F\u4E0D\u8D85\u8FC71G", -1);
|
|
1408
1414
|
const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
1409
|
-
|
|
1415
|
+
name: "index",
|
|
1410
1416
|
props: {
|
|
1411
1417
|
visible: { type: Boolean, default: false },
|
|
1412
1418
|
fileSelected: null
|
|
@@ -1444,11 +1450,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
1444
1450
|
onClick: emitEvent
|
|
1445
1451
|
}, {
|
|
1446
1452
|
default: withCtx(() => [
|
|
1447
|
-
|
|
1453
|
+
_hoisted_3$3
|
|
1448
1454
|
]),
|
|
1449
1455
|
_: 1
|
|
1450
1456
|
}),
|
|
1451
|
-
|
|
1457
|
+
_hoisted_4$2,
|
|
1452
1458
|
createElementVNode("input", {
|
|
1453
1459
|
type: "file",
|
|
1454
1460
|
accept: "video/*",
|
|
@@ -1510,6 +1516,9 @@ const _sfc_main$2 = {
|
|
|
1510
1516
|
var event = new MouseEvent("click");
|
|
1511
1517
|
var ele = document.getElementsByClassName("video-input");
|
|
1512
1518
|
ele[0].dispatchEvent(event);
|
|
1519
|
+
},
|
|
1520
|
+
setStatus(val) {
|
|
1521
|
+
this.$emit("update:visible", val);
|
|
1513
1522
|
}
|
|
1514
1523
|
}
|
|
1515
1524
|
};
|
|
@@ -1575,8 +1584,8 @@ const _hoisted_1$1 = {
|
|
|
1575
1584
|
};
|
|
1576
1585
|
const _hoisted_2$1 = ["src"];
|
|
1577
1586
|
const _hoisted_3$1 = { class: "article-item_right" };
|
|
1578
|
-
const _hoisted_4 = { class: "name" };
|
|
1579
|
-
const _hoisted_5 = { class: "score" };
|
|
1587
|
+
const _hoisted_4$1 = { class: "name" };
|
|
1588
|
+
const _hoisted_5$1 = { class: "score" };
|
|
1580
1589
|
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1581
1590
|
const _component_el_icon_error = resolveComponent("el-icon-error");
|
|
1582
1591
|
return openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
@@ -1586,8 +1595,8 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1586
1595
|
alt: ""
|
|
1587
1596
|
}, null, 8, _hoisted_2$1)) : createCommentVNode("", true),
|
|
1588
1597
|
createElementVNode("div", _hoisted_3$1, [
|
|
1589
|
-
createElementVNode("div", _hoisted_4, toDisplayString($props.article.title), 1),
|
|
1590
|
-
createElementVNode("div", _hoisted_5, [
|
|
1598
|
+
createElementVNode("div", _hoisted_4$1, toDisplayString($props.article.title), 1),
|
|
1599
|
+
createElementVNode("div", _hoisted_5$1, [
|
|
1591
1600
|
createElementVNode("span", null, toDisplayString($props.article.author), 1),
|
|
1592
1601
|
createElementVNode("span", null, toDisplayString($props.article.viewNum) + "\u6D4F\u89C8", 1),
|
|
1593
1602
|
createElementVNode("span", null, toDisplayString($props.article.replycnt) + "\u8BC4\u8BBA", 1)
|
|
@@ -1605,7 +1614,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1605
1614
|
}, " \u5E73\u53F0\u4EC5\u652F\u6301\u5C55\u793A18\u4E2A\u6708\u7684\u63A8\u8350\u5185\u5BB9 ", 2)) : createCommentVNode("", true)
|
|
1606
1615
|
]);
|
|
1607
1616
|
}
|
|
1608
|
-
const Item = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-
|
|
1617
|
+
const Item = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-45d58d86"]]);
|
|
1609
1618
|
const mountArticleDom = (props, del) => {
|
|
1610
1619
|
const className = "article-wrap";
|
|
1611
1620
|
const article = props.article;
|
|
@@ -3902,7 +3911,7 @@ const _sfc_main = {
|
|
|
3902
3911
|
me.editorDom = document.getElementById("editor-content");
|
|
3903
3912
|
me.editorDom.addEventListener("blur", this.canSetAlign);
|
|
3904
3913
|
if (!window.Squire) {
|
|
3905
|
-
import("./squire-raw.
|
|
3914
|
+
import("./squire-raw.32b523bf.js").then(function() {
|
|
3906
3915
|
me.initSquire();
|
|
3907
3916
|
});
|
|
3908
3917
|
} else {
|
|
@@ -3980,7 +3989,7 @@ const _sfc_main = {
|
|
|
3980
3989
|
const video = {
|
|
3981
3990
|
duration: result.duration || "",
|
|
3982
3991
|
link: result.videoUrl || "",
|
|
3983
|
-
img: me.coverUrl || result.coverUrl || "",
|
|
3992
|
+
img: me.coverUrl || result.coverUrl || result.customCover || "",
|
|
3984
3993
|
id: result.videoId,
|
|
3985
3994
|
desc: "",
|
|
3986
3995
|
vodSize: result.vodSize || "",
|
|
@@ -5086,6 +5095,8 @@ const _hoisted_3 = {
|
|
|
5086
5095
|
slot: "footer",
|
|
5087
5096
|
class: "dialog-footer"
|
|
5088
5097
|
};
|
|
5098
|
+
const _hoisted_4 = /* @__PURE__ */ createTextVNode("\u53D6 \u6D88");
|
|
5099
|
+
const _hoisted_5 = /* @__PURE__ */ createTextVNode("\u786E \u5B9A");
|
|
5089
5100
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5090
5101
|
const _component_el_input = resolveComponent("el-input");
|
|
5091
5102
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
@@ -5153,7 +5164,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5153
5164
|
onClick: _cache[3] || (_cache[3] = ($event) => $data.viewLinkDialog = false)
|
|
5154
5165
|
}, {
|
|
5155
5166
|
default: withCtx(() => [
|
|
5156
|
-
|
|
5167
|
+
_hoisted_4
|
|
5157
5168
|
]),
|
|
5158
5169
|
_: 1
|
|
5159
5170
|
}),
|
|
@@ -5162,7 +5173,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5162
5173
|
onClick: $options.insertLink
|
|
5163
5174
|
}, {
|
|
5164
5175
|
default: withCtx(() => [
|
|
5165
|
-
|
|
5176
|
+
_hoisted_5
|
|
5166
5177
|
]),
|
|
5167
5178
|
_: 1
|
|
5168
5179
|
}, 8, ["onClick"])
|
|
@@ -5180,7 +5191,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5180
5191
|
}, null, 8, ["article", "visible", "getList", "onDelete", "onChange"]),
|
|
5181
5192
|
createVNode(_component_ImgUpload, {
|
|
5182
5193
|
"img-list": $data.imgList,
|
|
5183
|
-
"onUpdate:
|
|
5194
|
+
"onUpdate:img-list": _cache[6] || (_cache[6] = ($event) => $data.imgList = $event),
|
|
5184
5195
|
visible: $data.visibleImg,
|
|
5185
5196
|
"onUpdate:visible": _cache[7] || (_cache[7] = ($event) => $data.visibleImg = $event),
|
|
5186
5197
|
onSubmit: $options.submitImg
|
|
@@ -5192,7 +5203,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5192
5203
|
}, null, 8, ["visible", "file-selected"]),
|
|
5193
5204
|
createVNode(_component_CollectArticle, {
|
|
5194
5205
|
"link-content": $data.linkContent,
|
|
5195
|
-
"onUpdate:
|
|
5206
|
+
"onUpdate:link-content": _cache[9] || (_cache[9] = ($event) => $data.linkContent = $event),
|
|
5196
5207
|
visible: $data.visibleCollectArticle,
|
|
5197
5208
|
"onUpdate:visible": _cache[10] || (_cache[10] = ($event) => $data.visibleCollectArticle = $event),
|
|
5198
5209
|
onSubmit: $options.confirmLink
|
package/dist/haluo-biz.umd.cjs
CHANGED
|
@@ -234,11 +234,11 @@
|
|
|
234
234
|
};
|
|
235
235
|
const _hoisted_2$7 = { class: "tools-content" };
|
|
236
236
|
const _hoisted_3$7 = ["src"];
|
|
237
|
-
const _hoisted_4$
|
|
238
|
-
const _hoisted_5$
|
|
237
|
+
const _hoisted_4$6 = ["src"];
|
|
238
|
+
const _hoisted_5$5 = ["src"];
|
|
239
239
|
const _hoisted_6$2 = { class: "box" };
|
|
240
|
-
const _hoisted_7$
|
|
241
|
-
const _hoisted_8 = {
|
|
240
|
+
const _hoisted_7$2 = ["src"];
|
|
241
|
+
const _hoisted_8$1 = {
|
|
242
242
|
key: 0,
|
|
243
243
|
class: "box-mask"
|
|
244
244
|
};
|
|
@@ -336,7 +336,7 @@
|
|
|
336
336
|
height: "40",
|
|
337
337
|
alt: "",
|
|
338
338
|
onClick: _cache[1] || (_cache[1] = ($event) => $options.forward($event))
|
|
339
|
-
}, null, 12, _hoisted_4$
|
|
339
|
+
}, null, 12, _hoisted_4$6)
|
|
340
340
|
]),
|
|
341
341
|
_: 1
|
|
342
342
|
}),
|
|
@@ -357,7 +357,7 @@
|
|
|
357
357
|
height: "40",
|
|
358
358
|
alt: "",
|
|
359
359
|
onClick: _cache[2] || (_cache[2] = (...args) => $options.clearFormat && $options.clearFormat(...args))
|
|
360
|
-
}, null, 8, _hoisted_5$
|
|
360
|
+
}, null, 8, _hoisted_5$5)
|
|
361
361
|
]),
|
|
362
362
|
_: 1
|
|
363
363
|
}),
|
|
@@ -375,8 +375,8 @@
|
|
|
375
375
|
height: "40",
|
|
376
376
|
alt: "",
|
|
377
377
|
onClick: _cache[3] || (_cache[3] = (...args) => $options.copyFormat && $options.copyFormat(...args))
|
|
378
|
-
}, null, 8, _hoisted_7$
|
|
379
|
-
$props.editor.cursorStyle !== "auto" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8)) : vue.createCommentVNode("", true)
|
|
378
|
+
}, null, 8, _hoisted_7$2),
|
|
379
|
+
$props.editor.cursorStyle !== "auto" ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_8$1)) : vue.createCommentVNode("", true)
|
|
380
380
|
])
|
|
381
381
|
]),
|
|
382
382
|
_: 1
|
|
@@ -810,17 +810,18 @@
|
|
|
810
810
|
])
|
|
811
811
|
])) : vue.createCommentVNode("", true);
|
|
812
812
|
}
|
|
813
|
-
const ToolBar = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$3], ["__scopeId", "data-v-
|
|
813
|
+
const ToolBar = /* @__PURE__ */ _export_sfc(_sfc_main$7, [["render", _sfc_render$3], ["__scopeId", "data-v-192334e4"]]);
|
|
814
814
|
const index_vue_vue_type_style_index_0_lang$4 = "";
|
|
815
815
|
const _hoisted_1$6 = { class: "basic-dialog_title" };
|
|
816
816
|
const _hoisted_2$6 = /* @__PURE__ */ vue.createElementVNode("span", { class: "basic-dialog_divider" }, null, -1);
|
|
817
817
|
const _hoisted_3$6 = {
|
|
818
818
|
key: 0,
|
|
819
|
-
slot: "footer",
|
|
820
819
|
class: "dialog-footer"
|
|
821
820
|
};
|
|
821
|
+
const _hoisted_4$5 = /* @__PURE__ */ vue.createTextVNode("\u53D6\u6D88");
|
|
822
|
+
const _hoisted_5$4 = /* @__PURE__ */ vue.createTextVNode("\u786E\u8BA4");
|
|
822
823
|
const _sfc_main$6 = /* @__PURE__ */ vue.defineComponent({
|
|
823
|
-
|
|
824
|
+
name: "index",
|
|
824
825
|
props: {
|
|
825
826
|
visible: { type: Boolean, default: false },
|
|
826
827
|
showBtn: { type: Boolean, default: true },
|
|
@@ -851,8 +852,8 @@
|
|
|
851
852
|
});
|
|
852
853
|
return (_ctx, _cache) => {
|
|
853
854
|
return vue.openBlock(), vue.createBlock(vue.unref(elementPlus.ElDialog), {
|
|
854
|
-
|
|
855
|
-
"onUpdate:
|
|
855
|
+
modelValue: vue.unref(dialogVisible),
|
|
856
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(dialogVisible) ? dialogVisible.value = $event : null),
|
|
856
857
|
"before-close": handleClose,
|
|
857
858
|
width: __props.width,
|
|
858
859
|
class: "basic-dialog"
|
|
@@ -865,8 +866,7 @@
|
|
|
865
866
|
])
|
|
866
867
|
])
|
|
867
868
|
]),
|
|
868
|
-
|
|
869
|
-
vue.renderSlot(_ctx.$slots, "default"),
|
|
869
|
+
footer: vue.withCtx(() => [
|
|
870
870
|
__props.showBtn ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_3$6, [
|
|
871
871
|
vue.createVNode(vue.unref(elementPlus.ElButton), {
|
|
872
872
|
style: { "width": "120px", "border-color": "#CCCCCC", "color": "#333333" },
|
|
@@ -875,7 +875,7 @@
|
|
|
875
875
|
onClick: handleClose
|
|
876
876
|
}, {
|
|
877
877
|
default: vue.withCtx(() => [
|
|
878
|
-
|
|
878
|
+
_hoisted_4$5
|
|
879
879
|
]),
|
|
880
880
|
_: 1
|
|
881
881
|
}),
|
|
@@ -886,14 +886,17 @@
|
|
|
886
886
|
onClick: confirm
|
|
887
887
|
}, {
|
|
888
888
|
default: vue.withCtx(() => [
|
|
889
|
-
|
|
889
|
+
_hoisted_5$4
|
|
890
890
|
]),
|
|
891
891
|
_: 1
|
|
892
892
|
})
|
|
893
893
|
])) : vue.createCommentVNode("", true)
|
|
894
894
|
]),
|
|
895
|
+
default: vue.withCtx(() => [
|
|
896
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
897
|
+
]),
|
|
895
898
|
_: 3
|
|
896
|
-
}, 8, ["
|
|
899
|
+
}, 8, ["modelValue", "width"]);
|
|
897
900
|
};
|
|
898
901
|
}
|
|
899
902
|
});
|
|
@@ -1042,15 +1045,17 @@
|
|
|
1042
1045
|
/* @__PURE__ */ vue.createElementVNode("strong", { style: { "margin-left": "20px", "color": "#FF5A25" } }, "\u5E73\u53F0\u4EC5\u652F\u6301\u63D2\u516518\u4E2A\u6708\u5185\u7684\u63A8\u8350\u5185\u5BB9")
|
|
1043
1046
|
], -1);
|
|
1044
1047
|
const _hoisted_2$5 = { class: "insert-article" };
|
|
1045
|
-
const _hoisted_3$5 =
|
|
1046
|
-
const _hoisted_4$
|
|
1048
|
+
const _hoisted_3$5 = /* @__PURE__ */ vue.createTextVNode("\u4ECE\u6211\u7684\u6587\u7AE0\u4E2D\u9009\u62E9");
|
|
1049
|
+
const _hoisted_4$4 = /* @__PURE__ */ vue.createTextVNode("\u4ECE\u6240\u6709\u6587\u7AE0\u4E2D\u9009\u62E9");
|
|
1050
|
+
const _hoisted_5$3 = { class: "insert-article_input" };
|
|
1051
|
+
const _hoisted_6$1 = {
|
|
1047
1052
|
key: 0,
|
|
1048
1053
|
class: "nodata"
|
|
1049
1054
|
};
|
|
1050
|
-
const
|
|
1051
|
-
const
|
|
1055
|
+
const _hoisted_7$1 = ["infinite-scroll-disabled"];
|
|
1056
|
+
const _hoisted_8 = { style: { "display": "inline-flex", "flex-direction": "column" } };
|
|
1052
1057
|
const _sfc_main$5 = /* @__PURE__ */ vue.defineComponent({
|
|
1053
|
-
|
|
1058
|
+
name: "index",
|
|
1054
1059
|
props: {
|
|
1055
1060
|
visible: { type: Boolean, default: false },
|
|
1056
1061
|
getList: null
|
|
@@ -1145,7 +1150,7 @@
|
|
|
1145
1150
|
label: "1"
|
|
1146
1151
|
}, {
|
|
1147
1152
|
default: vue.withCtx(() => [
|
|
1148
|
-
|
|
1153
|
+
_hoisted_3$5
|
|
1149
1154
|
]),
|
|
1150
1155
|
_: 1
|
|
1151
1156
|
}, 8, ["modelValue"]),
|
|
@@ -1155,12 +1160,12 @@
|
|
|
1155
1160
|
label: "2"
|
|
1156
1161
|
}, {
|
|
1157
1162
|
default: vue.withCtx(() => [
|
|
1158
|
-
|
|
1163
|
+
_hoisted_4$4
|
|
1159
1164
|
]),
|
|
1160
1165
|
_: 1
|
|
1161
1166
|
}, 8, ["modelValue"])
|
|
1162
1167
|
]),
|
|
1163
|
-
vue.createElementVNode("div",
|
|
1168
|
+
vue.createElementVNode("div", _hoisted_5$3, [
|
|
1164
1169
|
vue.createVNode(vue.unref(elementPlus.ElInput), {
|
|
1165
1170
|
modelValue: data.params.title,
|
|
1166
1171
|
"onUpdate:modelValue": _cache[3] || (_cache[3] = ($event) => data.params.title = $event),
|
|
@@ -1177,7 +1182,7 @@
|
|
|
1177
1182
|
_: 1
|
|
1178
1183
|
}, 8, ["modelValue"])
|
|
1179
1184
|
]),
|
|
1180
|
-
data.data.length === 0 && !data.busy ? (vue.openBlock(), vue.createElementBlock("div",
|
|
1185
|
+
data.data.length === 0 && !data.busy ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$1, "\u6CA1\u6709\u7B26\u5408\u6761\u4EF6\u7684\u6587\u7AE0\u54E6\uFF0C\u4F60\u53EF\u4EE5\u8BD5\u8BD5\u641C\u7D22\u5176\u4ED6\u6587\u7AE0\uFF5E")) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("div", {
|
|
1181
1186
|
key: 1,
|
|
1182
1187
|
"infinite-scroll-immediate": false,
|
|
1183
1188
|
class: "insert-article_list",
|
|
@@ -1195,7 +1200,7 @@
|
|
|
1195
1200
|
onChange: ($event) => select(item)
|
|
1196
1201
|
}, {
|
|
1197
1202
|
default: vue.withCtx(() => [
|
|
1198
|
-
vue.createElementVNode("div",
|
|
1203
|
+
vue.createElementVNode("div", _hoisted_8, [
|
|
1199
1204
|
vue.createElementVNode("span", null, vue.toDisplayString(item.title || "[\u65E0\u6807\u9898]"), 1),
|
|
1200
1205
|
vue.createElementVNode("span", null, vue.toDisplayString(vue.unref(date).format(item.createTime * 1e3, "YYYY-MM-DD")), 1)
|
|
1201
1206
|
])
|
|
@@ -1204,7 +1209,7 @@
|
|
|
1204
1209
|
}, 1032, ["modelValue", "label", "onChange"])
|
|
1205
1210
|
]);
|
|
1206
1211
|
}), 128))
|
|
1207
|
-
], 8,
|
|
1212
|
+
], 8, _hoisted_7$1)), [
|
|
1208
1213
|
[vue.unref(vInfiniteScroll), getArticleList]
|
|
1209
1214
|
])
|
|
1210
1215
|
])
|
|
@@ -1260,15 +1265,15 @@
|
|
|
1260
1265
|
class: "upload-wrap"
|
|
1261
1266
|
};
|
|
1262
1267
|
const _hoisted_3$4 = /* @__PURE__ */ vue.createElementVNode("span", null, "\u672C\u5730\u4E0A\u4F20", -1);
|
|
1263
|
-
const _hoisted_4$
|
|
1264
|
-
const _hoisted_5$
|
|
1268
|
+
const _hoisted_4$3 = /* @__PURE__ */ vue.createElementVNode("span", { class: "remark" }, "\u652F\u6301jpg\u3001jpeg\u3001png\u7B49\u591A\u79CD\u683C\u5F0F\uFF0C\u5355\u5F20\u56FE\u7247\u6700\u5927\u652F\u630120MB", -1);
|
|
1269
|
+
const _hoisted_5$2 = {
|
|
1265
1270
|
key: 1,
|
|
1266
1271
|
class: "img-list"
|
|
1267
1272
|
};
|
|
1268
1273
|
const _hoisted_6 = ["src"];
|
|
1269
1274
|
const _hoisted_7 = { class: "upload-btn" };
|
|
1270
1275
|
const _sfc_main$4 = /* @__PURE__ */ vue.defineComponent({
|
|
1271
|
-
|
|
1276
|
+
name: "index",
|
|
1272
1277
|
props: {
|
|
1273
1278
|
visible: { type: Boolean, default: false },
|
|
1274
1279
|
imgList: { default: [] }
|
|
@@ -1341,8 +1346,8 @@
|
|
|
1341
1346
|
}),
|
|
1342
1347
|
_hoisted_3$4
|
|
1343
1348
|
]),
|
|
1344
|
-
_hoisted_4$
|
|
1345
|
-
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$
|
|
1349
|
+
_hoisted_4$3
|
|
1350
|
+
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$2, [
|
|
1346
1351
|
vue.createVNode(vue.unref(draggable__default.default), {
|
|
1347
1352
|
modelValue: vue.unref(imgListTemp),
|
|
1348
1353
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => vue.isRef(imgListTemp) ? imgListTemp.value = $event : null),
|
|
@@ -1406,9 +1411,10 @@
|
|
|
1406
1411
|
const index_vue_vue_type_style_index_0_lang$1 = "";
|
|
1407
1412
|
const _hoisted_1$3 = /* @__PURE__ */ vue.createElementVNode("span", null, "\u63D2\u5165\u89C6\u9891", -1);
|
|
1408
1413
|
const _hoisted_2$3 = { class: "insert-video" };
|
|
1409
|
-
const _hoisted_3$3 = /* @__PURE__ */ vue.
|
|
1414
|
+
const _hoisted_3$3 = /* @__PURE__ */ vue.createTextVNode("\u9009\u62E9\u89C6\u9891");
|
|
1415
|
+
const _hoisted_4$2 = /* @__PURE__ */ vue.createElementVNode("span", { class: "remark" }, "\u4E3A\u4E86\u83B7\u5F97\u66F4\u9AD8\u7684\u63A8\u8350\u91CF\u548C\u70B9\u51FB\u91CF\uFF0C\u5EFA\u8BAE\u4E0A\u4F20720p\uFF081280*720\uFF09\u6216\u66F4\u9AD8\u5206\u8FA8\u7387\u7684\u89C6\u9891\uFF0C\u89C6\u9891\u683C\u5F0F\u4E3A.mp4\u6216.mov\uFF0C\u5927\u5C0F\u4E0D\u8D85\u8FC71G", -1);
|
|
1410
1416
|
const _sfc_main$3 = /* @__PURE__ */ vue.defineComponent({
|
|
1411
|
-
|
|
1417
|
+
name: "index",
|
|
1412
1418
|
props: {
|
|
1413
1419
|
visible: { type: Boolean, default: false },
|
|
1414
1420
|
fileSelected: null
|
|
@@ -1446,11 +1452,11 @@
|
|
|
1446
1452
|
onClick: emitEvent
|
|
1447
1453
|
}, {
|
|
1448
1454
|
default: vue.withCtx(() => [
|
|
1449
|
-
|
|
1455
|
+
_hoisted_3$3
|
|
1450
1456
|
]),
|
|
1451
1457
|
_: 1
|
|
1452
1458
|
}),
|
|
1453
|
-
|
|
1459
|
+
_hoisted_4$2,
|
|
1454
1460
|
vue.createElementVNode("input", {
|
|
1455
1461
|
type: "file",
|
|
1456
1462
|
accept: "video/*",
|
|
@@ -1512,6 +1518,9 @@
|
|
|
1512
1518
|
var event = new MouseEvent("click");
|
|
1513
1519
|
var ele = document.getElementsByClassName("video-input");
|
|
1514
1520
|
ele[0].dispatchEvent(event);
|
|
1521
|
+
},
|
|
1522
|
+
setStatus(val) {
|
|
1523
|
+
this.$emit("update:visible", val);
|
|
1515
1524
|
}
|
|
1516
1525
|
}
|
|
1517
1526
|
};
|
|
@@ -1577,8 +1586,8 @@
|
|
|
1577
1586
|
};
|
|
1578
1587
|
const _hoisted_2$1 = ["src"];
|
|
1579
1588
|
const _hoisted_3$1 = { class: "article-item_right" };
|
|
1580
|
-
const _hoisted_4 = { class: "name" };
|
|
1581
|
-
const _hoisted_5 = { class: "score" };
|
|
1589
|
+
const _hoisted_4$1 = { class: "name" };
|
|
1590
|
+
const _hoisted_5$1 = { class: "score" };
|
|
1582
1591
|
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
1583
1592
|
const _component_el_icon_error = vue.resolveComponent("el-icon-error");
|
|
1584
1593
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1$1, [
|
|
@@ -1588,8 +1597,8 @@
|
|
|
1588
1597
|
alt: ""
|
|
1589
1598
|
}, null, 8, _hoisted_2$1)) : vue.createCommentVNode("", true),
|
|
1590
1599
|
vue.createElementVNode("div", _hoisted_3$1, [
|
|
1591
|
-
vue.createElementVNode("div", _hoisted_4, vue.toDisplayString($props.article.title), 1),
|
|
1592
|
-
vue.createElementVNode("div", _hoisted_5, [
|
|
1600
|
+
vue.createElementVNode("div", _hoisted_4$1, vue.toDisplayString($props.article.title), 1),
|
|
1601
|
+
vue.createElementVNode("div", _hoisted_5$1, [
|
|
1593
1602
|
vue.createElementVNode("span", null, vue.toDisplayString($props.article.author), 1),
|
|
1594
1603
|
vue.createElementVNode("span", null, vue.toDisplayString($props.article.viewNum) + "\u6D4F\u89C8", 1),
|
|
1595
1604
|
vue.createElementVNode("span", null, vue.toDisplayString($props.article.replycnt) + "\u8BC4\u8BBA", 1)
|
|
@@ -1607,7 +1616,7 @@
|
|
|
1607
1616
|
}, " \u5E73\u53F0\u4EC5\u652F\u6301\u5C55\u793A18\u4E2A\u6708\u7684\u63A8\u8350\u5185\u5BB9 ", 2)) : vue.createCommentVNode("", true)
|
|
1608
1617
|
]);
|
|
1609
1618
|
}
|
|
1610
|
-
const Item = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-
|
|
1619
|
+
const Item = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-45d58d86"]]);
|
|
1611
1620
|
const mountArticleDom = (props, del) => {
|
|
1612
1621
|
const className = "article-wrap";
|
|
1613
1622
|
const article = props.article;
|
|
@@ -3982,7 +3991,7 @@
|
|
|
3982
3991
|
const video = {
|
|
3983
3992
|
duration: result.duration || "",
|
|
3984
3993
|
link: result.videoUrl || "",
|
|
3985
|
-
img: me.coverUrl || result.coverUrl || "",
|
|
3994
|
+
img: me.coverUrl || result.coverUrl || result.customCover || "",
|
|
3986
3995
|
id: result.videoId,
|
|
3987
3996
|
desc: "",
|
|
3988
3997
|
vodSize: result.vodSize || "",
|
|
@@ -5088,6 +5097,8 @@
|
|
|
5088
5097
|
slot: "footer",
|
|
5089
5098
|
class: "dialog-footer"
|
|
5090
5099
|
};
|
|
5100
|
+
const _hoisted_4 = /* @__PURE__ */ vue.createTextVNode("\u53D6 \u6D88");
|
|
5101
|
+
const _hoisted_5 = /* @__PURE__ */ vue.createTextVNode("\u786E \u5B9A");
|
|
5091
5102
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5092
5103
|
const _component_el_input = vue.resolveComponent("el-input");
|
|
5093
5104
|
const _component_el_form_item = vue.resolveComponent("el-form-item");
|
|
@@ -5155,7 +5166,7 @@
|
|
|
5155
5166
|
onClick: _cache[3] || (_cache[3] = ($event) => $data.viewLinkDialog = false)
|
|
5156
5167
|
}, {
|
|
5157
5168
|
default: vue.withCtx(() => [
|
|
5158
|
-
|
|
5169
|
+
_hoisted_4
|
|
5159
5170
|
]),
|
|
5160
5171
|
_: 1
|
|
5161
5172
|
}),
|
|
@@ -5164,7 +5175,7 @@
|
|
|
5164
5175
|
onClick: $options.insertLink
|
|
5165
5176
|
}, {
|
|
5166
5177
|
default: vue.withCtx(() => [
|
|
5167
|
-
|
|
5178
|
+
_hoisted_5
|
|
5168
5179
|
]),
|
|
5169
5180
|
_: 1
|
|
5170
5181
|
}, 8, ["onClick"])
|
|
@@ -5182,7 +5193,7 @@
|
|
|
5182
5193
|
}, null, 8, ["article", "visible", "getList", "onDelete", "onChange"]),
|
|
5183
5194
|
vue.createVNode(_component_ImgUpload, {
|
|
5184
5195
|
"img-list": $data.imgList,
|
|
5185
|
-
"onUpdate:
|
|
5196
|
+
"onUpdate:img-list": _cache[6] || (_cache[6] = ($event) => $data.imgList = $event),
|
|
5186
5197
|
visible: $data.visibleImg,
|
|
5187
5198
|
"onUpdate:visible": _cache[7] || (_cache[7] = ($event) => $data.visibleImg = $event),
|
|
5188
5199
|
onSubmit: $options.submitImg
|
|
@@ -5194,7 +5205,7 @@
|
|
|
5194
5205
|
}, null, 8, ["visible", "file-selected"]),
|
|
5195
5206
|
vue.createVNode(_component_CollectArticle, {
|
|
5196
5207
|
"link-content": $data.linkContent,
|
|
5197
|
-
"onUpdate:
|
|
5208
|
+
"onUpdate:link-content": _cache[9] || (_cache[9] = ($event) => $data.linkContent = $event),
|
|
5198
5209
|
visible: $data.visibleCollectArticle,
|
|
5199
5210
|
"onUpdate:visible": _cache[10] || (_cache[10] = ($event) => $data.visibleCollectArticle = $event),
|
|
5200
5211
|
onSubmit: $options.confirmLink
|
package/dist/style.css
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
.m12[data-v-
|
|
1
|
+
.m12[data-v-192334e4] {
|
|
2
2
|
margin: 0 12px;
|
|
3
3
|
}
|
|
4
|
-
.ml16[data-v-
|
|
4
|
+
.ml16[data-v-192334e4] {
|
|
5
5
|
margin-left: 16px;
|
|
6
6
|
}
|
|
7
|
-
.mr12[data-v-
|
|
7
|
+
.mr12[data-v-192334e4] {
|
|
8
8
|
margin-right: 12px;
|
|
9
9
|
}
|
|
10
|
-
.ml12[data-v-
|
|
10
|
+
.ml12[data-v-192334e4] {
|
|
11
11
|
margin-left: 12px;
|
|
12
12
|
}
|
|
13
|
-
.mr18[data-v-
|
|
13
|
+
.mr18[data-v-192334e4] {
|
|
14
14
|
margin-right: 18px;
|
|
15
15
|
}
|
|
16
|
-
.tools[data-v-
|
|
16
|
+
.tools[data-v-192334e4] {
|
|
17
17
|
z-index: 2;
|
|
18
18
|
position: relative;
|
|
19
19
|
background: #FAFAFA;
|
|
20
20
|
}
|
|
21
|
-
.tools .tools-content[data-v-
|
|
21
|
+
.tools .tools-content[data-v-192334e4] {
|
|
22
22
|
display: -webkit-box;
|
|
23
23
|
display: -ms-flexbox;
|
|
24
24
|
display: flex;
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
-ms-flex-align: center;
|
|
27
27
|
align-items: center;
|
|
28
28
|
}
|
|
29
|
-
.tools img[data-v-
|
|
29
|
+
.tools img[data-v-192334e4] {
|
|
30
30
|
cursor: pointer;
|
|
31
31
|
}
|
|
32
|
-
.tools .box[data-v-
|
|
32
|
+
.tools .box[data-v-192334e4] {
|
|
33
33
|
position: relative;
|
|
34
34
|
}
|
|
35
|
-
.tools .box .box-mask[data-v-
|
|
35
|
+
.tools .box .box-mask[data-v-192334e4] {
|
|
36
36
|
width: 40px;
|
|
37
37
|
height: 40px;
|
|
38
38
|
background: black;
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
position: absolute;
|
|
42
42
|
pointer-events: none;
|
|
43
43
|
}
|
|
44
|
-
.tools .tools-title[data-v-
|
|
44
|
+
.tools .tools-title[data-v-192334e4] {
|
|
45
45
|
color: #333333;
|
|
46
46
|
font-size: 18px;
|
|
47
47
|
display: -webkit-box;
|
|
@@ -52,25 +52,25 @@
|
|
|
52
52
|
align-items: center;
|
|
53
53
|
cursor: pointer;
|
|
54
54
|
}
|
|
55
|
-
.tools .disable[data-v-
|
|
55
|
+
.tools .disable[data-v-192334e4] {
|
|
56
56
|
cursor: not-allowed;
|
|
57
57
|
-webkit-filter: blur(0.6px);
|
|
58
58
|
filter: blur(0.6px);
|
|
59
59
|
}
|
|
60
|
-
.tools .disable img[data-v-
|
|
60
|
+
.tools .disable img[data-v-192334e4] {
|
|
61
61
|
cursor: not-allowed;
|
|
62
62
|
}
|
|
63
|
-
.tools .wrap[data-v-
|
|
63
|
+
.tools .wrap[data-v-192334e4] {
|
|
64
64
|
position: relative;
|
|
65
65
|
}
|
|
66
|
-
.tools[data-v-
|
|
66
|
+
.tools[data-v-192334e4] .m-colorPicker {
|
|
67
67
|
position: absolute;
|
|
68
68
|
width: 100%;
|
|
69
69
|
left: 0;
|
|
70
70
|
z-index: -1;
|
|
71
71
|
height: 100%;
|
|
72
72
|
}
|
|
73
|
-
.tools[data-v-
|
|
73
|
+
.tools[data-v-192334e4] .m-colorPicker .colorBtn {
|
|
74
74
|
width: 100%;
|
|
75
75
|
height: 100%;
|
|
76
76
|
opacity: 0;
|
|
@@ -351,7 +351,7 @@
|
|
|
351
351
|
color: #999999;
|
|
352
352
|
margin-bottom: 5px;
|
|
353
353
|
}
|
|
354
|
-
.article-item[data-v-
|
|
354
|
+
.article-item[data-v-45d58d86] {
|
|
355
355
|
-webkit-user-select: none;
|
|
356
356
|
-moz-user-select: none;
|
|
357
357
|
-ms-user-select: none;
|
|
@@ -366,7 +366,7 @@
|
|
|
366
366
|
width: 440px;
|
|
367
367
|
position: relative;
|
|
368
368
|
}
|
|
369
|
-
.article-item .icon[data-v-
|
|
369
|
+
.article-item .icon[data-v-45d58d86] {
|
|
370
370
|
width: 14px;
|
|
371
371
|
-webkit-user-select: none;
|
|
372
372
|
-moz-user-select: none;
|
|
@@ -380,7 +380,7 @@
|
|
|
380
380
|
-ms-transform: translate(50%, -50%);
|
|
381
381
|
transform: translate(50%, -50%);
|
|
382
382
|
}
|
|
383
|
-
.article-item img[data-v-
|
|
383
|
+
.article-item img[data-v-45d58d86] {
|
|
384
384
|
width: 80px;
|
|
385
385
|
height: 80px;
|
|
386
386
|
-o-object-fit: cover;
|
|
@@ -389,7 +389,7 @@
|
|
|
389
389
|
-ms-flex-negative: 0;
|
|
390
390
|
flex-shrink: 0;
|
|
391
391
|
}
|
|
392
|
-
.article-item .article-item_right[data-v-
|
|
392
|
+
.article-item .article-item_right[data-v-45d58d86] {
|
|
393
393
|
display: -webkit-box;
|
|
394
394
|
display: -ms-flexbox;
|
|
395
395
|
display: flex;
|
|
@@ -401,7 +401,7 @@
|
|
|
401
401
|
-ms-flex-pack: justify;
|
|
402
402
|
justify-content: space-between;
|
|
403
403
|
}
|
|
404
|
-
.article-item .article-item_right .name[data-v-
|
|
404
|
+
.article-item .article-item_right .name[data-v-45d58d86] {
|
|
405
405
|
font-size: 16px;
|
|
406
406
|
margin-top: 5px;
|
|
407
407
|
line-height: 22px;
|
|
@@ -412,7 +412,7 @@
|
|
|
412
412
|
-o-text-overflow: ellipsis;
|
|
413
413
|
text-overflow: ellipsis;
|
|
414
414
|
}
|
|
415
|
-
.article-item .article-item_right .score[data-v-
|
|
415
|
+
.article-item .article-item_right .score[data-v-45d58d86] {
|
|
416
416
|
color: #999999;
|
|
417
417
|
line-height: 17px;
|
|
418
418
|
font-size: 12px;
|
|
@@ -424,18 +424,18 @@
|
|
|
424
424
|
align-items: center;
|
|
425
425
|
margin-bottom: 6px;
|
|
426
426
|
}
|
|
427
|
-
.article-item .article-item_right .score span[data-v-
|
|
427
|
+
.article-item .article-item_right .score span[data-v-45d58d86]:nth-child(2) {
|
|
428
428
|
margin-left: 10px;
|
|
429
429
|
}
|
|
430
|
-
.article-item .article-item_right .score span[data-v-
|
|
430
|
+
.article-item .article-item_right .score span[data-v-45d58d86]:nth-child(3) {
|
|
431
431
|
margin-left: 10px;
|
|
432
432
|
}
|
|
433
|
-
.article-item .article-item_right .price[data-v-
|
|
433
|
+
.article-item .article-item_right .price[data-v-45d58d86] {
|
|
434
434
|
color: #ff5a25;
|
|
435
435
|
font-size: 16px;
|
|
436
436
|
margin-top: 6px;
|
|
437
437
|
}
|
|
438
|
-
.article-item .article-bg[data-v-
|
|
438
|
+
.article-item .article-bg[data-v-45d58d86] {
|
|
439
439
|
position: absolute;
|
|
440
440
|
width: 440px;
|
|
441
441
|
height: 60px;
|
|
@@ -450,7 +450,7 @@
|
|
|
450
450
|
-webkit-backdrop-filter: blur(3px);
|
|
451
451
|
backdrop-filter: blur(3px);
|
|
452
452
|
}
|
|
453
|
-
.article-item .article-bg-height[data-v-
|
|
453
|
+
.article-item .article-bg-height[data-v-45d58d86] {
|
|
454
454
|
height: 80px;
|
|
455
455
|
line-height: 80px;
|
|
456
456
|
}
|
package/package.json
CHANGED
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@haluo/biz",
|
|
3
|
-
"description": "rich text",
|
|
4
|
-
"version": "1.0.
|
|
5
|
-
"type": "module",
|
|
6
|
-
"module": "./dist/haluo-biz.js",
|
|
7
|
-
"main": "./dist/haluo-biz.umd.cjs",
|
|
8
|
-
"exports": {
|
|
9
|
-
".": {
|
|
10
|
-
"import": "./dist/haluo-biz.js",
|
|
11
|
-
"require": "./dist/haluo-biz.umd.cjs"
|
|
12
|
-
},
|
|
13
|
-
"./dist/style.css": "./dist/style.css"
|
|
14
|
-
},
|
|
15
|
-
"files": [
|
|
16
|
-
"dist"
|
|
17
|
-
],
|
|
18
|
-
"scripts": {
|
|
19
|
-
"dev": "vite",
|
|
20
|
-
"build": "vue-tsc --noEmit && vite build",
|
|
21
|
-
"build:watch": "vue-tsc --noEmit && vite build --watch",
|
|
22
|
-
"preview": "vite preview"
|
|
23
|
-
},
|
|
24
|
-
"dependencies": {
|
|
25
|
-
"element-plus": "^2.2.28",
|
|
26
|
-
"uuid": "^9.0.0",
|
|
27
|
-
"vue": "^3.2.36",
|
|
28
|
-
"vuedraggable": "^4.1.0"
|
|
29
|
-
},
|
|
30
|
-
"devDependencies": {
|
|
31
|
-
"@element-plus/icons-vue": "^2.0.10",
|
|
32
|
-
"@haluo/util": "^1.0.24",
|
|
33
|
-
"@types/node": "^18.7.18",
|
|
34
|
-
"@types/uuid": "^9.0.0",
|
|
35
|
-
"@vitejs/plugin-vue": "^2.1.0",
|
|
36
|
-
"autoprefixer": "^10.4.11",
|
|
37
|
-
"less": "^4.1.3",
|
|
38
|
-
"typescript": "^4.6.4",
|
|
39
|
-
"vite": "^3.1.0",
|
|
40
|
-
"vite-plugin-dts": "^1.5.0",
|
|
41
|
-
"vue-tsc": "^0.40.4"
|
|
42
|
-
},
|
|
43
|
-
"peerDependencies": {
|
|
44
|
-
"vue": "^3.x"
|
|
45
|
-
}
|
|
46
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@haluo/biz",
|
|
3
|
+
"description": "rich text",
|
|
4
|
+
"version": "1.0.21",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"module": "./dist/haluo-biz.js",
|
|
7
|
+
"main": "./dist/haluo-biz.umd.cjs",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./dist/haluo-biz.js",
|
|
11
|
+
"require": "./dist/haluo-biz.umd.cjs"
|
|
12
|
+
},
|
|
13
|
+
"./dist/style.css": "./dist/style.css"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"dist"
|
|
17
|
+
],
|
|
18
|
+
"scripts": {
|
|
19
|
+
"dev": "vite",
|
|
20
|
+
"build": "vue-tsc --noEmit && vite build",
|
|
21
|
+
"build:watch": "vue-tsc --noEmit && vite build --watch",
|
|
22
|
+
"preview": "vite preview"
|
|
23
|
+
},
|
|
24
|
+
"dependencies": {
|
|
25
|
+
"element-plus": "^2.2.28",
|
|
26
|
+
"uuid": "^9.0.0",
|
|
27
|
+
"vue": "^3.2.36",
|
|
28
|
+
"vuedraggable": "^4.1.0"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@element-plus/icons-vue": "^2.0.10",
|
|
32
|
+
"@haluo/util": "^1.0.24",
|
|
33
|
+
"@types/node": "^18.7.18",
|
|
34
|
+
"@types/uuid": "^9.0.0",
|
|
35
|
+
"@vitejs/plugin-vue": "^2.1.0",
|
|
36
|
+
"autoprefixer": "^10.4.11",
|
|
37
|
+
"less": "^4.1.3",
|
|
38
|
+
"typescript": "^4.6.4",
|
|
39
|
+
"vite": "^3.1.0",
|
|
40
|
+
"vite-plugin-dts": "^1.5.0",
|
|
41
|
+
"vue-tsc": "^0.40.4"
|
|
42
|
+
},
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"vue": "^3.x"
|
|
45
|
+
}
|
|
46
|
+
}
|
|
File without changes
|