11
This commit is contained in:
parent
96859c920f
commit
288772c534
4
main.js
4
main.js
@ -1,5 +1,9 @@
|
||||
import App from './App'
|
||||
import uviewPlus, { setConfig } from 'uview-plus'
|
||||
// #ifdef H5
|
||||
import VConsole from 'vconsole';
|
||||
const vConsole = new VConsole();
|
||||
// #endif
|
||||
// #ifndef VUE3
|
||||
import Vue from 'vue'
|
||||
import './uni.promisify.adaptor'
|
||||
|
||||
@ -11,6 +11,7 @@
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"dayjs": "^1.11.13",
|
||||
"uview-plus": "^3.4.4"
|
||||
"uview-plus": "^3.4.4",
|
||||
"vconsole": "^3.15.1"
|
||||
}
|
||||
}
|
||||
|
||||
@ -795,6 +795,7 @@ const getArticleComment = (params) => {
|
||||
...params,
|
||||
})
|
||||
.then((res) => {
|
||||
console.log(1)
|
||||
paging.value.complete(res.data.data.data);
|
||||
total.value = res.data.data.total;
|
||||
setTimeout(() => {
|
||||
@ -1409,9 +1410,10 @@ const topArticleComment = (id) => {
|
||||
icon: "none",
|
||||
title: "置顶成功",
|
||||
});
|
||||
showDeal.value = false;
|
||||
paging.value.refresh();
|
||||
});
|
||||
showDeal.value = false;
|
||||
paging.value.refresh();
|
||||
|
||||
};
|
||||
const topVideoComment = (id) => {
|
||||
api.topVideoComment(id).then((res) => {
|
||||
@ -1419,9 +1421,10 @@ const topVideoComment = (id) => {
|
||||
icon: "none",
|
||||
title: "置顶成功",
|
||||
});
|
||||
showDeal.value = false;
|
||||
paging.value.refresh();
|
||||
});
|
||||
showDeal.value = false;
|
||||
paging.value.refresh();
|
||||
|
||||
};
|
||||
const topExchangeComment = (id) => {
|
||||
api.topExchangeComment(id).then((res) => {
|
||||
@ -1429,9 +1432,10 @@ const topExchangeComment = (id) => {
|
||||
icon: "none",
|
||||
title: "置顶成功",
|
||||
});
|
||||
showDeal.value = false;
|
||||
paging.value.refresh();
|
||||
});
|
||||
showDeal.value = false;
|
||||
paging.value.refresh();
|
||||
|
||||
};
|
||||
const cancelTopArticleComment = (id) => {
|
||||
api.cancelTopArticleComment(id).then((res) => {
|
||||
@ -1439,9 +1443,10 @@ const cancelTopArticleComment = (id) => {
|
||||
icon: "none",
|
||||
title: "取消置顶成功",
|
||||
});
|
||||
showDeal.value = false;
|
||||
paging.value.refresh();
|
||||
});
|
||||
showDeal.value = false;
|
||||
paging.value.refresh();
|
||||
|
||||
};
|
||||
const cancelTopVideoComment = (id) => {
|
||||
api.cancelTopArticleComment(id).then((res) => {
|
||||
@ -1449,9 +1454,10 @@ const cancelTopVideoComment = (id) => {
|
||||
icon: "none",
|
||||
title: "取消置顶成功",
|
||||
});
|
||||
showDeal.value = false;
|
||||
paging.value.refresh();
|
||||
});
|
||||
showDeal.value = false;
|
||||
paging.value.refresh();
|
||||
|
||||
};
|
||||
const cancelTopExchangeComment = (id) => {
|
||||
api.cancelTopExchangeComment(id).then((res) => {
|
||||
@ -1459,9 +1465,10 @@ const cancelTopExchangeComment = (id) => {
|
||||
icon: "none",
|
||||
title: "取消置顶成功",
|
||||
});
|
||||
showDeal.value = false;
|
||||
paging.value.refresh();
|
||||
});
|
||||
showDeal.value = false;
|
||||
paging.value.refresh();
|
||||
|
||||
};
|
||||
const delComment = () => {
|
||||
showModal.value = true;
|
||||
|
||||
@ -1 +1 @@
|
||||
{"version":3,"file":"detail.js","sources":["../../software/HBuilderX.4.23.2024070804/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvZGV0YWlsL2RldGFpbC52dWU"],"sourcesContent":["import MiniProgramPage from 'D:/GitWorkPlace/caseDataBase/pages/detail/detail.vue'\nwx.createPage(MiniProgramPage)"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,GAAG,WAAW,eAAe;"}
|
||||
@ -258,6 +258,7 @@ const _sfc_main = {
|
||||
...form,
|
||||
...params
|
||||
}).then((res) => {
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:798", 1);
|
||||
paging.value.complete(res.data.data.data);
|
||||
total.value = res.data.data.total;
|
||||
setTimeout(() => {
|
||||
@ -326,18 +327,18 @@ const _sfc_main = {
|
||||
};
|
||||
const close = () => {
|
||||
showCommentDialog.value = false;
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:873", "close");
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:874", "close");
|
||||
};
|
||||
const openDeal = () => {
|
||||
showDeal.value = true;
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:878", "open");
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:879", "open");
|
||||
};
|
||||
const closeDeal = () => {
|
||||
showDeal.value = false;
|
||||
};
|
||||
const openMore = () => {
|
||||
showMore.value = true;
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:886", "open");
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:887", "open");
|
||||
};
|
||||
const closeMore = () => {
|
||||
showMore.value = false;
|
||||
@ -375,12 +376,12 @@ const _sfc_main = {
|
||||
success(res) {
|
||||
if (res.statusCode === 204) {
|
||||
let url = host + "/" + dir + filename + imgType;
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1237", url);
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1238", url);
|
||||
imgList.value = [url];
|
||||
}
|
||||
},
|
||||
fail: (err) => {
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1242", err);
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1243", err);
|
||||
}
|
||||
});
|
||||
});
|
||||
@ -399,8 +400,8 @@ const _sfc_main = {
|
||||
return "unknown";
|
||||
};
|
||||
const afterRead = (file, lists, name) => {
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1261", lists);
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1262", name);
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1262", lists);
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1263", name);
|
||||
handleUpload(file);
|
||||
};
|
||||
const delImg = (index) => {
|
||||
@ -542,9 +543,9 @@ const _sfc_main = {
|
||||
icon: "none",
|
||||
title: "置顶成功"
|
||||
});
|
||||
showDeal.value = false;
|
||||
paging.value.refresh();
|
||||
});
|
||||
showDeal.value = false;
|
||||
paging.value.refresh();
|
||||
};
|
||||
const topVideoComment = (id2) => {
|
||||
api_api.api.topVideoComment(id2).then((res) => {
|
||||
@ -552,9 +553,9 @@ const _sfc_main = {
|
||||
icon: "none",
|
||||
title: "置顶成功"
|
||||
});
|
||||
showDeal.value = false;
|
||||
paging.value.refresh();
|
||||
});
|
||||
showDeal.value = false;
|
||||
paging.value.refresh();
|
||||
};
|
||||
const topExchangeComment = (id2) => {
|
||||
api_api.api.topExchangeComment(id2).then((res) => {
|
||||
@ -562,9 +563,9 @@ const _sfc_main = {
|
||||
icon: "none",
|
||||
title: "置顶成功"
|
||||
});
|
||||
showDeal.value = false;
|
||||
paging.value.refresh();
|
||||
});
|
||||
showDeal.value = false;
|
||||
paging.value.refresh();
|
||||
};
|
||||
const cancelTopArticleComment = (id2) => {
|
||||
api_api.api.cancelTopArticleComment(id2).then((res) => {
|
||||
@ -572,9 +573,9 @@ const _sfc_main = {
|
||||
icon: "none",
|
||||
title: "取消置顶成功"
|
||||
});
|
||||
showDeal.value = false;
|
||||
paging.value.refresh();
|
||||
});
|
||||
showDeal.value = false;
|
||||
paging.value.refresh();
|
||||
};
|
||||
const cancelTopVideoComment = (id2) => {
|
||||
api_api.api.cancelTopArticleComment(id2).then((res) => {
|
||||
@ -582,9 +583,9 @@ const _sfc_main = {
|
||||
icon: "none",
|
||||
title: "取消置顶成功"
|
||||
});
|
||||
showDeal.value = false;
|
||||
paging.value.refresh();
|
||||
});
|
||||
showDeal.value = false;
|
||||
paging.value.refresh();
|
||||
};
|
||||
const cancelTopExchangeComment = (id2) => {
|
||||
api_api.api.cancelTopExchangeComment(id2).then((res) => {
|
||||
@ -592,9 +593,9 @@ const _sfc_main = {
|
||||
icon: "none",
|
||||
title: "取消置顶成功"
|
||||
});
|
||||
showDeal.value = false;
|
||||
paging.value.refresh();
|
||||
});
|
||||
showDeal.value = false;
|
||||
paging.value.refresh();
|
||||
};
|
||||
const delComment = () => {
|
||||
showModal.value = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user