2222
This commit is contained in:
+21
-16
@@ -135,7 +135,12 @@ const _sfc_main = {
|
||||
};
|
||||
const goBack = () => {
|
||||
common_vendor.index.navigateBack({
|
||||
delta: 1
|
||||
delta: 1,
|
||||
fail() {
|
||||
common_vendor.index.redirectTo({
|
||||
url: "/pages/index/index"
|
||||
});
|
||||
}
|
||||
});
|
||||
};
|
||||
const editorCotent = common_vendor.ref("");
|
||||
@@ -143,15 +148,15 @@ const _sfc_main = {
|
||||
showEditor.value = false;
|
||||
};
|
||||
const changeEditor = (data) => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:682", "content");
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:683", data.content);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:687", "content");
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:688", data.content);
|
||||
showEditor.value = false;
|
||||
if (data.type == "info") {
|
||||
form.exchange_content = data.content;
|
||||
infoHeight.value = 600;
|
||||
editorCtx.value.initHtml(data.content, async (videoUrl) => {
|
||||
let res = "";
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:692", videoface.value);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:697", videoface.value);
|
||||
res = await editorCtx.value.createCoverThumbnail(videoface.value);
|
||||
return res;
|
||||
}, async () => {
|
||||
@@ -162,7 +167,7 @@ const _sfc_main = {
|
||||
setTimeout(() => {
|
||||
const query = common_vendor.wx$1.createSelectorQuery();
|
||||
query.select("#infoContent").boundingClientRect(function(rect) {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:708", rect.height);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:713", rect.height);
|
||||
infoHeight.value = rect.height + 10;
|
||||
}).exec();
|
||||
}, 1e3);
|
||||
@@ -181,7 +186,7 @@ const _sfc_main = {
|
||||
setTimeout(() => {
|
||||
const query = common_vendor.wx$1.createSelectorQuery();
|
||||
query.select("#resultContent").boundingClientRect(function(rect) {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:734", rect.height);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:739", rect.height);
|
||||
resultHeight.value = rect.height + 10;
|
||||
toTop();
|
||||
}).exec();
|
||||
@@ -194,7 +199,7 @@ const _sfc_main = {
|
||||
showDraft.value = true;
|
||||
};
|
||||
const epaste = (e) => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:751", e);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:756", e);
|
||||
};
|
||||
const alertVote = () => {
|
||||
if (exchange_id.value) {
|
||||
@@ -299,7 +304,7 @@ const _sfc_main = {
|
||||
}
|
||||
};
|
||||
const ready = (e) => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:870", e);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:875", e);
|
||||
editorCtx.value = e;
|
||||
common_vendor.index.hideKeyboard();
|
||||
toTop();
|
||||
@@ -317,9 +322,9 @@ const _sfc_main = {
|
||||
isFocusInfo.value = true;
|
||||
const res = await editorCtx.value.getLastContent();
|
||||
editorCotent.value = editorCtx.value.exportHtml(res.html);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:906", "focus");
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:907", "editorCotent.value");
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:908", editorCotent.value);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:911", "focus");
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:912", "editorCotent.value");
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:913", editorCotent.value);
|
||||
showEditor.value = true;
|
||||
editorType.value = "info";
|
||||
};
|
||||
@@ -371,7 +376,7 @@ const _sfc_main = {
|
||||
};
|
||||
const getExchangeDetail = (id) => {
|
||||
api_api.api.getExchangeDetail(id).then((res) => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1017", res.data.data);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1022", res.data.data);
|
||||
let {
|
||||
exchange_content,
|
||||
exchange_title,
|
||||
@@ -432,7 +437,7 @@ const _sfc_main = {
|
||||
};
|
||||
const confirmDel = () => {
|
||||
showModal.value = false;
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1090", delType.value);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1095", delType.value);
|
||||
if (delType.value == "delDraft") {
|
||||
delDraft(delId.value);
|
||||
} else if (delType.value == "saveDraft") {
|
||||
@@ -443,7 +448,7 @@ const _sfc_main = {
|
||||
showModal.value = false;
|
||||
if (delType.value == "saveDraft") {
|
||||
goBack();
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1102", "wee");
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1107", "wee");
|
||||
}
|
||||
};
|
||||
const cancelConfirmPublish = () => {
|
||||
@@ -610,7 +615,7 @@ const _sfc_main = {
|
||||
break;
|
||||
}
|
||||
}
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1446", caseValue1);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1451", caseValue1);
|
||||
getCaseLabel(2, e);
|
||||
};
|
||||
const groupChange2 = (e) => {
|
||||
@@ -709,7 +714,7 @@ const _sfc_main = {
|
||||
}
|
||||
}
|
||||
labelList.value = labelList.value.filter((item, index) => labelList.value.findIndex((i) => i.app_iden === item.app_iden) === index);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1564", labelList.value);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1569", labelList.value);
|
||||
showCase.value = false;
|
||||
};
|
||||
const closeCase = () => {
|
||||
|
||||
Reference in New Issue
Block a user