@cmstops/pro-compo 0.3.6 → 0.3.8
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/index.css +2 -2
- package/dist/index.min.css +1 -1
- package/es/contentDetailList/components/Content/DocItem/index.js +29 -28
- package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.js +78 -86
- package/es/contentDetailList/components/ShowQRCode/index.js +30 -20
- package/es/contentDetailList/style/DocItem.less +7 -5
- package/es/contentDetailList/style/index.css +2 -2
- package/es/editMetaInfo/components/metaInfoForm.js +33 -23
- package/es/index.css +2 -2
- package/es/selectThumb/component.js +18 -53
- package/es/utils/doc.js +1 -9
- package/lib/contentDetailList/components/Content/DocItem/index.js +28 -27
- package/lib/contentDetailList/components/ShowQRCode/QrcodeView/index.js +76 -84
- package/lib/contentDetailList/components/ShowQRCode/index.js +28 -18
- package/lib/contentDetailList/style/DocItem.less +7 -5
- package/lib/contentDetailList/style/index.css +2 -2
- package/lib/editMetaInfo/components/metaInfoForm.js +32 -22
- package/lib/index.css +2 -2
- package/lib/selectThumb/component.js +17 -52
- package/lib/utils/doc.js +0 -9
- package/package.json +1 -1
|
@@ -15,20 +15,21 @@ const _hoisted_2 = {
|
|
|
15
15
|
};
|
|
16
16
|
const _hoisted_3 = { class: "batch-select" };
|
|
17
17
|
const _hoisted_4 = { class: "info-view" };
|
|
18
|
-
const _hoisted_5 = { class: "
|
|
19
|
-
const _hoisted_6 = { class: "
|
|
20
|
-
const _hoisted_7 = { class: "
|
|
21
|
-
const _hoisted_8 = {
|
|
22
|
-
const _hoisted_9 =
|
|
23
|
-
const _hoisted_10 =
|
|
24
|
-
const _hoisted_11 = {
|
|
25
|
-
const _hoisted_12 = {
|
|
26
|
-
const _hoisted_13 =
|
|
27
|
-
const _hoisted_14 = {
|
|
18
|
+
const _hoisted_5 = { class: "title" };
|
|
19
|
+
const _hoisted_6 = { class: "abttrite-v" };
|
|
20
|
+
const _hoisted_7 = { class: "left" };
|
|
21
|
+
const _hoisted_8 = { class: "tags" };
|
|
22
|
+
const _hoisted_9 = { key: 0 };
|
|
23
|
+
const _hoisted_10 = /* @__PURE__ */ vue.createElementVNode("span", null, "\u5BA1\u6838\u72B6\u6001: ", -1);
|
|
24
|
+
const _hoisted_11 = { key: 1 };
|
|
25
|
+
const _hoisted_12 = { class: "abttr" };
|
|
26
|
+
const _hoisted_13 = { style: { "font-size": "14px", "margin-bottom": "5px", "font-weight": "bold" } };
|
|
27
|
+
const _hoisted_14 = /* @__PURE__ */ vue.createElementVNode("span", { style: { "font-size": "10px" } }, "\u540C\u65F6\u53D1\u5E03\u5230:", -1);
|
|
28
|
+
const _hoisted_15 = {
|
|
28
29
|
key: 1,
|
|
29
30
|
style: { "font-size": "10px" }
|
|
30
31
|
};
|
|
31
|
-
const
|
|
32
|
+
const _hoisted_16 = { class: "right" };
|
|
32
33
|
const _sfc_main = vue.defineComponent({
|
|
33
34
|
__name: "index",
|
|
34
35
|
props: {
|
|
@@ -117,25 +118,25 @@ const _sfc_main = vue.defineComponent({
|
|
|
117
118
|
}, vue.toDisplayString(localLiveStatus.value.label), 5)) : vue.createCommentVNode("v-if", true)
|
|
118
119
|
]),
|
|
119
120
|
vue.createElementVNode("div", _hoisted_4, [
|
|
120
|
-
vue.createElementVNode("div",
|
|
121
|
-
class: "title",
|
|
122
|
-
onClick: clickTitle
|
|
123
|
-
}, [
|
|
121
|
+
vue.createElementVNode("div", _hoisted_5, [
|
|
124
122
|
vue.createVNode(index$1, {
|
|
125
123
|
item: _ctx.item,
|
|
126
124
|
BASE_API: _ctx.BASE_API
|
|
127
125
|
}, null, 8, ["item", "BASE_API"]),
|
|
128
126
|
vue.renderSlot(_ctx.$slots, "index"),
|
|
129
|
-
vue.
|
|
127
|
+
vue.createElementVNode("span", {
|
|
128
|
+
class: "text",
|
|
129
|
+
onClick: clickTitle
|
|
130
|
+
}, vue.toDisplayString(_ctx.item.alias || _ctx.item.title), 1)
|
|
130
131
|
]),
|
|
131
|
-
vue.createElementVNode("div",
|
|
132
|
-
vue.createElementVNode("div",
|
|
132
|
+
vue.createElementVNode("div", _hoisted_6, [
|
|
133
|
+
vue.createElementVNode("div", _hoisted_7, [
|
|
133
134
|
vue.createVNode(component, {
|
|
134
135
|
class: "icon",
|
|
135
136
|
doc: true,
|
|
136
137
|
type: _ctx.item.series
|
|
137
138
|
}, null, 8, ["type"]),
|
|
138
|
-
vue.createElementVNode("span",
|
|
139
|
+
vue.createElementVNode("span", _hoisted_8, [
|
|
139
140
|
showDataTags.value ? (vue.openBlock(), vue.createBlock(component$1, {
|
|
140
141
|
key: 0,
|
|
141
142
|
item: _ctx.item
|
|
@@ -145,15 +146,15 @@ const _sfc_main = vue.defineComponent({
|
|
|
145
146
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.abttrites, (column, i) => {
|
|
146
147
|
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: i }, [
|
|
147
148
|
vue.createCommentVNode(" \u5BA1\u6838\u72B6\u6001 "),
|
|
148
|
-
column.key === "approval_status" ? (vue.openBlock(), vue.createElementBlock("span",
|
|
149
|
-
|
|
149
|
+
column.key === "approval_status" ? (vue.openBlock(), vue.createElementBlock("span", _hoisted_9, [
|
|
150
|
+
_hoisted_10,
|
|
150
151
|
vue.unref(doc.approvalItem)(_ctx.item) ? (vue.openBlock(), vue.createBlock(index$2, {
|
|
151
152
|
key: 0,
|
|
152
153
|
item: vue.unref(doc.approvalItem)(_ctx.item)
|
|
153
|
-
}, null, 8, ["item"])) : (vue.openBlock(), vue.createElementBlock("span",
|
|
154
|
+
}, null, 8, ["item"])) : (vue.openBlock(), vue.createElementBlock("span", _hoisted_11, "--"))
|
|
154
155
|
])) : column.key === "state" ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
155
156
|
vue.createCommentVNode(" \u72B6\u6001 "),
|
|
156
|
-
vue.createElementVNode("span",
|
|
157
|
+
vue.createElementVNode("span", _hoisted_12, [
|
|
157
158
|
vue.createVNode(vue.unref(webVue.Tooltip), {
|
|
158
159
|
content: `\u72B6\u6001: ${vue.unref(doc.docStateMap)[_ctx.item.state]}`,
|
|
159
160
|
position: "top"
|
|
@@ -173,12 +174,12 @@ const _sfc_main = vue.defineComponent({
|
|
|
173
174
|
}, {
|
|
174
175
|
content: vue.withCtx(() => [
|
|
175
176
|
_ctx.item.other_categories ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
|
|
176
|
-
vue.createElementVNode("div",
|
|
177
|
+
vue.createElementVNode("div", _hoisted_13, "\u680F\u76EE: " + vue.toDisplayString(_ctx.item.primary_category || "--"), 1),
|
|
177
178
|
vue.createElementVNode("span", null, [
|
|
178
|
-
|
|
179
|
+
_hoisted_14,
|
|
179
180
|
vue.createTextVNode(" " + vue.toDisplayString(_ctx.item.other_categories.join("\u3001")), 1)
|
|
180
181
|
])
|
|
181
|
-
], 64)) : (vue.openBlock(), vue.createElementBlock("div",
|
|
182
|
+
], 64)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_15, "\u680F\u76EE: " + vue.toDisplayString(_ctx.item.primary_category || "--"), 1))
|
|
182
183
|
]),
|
|
183
184
|
default: vue.withCtx(() => [
|
|
184
185
|
vue.createVNode(vue.unref(webVue.Button), {
|
|
@@ -230,7 +231,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
230
231
|
], 64);
|
|
231
232
|
}), 128))
|
|
232
233
|
]),
|
|
233
|
-
vue.createElementVNode("div",
|
|
234
|
+
vue.createElementVNode("div", _hoisted_16, [
|
|
234
235
|
vue.renderSlot(_ctx.$slots, "option", { row: _ctx.item })
|
|
235
236
|
])
|
|
236
237
|
])
|
|
@@ -47,8 +47,10 @@ const _sfc_main = vue.defineComponent({
|
|
|
47
47
|
docData: {},
|
|
48
48
|
BASE_API: {}
|
|
49
49
|
},
|
|
50
|
-
|
|
50
|
+
emits: ["changeLoading"],
|
|
51
|
+
setup(__props, { emit: __emit }) {
|
|
51
52
|
const props = __props;
|
|
53
|
+
const emit = __emit;
|
|
52
54
|
const qrcode = vue.ref();
|
|
53
55
|
const dataInfo = vue.ref(null);
|
|
54
56
|
const expirationOptions = vue.ref([
|
|
@@ -62,7 +64,6 @@ const _sfc_main = vue.defineComponent({
|
|
|
62
64
|
{ label: "30\u5929", value: 60 * 60 * 24 * 30 }
|
|
63
65
|
]);
|
|
64
66
|
const expiration = vue.ref(60 * 60 * 24);
|
|
65
|
-
const loading = vue.ref(false);
|
|
66
67
|
const interval = vue.ref(null);
|
|
67
68
|
const time = vue.ref("");
|
|
68
69
|
const local_url = vue.ref("");
|
|
@@ -121,7 +122,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
121
122
|
}
|
|
122
123
|
};
|
|
123
124
|
const genTimeLink = async (expiration2, force = true, tip = true) => {
|
|
124
|
-
|
|
125
|
+
emit("changeLoading", true);
|
|
125
126
|
const data = {
|
|
126
127
|
force,
|
|
127
128
|
hash_id: dataInfo.value.hash_id || dataInfo.value.hashid
|
|
@@ -139,7 +140,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
139
140
|
vue.nextTick(() => {
|
|
140
141
|
loadQrcode(`${message.inner_url}?reqTime=${reqTime}`);
|
|
141
142
|
setTimeout(() => {
|
|
142
|
-
|
|
143
|
+
emit("changeLoading", false);
|
|
143
144
|
}, 500);
|
|
144
145
|
});
|
|
145
146
|
} else {
|
|
@@ -168,7 +169,6 @@ const _sfc_main = vue.defineComponent({
|
|
|
168
169
|
};
|
|
169
170
|
vue.onMounted(() => {
|
|
170
171
|
dataInfo.value = props.docData;
|
|
171
|
-
console.log(1111, dataInfo.value);
|
|
172
172
|
if (needLoadQR.value) {
|
|
173
173
|
genTimeLink(60 * 60 * 24, false, false);
|
|
174
174
|
}
|
|
@@ -183,87 +183,79 @@ const _sfc_main = vue.defineComponent({
|
|
|
183
183
|
return (_ctx, _cache) => {
|
|
184
184
|
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
185
185
|
vue.createCommentVNode(" \u9884\u89C8\u624B\u673A\u626B\u7801 "),
|
|
186
|
-
vue.
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
class: "qrcode"
|
|
198
|
-
}, null, 8, _hoisted_3)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
199
|
-
!is_publish.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, [
|
|
200
|
-
vue.createElementVNode("div", _hoisted_5, [
|
|
201
|
-
vue.createVNode(vue.unref(icon.IconQrcode), { size: 200 })
|
|
202
|
-
])
|
|
203
|
-
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, "\u6682\u65E0\u4E8C\u7EF4\u7801"))
|
|
204
|
-
], 64)),
|
|
205
|
-
is_share.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, "\u626B\u63CF\u4E8C\u7EF4\u7801\u8BBF\u95EE")) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_8, [
|
|
206
|
-
_hoisted_9,
|
|
207
|
-
vue.createElementVNode("span", null, [
|
|
208
|
-
vue.createVNode(vue.unref(webVue.Select), {
|
|
209
|
-
modelValue: expiration.value,
|
|
210
|
-
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => expiration.value = $event),
|
|
211
|
-
size: "mini",
|
|
212
|
-
placeholder: "\u8BF7\u9009\u62E9"
|
|
213
|
-
}, {
|
|
214
|
-
default: vue.withCtx(() => [
|
|
215
|
-
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(expirationOptions.value, (time2, index) => {
|
|
216
|
-
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Option), {
|
|
217
|
-
key: index,
|
|
218
|
-
label: time2.label,
|
|
219
|
-
value: time2.value
|
|
220
|
-
}, null, 8, ["label", "value"]);
|
|
221
|
-
}), 128))
|
|
222
|
-
]),
|
|
223
|
-
_: 1
|
|
224
|
-
}, 8, ["modelValue"])
|
|
225
|
-
])
|
|
226
|
-
])),
|
|
227
|
-
is_share.value && time.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10, "\u94FE\u63A5\u5269\u4F59\u65F6\u95F4: " + vue.toDisplayString(time.value), 1)) : is_share.value && time.value === 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11, "\u94FE\u63A5\u5DF2\u8FC7\u671F")) : vue.createCommentVNode("v-if", true),
|
|
228
|
-
vue.createElementVNode("div", _hoisted_12, [
|
|
229
|
-
showGetLink.value ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Button), {
|
|
230
|
-
key: 0,
|
|
231
|
-
type: "primary",
|
|
232
|
-
light: "",
|
|
233
|
-
onClick: _cache[1] || (_cache[1] = ($event) => genTimeLink(expiration.value))
|
|
234
|
-
}, {
|
|
235
|
-
default: vue.withCtx(() => [
|
|
236
|
-
vue.createTextVNode("\u751F\u6210\u9884\u89C8\u94FE\u63A5")
|
|
237
|
-
]),
|
|
238
|
-
_: 1
|
|
239
|
-
})) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
240
|
-
vue.createVNode(vue.unref(webVue.Button), {
|
|
241
|
-
class: "auto",
|
|
242
|
-
light: "",
|
|
243
|
-
onClick: _cache[2] || (_cache[2] = ($event) => clipUrl("img"))
|
|
244
|
-
}, {
|
|
245
|
-
default: vue.withCtx(() => [
|
|
246
|
-
vue.createTextVNode("\u590D\u5236\u4E8C\u7EF4\u7801")
|
|
247
|
-
]),
|
|
248
|
-
_: 1
|
|
249
|
-
}),
|
|
250
|
-
vue.createVNode(vue.unref(webVue.Button), {
|
|
251
|
-
class: "auto",
|
|
252
|
-
type: "primary",
|
|
253
|
-
light: "",
|
|
254
|
-
onClick: _cache[3] || (_cache[3] = ($event) => clipUrl("text"))
|
|
255
|
-
}, {
|
|
256
|
-
default: vue.withCtx(() => [
|
|
257
|
-
vue.createTextVNode(vue.toDisplayString(time.value ? "\u590D\u5236\u9884\u89C8\u5730\u5740" : "\u590D\u5236\u8BBF\u95EE\u5730\u5740"), 1)
|
|
258
|
-
]),
|
|
259
|
-
_: 1
|
|
260
|
-
})
|
|
261
|
-
], 64))
|
|
186
|
+
vue.createElementVNode("div", _hoisted_2, [
|
|
187
|
+
is_share.value ? (vue.openBlock(), vue.createElementBlock("div", {
|
|
188
|
+
key: 0,
|
|
189
|
+
id: dynamicQRId.value,
|
|
190
|
+
ref_key: "qrcode",
|
|
191
|
+
ref: qrcode,
|
|
192
|
+
class: "qrcode"
|
|
193
|
+
}, null, 8, _hoisted_3)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
194
|
+
!is_publish.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_4, [
|
|
195
|
+
vue.createElementVNode("div", _hoisted_5, [
|
|
196
|
+
vue.createVNode(vue.unref(icon.IconQrcode), { size: 200 })
|
|
262
197
|
])
|
|
198
|
+
])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_6, "\u6682\u65E0\u4E8C\u7EF4\u7801"))
|
|
199
|
+
], 64)),
|
|
200
|
+
is_share.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_7, "\u626B\u63CF\u4E8C\u7EF4\u7801\u8BBF\u95EE")) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_8, [
|
|
201
|
+
_hoisted_9,
|
|
202
|
+
vue.createElementVNode("span", null, [
|
|
203
|
+
vue.createVNode(vue.unref(webVue.Select), {
|
|
204
|
+
modelValue: expiration.value,
|
|
205
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => expiration.value = $event),
|
|
206
|
+
size: "mini",
|
|
207
|
+
placeholder: "\u8BF7\u9009\u62E9"
|
|
208
|
+
}, {
|
|
209
|
+
default: vue.withCtx(() => [
|
|
210
|
+
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(expirationOptions.value, (time2, index) => {
|
|
211
|
+
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Option), {
|
|
212
|
+
key: index,
|
|
213
|
+
label: time2.label,
|
|
214
|
+
value: time2.value
|
|
215
|
+
}, null, 8, ["label", "value"]);
|
|
216
|
+
}), 128))
|
|
217
|
+
]),
|
|
218
|
+
_: 1
|
|
219
|
+
}, 8, ["modelValue"])
|
|
263
220
|
])
|
|
264
|
-
]),
|
|
265
|
-
|
|
266
|
-
|
|
221
|
+
])),
|
|
222
|
+
is_share.value && time.value ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_10, "\u94FE\u63A5\u5269\u4F59\u65F6\u95F4: " + vue.toDisplayString(time.value), 1)) : is_share.value && time.value === 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_11, "\u94FE\u63A5\u5DF2\u8FC7\u671F")) : vue.createCommentVNode("v-if", true),
|
|
223
|
+
vue.createElementVNode("div", _hoisted_12, [
|
|
224
|
+
showGetLink.value ? (vue.openBlock(), vue.createBlock(vue.unref(webVue.Button), {
|
|
225
|
+
key: 0,
|
|
226
|
+
type: "primary",
|
|
227
|
+
light: "",
|
|
228
|
+
onClick: _cache[1] || (_cache[1] = ($event) => genTimeLink(expiration.value))
|
|
229
|
+
}, {
|
|
230
|
+
default: vue.withCtx(() => [
|
|
231
|
+
vue.createTextVNode("\u751F\u6210\u9884\u89C8\u94FE\u63A5")
|
|
232
|
+
]),
|
|
233
|
+
_: 1
|
|
234
|
+
})) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
|
|
235
|
+
vue.createVNode(vue.unref(webVue.Button), {
|
|
236
|
+
class: "auto",
|
|
237
|
+
light: "",
|
|
238
|
+
onClick: _cache[2] || (_cache[2] = ($event) => clipUrl("img"))
|
|
239
|
+
}, {
|
|
240
|
+
default: vue.withCtx(() => [
|
|
241
|
+
vue.createTextVNode("\u590D\u5236\u4E8C\u7EF4\u7801")
|
|
242
|
+
]),
|
|
243
|
+
_: 1
|
|
244
|
+
}),
|
|
245
|
+
vue.createVNode(vue.unref(webVue.Button), {
|
|
246
|
+
class: "auto",
|
|
247
|
+
type: "primary",
|
|
248
|
+
light: "",
|
|
249
|
+
onClick: _cache[3] || (_cache[3] = ($event) => clipUrl("text"))
|
|
250
|
+
}, {
|
|
251
|
+
default: vue.withCtx(() => [
|
|
252
|
+
vue.createTextVNode(vue.toDisplayString(time.value ? "\u590D\u5236\u9884\u89C8\u5730\u5740" : "\u590D\u5236\u8BBF\u95EE\u5730\u5740"), 1)
|
|
253
|
+
]),
|
|
254
|
+
_: 1
|
|
255
|
+
})
|
|
256
|
+
], 64))
|
|
257
|
+
])
|
|
258
|
+
])
|
|
267
259
|
]);
|
|
268
260
|
};
|
|
269
261
|
}
|
|
@@ -13,6 +13,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
13
13
|
},
|
|
14
14
|
setup(__props) {
|
|
15
15
|
const props = __props;
|
|
16
|
+
const loading = vue.ref(false);
|
|
16
17
|
const docData = vue.ref(null);
|
|
17
18
|
const showQR = vue.ref(false);
|
|
18
19
|
const getDocDetail = async () => {
|
|
@@ -24,39 +25,48 @@ const _sfc_main = vue.defineComponent({
|
|
|
24
25
|
}
|
|
25
26
|
};
|
|
26
27
|
const openPopover = () => {
|
|
28
|
+
loading.value = true;
|
|
27
29
|
getDocDetail();
|
|
28
30
|
setTimeout(() => {
|
|
29
31
|
showQR.value = true;
|
|
30
32
|
}, 500);
|
|
31
33
|
};
|
|
34
|
+
const handleChangeLoading = (val) => {
|
|
35
|
+
loading.value = val;
|
|
36
|
+
console.log(1111, loading.value);
|
|
37
|
+
};
|
|
32
38
|
return (_ctx, _cache) => {
|
|
33
39
|
return vue.openBlock(), vue.createBlock(vue.unref(webVue.Popover), {
|
|
40
|
+
"content-style": {
|
|
41
|
+
minWidth: "224px",
|
|
42
|
+
minHeight: "300px"
|
|
43
|
+
},
|
|
34
44
|
position: "bottom",
|
|
35
|
-
trigger: "
|
|
45
|
+
trigger: "click",
|
|
36
46
|
onShow: openPopover,
|
|
37
47
|
onHide: _cache[1] || (_cache[1] = ($event) => showQR.value = false)
|
|
38
48
|
}, {
|
|
39
49
|
content: vue.withCtx(() => [
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
50
|
+
vue.createVNode(vue.unref(webVue.Spin), {
|
|
51
|
+
loading: loading.value,
|
|
52
|
+
style: { "min-width": "224px", "min-height": "300px" }
|
|
53
|
+
}, {
|
|
54
|
+
default: vue.withCtx(() => [
|
|
55
|
+
showQR.value ? (vue.openBlock(), vue.createBlock(index, {
|
|
56
|
+
key: 0,
|
|
57
|
+
BASE_API: _ctx.BASE_API,
|
|
58
|
+
docData: docData.value || props.item,
|
|
59
|
+
onChangeLoading: handleChangeLoading,
|
|
60
|
+
onClick: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
61
|
+
}, ["stop"]))
|
|
62
|
+
}, null, 8, ["BASE_API", "docData"])) : vue.createCommentVNode("v-if", true)
|
|
63
|
+
]),
|
|
64
|
+
_: 1
|
|
65
|
+
}, 8, ["loading"])
|
|
47
66
|
]),
|
|
48
67
|
default: vue.withCtx(() => [
|
|
49
68
|
vue.createElementVNode("section", _hoisted_1, [
|
|
50
|
-
vue.createVNode(vue.unref(
|
|
51
|
-
effect: "dark",
|
|
52
|
-
content: "\u70B9\u51FB\u53EF\u67E5\u770B\u5185\u5BB9\u5206\u4EAB\u4E8C\u7EF4\u7801",
|
|
53
|
-
position: "top"
|
|
54
|
-
}, {
|
|
55
|
-
default: vue.withCtx(() => [
|
|
56
|
-
vue.createVNode(vue.unref(icon.IconQrcode))
|
|
57
|
-
]),
|
|
58
|
-
_: 1
|
|
59
|
-
})
|
|
69
|
+
vue.createVNode(vue.unref(icon.IconQrcode))
|
|
60
70
|
])
|
|
61
71
|
]),
|
|
62
72
|
_: 1
|
|
@@ -77,12 +77,14 @@
|
|
|
77
77
|
-webkit-line-clamp: 2;
|
|
78
78
|
-webkit-box-orient: vertical;
|
|
79
79
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
80
|
+
.text {
|
|
81
|
+
&:hover {
|
|
82
|
+
color: #4886ff;
|
|
83
|
+
text-decoration: underline;
|
|
83
84
|
|
|
84
|
-
|
|
85
|
-
|
|
85
|
+
.index {
|
|
86
|
+
text-decoration: unset;
|
|
87
|
+
}
|
|
86
88
|
}
|
|
87
89
|
}
|
|
88
90
|
}
|
|
@@ -583,11 +583,11 @@
|
|
|
583
583
|
-webkit-line-clamp: 2;
|
|
584
584
|
-webkit-box-orient: vertical;
|
|
585
585
|
}
|
|
586
|
-
.medialist-doc-item-view .info-view .title:hover {
|
|
586
|
+
.medialist-doc-item-view .info-view .title .text:hover {
|
|
587
587
|
color: #4886ff;
|
|
588
588
|
text-decoration: underline;
|
|
589
589
|
}
|
|
590
|
-
.medialist-doc-item-view .info-view .title:hover .index {
|
|
590
|
+
.medialist-doc-item-view .info-view .title .text:hover .index {
|
|
591
591
|
text-decoration: unset;
|
|
592
592
|
}
|
|
593
593
|
.medialist-doc-item-view .info-view .abttrite-v {
|
|
@@ -119,6 +119,15 @@ const _sfc_main = vue.defineComponent({
|
|
|
119
119
|
});
|
|
120
120
|
}
|
|
121
121
|
};
|
|
122
|
+
const defaultSourceValue = vue.computed(() => {
|
|
123
|
+
const defaultValue = SourceInfo.value.find((x) => x.default);
|
|
124
|
+
return defaultValue ? defaultValue.value : "";
|
|
125
|
+
});
|
|
126
|
+
const changeStatement = (val) => {
|
|
127
|
+
if (val && defaultSourceValue.value) {
|
|
128
|
+
form.value.source = defaultSourceValue.value;
|
|
129
|
+
}
|
|
130
|
+
};
|
|
122
131
|
const lineTimeChange = () => {
|
|
123
132
|
form.value.online_time = "";
|
|
124
133
|
form.value.offline_time = "";
|
|
@@ -444,6 +453,21 @@ const _sfc_main = vue.defineComponent({
|
|
|
444
453
|
]),
|
|
445
454
|
_: 1
|
|
446
455
|
}),
|
|
456
|
+
vue.createVNode(vue.unref(webVue.FormItem), {
|
|
457
|
+
key: "statement",
|
|
458
|
+
class: "horizontal",
|
|
459
|
+
field: "statement",
|
|
460
|
+
label: "\u539F\u521B\u58F0\u660E"
|
|
461
|
+
}, {
|
|
462
|
+
default: vue.withCtx(() => [
|
|
463
|
+
vue.createVNode(vue.unref(webVue.Switch), {
|
|
464
|
+
modelValue: form.value.statement,
|
|
465
|
+
"onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => form.value.statement = $event),
|
|
466
|
+
onChange: changeStatement
|
|
467
|
+
}, null, 8, ["modelValue"])
|
|
468
|
+
]),
|
|
469
|
+
_: 1
|
|
470
|
+
}),
|
|
447
471
|
vue.createVNode(vue.unref(webVue.FormItem), {
|
|
448
472
|
key: "source_url",
|
|
449
473
|
field: "source_url",
|
|
@@ -452,7 +476,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
452
476
|
default: vue.withCtx(() => [
|
|
453
477
|
vue.createVNode(vue.unref(webVue.Input), {
|
|
454
478
|
modelValue: form.value.source_url,
|
|
455
|
-
"onUpdate:modelValue": _cache[
|
|
479
|
+
"onUpdate:modelValue": _cache[11] || (_cache[11] = ($event) => form.value.source_url = $event),
|
|
456
480
|
"allow-clear": "",
|
|
457
481
|
class: "input-w",
|
|
458
482
|
placeholder: "\u586B\u5199\u6765\u6E90URL"
|
|
@@ -468,7 +492,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
468
492
|
default: vue.withCtx(() => [
|
|
469
493
|
vue.createVNode(vue.unref(webVue.Input), {
|
|
470
494
|
modelValue: form.value.author,
|
|
471
|
-
"onUpdate:modelValue": _cache[
|
|
495
|
+
"onUpdate:modelValue": _cache[12] || (_cache[12] = ($event) => form.value.author = $event),
|
|
472
496
|
"allow-clear": "",
|
|
473
497
|
class: "input-w",
|
|
474
498
|
placeholder: "\u586B\u5199\u4F5C\u8005"
|
|
@@ -484,7 +508,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
484
508
|
default: vue.withCtx(() => [
|
|
485
509
|
vue.createVNode(vue.unref(webVue.Select), {
|
|
486
510
|
modelValue: form.value.duty_editor,
|
|
487
|
-
"onUpdate:modelValue": _cache[
|
|
511
|
+
"onUpdate:modelValue": _cache[13] || (_cache[13] = ($event) => form.value.duty_editor = $event),
|
|
488
512
|
class: "input-w",
|
|
489
513
|
multiple: "",
|
|
490
514
|
placeholder: "\u8BBE\u7F6E\u7F16\u8F91"
|
|
@@ -511,7 +535,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
511
535
|
default: vue.withCtx(() => [
|
|
512
536
|
vue.createVNode(vue.unref(webVue.InputTag), {
|
|
513
537
|
modelValue: form.value.extra_attrs,
|
|
514
|
-
"onUpdate:modelValue": _cache[
|
|
538
|
+
"onUpdate:modelValue": _cache[14] || (_cache[14] = ($event) => form.value.extra_attrs = $event),
|
|
515
539
|
"allow-clear": "",
|
|
516
540
|
class: "input-w",
|
|
517
541
|
placeholder: "\u8BBE\u7F6E\u81EA\u5B9A\u4E49\u5C5E\u6027"
|
|
@@ -528,7 +552,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
528
552
|
default: vue.withCtx(() => [
|
|
529
553
|
vue.createVNode(vue.unref(webVue.DatePicker), {
|
|
530
554
|
modelValue: form.value.self_publish_time,
|
|
531
|
-
"onUpdate:modelValue": _cache[
|
|
555
|
+
"onUpdate:modelValue": _cache[15] || (_cache[15] = ($event) => form.value.self_publish_time = $event),
|
|
532
556
|
"time-picker-props": { defaultValue: "12:00:00" },
|
|
533
557
|
placeholder: "\u9009\u62E9\u81EA\u5B9A\u4E49\u53D1\u5E03\u65F6\u95F4",
|
|
534
558
|
"show-time": "",
|
|
@@ -546,7 +570,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
546
570
|
default: vue.withCtx(() => [
|
|
547
571
|
vue.createVNode(vue.unref(webVue.Switch), {
|
|
548
572
|
modelValue: form.value.line_time,
|
|
549
|
-
"onUpdate:modelValue": _cache[
|
|
573
|
+
"onUpdate:modelValue": _cache[16] || (_cache[16] = ($event) => form.value.line_time = $event),
|
|
550
574
|
onChange: lineTimeChange
|
|
551
575
|
}, null, 8, ["modelValue"])
|
|
552
576
|
]),
|
|
@@ -562,7 +586,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
562
586
|
default: vue.withCtx(() => [
|
|
563
587
|
vue.createVNode(vue.unref(webVue.DatePicker), {
|
|
564
588
|
modelValue: form.value.online_time,
|
|
565
|
-
"onUpdate:modelValue": _cache[
|
|
589
|
+
"onUpdate:modelValue": _cache[17] || (_cache[17] = ($event) => form.value.online_time = $event),
|
|
566
590
|
"disabled-date": disabledStartTime,
|
|
567
591
|
"time-picker-props": { defaultValue: "12:00:00" },
|
|
568
592
|
disabled: disabledDatePickerOnlineTime.value,
|
|
@@ -582,7 +606,7 @@ const _sfc_main = vue.defineComponent({
|
|
|
582
606
|
default: vue.withCtx(() => [
|
|
583
607
|
vue.createVNode(vue.unref(webVue.DatePicker), {
|
|
584
608
|
modelValue: form.value.offline_time,
|
|
585
|
-
"onUpdate:modelValue": _cache[
|
|
609
|
+
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => form.value.offline_time = $event),
|
|
586
610
|
"disabled-date": disabledEndTime,
|
|
587
611
|
"time-picker-props": { defaultValue: "12:00:00" },
|
|
588
612
|
placeholder: "\u9009\u62E9\u4E0B\u7EBF\u65F6\u95F4",
|
|
@@ -593,20 +617,6 @@ const _sfc_main = vue.defineComponent({
|
|
|
593
617
|
_: 1
|
|
594
618
|
})
|
|
595
619
|
], 64)) : vue.createCommentVNode("v-if", true),
|
|
596
|
-
vue.createVNode(vue.unref(webVue.FormItem), {
|
|
597
|
-
key: "statement",
|
|
598
|
-
class: "horizontal",
|
|
599
|
-
field: "statement",
|
|
600
|
-
label: "\u539F\u521B\u58F0\u660E"
|
|
601
|
-
}, {
|
|
602
|
-
default: vue.withCtx(() => [
|
|
603
|
-
vue.createVNode(vue.unref(webVue.Switch), {
|
|
604
|
-
modelValue: form.value.statement,
|
|
605
|
-
"onUpdate:modelValue": _cache[18] || (_cache[18] = ($event) => form.value.statement = $event)
|
|
606
|
-
}, null, 8, ["modelValue"])
|
|
607
|
-
]),
|
|
608
|
-
_: 1
|
|
609
|
-
}),
|
|
610
620
|
vue.createVNode(vue.unref(webVue.FormItem), {
|
|
611
621
|
key: "ori_count",
|
|
612
622
|
class: "horizontal",
|
package/lib/index.css
CHANGED
|
@@ -2610,11 +2610,11 @@
|
|
|
2610
2610
|
-webkit-line-clamp: 2;
|
|
2611
2611
|
-webkit-box-orient: vertical;
|
|
2612
2612
|
}
|
|
2613
|
-
.medialist-doc-item-view .info-view .title:hover {
|
|
2613
|
+
.medialist-doc-item-view .info-view .title .text:hover {
|
|
2614
2614
|
color: #4886ff;
|
|
2615
2615
|
text-decoration: underline;
|
|
2616
2616
|
}
|
|
2617
|
-
.medialist-doc-item-view .info-view .title:hover .index {
|
|
2617
|
+
.medialist-doc-item-view .info-view .title .text:hover .index {
|
|
2618
2618
|
text-decoration: unset;
|
|
2619
2619
|
}
|
|
2620
2620
|
.medialist-doc-item-view .info-view .abttrite-v {
|