@haluo/biz 2.0.18 → 2.0.19-beat.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/haluo-biz.js +254 -196
- package/dist/haluo-biz.umd.cjs +259 -201
- package/dist/style.css +8 -10
- package/package.json +1 -1
package/dist/haluo-biz.js
CHANGED
|
@@ -479,8 +479,8 @@ const _sfc_main$7 = {
|
|
|
479
479
|
const target = this.$refs["align"];
|
|
480
480
|
const font = this.$refs["font"];
|
|
481
481
|
const list = this.$refs["list"];
|
|
482
|
-
const
|
|
483
|
-
if ((target == null ? void 0 : target.contains(e)) || (font == null ? void 0 : font.contains(e)) || (list == null ? void 0 : list.contains(e)) || (
|
|
482
|
+
const img2 = this.$refs["img"];
|
|
483
|
+
if ((target == null ? void 0 : target.contains(e)) || (font == null ? void 0 : font.contains(e)) || (list == null ? void 0 : list.contains(e)) || (img2 == null ? void 0 : img2.contains(e)))
|
|
484
484
|
return;
|
|
485
485
|
this.popoverVisible = false;
|
|
486
486
|
this.popoverVisibleFont = false;
|
|
@@ -525,9 +525,9 @@ const _hoisted_1$7 = {
|
|
|
525
525
|
};
|
|
526
526
|
const _hoisted_2$7 = { class: "tools-content" };
|
|
527
527
|
const _hoisted_3$7 = ["src"];
|
|
528
|
-
const _hoisted_4$
|
|
529
|
-
const _hoisted_5$
|
|
530
|
-
const _hoisted_6$
|
|
528
|
+
const _hoisted_4$4 = ["src"];
|
|
529
|
+
const _hoisted_5$3 = ["src"];
|
|
530
|
+
const _hoisted_6$2 = { class: "box" };
|
|
531
531
|
const _hoisted_7$2 = ["src"];
|
|
532
532
|
const _hoisted_8$2 = {
|
|
533
533
|
key: 0,
|
|
@@ -537,10 +537,10 @@ const _hoisted_9$2 = { class: "tools-title" };
|
|
|
537
537
|
const _hoisted_10$2 = ["src"];
|
|
538
538
|
const _hoisted_11$2 = { class: "tools-font" };
|
|
539
539
|
const _hoisted_12$2 = ["onClick"];
|
|
540
|
-
const _hoisted_13$
|
|
541
|
-
const _hoisted_14$
|
|
542
|
-
const _hoisted_15$
|
|
543
|
-
const _hoisted_16$
|
|
540
|
+
const _hoisted_13$1 = { style: { "font-size": "10px" } };
|
|
541
|
+
const _hoisted_14$1 = { class: "box" };
|
|
542
|
+
const _hoisted_15$1 = ["src"];
|
|
543
|
+
const _hoisted_16$1 = {
|
|
544
544
|
key: 0,
|
|
545
545
|
class: "box-mask"
|
|
546
546
|
};
|
|
@@ -569,7 +569,7 @@ const _hoisted_29$1 = {
|
|
|
569
569
|
const _hoisted_30$1 = { class: "box" };
|
|
570
570
|
const _hoisted_31$1 = ["src"];
|
|
571
571
|
const _hoisted_32$1 = ["src"];
|
|
572
|
-
const _hoisted_33
|
|
572
|
+
const _hoisted_33 = ["src"];
|
|
573
573
|
const _hoisted_34 = ["src"];
|
|
574
574
|
const _hoisted_35 = { class: "tools-title" };
|
|
575
575
|
const _hoisted_36 = ["src"];
|
|
@@ -627,7 +627,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
627
627
|
height: "40",
|
|
628
628
|
alt: "",
|
|
629
629
|
onClick: _cache[1] || (_cache[1] = ($event) => $options.forward($event))
|
|
630
|
-
}, null, 12, _hoisted_4$
|
|
630
|
+
}, null, 12, _hoisted_4$4)
|
|
631
631
|
]),
|
|
632
632
|
_: 1
|
|
633
633
|
}),
|
|
@@ -648,7 +648,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
648
648
|
height: "40",
|
|
649
649
|
alt: "",
|
|
650
650
|
onClick: _cache[2] || (_cache[2] = (...args) => $options.clearFormat && $options.clearFormat(...args))
|
|
651
|
-
}, null, 8, _hoisted_5$
|
|
651
|
+
}, null, 8, _hoisted_5$3)
|
|
652
652
|
]),
|
|
653
653
|
_: 1
|
|
654
654
|
}),
|
|
@@ -659,7 +659,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
659
659
|
placement: "top"
|
|
660
660
|
}, {
|
|
661
661
|
default: withCtx(() => [
|
|
662
|
-
createElementVNode("div", _hoisted_6$
|
|
662
|
+
createElementVNode("div", _hoisted_6$2, [
|
|
663
663
|
createElementVNode("img", {
|
|
664
664
|
src: $options.getImageUrl("tools_refresh@3x.png"),
|
|
665
665
|
width: "40",
|
|
@@ -720,7 +720,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
720
720
|
createElementVNode("span", {
|
|
721
721
|
style: normalizeStyle({ fontSize: item.value })
|
|
722
722
|
}, toDisplayString(item.name), 5),
|
|
723
|
-
createElementVNode("span", _hoisted_13$
|
|
723
|
+
createElementVNode("span", _hoisted_13$1, toDisplayString(item.desc), 1)
|
|
724
724
|
], 10, _hoisted_12$2);
|
|
725
725
|
}), 128))
|
|
726
726
|
])), [
|
|
@@ -740,7 +740,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
740
740
|
placement: "top"
|
|
741
741
|
}, {
|
|
742
742
|
default: withCtx(() => [
|
|
743
|
-
createElementVNode("div", _hoisted_14$
|
|
743
|
+
createElementVNode("div", _hoisted_14$1, [
|
|
744
744
|
createElementVNode("img", {
|
|
745
745
|
src: $options.getImageUrl("tools_title@3x.png"),
|
|
746
746
|
"data-editor-id": "makeHeader",
|
|
@@ -748,8 +748,8 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
748
748
|
height: "40",
|
|
749
749
|
alt: "",
|
|
750
750
|
onClick: _cache[5] || (_cache[5] = ($event) => $options.setTitle($event, $data.statusInfo.title ? 0 : 1))
|
|
751
|
-
}, null, 8, _hoisted_15$
|
|
752
|
-
$data.statusInfo && $data.statusInfo.title ? (openBlock(), createElementBlock("div", _hoisted_16$
|
|
751
|
+
}, null, 8, _hoisted_15$1),
|
|
752
|
+
$data.statusInfo && $data.statusInfo.title ? (openBlock(), createElementBlock("div", _hoisted_16$1)) : createCommentVNode("", true)
|
|
753
753
|
])
|
|
754
754
|
]),
|
|
755
755
|
_: 1
|
|
@@ -926,7 +926,7 @@ function _sfc_render$3(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
926
926
|
width: "24",
|
|
927
927
|
height: "40",
|
|
928
928
|
alt: ""
|
|
929
|
-
}, null, 8, _hoisted_33
|
|
929
|
+
}, null, 8, _hoisted_33),
|
|
930
930
|
createElementVNode("img", {
|
|
931
931
|
src: $options.getImageUrl("tools_arrow@3x.png"),
|
|
932
932
|
width: "16",
|
|
@@ -1111,14 +1111,12 @@ const index_vue_vue_type_style_index_0_lang$4 = "";
|
|
|
1111
1111
|
const _hoisted_1$6 = { key: 0 };
|
|
1112
1112
|
const _hoisted_2$6 = { class: "basic-dialog_title" };
|
|
1113
1113
|
const _hoisted_3$6 = /* @__PURE__ */ createElementVNode("span", { class: "basic-dialog_divider" }, null, -1);
|
|
1114
|
-
const _hoisted_4$
|
|
1114
|
+
const _hoisted_4$3 = {
|
|
1115
1115
|
key: 0,
|
|
1116
1116
|
class: "dialog-footer"
|
|
1117
1117
|
};
|
|
1118
|
-
const
|
|
1119
|
-
|
|
1120
|
-
const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
1121
|
-
name: "index",
|
|
1118
|
+
const _sfc_main$6 = defineComponent({
|
|
1119
|
+
__name: "index",
|
|
1122
1120
|
props: {
|
|
1123
1121
|
visible: { type: Boolean, default: false },
|
|
1124
1122
|
showBtn: { type: Boolean, default: true },
|
|
@@ -1126,9 +1124,10 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
1126
1124
|
showTitle: { type: Boolean, default: true }
|
|
1127
1125
|
},
|
|
1128
1126
|
emits: ["submit", "cancel"],
|
|
1129
|
-
setup(__props, { emit:
|
|
1127
|
+
setup(__props, { emit: __emit }) {
|
|
1130
1128
|
const props = __props;
|
|
1131
1129
|
const parent = inject("vm");
|
|
1130
|
+
const emits = __emit;
|
|
1132
1131
|
const handleClose = () => {
|
|
1133
1132
|
var _a;
|
|
1134
1133
|
(_a = parent.setStatus) == null ? void 0 : _a.call(parent, false);
|
|
@@ -1150,14 +1149,14 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
1150
1149
|
});
|
|
1151
1150
|
return (_ctx, _cache) => {
|
|
1152
1151
|
return openBlock(), createBlock(unref(ElDialog), {
|
|
1153
|
-
modelValue:
|
|
1154
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
1152
|
+
modelValue: dialogVisible.value,
|
|
1153
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => dialogVisible.value = $event),
|
|
1155
1154
|
"before-close": handleClose,
|
|
1156
|
-
width:
|
|
1157
|
-
class: normalizeClass(["basic-dialog", { "hide-title": !
|
|
1155
|
+
width: _ctx.width,
|
|
1156
|
+
class: normalizeClass(["basic-dialog", { "hide-title": !_ctx.showTitle }])
|
|
1158
1157
|
}, {
|
|
1159
1158
|
header: withCtx(() => [
|
|
1160
|
-
|
|
1159
|
+
_ctx.showTitle ? (openBlock(), createElementBlock("div", _hoisted_1$6, [
|
|
1161
1160
|
createElementVNode("div", _hoisted_2$6, [
|
|
1162
1161
|
_hoisted_3$6,
|
|
1163
1162
|
renderSlot(_ctx.$slots, "title")
|
|
@@ -1165,7 +1164,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
1165
1164
|
])) : createCommentVNode("", true)
|
|
1166
1165
|
]),
|
|
1167
1166
|
footer: withCtx(() => [
|
|
1168
|
-
|
|
1167
|
+
_ctx.showBtn ? (openBlock(), createElementBlock("span", _hoisted_4$3, [
|
|
1169
1168
|
createVNode(unref(ElButton), {
|
|
1170
1169
|
style: { "width": "120px", "border-color": "#cccccc", "color": "#333333" },
|
|
1171
1170
|
plain: "",
|
|
@@ -1173,7 +1172,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
1173
1172
|
onClick: handleClose
|
|
1174
1173
|
}, {
|
|
1175
1174
|
default: withCtx(() => [
|
|
1176
|
-
|
|
1175
|
+
createTextVNode("\u53D6\u6D88")
|
|
1177
1176
|
]),
|
|
1178
1177
|
_: 1
|
|
1179
1178
|
}),
|
|
@@ -1184,7 +1183,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
1184
1183
|
onClick: confirm
|
|
1185
1184
|
}, {
|
|
1186
1185
|
default: withCtx(() => [
|
|
1187
|
-
|
|
1186
|
+
createTextVNode("\u786E\u8BA4")
|
|
1188
1187
|
]),
|
|
1189
1188
|
_: 1
|
|
1190
1189
|
})
|
|
@@ -1207,7 +1206,7 @@ Object.defineProperty(date$1.exports, "__esModule", { value: true });
|
|
|
1207
1206
|
function replacementDate(data, fmt) {
|
|
1208
1207
|
for (var k in data) {
|
|
1209
1208
|
if (new RegExp("(" + k + ")").test(fmt)) {
|
|
1210
|
-
fmt = fmt.replace(RegExp.$1, RegExp.$1.length === 1 ? data[k] :
|
|
1209
|
+
fmt = fmt.replace(RegExp.$1, RegExp.$1.length === 1 ? data[k] : "00".concat(data[k]).substr(("" + data[k]).length));
|
|
1211
1210
|
}
|
|
1212
1211
|
}
|
|
1213
1212
|
return fmt;
|
|
@@ -1250,7 +1249,7 @@ var DateClass = function() {
|
|
|
1250
1249
|
};
|
|
1251
1250
|
fmt = replacementYear(timeData, fmt);
|
|
1252
1251
|
if (/(E+)/.test(fmt)) {
|
|
1253
|
-
fmt = fmt.replace(RegExp.$1, (RegExp.$1.length > 1 ? RegExp.$1.length > 2 ? "\u661F\u671F" : "\u5468" : "") + week[timeData.getDay()
|
|
1252
|
+
fmt = fmt.replace(RegExp.$1, (RegExp.$1.length > 1 ? RegExp.$1.length > 2 ? "\u661F\u671F" : "\u5468" : "") + week["".concat(timeData.getDay(), " ")]);
|
|
1254
1253
|
}
|
|
1255
1254
|
return replacementDate(o, fmt);
|
|
1256
1255
|
};
|
|
@@ -1271,10 +1270,10 @@ var DateClass = function() {
|
|
|
1271
1270
|
if (ts <= 0)
|
|
1272
1271
|
return false;
|
|
1273
1272
|
return {
|
|
1274
|
-
dd: dd < 10 ? "0"
|
|
1275
|
-
hh: hh < 10 ? "0"
|
|
1276
|
-
mm: mm < 10 ? "0"
|
|
1277
|
-
ss: ss < 10 ? "0"
|
|
1273
|
+
dd: dd < 10 ? "0".concat(dd) : dd,
|
|
1274
|
+
hh: hh < 10 ? "0".concat(hh) : hh,
|
|
1275
|
+
mm: mm < 10 ? "0".concat(mm) : mm,
|
|
1276
|
+
ss: ss < 10 ? "0".concat(ss) : ss
|
|
1278
1277
|
};
|
|
1279
1278
|
};
|
|
1280
1279
|
DateClass2.prototype.formatPassTime = function(startTime) {
|
|
@@ -1282,19 +1281,19 @@ var DateClass = function() {
|
|
|
1282
1281
|
var time = currentTime - startTime;
|
|
1283
1282
|
var year = Math.floor(time / (1e3 * 60 * 60 * 24) / 30 / 12);
|
|
1284
1283
|
if (year)
|
|
1285
|
-
return year
|
|
1284
|
+
return "".concat(year, "\u5E74\u524D");
|
|
1286
1285
|
var month = Math.floor(time / (1e3 * 60 * 60 * 24) / 30);
|
|
1287
1286
|
if (month)
|
|
1288
|
-
return month
|
|
1287
|
+
return "".concat(month, "\u4E2A\u6708\u524D");
|
|
1289
1288
|
var day = Math.floor(time / (1e3 * 60 * 60 * 24));
|
|
1290
1289
|
if (day)
|
|
1291
|
-
return day
|
|
1290
|
+
return "".concat(day, "\u5929\u524D");
|
|
1292
1291
|
var hour = Math.floor(time / (1e3 * 60 * 60));
|
|
1293
1292
|
if (hour)
|
|
1294
|
-
return hour
|
|
1293
|
+
return "".concat(hour, "\u5C0F\u65F6\u524D");
|
|
1295
1294
|
var min = Math.floor(time / (1e3 * 60));
|
|
1296
1295
|
if (min)
|
|
1297
|
-
return min
|
|
1296
|
+
return "".concat(min, "\u5206\u949F\u524D");
|
|
1298
1297
|
else
|
|
1299
1298
|
return "\u521A\u521A";
|
|
1300
1299
|
};
|
|
@@ -3165,13 +3164,13 @@ function requireCloneDeep() {
|
|
|
3165
3164
|
return cloneDeep_1;
|
|
3166
3165
|
}
|
|
3167
3166
|
/*! clipboard-copy. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
3168
|
-
var
|
|
3169
|
-
var
|
|
3170
|
-
function
|
|
3171
|
-
if (
|
|
3172
|
-
return
|
|
3173
|
-
|
|
3174
|
-
|
|
3167
|
+
var _clipboardCopy_4_0_1_clipboardCopy;
|
|
3168
|
+
var hasRequired_clipboardCopy_4_0_1_clipboardCopy;
|
|
3169
|
+
function require_clipboardCopy_4_0_1_clipboardCopy() {
|
|
3170
|
+
if (hasRequired_clipboardCopy_4_0_1_clipboardCopy)
|
|
3171
|
+
return _clipboardCopy_4_0_1_clipboardCopy;
|
|
3172
|
+
hasRequired_clipboardCopy_4_0_1_clipboardCopy = 1;
|
|
3173
|
+
_clipboardCopy_4_0_1_clipboardCopy = clipboardCopy;
|
|
3175
3174
|
function makeError() {
|
|
3176
3175
|
return new DOMException("The request is not allowed", "NotAllowedError");
|
|
3177
3176
|
}
|
|
@@ -3214,7 +3213,7 @@ function requireClipboardCopy() {
|
|
|
3214
3213
|
}
|
|
3215
3214
|
}
|
|
3216
3215
|
}
|
|
3217
|
-
return
|
|
3216
|
+
return _clipboardCopy_4_0_1_clipboardCopy;
|
|
3218
3217
|
}
|
|
3219
3218
|
Object.defineProperty(tools$1.exports, "__esModule", { value: true });
|
|
3220
3219
|
var previous = 0;
|
|
@@ -3233,7 +3232,7 @@ var ToolsClass = function() {
|
|
|
3233
3232
|
body.style.overflow = "hidden";
|
|
3234
3233
|
body.style.height = "100%";
|
|
3235
3234
|
if (className) {
|
|
3236
|
-
var dom = document.querySelector("."
|
|
3235
|
+
var dom = document.querySelector(".".concat(className));
|
|
3237
3236
|
dom && dom.addEventListener("touchmove", _this.__setDefault__);
|
|
3238
3237
|
}
|
|
3239
3238
|
};
|
|
@@ -3248,7 +3247,7 @@ var ToolsClass = function() {
|
|
|
3248
3247
|
body.style.overflow = "visible";
|
|
3249
3248
|
body.style.height = "auto";
|
|
3250
3249
|
if (className) {
|
|
3251
|
-
var dom = document.querySelector("."
|
|
3250
|
+
var dom = document.querySelector(".".concat(className));
|
|
3252
3251
|
dom && dom.removeEventListener("touchmove", _this.__setDefault__);
|
|
3253
3252
|
}
|
|
3254
3253
|
};
|
|
@@ -3376,7 +3375,7 @@ var ToolsClass = function() {
|
|
|
3376
3375
|
if (!(window && window.document)) {
|
|
3377
3376
|
return new Error("\u4EC5\u652F\u6301\u6D4F\u89C8\u5668");
|
|
3378
3377
|
}
|
|
3379
|
-
var copy =
|
|
3378
|
+
var copy = require_clipboardCopy_4_0_1_clipboardCopy();
|
|
3380
3379
|
return copy(str);
|
|
3381
3380
|
};
|
|
3382
3381
|
ToolsClass2.prototype.firstUpperCase = function(str) {
|
|
@@ -3462,49 +3461,44 @@ var ToolsClass = function() {
|
|
|
3462
3461
|
sensitiveLen = 0;
|
|
3463
3462
|
}
|
|
3464
3463
|
var regItem = "[\u4E00-\u9FA5a-zA-Z0-9]";
|
|
3465
|
-
var regExp = "("
|
|
3464
|
+
var regExp = "(".concat(regItem, "{").concat(before, "})").concat(regItem, "*(").concat(regItem, "{").concat(after, "})");
|
|
3466
3465
|
var reg = new RegExp(regExp);
|
|
3467
|
-
return field.replace(reg, "$1"
|
|
3466
|
+
return field.replace(reg, "$1".concat("*".repeat(sensitiveLen), "$2"));
|
|
3468
3467
|
};
|
|
3469
3468
|
return ToolsClass2;
|
|
3470
3469
|
}();
|
|
3471
3470
|
tools$1.exports = new ToolsClass();
|
|
3472
3471
|
const tools = /* @__PURE__ */ getDefaultExportFromCjs(tools$1.exports);
|
|
3473
3472
|
const index_vue_vue_type_style_index_0_lang$3 = "";
|
|
3474
|
-
const _hoisted_1$5 =
|
|
3475
|
-
const _hoisted_2$5 = {
|
|
3476
|
-
const _hoisted_3$5 = { class: "insert-
|
|
3477
|
-
const _hoisted_4$
|
|
3478
|
-
const _hoisted_5$3 = /* @__PURE__ */ createTextVNode("\u4ECE\u6211\u7684\u89C6\u9891\u4E2D\u9009\u62E9");
|
|
3479
|
-
const _hoisted_6$1 = /* @__PURE__ */ createTextVNode("\u4ECE\u6240\u6709\u6587\u7AE0\u4E2D\u9009\u62E9");
|
|
3480
|
-
const _hoisted_7$1 = { class: "insert-article_input" };
|
|
3481
|
-
const _hoisted_8$1 = {
|
|
3473
|
+
const _hoisted_1$5 = { style: { "margin-left": "20px", "color": "#FF5A25" } };
|
|
3474
|
+
const _hoisted_2$5 = { class: "insert-article" };
|
|
3475
|
+
const _hoisted_3$5 = { class: "insert-article_input" };
|
|
3476
|
+
const _hoisted_4$2 = {
|
|
3482
3477
|
key: 0,
|
|
3483
3478
|
class: "nodata"
|
|
3484
3479
|
};
|
|
3485
|
-
const
|
|
3486
|
-
const
|
|
3480
|
+
const _hoisted_5$2 = ["infinite-scroll-disabled"];
|
|
3481
|
+
const _hoisted_6$1 = {
|
|
3487
3482
|
key: 0,
|
|
3488
3483
|
class: "video-item"
|
|
3489
3484
|
};
|
|
3490
|
-
const
|
|
3491
|
-
const
|
|
3492
|
-
const
|
|
3493
|
-
const
|
|
3494
|
-
const
|
|
3495
|
-
const
|
|
3485
|
+
const _hoisted_7$1 = { class: "video-pic" };
|
|
3486
|
+
const _hoisted_8$1 = ["src"];
|
|
3487
|
+
const _hoisted_9$1 = ["src"];
|
|
3488
|
+
const _hoisted_10$1 = { class: "video-text" };
|
|
3489
|
+
const _hoisted_11$1 = { class: "dotdotdot2" };
|
|
3490
|
+
const _hoisted_12$1 = {
|
|
3496
3491
|
key: 1,
|
|
3497
3492
|
style: { "display": "inline-flex", "flex-direction": "column" }
|
|
3498
3493
|
};
|
|
3499
|
-
const _sfc_main$5 =
|
|
3500
|
-
|
|
3494
|
+
const _sfc_main$5 = defineComponent({
|
|
3495
|
+
__name: "index",
|
|
3501
3496
|
props: {
|
|
3502
3497
|
visible: { type: Boolean, default: false },
|
|
3503
|
-
getList:
|
|
3498
|
+
getList: {}
|
|
3504
3499
|
},
|
|
3505
3500
|
emits: ["change", "submit", "update:visible"],
|
|
3506
|
-
setup(__props, { emit:
|
|
3507
|
-
const props = __props;
|
|
3501
|
+
setup(__props, { emit: __emit }) {
|
|
3508
3502
|
const { debounce } = tools;
|
|
3509
3503
|
const vInfiniteScroll = ElInfiniteScroll;
|
|
3510
3504
|
const Radio_Type = {
|
|
@@ -3523,7 +3517,9 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3523
3517
|
emits("update:visible", val);
|
|
3524
3518
|
}
|
|
3525
3519
|
});
|
|
3520
|
+
const props = __props;
|
|
3526
3521
|
const { visible, getList } = toRefs(props);
|
|
3522
|
+
const emits = __emit;
|
|
3527
3523
|
const data = reactive({
|
|
3528
3524
|
params: {
|
|
3529
3525
|
autherid: "",
|
|
@@ -3595,12 +3591,12 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3595
3591
|
}, {
|
|
3596
3592
|
title: withCtx(() => [
|
|
3597
3593
|
createElementVNode("span", null, [
|
|
3598
|
-
|
|
3599
|
-
createElementVNode("strong",
|
|
3594
|
+
createTextVNode("\u63D2\u5165\u6587\u7AE0/\u89C6\u9891"),
|
|
3595
|
+
createElementVNode("strong", _hoisted_1$5, "\u5E73\u53F0\u4EC5\u652F\u6301\u63D2\u5165" + toDisplayString(`${isVideo.value ? "2\u5E74" : "18\u4E2A\u6708"}`) + "\u5185\u7684\u63A8\u8350\u5185\u5BB9", 1)
|
|
3600
3596
|
])
|
|
3601
3597
|
]),
|
|
3602
3598
|
default: withCtx(() => [
|
|
3603
|
-
createElementVNode("div",
|
|
3599
|
+
createElementVNode("div", _hoisted_2$5, [
|
|
3604
3600
|
createElementVNode("div", null, [
|
|
3605
3601
|
createVNode(unref(ElRadio), {
|
|
3606
3602
|
modelValue: data.params.radio,
|
|
@@ -3608,7 +3604,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3608
3604
|
label: Radio_Type.MY_ARITICLE
|
|
3609
3605
|
}, {
|
|
3610
3606
|
default: withCtx(() => [
|
|
3611
|
-
|
|
3607
|
+
createTextVNode("\u4ECE\u6211\u7684\u6587\u7AE0\u4E2D\u9009\u62E9")
|
|
3612
3608
|
]),
|
|
3613
3609
|
_: 1
|
|
3614
3610
|
}, 8, ["modelValue", "label"]),
|
|
@@ -3618,7 +3614,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3618
3614
|
label: Radio_Type.MY_VIDEO
|
|
3619
3615
|
}, {
|
|
3620
3616
|
default: withCtx(() => [
|
|
3621
|
-
|
|
3617
|
+
createTextVNode("\u4ECE\u6211\u7684\u89C6\u9891\u4E2D\u9009\u62E9")
|
|
3622
3618
|
]),
|
|
3623
3619
|
_: 1
|
|
3624
3620
|
}, 8, ["modelValue", "label"]),
|
|
@@ -3628,16 +3624,16 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3628
3624
|
label: Radio_Type.ALL_ARITICLE
|
|
3629
3625
|
}, {
|
|
3630
3626
|
default: withCtx(() => [
|
|
3631
|
-
|
|
3627
|
+
createTextVNode("\u4ECE\u6240\u6709\u6587\u7AE0\u4E2D\u9009\u62E9")
|
|
3632
3628
|
]),
|
|
3633
3629
|
_: 1
|
|
3634
3630
|
}, 8, ["modelValue", "label"])
|
|
3635
3631
|
]),
|
|
3636
|
-
createElementVNode("div",
|
|
3632
|
+
createElementVNode("div", _hoisted_3$5, [
|
|
3637
3633
|
createVNode(unref(ElInput), {
|
|
3638
3634
|
modelValue: data.params.title,
|
|
3639
3635
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => data.params.title = $event),
|
|
3640
|
-
placeholder:
|
|
3636
|
+
placeholder: isVideo.value ? "\u8F93\u5165\u89C6\u9891\u63CF\u8FF0\u67E5\u627E\u5E73\u53F0\u53D1\u5E03\u8FC7\u7684\u89C6\u9891" : "\u8F93\u5165\u6807\u9898\u540D\u67E5\u627E\u5E73\u53F0\u53D1\u8FC7\u7684\u6587\u7AE0",
|
|
3641
3637
|
onKeyup: _cache[5] || (_cache[5] = withKeys(($event) => unref(getArticleList)(true), ["enter", "native"])),
|
|
3642
3638
|
onInput: _cache[6] || (_cache[6] = ($event) => unref(getArticleList)(true))
|
|
3643
3639
|
}, {
|
|
@@ -3651,11 +3647,11 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3651
3647
|
_: 1
|
|
3652
3648
|
}, 8, ["modelValue", "placeholder"])
|
|
3653
3649
|
]),
|
|
3654
|
-
data.data.length === 0 && !data.busy ? (openBlock(), createElementBlock("div",
|
|
3650
|
+
data.data.length === 0 && !data.busy ? (openBlock(), createElementBlock("div", _hoisted_4$2, toDisplayString(`\u6CA1\u6709\u7B26\u5408\u6761\u4EF6\u7684${isVideo.value ? "\u89C6\u9891" : "\u6587\u7AE0"}\u54E6\uFF0C\u4F60\u53EF\u4EE5\u8BD5\u8BD5\u641C\u7D22\u5176\u4ED6${isVideo.value ? "\u89C6\u9891" : "\u6587\u7AE0"}\uFF5E`), 1)) : withDirectives((openBlock(), createElementBlock("div", {
|
|
3655
3651
|
key: 1,
|
|
3656
3652
|
"infinite-scroll-immediate": false,
|
|
3657
3653
|
class: "insert-article_list",
|
|
3658
|
-
"infinite-scroll-disabled":
|
|
3654
|
+
"infinite-scroll-disabled": disable.value
|
|
3659
3655
|
}, [
|
|
3660
3656
|
(openBlock(true), createElementBlock(Fragment, null, renderList(data.data, (item, index) => {
|
|
3661
3657
|
return openBlock(), createElementBlock("div", {
|
|
@@ -3671,22 +3667,22 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3671
3667
|
default: withCtx(() => {
|
|
3672
3668
|
var _a;
|
|
3673
3669
|
return [
|
|
3674
|
-
|
|
3675
|
-
createElementVNode("div",
|
|
3670
|
+
isVideo.value ? (openBlock(), createElementBlock("div", _hoisted_6$1, [
|
|
3671
|
+
createElementVNode("div", _hoisted_7$1, [
|
|
3676
3672
|
createElementVNode("img", {
|
|
3677
3673
|
class: "video-pic",
|
|
3678
3674
|
src: (_a = item == null ? void 0 : item.mediaInfo[0]) == null ? void 0 : _a.img
|
|
3679
|
-
}, null, 8,
|
|
3675
|
+
}, null, 8, _hoisted_8$1),
|
|
3680
3676
|
createElementVNode("img", {
|
|
3681
3677
|
class: "play",
|
|
3682
3678
|
src: getImageUrl("play.png")
|
|
3683
|
-
}, null, 8,
|
|
3679
|
+
}, null, 8, _hoisted_9$1)
|
|
3684
3680
|
]),
|
|
3685
|
-
createElementVNode("div",
|
|
3686
|
-
createElementVNode("span",
|
|
3681
|
+
createElementVNode("div", _hoisted_10$1, [
|
|
3682
|
+
createElementVNode("span", _hoisted_11$1, toDisplayString(item.content || "[\u65E0\u6807\u9898]"), 1),
|
|
3687
3683
|
createElementVNode("span", null, toDisplayString(unref(date).format(item.createTime * 1e3, "YYYY-MM-DD hh-mm")), 1)
|
|
3688
3684
|
])
|
|
3689
|
-
])) : (openBlock(), createElementBlock("div",
|
|
3685
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_12$1, [
|
|
3690
3686
|
createElementVNode("span", null, toDisplayString(item.title || "[\u65E0\u6807\u9898]"), 1),
|
|
3691
3687
|
createElementVNode("span", null, toDisplayString(unref(date).format(item.createTime * 1e3, "YYYY-MM-DD")), 1)
|
|
3692
3688
|
]))
|
|
@@ -3696,7 +3692,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3696
3692
|
}, 1032, ["modelValue", "label", "onChange"])
|
|
3697
3693
|
]);
|
|
3698
3694
|
}), 128))
|
|
3699
|
-
], 8,
|
|
3695
|
+
], 8, _hoisted_5$2)), [
|
|
3700
3696
|
[unref(vInfiniteScroll), unref(getArticleList)]
|
|
3701
3697
|
])
|
|
3702
3698
|
])
|
|
@@ -3722,7 +3718,7 @@ for (let i = 0; i < 256; ++i) {
|
|
|
3722
3718
|
byteToHex.push((i + 256).toString(16).slice(1));
|
|
3723
3719
|
}
|
|
3724
3720
|
function unsafeStringify(arr, offset = 0) {
|
|
3725
|
-
return
|
|
3721
|
+
return byteToHex[arr[offset + 0]] + byteToHex[arr[offset + 1]] + byteToHex[arr[offset + 2]] + byteToHex[arr[offset + 3]] + "-" + byteToHex[arr[offset + 4]] + byteToHex[arr[offset + 5]] + "-" + byteToHex[arr[offset + 6]] + byteToHex[arr[offset + 7]] + "-" + byteToHex[arr[offset + 8]] + byteToHex[arr[offset + 9]] + "-" + byteToHex[arr[offset + 10]] + byteToHex[arr[offset + 11]] + byteToHex[arr[offset + 12]] + byteToHex[arr[offset + 13]] + byteToHex[arr[offset + 14]] + byteToHex[arr[offset + 15]];
|
|
3726
3722
|
}
|
|
3727
3723
|
const randomUUID = typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
3728
3724
|
const native = {
|
|
@@ -3749,11 +3745,11 @@ const index_vue_vue_type_style_index_0_lang$2 = "";
|
|
|
3749
3745
|
const _hoisted_1$4 = { class: "img-upload-content" };
|
|
3750
3746
|
const _hoisted_2$4 = { class: "title-box" };
|
|
3751
3747
|
const _hoisted_3$4 = ["onClick"];
|
|
3752
|
-
const _hoisted_4$
|
|
3748
|
+
const _hoisted_4$1 = {
|
|
3753
3749
|
key: 0,
|
|
3754
3750
|
class: "line"
|
|
3755
3751
|
};
|
|
3756
|
-
const _hoisted_5$
|
|
3752
|
+
const _hoisted_5$1 = {
|
|
3757
3753
|
key: 0,
|
|
3758
3754
|
class: "prompt-restriction"
|
|
3759
3755
|
};
|
|
@@ -3790,27 +3786,26 @@ const _hoisted_19 = {
|
|
|
3790
3786
|
class: "map-depot"
|
|
3791
3787
|
};
|
|
3792
3788
|
const _hoisted_20 = { class: "screen" };
|
|
3793
|
-
const _hoisted_21 =
|
|
3794
|
-
const _hoisted_22 = {
|
|
3795
|
-
const _hoisted_23 =
|
|
3796
|
-
const _hoisted_24 =
|
|
3797
|
-
const _hoisted_25 = {
|
|
3789
|
+
const _hoisted_21 = { key: 0 };
|
|
3790
|
+
const _hoisted_22 = { class: "tab-box" };
|
|
3791
|
+
const _hoisted_23 = ["onClick"];
|
|
3792
|
+
const _hoisted_24 = {
|
|
3798
3793
|
key: 0,
|
|
3799
3794
|
class: "line"
|
|
3800
3795
|
};
|
|
3801
|
-
const
|
|
3802
|
-
const
|
|
3803
|
-
const
|
|
3804
|
-
const
|
|
3796
|
+
const _hoisted_25 = { class: "image-list depot-image" };
|
|
3797
|
+
const _hoisted_26 = ["onClick"];
|
|
3798
|
+
const _hoisted_27 = ["src"];
|
|
3799
|
+
const _hoisted_28 = {
|
|
3805
3800
|
key: 0,
|
|
3806
3801
|
class: "shade"
|
|
3807
3802
|
};
|
|
3808
|
-
const
|
|
3809
|
-
const
|
|
3803
|
+
const _hoisted_29 = { class: "num" };
|
|
3804
|
+
const _hoisted_30 = {
|
|
3810
3805
|
key: 1,
|
|
3811
3806
|
class: "protocol-box"
|
|
3812
3807
|
};
|
|
3813
|
-
const
|
|
3808
|
+
const _hoisted_31 = /* @__PURE__ */ createElementVNode("div", null, [
|
|
3814
3809
|
/* @__PURE__ */ createElementVNode("div", null, " \u56FE\u5E93\u4E2D\u7684\u56FE\u7247\u4EC5\u9650\u4E0B\u8F7D\u6469\u6258\u8303\u4EE5\u7F16\u8F91\u53D1\u5E03\u6587\u7AE0\u4F7F\u7528,\u4E0D\u5F97\u7528\u4E8E\u5176\u4ED6\u4EFB\u4F55\u5E73\u53F0\u53CA\u7528\u9014 "),
|
|
3815
3810
|
/* @__PURE__ */ createElementVNode("div", null, [
|
|
3816
3811
|
/* @__PURE__ */ createTextVNode(" \u8BF7\u9605\u8BFB"),
|
|
@@ -3823,11 +3818,11 @@ const _hoisted_32 = /* @__PURE__ */ createElementVNode("div", null, [
|
|
|
3823
3818
|
/* @__PURE__ */ createTextVNode(",\u60A8\u7684\u884C\u4E3A\u89C6\u4E3A\u60A8\u5DF2\u540C\u610F\u8BE5\u534F\u8BAE\u3002 ")
|
|
3824
3819
|
])
|
|
3825
3820
|
], -1);
|
|
3826
|
-
const
|
|
3827
|
-
|
|
3821
|
+
const _hoisted_32 = [
|
|
3822
|
+
_hoisted_31
|
|
3828
3823
|
];
|
|
3829
|
-
const _sfc_main$4 =
|
|
3830
|
-
|
|
3824
|
+
const _sfc_main$4 = defineComponent({
|
|
3825
|
+
__name: "index",
|
|
3831
3826
|
props: {
|
|
3832
3827
|
visible: { type: Boolean, default: false },
|
|
3833
3828
|
imgList: { default: [] },
|
|
@@ -3836,7 +3831,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3836
3831
|
imgNum: { default: 20 }
|
|
3837
3832
|
},
|
|
3838
3833
|
emits: ["update:imgList", "update:visible", "submit"],
|
|
3839
|
-
setup(__props, { emit:
|
|
3834
|
+
setup(__props, { emit: __emit }) {
|
|
3835
|
+
const emits = __emit;
|
|
3840
3836
|
const props = __props;
|
|
3841
3837
|
const drag = ref(false);
|
|
3842
3838
|
const imgListTemp = computed({
|
|
@@ -3870,8 +3866,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3870
3866
|
e.target.value = "";
|
|
3871
3867
|
emits("update:imgList", tempImgs);
|
|
3872
3868
|
};
|
|
3873
|
-
const deleteImg = (
|
|
3874
|
-
const arr = props.imgList.filter((item) => item.id !==
|
|
3869
|
+
const deleteImg = (img2) => {
|
|
3870
|
+
const arr = props.imgList.filter((item) => item.id !== img2.id);
|
|
3875
3871
|
emits("update:imgList", arr);
|
|
3876
3872
|
};
|
|
3877
3873
|
const emitEvent = () => {
|
|
@@ -3934,9 +3930,9 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
3934
3930
|
const imgList = node.querySelectorAll(".halo-picture-area");
|
|
3935
3931
|
if (imgList && imgList.length) {
|
|
3936
3932
|
const list = [];
|
|
3937
|
-
imgList.forEach((
|
|
3938
|
-
if (!list.includes(
|
|
3939
|
-
list.push(
|
|
3933
|
+
imgList.forEach((img2) => {
|
|
3934
|
+
if (!list.includes(img2.src)) {
|
|
3935
|
+
list.push(img2.src);
|
|
3940
3936
|
}
|
|
3941
3937
|
});
|
|
3942
3938
|
list.forEach((src, i) => {
|
|
@@ -4119,15 +4115,15 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4119
4115
|
onClick: ($event) => changeTab(item)
|
|
4120
4116
|
}, [
|
|
4121
4117
|
createTextVNode(toDisplayString(item.value) + " ", 1),
|
|
4122
|
-
item.id === activeTitle.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
4118
|
+
item.id === activeTitle.value ? (openBlock(), createElementBlock("div", _hoisted_4$1)) : createCommentVNode("", true)
|
|
4123
4119
|
], 10, _hoisted_3$4);
|
|
4124
4120
|
}), 128)),
|
|
4125
|
-
[1, 3].includes(activeTitle.value) && props.imgList.length ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
4121
|
+
[1, 3].includes(activeTitle.value) && props.imgList.length ? (openBlock(), createElementBlock("div", _hoisted_5$1, " \u6700\u591A\u53EF\u9009" + toDisplayString(props.imgNum) + "\u5F20\u56FE\u7247\uFF0C\u5DF2\u9009" + toDisplayString(props.imgList.length) + "\u5F20 ", 1)) : createCommentVNode("", true),
|
|
4126
4122
|
activeTitle.value === 2 && props.imgList.length > 1 ? (openBlock(), createElementBlock("div", _hoisted_6, toDisplayString(props.imgList.length) + "\u5F20\u4E0A\u4F20\u6210\u529F \u62D6\u52A8\u53EF\u8C03\u6574\u987A\u5E8F ", 1)) : createCommentVNode("", true)
|
|
4127
4123
|
]),
|
|
4128
4124
|
activeTitle.value === 1 ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
4129
4125
|
createElementVNode("div", _hoisted_8, [
|
|
4130
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
4126
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(contentImgList.value, (item, index) => {
|
|
4131
4127
|
return openBlock(), createElementBlock("div", {
|
|
4132
4128
|
key: index,
|
|
4133
4129
|
class: "image-item",
|
|
@@ -4165,8 +4161,8 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4165
4161
|
_hoisted_15
|
|
4166
4162
|
])) : (openBlock(), createElementBlock("div", _hoisted_16, [
|
|
4167
4163
|
createVNode(unref(draggable), {
|
|
4168
|
-
modelValue:
|
|
4169
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
4164
|
+
modelValue: imgListTemp.value,
|
|
4165
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => imgListTemp.value = $event),
|
|
4170
4166
|
handle: ".img-item",
|
|
4171
4167
|
class: "img-wrap",
|
|
4172
4168
|
group: "people",
|
|
@@ -4291,13 +4287,13 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4291
4287
|
onClick: search
|
|
4292
4288
|
}, {
|
|
4293
4289
|
default: withCtx(() => [
|
|
4294
|
-
|
|
4290
|
+
createTextVNode("\u641C\u7D22")
|
|
4295
4291
|
]),
|
|
4296
4292
|
_: 1
|
|
4297
4293
|
})
|
|
4298
4294
|
]),
|
|
4299
|
-
tabList.value && tabList.value.length ? (openBlock(), createElementBlock("div",
|
|
4300
|
-
createElementVNode("div",
|
|
4295
|
+
tabList.value && tabList.value.length ? (openBlock(), createElementBlock("div", _hoisted_21, [
|
|
4296
|
+
createElementVNode("div", _hoisted_22, [
|
|
4301
4297
|
(openBlock(true), createElementBlock(Fragment, null, renderList(tabList.value, (item, index) => {
|
|
4302
4298
|
return openBlock(), createElementBlock("div", {
|
|
4303
4299
|
key: index,
|
|
@@ -4305,12 +4301,12 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4305
4301
|
onClick: ($event) => activeTab.value = item.type
|
|
4306
4302
|
}, [
|
|
4307
4303
|
createTextVNode(toDisplayString(item.name) + " ", 1),
|
|
4308
|
-
item.type === activeTab.value ? (openBlock(), createElementBlock("div",
|
|
4309
|
-
], 10,
|
|
4304
|
+
item.type === activeTab.value ? (openBlock(), createElementBlock("div", _hoisted_24)) : createCommentVNode("", true)
|
|
4305
|
+
], 10, _hoisted_23);
|
|
4310
4306
|
}), 128))
|
|
4311
4307
|
]),
|
|
4312
|
-
createElementVNode("div",
|
|
4313
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
4308
|
+
createElementVNode("div", _hoisted_25, [
|
|
4309
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(imageList.value, (item, index) => {
|
|
4314
4310
|
return openBlock(), createElementBlock("div", {
|
|
4315
4311
|
key: index,
|
|
4316
4312
|
class: "image-item",
|
|
@@ -4320,14 +4316,14 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4320
4316
|
src: item.imgOrgUrl,
|
|
4321
4317
|
alt: "",
|
|
4322
4318
|
class: "image"
|
|
4323
|
-
}, null, 8,
|
|
4324
|
-
item.num ? (openBlock(), createElementBlock("div",
|
|
4325
|
-
createElementVNode("div",
|
|
4319
|
+
}, null, 8, _hoisted_27),
|
|
4320
|
+
item.num ? (openBlock(), createElementBlock("div", _hoisted_28, [
|
|
4321
|
+
createElementVNode("div", _hoisted_29, toDisplayString(item.num), 1)
|
|
4326
4322
|
])) : createCommentVNode("", true)
|
|
4327
|
-
], 8,
|
|
4323
|
+
], 8, _hoisted_26);
|
|
4328
4324
|
}), 128))
|
|
4329
4325
|
])
|
|
4330
|
-
])) : (openBlock(), createElementBlock("div",
|
|
4326
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_30, _hoisted_32))
|
|
4331
4327
|
])) : createCommentVNode("", true)
|
|
4332
4328
|
])
|
|
4333
4329
|
]),
|
|
@@ -4339,22 +4335,22 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4339
4335
|
const index_vue_vue_type_style_index_0_lang$1 = "";
|
|
4340
4336
|
const _hoisted_1$3 = /* @__PURE__ */ createElementVNode("span", null, "\u63D2\u5165\u89C6\u9891", -1);
|
|
4341
4337
|
const _hoisted_2$3 = { class: "insert-video" };
|
|
4342
|
-
const _hoisted_3$3 = /* @__PURE__ */
|
|
4343
|
-
const
|
|
4344
|
-
|
|
4345
|
-
name: "index",
|
|
4338
|
+
const _hoisted_3$3 = /* @__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);
|
|
4339
|
+
const _sfc_main$3 = defineComponent({
|
|
4340
|
+
__name: "index",
|
|
4346
4341
|
props: {
|
|
4347
4342
|
visible: { type: Boolean, default: false },
|
|
4348
|
-
fileSelected:
|
|
4343
|
+
fileSelected: {}
|
|
4349
4344
|
},
|
|
4350
4345
|
emits: ["update:visible"],
|
|
4351
|
-
setup(__props, { emit:
|
|
4352
|
-
const
|
|
4346
|
+
setup(__props, { emit: __emit }) {
|
|
4347
|
+
const emits = __emit;
|
|
4353
4348
|
provide("vm", {
|
|
4354
4349
|
setStatus(val) {
|
|
4355
4350
|
emits("update:visible", val);
|
|
4356
4351
|
}
|
|
4357
4352
|
});
|
|
4353
|
+
const props = __props;
|
|
4358
4354
|
const { visible, fileSelected } = toRefs(props);
|
|
4359
4355
|
const emitEvent = () => {
|
|
4360
4356
|
var event = new MouseEvent("click");
|
|
@@ -4380,11 +4376,11 @@ const _sfc_main$3 = /* @__PURE__ */ defineComponent({
|
|
|
4380
4376
|
onClick: emitEvent
|
|
4381
4377
|
}, {
|
|
4382
4378
|
default: withCtx(() => [
|
|
4383
|
-
|
|
4379
|
+
createTextVNode("\u9009\u62E9\u89C6\u9891")
|
|
4384
4380
|
]),
|
|
4385
4381
|
_: 1
|
|
4386
4382
|
}),
|
|
4387
|
-
|
|
4383
|
+
_hoisted_3$3,
|
|
4388
4384
|
createElementVNode("input", {
|
|
4389
4385
|
type: "file",
|
|
4390
4386
|
accept: "video/*",
|
|
@@ -4514,8 +4510,8 @@ const _hoisted_1$1 = {
|
|
|
4514
4510
|
};
|
|
4515
4511
|
const _hoisted_2$1 = ["src"];
|
|
4516
4512
|
const _hoisted_3$1 = { class: "article-item_right" };
|
|
4517
|
-
const _hoisted_4
|
|
4518
|
-
const _hoisted_5
|
|
4513
|
+
const _hoisted_4 = { class: "name" };
|
|
4514
|
+
const _hoisted_5 = { class: "score" };
|
|
4519
4515
|
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
4520
4516
|
const _component_el_icon_error = resolveComponent("el-icon-error");
|
|
4521
4517
|
return openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
@@ -4525,8 +4521,8 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
4525
4521
|
alt: ""
|
|
4526
4522
|
}, null, 8, _hoisted_2$1)) : createCommentVNode("", true),
|
|
4527
4523
|
createElementVNode("div", _hoisted_3$1, [
|
|
4528
|
-
createElementVNode("div", _hoisted_4
|
|
4529
|
-
createElementVNode("div", _hoisted_5
|
|
4524
|
+
createElementVNode("div", _hoisted_4, toDisplayString($props.article.title), 1),
|
|
4525
|
+
createElementVNode("div", _hoisted_5, [
|
|
4530
4526
|
createElementVNode("span", null, toDisplayString($props.article.author), 1),
|
|
4531
4527
|
createElementVNode("span", null, toDisplayString($props.article.viewNum) + "\u6D4F\u89C8", 1),
|
|
4532
4528
|
createElementVNode("span", null, toDisplayString($props.article.replycnt) + "\u8BC4\u8BBA", 1)
|
|
@@ -4663,7 +4659,8 @@ const _sfc_main = {
|
|
|
4663
4659
|
lasteDropDom: "",
|
|
4664
4660
|
currentVideo: null,
|
|
4665
4661
|
targetMove: "",
|
|
4666
|
-
moverClasses: ["halo-img-content", "halo-video-content"]
|
|
4662
|
+
moverClasses: ["halo-img-content", "halo-video-content"],
|
|
4663
|
+
selectDom: null
|
|
4667
4664
|
};
|
|
4668
4665
|
},
|
|
4669
4666
|
computed: {
|
|
@@ -4850,7 +4847,7 @@ const _sfc_main = {
|
|
|
4850
4847
|
const data = this.filterHtml(html, type);
|
|
4851
4848
|
return data;
|
|
4852
4849
|
},
|
|
4853
|
-
generateImgHtml(
|
|
4850
|
+
generateImgHtml(img2, isGif, desc) {
|
|
4854
4851
|
let descHtml = "";
|
|
4855
4852
|
if (desc) {
|
|
4856
4853
|
descHtml = ` <div
|
|
@@ -4864,7 +4861,7 @@ const _sfc_main = {
|
|
|
4864
4861
|
<div class="show-img-content">
|
|
4865
4862
|
<img
|
|
4866
4863
|
alt
|
|
4867
|
-
src="${
|
|
4864
|
+
src="${img2}"
|
|
4868
4865
|
class="detail-imgs"
|
|
4869
4866
|
onerror="onerror=null;src='/static/img/web_img_zhanwei.png'"
|
|
4870
4867
|
/>
|
|
@@ -4891,13 +4888,13 @@ const _sfc_main = {
|
|
|
4891
4888
|
if (node.nodeType === 1) {
|
|
4892
4889
|
if (node.classList.contains("halo-img-content")) {
|
|
4893
4890
|
const children = [...node.childNodes];
|
|
4894
|
-
const
|
|
4895
|
-
const isGif =
|
|
4891
|
+
const img2 = node.querySelector(".halo-picture-area");
|
|
4892
|
+
const isGif = img2.src.indexOf(".gif!nowater") > -1;
|
|
4896
4893
|
if (isGif && type === "preview") {
|
|
4897
|
-
|
|
4894
|
+
img2.src = img2.src.replace(".gif!nowater", ".gif");
|
|
4898
4895
|
}
|
|
4899
4896
|
if (type === "preview") {
|
|
4900
|
-
node.innerHTML = this.generateImgHtml(
|
|
4897
|
+
node.innerHTML = this.generateImgHtml(img2.src, isGif, img2.dataset.desc);
|
|
4901
4898
|
return;
|
|
4902
4899
|
}
|
|
4903
4900
|
children.forEach((child) => {
|
|
@@ -4922,9 +4919,9 @@ const _sfc_main = {
|
|
|
4922
4919
|
node.innerHTML = this.generateLinkHtml(a.dataset.url, a.innerText);
|
|
4923
4920
|
return;
|
|
4924
4921
|
}
|
|
4925
|
-
const
|
|
4922
|
+
const img2 = node.querySelector(".link-img");
|
|
4926
4923
|
const del = node.querySelector(".img-delete");
|
|
4927
|
-
node.removeChild(
|
|
4924
|
+
node.removeChild(img2);
|
|
4928
4925
|
node.removeChild(del);
|
|
4929
4926
|
}
|
|
4930
4927
|
}
|
|
@@ -4936,6 +4933,7 @@ const _sfc_main = {
|
|
|
4936
4933
|
},
|
|
4937
4934
|
async parseHtml(html, essayPicRelVOList) {
|
|
4938
4935
|
var _a;
|
|
4936
|
+
const me2 = this;
|
|
4939
4937
|
const div = document.createElement("div");
|
|
4940
4938
|
div.innerHTML = html;
|
|
4941
4939
|
const frag = document.createDocumentFragment();
|
|
@@ -4949,19 +4947,29 @@ const _sfc_main = {
|
|
|
4949
4947
|
} else if (node.tagName.toLowerCase() === "halo-good") {
|
|
4950
4948
|
this.parseGood(node);
|
|
4951
4949
|
} else if (node.classList.contains("halo-img-content")) {
|
|
4952
|
-
const
|
|
4950
|
+
const img2 = node.querySelector("img");
|
|
4953
4951
|
node.setAttribute("tabindex", -1);
|
|
4954
4952
|
node.setAttribute("draggable", true);
|
|
4955
4953
|
node.setAttribute("contenteditable", false);
|
|
4956
|
-
|
|
4954
|
+
img2.setAttribute("draggable", false);
|
|
4955
|
+
node.onclick = function(e) {
|
|
4956
|
+
me2.selectDom = node;
|
|
4957
|
+
img2.classList.add("halo-select");
|
|
4958
|
+
e.stopPropagation();
|
|
4959
|
+
};
|
|
4960
|
+
node.onblur = function(e) {
|
|
4961
|
+
img2.classList.remove("halo-select");
|
|
4962
|
+
me2.selectDom = null;
|
|
4963
|
+
e.stopPropagation();
|
|
4964
|
+
};
|
|
4957
4965
|
this.setDragMove(node);
|
|
4958
|
-
const desc =
|
|
4959
|
-
|
|
4960
|
-
const seamlessFlag = ((_a = JSON.parse(
|
|
4966
|
+
const desc = img2.dataset.desc;
|
|
4967
|
+
img2.style.margin = "0";
|
|
4968
|
+
const seamlessFlag = ((_a = JSON.parse(img2.getAttribute("data"))) == null ? void 0 : _a.seamlessFlag) || "0";
|
|
4961
4969
|
if (essayPicRelVOList) {
|
|
4962
|
-
const arr =
|
|
4970
|
+
const arr = img2.src.split("/");
|
|
4963
4971
|
const id = arr[arr.length - 1];
|
|
4964
|
-
|
|
4972
|
+
img2.src = essayPicRelVOList.find((obj) => obj.id === String(id)).url;
|
|
4965
4973
|
}
|
|
4966
4974
|
this.insertImgOperateBtns(this.editor, {
|
|
4967
4975
|
content: desc,
|
|
@@ -4979,12 +4987,12 @@ const _sfc_main = {
|
|
|
4979
4987
|
return frag;
|
|
4980
4988
|
},
|
|
4981
4989
|
parseLink(node) {
|
|
4982
|
-
const
|
|
4990
|
+
const img2 = this.editor.createElement("img", {
|
|
4983
4991
|
class: "link-img",
|
|
4984
4992
|
src: "/static/img/icon_link@3x.png"
|
|
4985
4993
|
});
|
|
4986
4994
|
const del = this.generateDelLinkIcon();
|
|
4987
|
-
node.prepend(
|
|
4995
|
+
node.prepend(img2);
|
|
4988
4996
|
node.appendChild(del);
|
|
4989
4997
|
},
|
|
4990
4998
|
parseVideo(node, essayPicRelVOList) {
|
|
@@ -5010,8 +5018,15 @@ const _sfc_main = {
|
|
|
5010
5018
|
e.stopPropagation();
|
|
5011
5019
|
}
|
|
5012
5020
|
});
|
|
5013
|
-
node.onclick = function() {
|
|
5014
|
-
me2.
|
|
5021
|
+
node.onclick = function(e) {
|
|
5022
|
+
me2.selectDom = node;
|
|
5023
|
+
video.classList.add("halo-select");
|
|
5024
|
+
e.stopPropagation();
|
|
5025
|
+
};
|
|
5026
|
+
node.onblur = function(e) {
|
|
5027
|
+
video.classList.remove("halo-select");
|
|
5028
|
+
me2.selectDom = null;
|
|
5029
|
+
e.stopPropagation();
|
|
5015
5030
|
};
|
|
5016
5031
|
const replaceBtn = me2.insertVideoBtns(me2.editor, video);
|
|
5017
5032
|
node.appendChild(delBtn);
|
|
@@ -5157,8 +5172,8 @@ const _sfc_main = {
|
|
|
5157
5172
|
if (this.imgType === "coverImg") {
|
|
5158
5173
|
this.$emit("insertImgs", imgList_new, this.imgType);
|
|
5159
5174
|
} else {
|
|
5160
|
-
imgList_new.forEach((
|
|
5161
|
-
this.imgUploadHandler("img",
|
|
5175
|
+
imgList_new.forEach((img2) => {
|
|
5176
|
+
this.imgUploadHandler("img", img2.src);
|
|
5162
5177
|
});
|
|
5163
5178
|
}
|
|
5164
5179
|
this.visibleImg = false;
|
|
@@ -5302,8 +5317,8 @@ const _sfc_main = {
|
|
|
5302
5317
|
descInput.disabled = me2.disabled;
|
|
5303
5318
|
descInput.oninput = function(e) {
|
|
5304
5319
|
const parent = me2.findParentByClass(e.target, "halo-img-content");
|
|
5305
|
-
const
|
|
5306
|
-
|
|
5320
|
+
const img2 = parent.querySelector(".halo-picture-area");
|
|
5321
|
+
img2.dataset.desc = e.target.value;
|
|
5307
5322
|
if (e.target.value.length > 49) {
|
|
5308
5323
|
return me2.setToast("\u9650\u523650\u4E2A\u5B57\u7B26");
|
|
5309
5324
|
}
|
|
@@ -5332,7 +5347,7 @@ const _sfc_main = {
|
|
|
5332
5347
|
return;
|
|
5333
5348
|
const cur = me2.findParentByClass(e.target, "halo-img-content");
|
|
5334
5349
|
const currentImg = cur.getElementsByClassName("halo-picture-area")[0];
|
|
5335
|
-
const currentData = JSON.parse(currentImg.getAttribute("data"));
|
|
5350
|
+
const currentData = JSON.parse((currentImg == null ? void 0 : currentImg.getAttribute("data")) || "{}");
|
|
5336
5351
|
if (currentData.seamlessFlag === "0") {
|
|
5337
5352
|
if (!cur.previousElementSibling)
|
|
5338
5353
|
return;
|
|
@@ -5358,7 +5373,7 @@ const _sfc_main = {
|
|
|
5358
5373
|
const me2 = this;
|
|
5359
5374
|
const cur = me2.findParentByClass(e.target, "halo-img-content");
|
|
5360
5375
|
const currentImg = cur.getElementsByClassName("halo-picture-area")[0];
|
|
5361
|
-
const currentData = JSON.parse(currentImg.getAttribute("data"));
|
|
5376
|
+
const currentData = JSON.parse((currentImg == null ? void 0 : currentImg.getAttribute("data")) || "{}");
|
|
5362
5377
|
if (currentData.seamlessFlag === "0") {
|
|
5363
5378
|
if (!cur.previousElementSibling)
|
|
5364
5379
|
return;
|
|
@@ -5366,7 +5381,7 @@ const _sfc_main = {
|
|
|
5366
5381
|
const imgcont = cur.previousElementSibling.previousElementSibling;
|
|
5367
5382
|
const input = imgcont.getElementsByClassName("desc-input-wrap")[0];
|
|
5368
5383
|
const pic = imgcont.getElementsByClassName("halo-picture-area")[0];
|
|
5369
|
-
const data = JSON.parse(pic.getAttribute("data"));
|
|
5384
|
+
const data = JSON.parse((pic == null ? void 0 : pic.getAttribute("data")) || "{}");
|
|
5370
5385
|
data.seamlessFlag = "0";
|
|
5371
5386
|
pic.setAttribute("data", JSON.stringify(data));
|
|
5372
5387
|
input.style.display = "";
|
|
@@ -5451,13 +5466,40 @@ const _sfc_main = {
|
|
|
5451
5466
|
event.preventDefault();
|
|
5452
5467
|
}
|
|
5453
5468
|
});
|
|
5469
|
+
me2.editor.addEventListener("keydown", function(event) {
|
|
5470
|
+
if (event.keyCode === 8 || event.keyCode === 46) {
|
|
5471
|
+
try {
|
|
5472
|
+
if (me2.selectDom && me2.moverClasses.includes(me2.selectDom.className)) {
|
|
5473
|
+
me2.selectDom.remove();
|
|
5474
|
+
me2.selectDom = null;
|
|
5475
|
+
} else {
|
|
5476
|
+
const selection = getSelection();
|
|
5477
|
+
if (selection.isCollapsed) {
|
|
5478
|
+
const node = selection.focusNode;
|
|
5479
|
+
const offSet = selection.focusOffset;
|
|
5480
|
+
const previousSibling = node.previousElementSibling || node.parentNode.previousElementSibling || {};
|
|
5481
|
+
const isPre = me2.moverClasses.includes(previousSibling.className);
|
|
5482
|
+
if (isPre && offSet === 0) {
|
|
5483
|
+
const curSelect = previousSibling.querySelector("img") || previousSibling.querySelector("video");
|
|
5484
|
+
event.preventDefault();
|
|
5485
|
+
me2.selectDom = previousSibling;
|
|
5486
|
+
curSelect.classList.add("halo-select");
|
|
5487
|
+
}
|
|
5488
|
+
}
|
|
5489
|
+
}
|
|
5490
|
+
} catch (error) {
|
|
5491
|
+
console.log(error);
|
|
5492
|
+
}
|
|
5493
|
+
}
|
|
5494
|
+
});
|
|
5454
5495
|
me2.editor.addEventListener("willPaste", function(type, handler) {
|
|
5455
5496
|
function validateDom() {
|
|
5456
5497
|
const fragment = type && type.fragment || {};
|
|
5457
5498
|
let tmpNode = document.createElement("div");
|
|
5458
5499
|
tmpNode.appendChild(fragment.cloneNode(true));
|
|
5459
5500
|
const str = tmpNode.innerHTML;
|
|
5460
|
-
|
|
5501
|
+
const text = tmpNode.innerText || "";
|
|
5502
|
+
type.defaultPrevented = str.indexOf("<img") > -1 || str.indexOf("<video") > -1 || text.length > 1;
|
|
5461
5503
|
tmpNode = null;
|
|
5462
5504
|
}
|
|
5463
5505
|
validateDom();
|
|
@@ -5547,7 +5589,7 @@ const _sfc_main = {
|
|
|
5547
5589
|
if (isGif) {
|
|
5548
5590
|
src = src.replace(".gif", ".gif!nowater");
|
|
5549
5591
|
}
|
|
5550
|
-
var
|
|
5592
|
+
var img2 = this.createElement("img", {
|
|
5551
5593
|
"id": isHaloImage ? "" : src,
|
|
5552
5594
|
"src": src,
|
|
5553
5595
|
"class": isHaloImage ? "halo-picture-area" : "halo-picture-area no-upload",
|
|
@@ -5560,7 +5602,7 @@ const _sfc_main = {
|
|
|
5560
5602
|
});
|
|
5561
5603
|
const btns = me2.insertImgOperateBtns(this, data);
|
|
5562
5604
|
var childList = [];
|
|
5563
|
-
childList.push(
|
|
5605
|
+
childList.push(img2);
|
|
5564
5606
|
childList.push(...btns);
|
|
5565
5607
|
!isHaloImage && childList.push(loading);
|
|
5566
5608
|
!isHaloImage && childList.push(fail);
|
|
@@ -5572,10 +5614,22 @@ const _sfc_main = {
|
|
|
5572
5614
|
"tabindex": "-1"
|
|
5573
5615
|
}, [...childList]);
|
|
5574
5616
|
me2.setDragMove(p);
|
|
5617
|
+
p.onclick = function(e) {
|
|
5618
|
+
me2.selectDom = p;
|
|
5619
|
+
img2.classList.add("halo-select");
|
|
5620
|
+
e.stopPropagation();
|
|
5621
|
+
};
|
|
5622
|
+
p.onblur = function(e) {
|
|
5623
|
+
img2.classList.remove("halo-select");
|
|
5624
|
+
me2.selectDom = null;
|
|
5625
|
+
e.stopPropagation();
|
|
5626
|
+
};
|
|
5575
5627
|
this.insertElement(p, range);
|
|
5576
5628
|
if (isSeameless) {
|
|
5577
5629
|
me2.removeDefault(p, "nextElementSibling");
|
|
5578
5630
|
me2.removeDefault(p, "previousElementSibling");
|
|
5631
|
+
} else {
|
|
5632
|
+
me2.removeDefault(p, "previousElementSibling");
|
|
5579
5633
|
}
|
|
5580
5634
|
setTimeout(() => {
|
|
5581
5635
|
document.documentElement.scrollTop = scrollTop;
|
|
@@ -5628,7 +5682,13 @@ const _sfc_main = {
|
|
|
5628
5682
|
"draggable": "true"
|
|
5629
5683
|
}, [video, delBtn, posterBtn]);
|
|
5630
5684
|
p.onclick = function() {
|
|
5631
|
-
me2.
|
|
5685
|
+
me2.selectDom = p;
|
|
5686
|
+
video.classList.add("halo-select");
|
|
5687
|
+
};
|
|
5688
|
+
p.onblur = function(e) {
|
|
5689
|
+
img.classList.remove("halo-select");
|
|
5690
|
+
me2.selectDom = null;
|
|
5691
|
+
e.stopPropagation();
|
|
5632
5692
|
};
|
|
5633
5693
|
me2.setDragMove(p);
|
|
5634
5694
|
this.insertElement(p);
|
|
@@ -5638,14 +5698,14 @@ const _sfc_main = {
|
|
|
5638
5698
|
};
|
|
5639
5699
|
window.Squire.prototype.insertLink = function(link, text) {
|
|
5640
5700
|
var scrollTop = document.documentElement.scrollTop;
|
|
5641
|
-
var
|
|
5701
|
+
var img2 = `<img class="link-img" src='/static/img/icon_link@3x.png'></img>`;
|
|
5642
5702
|
var a = `<a class="halo-link-mes" data-url="${link}" target="_blank">${text}</a>`;
|
|
5643
5703
|
const del = me2.generateDelLinkIcon();
|
|
5644
5704
|
var p = this.createElement("DIV", {
|
|
5645
5705
|
"class": "halo-link",
|
|
5646
5706
|
"contenteditable": "false"
|
|
5647
5707
|
});
|
|
5648
|
-
p.innerHTML =
|
|
5708
|
+
p.innerHTML = img2 + a;
|
|
5649
5709
|
p.appendChild(del);
|
|
5650
5710
|
this.insertElement(p);
|
|
5651
5711
|
setTimeout(() => {
|
|
@@ -5723,9 +5783,9 @@ const _sfc_main = {
|
|
|
5723
5783
|
count += text.replace(/\n/g, "").length;
|
|
5724
5784
|
isNotParagraph = false;
|
|
5725
5785
|
} else if (value.className === "halo-img-content") {
|
|
5726
|
-
const
|
|
5786
|
+
const img2 = value.querySelector(".halo-picture-area");
|
|
5727
5787
|
isNotParagraph = false;
|
|
5728
|
-
if (
|
|
5788
|
+
if (img2.src.indexOf("jddmoto") === -1 && img2.src.indexOf("58moto") === -1) {
|
|
5729
5789
|
hasFailUploadImg = true;
|
|
5730
5790
|
return;
|
|
5731
5791
|
}
|
|
@@ -5826,8 +5886,8 @@ const _sfc_main = {
|
|
|
5826
5886
|
businessId: 2
|
|
5827
5887
|
}).then((_) => {
|
|
5828
5888
|
if (_.data.code === 0 && _.data.data) {
|
|
5829
|
-
const
|
|
5830
|
-
me2.updateImage(
|
|
5889
|
+
const img2 = _.data.data.thirdPartyImageUrl;
|
|
5890
|
+
me2.updateImage(img2, currentImg);
|
|
5831
5891
|
} else {
|
|
5832
5892
|
parent && uploadFailHandler(currentImg);
|
|
5833
5893
|
}
|
|
@@ -5841,10 +5901,10 @@ const _sfc_main = {
|
|
|
5841
5901
|
parent && uploadFailHandler(currentImg);
|
|
5842
5902
|
});
|
|
5843
5903
|
},
|
|
5844
|
-
updateImage(
|
|
5904
|
+
updateImage(img2, currentImg = {}) {
|
|
5845
5905
|
const data = JSON.parse(currentImg.getAttribute("data") || "{}");
|
|
5846
|
-
data.img =
|
|
5847
|
-
currentImg.setAttribute("src",
|
|
5906
|
+
data.img = img2;
|
|
5907
|
+
currentImg.setAttribute("src", img2);
|
|
5848
5908
|
currentImg.setAttribute("data", JSON.stringify(data));
|
|
5849
5909
|
currentImg.className = "halo-picture-area";
|
|
5850
5910
|
const parent = currentImg.parentNode || "";
|
|
@@ -6084,8 +6144,6 @@ const _hoisted_3 = {
|
|
|
6084
6144
|
slot: "footer",
|
|
6085
6145
|
class: "dialog-footer"
|
|
6086
6146
|
};
|
|
6087
|
-
const _hoisted_4 = /* @__PURE__ */ createTextVNode("\u53D6 \u6D88");
|
|
6088
|
-
const _hoisted_5 = /* @__PURE__ */ createTextVNode("\u786E \u5B9A");
|
|
6089
6147
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
6090
6148
|
const _component_el_input = resolveComponent("el-input");
|
|
6091
6149
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
@@ -6158,7 +6216,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6158
6216
|
onClick: _cache[3] || (_cache[3] = ($event) => $data.viewLinkDialog = false)
|
|
6159
6217
|
}, {
|
|
6160
6218
|
default: withCtx(() => [
|
|
6161
|
-
|
|
6219
|
+
createTextVNode("\u53D6 \u6D88")
|
|
6162
6220
|
]),
|
|
6163
6221
|
_: 1
|
|
6164
6222
|
}),
|
|
@@ -6167,7 +6225,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6167
6225
|
onClick: $options.insertLink
|
|
6168
6226
|
}, {
|
|
6169
6227
|
default: withCtx(() => [
|
|
6170
|
-
|
|
6228
|
+
createTextVNode("\u786E \u5B9A")
|
|
6171
6229
|
]),
|
|
6172
6230
|
_: 1
|
|
6173
6231
|
}, 8, ["onClick"])
|
|
@@ -6185,7 +6243,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6185
6243
|
}, null, 8, ["article", "visible", "getList", "onDelete", "onChange"]),
|
|
6186
6244
|
createVNode(_component_ImgUpload, {
|
|
6187
6245
|
"img-list": $data.imgList,
|
|
6188
|
-
"onUpdate:
|
|
6246
|
+
"onUpdate:imgList": _cache[6] || (_cache[6] = ($event) => $data.imgList = $event),
|
|
6189
6247
|
visible: $data.visibleImg,
|
|
6190
6248
|
"onUpdate:visible": _cache[7] || (_cache[7] = ($event) => $data.visibleImg = $event),
|
|
6191
6249
|
chartGallery: $props.chartGallery,
|
|
@@ -6200,7 +6258,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
6200
6258
|
}, null, 8, ["visible", "file-selected"]),
|
|
6201
6259
|
createVNode(_component_CollectArticle, {
|
|
6202
6260
|
"link-content": $data.linkContent,
|
|
6203
|
-
"onUpdate:
|
|
6261
|
+
"onUpdate:linkContent": _cache[9] || (_cache[9] = ($event) => $data.linkContent = $event),
|
|
6204
6262
|
visible: $data.visibleCollectArticle,
|
|
6205
6263
|
"onUpdate:visible": _cache[10] || (_cache[10] = ($event) => $data.visibleCollectArticle = $event),
|
|
6206
6264
|
onSubmit: $options.confirmLink
|