@haluo/biz 2.0.49 → 2.0.50
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 +39 -39
- package/dist/haluo-biz.js +154 -164
- package/dist/haluo-biz.umd.cjs +153 -163
- package/dist/style.css +40 -52
- package/package.json +48 -48
- /package/dist/{squire-raw.3e73a64b.js → squire-raw.85a430e7.js} +0 -0
package/dist/haluo-biz.js
CHANGED
|
@@ -525,9 +525,9 @@ const _hoisted_1$8 = {
|
|
|
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,9 +569,9 @@ 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
|
|
573
|
-
const _hoisted_34
|
|
574
|
-
const _hoisted_35
|
|
572
|
+
const _hoisted_33 = ["src"];
|
|
573
|
+
const _hoisted_34 = ["src"];
|
|
574
|
+
const _hoisted_35 = { class: "tools-title" };
|
|
575
575
|
const _hoisted_36 = ["src"];
|
|
576
576
|
const _hoisted_37 = ["src"];
|
|
577
577
|
const _hoisted_38 = { class: "tools-title_content" };
|
|
@@ -627,7 +627,7 @@ function _sfc_render$4(_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$4(_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$4(_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$4(_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$4(_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$4(_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,13 +926,13 @@ function _sfc_render$4(_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",
|
|
933
933
|
height: "40",
|
|
934
934
|
alt: ""
|
|
935
|
-
}, null, 8, _hoisted_34
|
|
935
|
+
}, null, 8, _hoisted_34),
|
|
936
936
|
createVNode(_component_colorPicker, {
|
|
937
937
|
ref: "colorPicker",
|
|
938
938
|
modelValue: $data.color,
|
|
@@ -953,7 +953,7 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
953
953
|
width: "152"
|
|
954
954
|
}, {
|
|
955
955
|
reference: withCtx(() => [
|
|
956
|
-
createElementVNode("div", _hoisted_35
|
|
956
|
+
createElementVNode("div", _hoisted_35, [
|
|
957
957
|
createVNode(_component_el_tooltip, {
|
|
958
958
|
class: "item",
|
|
959
959
|
effect: "dark",
|
|
@@ -1105,20 +1105,18 @@ function _sfc_render$4(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
1105
1105
|
])
|
|
1106
1106
|
])) : createCommentVNode("", true);
|
|
1107
1107
|
}
|
|
1108
|
-
const ToolBar = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$4], ["__scopeId", "data-v-
|
|
1108
|
+
const ToolBar = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$4], ["__scopeId", "data-v-52e48332"]]);
|
|
1109
1109
|
const __vite_glob_0_0 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAmCAYAAAClI5npAAAA0UlEQVR42uWYwQnDMAxFfckAXkFDmGzgS1foDpnFS3gTb+IFtIDyA4UeBKUtNR8qwTvlkAdyfmSletySmRUwgIIJOijXs9VcLxegwNVDRFYLdHtdCg6wrRKY9l4NUFYIqH1WDeTfCXxXE9w5Ar4tQhBwh7SBjSDg2lJJAj47SAI+OwgC7pDuJAGfHQQBnx0kAZ8dBAF3SOtTgCchybjV2QLKFpihW6BAQn6GA0i4KG4g037H4QaSDiTWUMocyweQcFezBjLrer5TFxR/uaKhL6lOdeUQ8G6X1pQAAAAASUVORK5CYII=";
|
|
1110
1110
|
const index_vue_vue_type_style_index_0_lang$5 = "";
|
|
1111
1111
|
const _hoisted_1$7 = { 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$7 = /* @__PURE__ */ defineComponent({
|
|
1121
|
-
name: "index",
|
|
1118
|
+
const _sfc_main$7 = 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$7 = /* @__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$7 = /* @__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$7, [
|
|
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$7 = /* @__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$7 = /* @__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$7 = /* @__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$4 = "";
|
|
3474
|
-
const _hoisted_1$6 =
|
|
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$6 = { 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$6 =
|
|
3500
|
-
|
|
3494
|
+
const _sfc_main$6 = 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$6 = /* @__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: "",
|
|
@@ -3597,12 +3593,12 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3597
3593
|
}, {
|
|
3598
3594
|
title: withCtx(() => [
|
|
3599
3595
|
createElementVNode("span", null, [
|
|
3600
|
-
|
|
3601
|
-
createElementVNode("strong",
|
|
3596
|
+
createTextVNode("\u63D2\u5165\u6587\u7AE0/\u89C6\u9891"),
|
|
3597
|
+
createElementVNode("strong", _hoisted_1$6, "\u5E73\u53F0\u4EC5\u652F\u6301\u63D2\u5165" + toDisplayString(`${isVideo.value ? "2\u5E74" : "18\u4E2A\u6708"}`) + "\u5185\u7684\u63A8\u8350\u5185\u5BB9", 1)
|
|
3602
3598
|
])
|
|
3603
3599
|
]),
|
|
3604
3600
|
default: withCtx(() => [
|
|
3605
|
-
createElementVNode("div",
|
|
3601
|
+
createElementVNode("div", _hoisted_2$5, [
|
|
3606
3602
|
createElementVNode("div", null, [
|
|
3607
3603
|
createVNode(unref(ElRadio), {
|
|
3608
3604
|
modelValue: data.params.radio,
|
|
@@ -3610,7 +3606,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3610
3606
|
label: Radio_Type.MY_ARITICLE
|
|
3611
3607
|
}, {
|
|
3612
3608
|
default: withCtx(() => [
|
|
3613
|
-
|
|
3609
|
+
createTextVNode("\u4ECE\u6211\u7684\u6587\u7AE0\u4E2D\u9009\u62E9")
|
|
3614
3610
|
]),
|
|
3615
3611
|
_: 1
|
|
3616
3612
|
}, 8, ["modelValue", "label"]),
|
|
@@ -3620,7 +3616,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3620
3616
|
label: Radio_Type.MY_VIDEO
|
|
3621
3617
|
}, {
|
|
3622
3618
|
default: withCtx(() => [
|
|
3623
|
-
|
|
3619
|
+
createTextVNode("\u4ECE\u6211\u7684\u89C6\u9891\u4E2D\u9009\u62E9")
|
|
3624
3620
|
]),
|
|
3625
3621
|
_: 1
|
|
3626
3622
|
}, 8, ["modelValue", "label"]),
|
|
@@ -3630,16 +3626,16 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3630
3626
|
label: Radio_Type.ALL_ARITICLE
|
|
3631
3627
|
}, {
|
|
3632
3628
|
default: withCtx(() => [
|
|
3633
|
-
|
|
3629
|
+
createTextVNode("\u4ECE\u6240\u6709\u6587\u7AE0\u4E2D\u9009\u62E9")
|
|
3634
3630
|
]),
|
|
3635
3631
|
_: 1
|
|
3636
3632
|
}, 8, ["modelValue", "label"])
|
|
3637
3633
|
]),
|
|
3638
|
-
createElementVNode("div",
|
|
3634
|
+
createElementVNode("div", _hoisted_3$5, [
|
|
3639
3635
|
createVNode(unref(ElInput), {
|
|
3640
3636
|
modelValue: data.params.title,
|
|
3641
3637
|
"onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => data.params.title = $event),
|
|
3642
|
-
placeholder:
|
|
3638
|
+
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",
|
|
3643
3639
|
onKeyup: _cache[5] || (_cache[5] = withKeys(($event) => unref(getArticleList)(true), ["enter", "native"])),
|
|
3644
3640
|
onInput: _cache[6] || (_cache[6] = ($event) => unref(getArticleList)(true))
|
|
3645
3641
|
}, {
|
|
@@ -3653,11 +3649,11 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3653
3649
|
_: 1
|
|
3654
3650
|
}, 8, ["modelValue", "placeholder"])
|
|
3655
3651
|
]),
|
|
3656
|
-
data.data.length === 0 && !data.busy ? (openBlock(), createElementBlock("div",
|
|
3652
|
+
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", {
|
|
3657
3653
|
key: 1,
|
|
3658
3654
|
"infinite-scroll-immediate": false,
|
|
3659
3655
|
class: "insert-article_list",
|
|
3660
|
-
"infinite-scroll-disabled":
|
|
3656
|
+
"infinite-scroll-disabled": disable.value
|
|
3661
3657
|
}, [
|
|
3662
3658
|
(openBlock(true), createElementBlock(Fragment, null, renderList(data.data, (item, index) => {
|
|
3663
3659
|
return openBlock(), createElementBlock("div", {
|
|
@@ -3673,22 +3669,22 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3673
3669
|
default: withCtx(() => {
|
|
3674
3670
|
var _a;
|
|
3675
3671
|
return [
|
|
3676
|
-
|
|
3677
|
-
createElementVNode("div",
|
|
3672
|
+
isVideo.value ? (openBlock(), createElementBlock("div", _hoisted_6$1, [
|
|
3673
|
+
createElementVNode("div", _hoisted_7$1, [
|
|
3678
3674
|
createElementVNode("img", {
|
|
3679
3675
|
class: "video-pic",
|
|
3680
3676
|
src: (_a = item == null ? void 0 : item.mediaInfo[0]) == null ? void 0 : _a.img
|
|
3681
|
-
}, null, 8,
|
|
3677
|
+
}, null, 8, _hoisted_8$1),
|
|
3682
3678
|
createElementVNode("img", {
|
|
3683
3679
|
class: "play",
|
|
3684
3680
|
src: getImageUrl("play.png")
|
|
3685
|
-
}, null, 8,
|
|
3681
|
+
}, null, 8, _hoisted_9$1)
|
|
3686
3682
|
]),
|
|
3687
|
-
createElementVNode("div",
|
|
3688
|
-
createElementVNode("span",
|
|
3683
|
+
createElementVNode("div", _hoisted_10$1, [
|
|
3684
|
+
createElementVNode("span", _hoisted_11$1, toDisplayString(item.content || "[\u65E0\u6807\u9898]"), 1),
|
|
3689
3685
|
createElementVNode("span", null, toDisplayString(unref(date).format(item.createTime * 1e3, "YYYY-MM-DD hh-mm")), 1)
|
|
3690
3686
|
])
|
|
3691
|
-
])) : (openBlock(), createElementBlock("div",
|
|
3687
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_12$1, [
|
|
3692
3688
|
createElementVNode("span", null, toDisplayString(item.title || "[\u65E0\u6807\u9898]"), 1),
|
|
3693
3689
|
createElementVNode("span", null, toDisplayString(unref(date).format(item.createTime * 1e3, "YYYY-MM-DD")), 1)
|
|
3694
3690
|
]))
|
|
@@ -3698,7 +3694,7 @@ const _sfc_main$6 = /* @__PURE__ */ defineComponent({
|
|
|
3698
3694
|
}, 1032, ["modelValue", "label", "onChange"])
|
|
3699
3695
|
]);
|
|
3700
3696
|
}), 128))
|
|
3701
|
-
], 8,
|
|
3697
|
+
], 8, _hoisted_5$2)), [
|
|
3702
3698
|
[unref(vInfiniteScroll), unref(getArticleList)]
|
|
3703
3699
|
])
|
|
3704
3700
|
])
|
|
@@ -3724,7 +3720,7 @@ for (let i = 0; i < 256; ++i) {
|
|
|
3724
3720
|
byteToHex.push((i + 256).toString(16).slice(1));
|
|
3725
3721
|
}
|
|
3726
3722
|
function unsafeStringify(arr, offset = 0) {
|
|
3727
|
-
return
|
|
3723
|
+
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]];
|
|
3728
3724
|
}
|
|
3729
3725
|
const randomUUID = typeof crypto !== "undefined" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
3730
3726
|
const native = {
|
|
@@ -3751,11 +3747,11 @@ const index_vue_vue_type_style_index_0_lang$3 = "";
|
|
|
3751
3747
|
const _hoisted_1$5 = { class: "img-upload-content" };
|
|
3752
3748
|
const _hoisted_2$4 = { class: "title-box" };
|
|
3753
3749
|
const _hoisted_3$4 = ["onClick"];
|
|
3754
|
-
const _hoisted_4$
|
|
3750
|
+
const _hoisted_4$1 = {
|
|
3755
3751
|
key: 0,
|
|
3756
3752
|
class: "line"
|
|
3757
3753
|
};
|
|
3758
|
-
const _hoisted_5$
|
|
3754
|
+
const _hoisted_5$1 = {
|
|
3759
3755
|
key: 0,
|
|
3760
3756
|
class: "prompt-restriction"
|
|
3761
3757
|
};
|
|
@@ -3792,32 +3788,29 @@ const _hoisted_19 = {
|
|
|
3792
3788
|
class: "map-depot"
|
|
3793
3789
|
};
|
|
3794
3790
|
const _hoisted_20 = { class: "screen" };
|
|
3795
|
-
const _hoisted_21 =
|
|
3796
|
-
const _hoisted_22 = {
|
|
3797
|
-
const _hoisted_23 =
|
|
3798
|
-
const _hoisted_24 =
|
|
3799
|
-
const _hoisted_25 = {
|
|
3791
|
+
const _hoisted_21 = { key: 0 };
|
|
3792
|
+
const _hoisted_22 = { class: "tab-box" };
|
|
3793
|
+
const _hoisted_23 = ["onClick"];
|
|
3794
|
+
const _hoisted_24 = {
|
|
3800
3795
|
key: 0,
|
|
3801
3796
|
class: "line"
|
|
3802
3797
|
};
|
|
3803
|
-
const
|
|
3804
|
-
const
|
|
3805
|
-
const
|
|
3806
|
-
const
|
|
3798
|
+
const _hoisted_25 = { class: "image-list depot-image" };
|
|
3799
|
+
const _hoisted_26 = ["onClick"];
|
|
3800
|
+
const _hoisted_27 = ["src"];
|
|
3801
|
+
const _hoisted_28 = {
|
|
3807
3802
|
key: 0,
|
|
3808
3803
|
class: "shade"
|
|
3809
3804
|
};
|
|
3810
|
-
const
|
|
3811
|
-
const
|
|
3805
|
+
const _hoisted_29 = { class: "num" };
|
|
3806
|
+
const _hoisted_30 = {
|
|
3812
3807
|
key: 1,
|
|
3813
3808
|
class: "protocol-box"
|
|
3814
3809
|
};
|
|
3815
|
-
const
|
|
3816
|
-
const
|
|
3817
|
-
const
|
|
3818
|
-
|
|
3819
|
-
const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
3820
|
-
name: "index",
|
|
3810
|
+
const _hoisted_31 = /* @__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 ", -1);
|
|
3811
|
+
const _hoisted_32 = ["href"];
|
|
3812
|
+
const _sfc_main$5 = defineComponent({
|
|
3813
|
+
__name: "index",
|
|
3821
3814
|
props: {
|
|
3822
3815
|
visible: { type: Boolean, default: false },
|
|
3823
3816
|
imgList: { default: [] },
|
|
@@ -3826,7 +3819,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
3826
3819
|
imgNum: { default: 20 }
|
|
3827
3820
|
},
|
|
3828
3821
|
emits: ["update:imgList", "update:visible", "submit"],
|
|
3829
|
-
setup(__props, { emit:
|
|
3822
|
+
setup(__props, { emit: __emit }) {
|
|
3823
|
+
const emits = __emit;
|
|
3830
3824
|
const props = __props;
|
|
3831
3825
|
const drag = ref(false);
|
|
3832
3826
|
const imgListTemp = computed({
|
|
@@ -4111,15 +4105,15 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
4111
4105
|
onClick: ($event) => changeTab(item)
|
|
4112
4106
|
}, [
|
|
4113
4107
|
createTextVNode(toDisplayString(item.value) + " ", 1),
|
|
4114
|
-
item.id === activeTitle.value ? (openBlock(), createElementBlock("div", _hoisted_4$
|
|
4108
|
+
item.id === activeTitle.value ? (openBlock(), createElementBlock("div", _hoisted_4$1)) : createCommentVNode("", true)
|
|
4115
4109
|
], 10, _hoisted_3$4);
|
|
4116
4110
|
}), 128)),
|
|
4117
|
-
[1, 3].includes(activeTitle.value) && props.imgList.length ? (openBlock(), createElementBlock("div", _hoisted_5$
|
|
4111
|
+
[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),
|
|
4118
4112
|
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)
|
|
4119
4113
|
]),
|
|
4120
4114
|
activeTitle.value === 1 ? (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
4121
4115
|
createElementVNode("div", _hoisted_8, [
|
|
4122
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
4116
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(contentImgList.value, (item, index) => {
|
|
4123
4117
|
return openBlock(), createElementBlock("div", {
|
|
4124
4118
|
key: index,
|
|
4125
4119
|
class: "image-item",
|
|
@@ -4157,8 +4151,8 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
4157
4151
|
_hoisted_15
|
|
4158
4152
|
])) : (openBlock(), createElementBlock("div", _hoisted_16, [
|
|
4159
4153
|
createVNode(unref(draggable), {
|
|
4160
|
-
modelValue:
|
|
4161
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) =>
|
|
4154
|
+
modelValue: imgListTemp.value,
|
|
4155
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => imgListTemp.value = $event),
|
|
4162
4156
|
handle: ".img-item",
|
|
4163
4157
|
class: "img-wrap",
|
|
4164
4158
|
group: "people",
|
|
@@ -4283,13 +4277,13 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
4283
4277
|
onClick: search
|
|
4284
4278
|
}, {
|
|
4285
4279
|
default: withCtx(() => [
|
|
4286
|
-
|
|
4280
|
+
createTextVNode("\u641C\u7D22")
|
|
4287
4281
|
]),
|
|
4288
4282
|
_: 1
|
|
4289
4283
|
})
|
|
4290
4284
|
]),
|
|
4291
|
-
tabList.value && tabList.value.length ? (openBlock(), createElementBlock("div",
|
|
4292
|
-
createElementVNode("div",
|
|
4285
|
+
tabList.value && tabList.value.length ? (openBlock(), createElementBlock("div", _hoisted_21, [
|
|
4286
|
+
createElementVNode("div", _hoisted_22, [
|
|
4293
4287
|
(openBlock(true), createElementBlock(Fragment, null, renderList(tabList.value, (item, index) => {
|
|
4294
4288
|
return openBlock(), createElementBlock("div", {
|
|
4295
4289
|
key: index,
|
|
@@ -4297,12 +4291,12 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
4297
4291
|
onClick: ($event) => activeTab.value = item.type
|
|
4298
4292
|
}, [
|
|
4299
4293
|
createTextVNode(toDisplayString(item.name) + " ", 1),
|
|
4300
|
-
item.type === activeTab.value ? (openBlock(), createElementBlock("div",
|
|
4301
|
-
], 10,
|
|
4294
|
+
item.type === activeTab.value ? (openBlock(), createElementBlock("div", _hoisted_24)) : createCommentVNode("", true)
|
|
4295
|
+
], 10, _hoisted_23);
|
|
4302
4296
|
}), 128))
|
|
4303
4297
|
]),
|
|
4304
|
-
createElementVNode("div",
|
|
4305
|
-
(openBlock(true), createElementBlock(Fragment, null, renderList(
|
|
4298
|
+
createElementVNode("div", _hoisted_25, [
|
|
4299
|
+
(openBlock(true), createElementBlock(Fragment, null, renderList(imageList.value, (item, index) => {
|
|
4306
4300
|
return openBlock(), createElementBlock("div", {
|
|
4307
4301
|
key: index,
|
|
4308
4302
|
class: "image-item",
|
|
@@ -4312,25 +4306,25 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
4312
4306
|
src: item.imgOrgUrl,
|
|
4313
4307
|
alt: "",
|
|
4314
4308
|
class: "image"
|
|
4315
|
-
}, null, 8,
|
|
4316
|
-
item.num ? (openBlock(), createElementBlock("div",
|
|
4317
|
-
createElementVNode("div",
|
|
4309
|
+
}, null, 8, _hoisted_27),
|
|
4310
|
+
item.num ? (openBlock(), createElementBlock("div", _hoisted_28, [
|
|
4311
|
+
createElementVNode("div", _hoisted_29, toDisplayString(item.num), 1)
|
|
4318
4312
|
])) : createCommentVNode("", true)
|
|
4319
|
-
], 8,
|
|
4313
|
+
], 8, _hoisted_26);
|
|
4320
4314
|
}), 128))
|
|
4321
4315
|
])
|
|
4322
|
-
])) : (openBlock(), createElementBlock("div",
|
|
4316
|
+
])) : (openBlock(), createElementBlock("div", _hoisted_30, [
|
|
4323
4317
|
createElementVNode("div", null, [
|
|
4324
|
-
|
|
4318
|
+
_hoisted_31,
|
|
4325
4319
|
createElementVNode("div", null, [
|
|
4326
|
-
|
|
4320
|
+
createTextVNode(" \u8BF7\u9605\u8BFB"),
|
|
4327
4321
|
createElementVNode("a", {
|
|
4328
4322
|
href: `https://${unref(hostName)}/about?type=imageLicenseAgreement`,
|
|
4329
4323
|
target: "_blank",
|
|
4330
4324
|
rel: "noopener noreferrer",
|
|
4331
4325
|
class: "link"
|
|
4332
|
-
}, "\u300A\u6469\u6258\u8303\u56FE\u7247\u8BB8\u53EF\u4F7F\u7528\u534F\u8BAE\u300B", 8,
|
|
4333
|
-
|
|
4326
|
+
}, "\u300A\u6469\u6258\u8303\u56FE\u7247\u8BB8\u53EF\u4F7F\u7528\u534F\u8BAE\u300B", 8, _hoisted_32),
|
|
4327
|
+
createTextVNode(",\u60A8\u7684\u884C\u4E3A\u89C6\u4E3A\u60A8\u5DF2\u540C\u610F\u8BE5\u534F\u8BAE\u3002 ")
|
|
4334
4328
|
])
|
|
4335
4329
|
])
|
|
4336
4330
|
]))
|
|
@@ -4345,22 +4339,22 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
4345
4339
|
const index_vue_vue_type_style_index_0_lang$2 = "";
|
|
4346
4340
|
const _hoisted_1$4 = /* @__PURE__ */ createElementVNode("span", null, "\u63D2\u5165\u89C6\u9891", -1);
|
|
4347
4341
|
const _hoisted_2$3 = { class: "insert-video" };
|
|
4348
|
-
const _hoisted_3$3 = /* @__PURE__ */
|
|
4349
|
-
const
|
|
4350
|
-
|
|
4351
|
-
name: "index",
|
|
4342
|
+
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);
|
|
4343
|
+
const _sfc_main$4 = defineComponent({
|
|
4344
|
+
__name: "index",
|
|
4352
4345
|
props: {
|
|
4353
4346
|
visible: { type: Boolean, default: false },
|
|
4354
|
-
fileSelected:
|
|
4347
|
+
fileSelected: {}
|
|
4355
4348
|
},
|
|
4356
4349
|
emits: ["update:visible"],
|
|
4357
|
-
setup(__props, { emit:
|
|
4358
|
-
const
|
|
4350
|
+
setup(__props, { emit: __emit }) {
|
|
4351
|
+
const emits = __emit;
|
|
4359
4352
|
provide("vm", {
|
|
4360
4353
|
setStatus(val) {
|
|
4361
4354
|
emits("update:visible", val);
|
|
4362
4355
|
}
|
|
4363
4356
|
});
|
|
4357
|
+
const props = __props;
|
|
4364
4358
|
const { visible, fileSelected } = toRefs(props);
|
|
4365
4359
|
const emitEvent = () => {
|
|
4366
4360
|
var event = new MouseEvent("click");
|
|
@@ -4386,11 +4380,11 @@ const _sfc_main$4 = /* @__PURE__ */ defineComponent({
|
|
|
4386
4380
|
onClick: emitEvent
|
|
4387
4381
|
}, {
|
|
4388
4382
|
default: withCtx(() => [
|
|
4389
|
-
|
|
4383
|
+
createTextVNode("\u9009\u62E9\u89C6\u9891")
|
|
4390
4384
|
]),
|
|
4391
4385
|
_: 1
|
|
4392
4386
|
}),
|
|
4393
|
-
|
|
4387
|
+
_hoisted_3$3,
|
|
4394
4388
|
createElementVNode("input", {
|
|
4395
4389
|
type: "file",
|
|
4396
4390
|
accept: "video/*",
|
|
@@ -5372,8 +5366,8 @@ const _hoisted_1$1 = {
|
|
|
5372
5366
|
};
|
|
5373
5367
|
const _hoisted_2$1 = ["src"];
|
|
5374
5368
|
const _hoisted_3$1 = { class: "article-item_right" };
|
|
5375
|
-
const _hoisted_4
|
|
5376
|
-
const _hoisted_5
|
|
5369
|
+
const _hoisted_4 = { class: "name" };
|
|
5370
|
+
const _hoisted_5 = { class: "score" };
|
|
5377
5371
|
function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
5378
5372
|
const _component_el_icon_error = resolveComponent("el-icon-error");
|
|
5379
5373
|
return openBlock(), createElementBlock("div", _hoisted_1$1, [
|
|
@@ -5383,8 +5377,8 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5383
5377
|
alt: ""
|
|
5384
5378
|
}, null, 8, _hoisted_2$1)) : createCommentVNode("", true),
|
|
5385
5379
|
createElementVNode("div", _hoisted_3$1, [
|
|
5386
|
-
createElementVNode("div", _hoisted_4
|
|
5387
|
-
createElementVNode("div", _hoisted_5
|
|
5380
|
+
createElementVNode("div", _hoisted_4, toDisplayString($props.article.title), 1),
|
|
5381
|
+
createElementVNode("div", _hoisted_5, [
|
|
5388
5382
|
createElementVNode("span", null, toDisplayString($props.article.author), 1),
|
|
5389
5383
|
createElementVNode("span", null, toDisplayString($props.article.viewNum) + "\u6D4F\u89C8", 1),
|
|
5390
5384
|
createElementVNode("span", null, toDisplayString($props.article.replycnt) + "\u8BC4\u8BBA", 1)
|
|
@@ -5402,7 +5396,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
5402
5396
|
}, " \u5E73\u53F0\u4EC5\u652F\u6301\u5C55\u793A18\u4E2A\u6708\u7684\u63A8\u8350\u5185\u5BB9 ", 2)) : createCommentVNode("", true)
|
|
5403
5397
|
]);
|
|
5404
5398
|
}
|
|
5405
|
-
const Item = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-
|
|
5399
|
+
const Item = /* @__PURE__ */ _export_sfc(_sfc_main$1, [["render", _sfc_render$1], ["__scopeId", "data-v-1c406a11"]]);
|
|
5406
5400
|
const mountArticleDom = (props, del) => {
|
|
5407
5401
|
const className = "article-wrap";
|
|
5408
5402
|
const article = props.article;
|
|
@@ -5575,7 +5569,7 @@ const _sfc_main = {
|
|
|
5575
5569
|
me2.editorDom = document.getElementById("editor-content");
|
|
5576
5570
|
me2.editorDom.addEventListener("blur", this.canSetAlign);
|
|
5577
5571
|
if (!window.Squire) {
|
|
5578
|
-
import("./squire-raw.
|
|
5572
|
+
import("./squire-raw.85a430e7.js").then(function() {
|
|
5579
5573
|
me2.initSquire();
|
|
5580
5574
|
});
|
|
5581
5575
|
} else {
|
|
@@ -6201,8 +6195,6 @@ const _sfc_main = {
|
|
|
6201
6195
|
}
|
|
6202
6196
|
}
|
|
6203
6197
|
this.updateData(true);
|
|
6204
|
-
} else {
|
|
6205
|
-
this.setToast(rst.origin.name + "\u4E0A\u4F20\u5931\u8D25\uFF0C\u8BF7\u91CD\u8BD5");
|
|
6206
6198
|
}
|
|
6207
6199
|
},
|
|
6208
6200
|
insertVideoBtns(editor, node) {
|
|
@@ -7089,7 +7081,7 @@ const _sfc_main = {
|
|
|
7089
7081
|
};
|
|
7090
7082
|
},
|
|
7091
7083
|
isHaloImage(url = "") {
|
|
7092
|
-
return url.indexOf("jddmoto") > -1 || url.indexOf("58moto") > -1 || url.indexOf("emotofine") > -1 || url.indexOf("dronefine") > -1 || url.indexOf("evtolfine") > -1 || url.indexOf("biaofine") > -1;
|
|
7084
|
+
return url.indexOf("jddmoto") > -1 || url.indexOf("58moto") > -1 || url.indexOf("emotofine") > -1 || url.indexOf("dronefine") > -1 || url.indexOf("evtolfine") > -1 || url.indexOf("biaofine") > -1 || url.indexOf("robotbaodian") > -1;
|
|
7093
7085
|
},
|
|
7094
7086
|
updateUploads() {
|
|
7095
7087
|
const me2 = this;
|
|
@@ -7852,8 +7844,6 @@ const _hoisted_3 = {
|
|
|
7852
7844
|
slot: "footer",
|
|
7853
7845
|
class: "dialog-footer"
|
|
7854
7846
|
};
|
|
7855
|
-
const _hoisted_4 = /* @__PURE__ */ createTextVNode("\u53D6 \u6D88");
|
|
7856
|
-
const _hoisted_5 = /* @__PURE__ */ createTextVNode("\u786E \u5B9A");
|
|
7857
7847
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
7858
7848
|
const _component_el_input = resolveComponent("el-input");
|
|
7859
7849
|
const _component_el_form_item = resolveComponent("el-form-item");
|
|
@@ -7927,7 +7917,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7927
7917
|
onClick: _cache[3] || (_cache[3] = ($event) => $data.viewLinkDialog = false)
|
|
7928
7918
|
}, {
|
|
7929
7919
|
default: withCtx(() => [
|
|
7930
|
-
|
|
7920
|
+
createTextVNode("\u53D6 \u6D88")
|
|
7931
7921
|
]),
|
|
7932
7922
|
_: 1
|
|
7933
7923
|
}),
|
|
@@ -7936,7 +7926,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7936
7926
|
onClick: $options.insertLink
|
|
7937
7927
|
}, {
|
|
7938
7928
|
default: withCtx(() => [
|
|
7939
|
-
|
|
7929
|
+
createTextVNode("\u786E \u5B9A")
|
|
7940
7930
|
]),
|
|
7941
7931
|
_: 1
|
|
7942
7932
|
}, 8, ["onClick"])
|
|
@@ -7954,7 +7944,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7954
7944
|
}, null, 8, ["article", "visible", "getList", "onDelete", "onChange"]),
|
|
7955
7945
|
createVNode(_component_ImgUpload, {
|
|
7956
7946
|
"img-list": $data.imgList,
|
|
7957
|
-
"onUpdate:
|
|
7947
|
+
"onUpdate:imgList": _cache[6] || (_cache[6] = ($event) => $data.imgList = $event),
|
|
7958
7948
|
visible: $data.visibleImg,
|
|
7959
7949
|
"onUpdate:visible": _cache[7] || (_cache[7] = ($event) => $data.visibleImg = $event),
|
|
7960
7950
|
chartGallery: $props.chartGallery,
|
|
@@ -7969,7 +7959,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
7969
7959
|
}, null, 8, ["visible", "file-selected"]),
|
|
7970
7960
|
createVNode(_component_CollectArticle, {
|
|
7971
7961
|
"link-content": $data.linkContent,
|
|
7972
|
-
"onUpdate:
|
|
7962
|
+
"onUpdate:linkContent": _cache[9] || (_cache[9] = ($event) => $data.linkContent = $event),
|
|
7973
7963
|
visible: $data.visibleCollectArticle,
|
|
7974
7964
|
"onUpdate:visible": _cache[10] || (_cache[10] = ($event) => $data.visibleCollectArticle = $event),
|
|
7975
7965
|
onSubmit: $options.confirmLink
|