This commit is contained in:
zoujiandong
2025-07-16 13:05:58 +08:00
parent eb358d594b
commit 96859c920f
211 changed files with 26537 additions and 151 deletions
+126 -113
View File
@@ -147,7 +147,7 @@ const _sfc_main = {
};
const getUserPoint = () => {
api_api.api.getUserPoint().then((res) => {
common_vendor.index.__f__("log", "at pages/detail/detail.vue:676", res.data.data);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:680", res.data.data);
point.value = res.data.data;
});
};
@@ -326,18 +326,18 @@ const _sfc_main = {
};
const close = () => {
showCommentDialog.value = false;
common_vendor.index.__f__("log", "at pages/detail/detail.vue:869", "close");
common_vendor.index.__f__("log", "at pages/detail/detail.vue:873", "close");
};
const openDeal = () => {
showDeal.value = true;
common_vendor.index.__f__("log", "at pages/detail/detail.vue:874", "open");
common_vendor.index.__f__("log", "at pages/detail/detail.vue:878", "open");
};
const closeDeal = () => {
showDeal.value = false;
};
const openMore = () => {
showMore.value = true;
common_vendor.index.__f__("log", "at pages/detail/detail.vue:882", "open");
common_vendor.index.__f__("log", "at pages/detail/detail.vue:886", "open");
};
const closeMore = () => {
showMore.value = false;
@@ -375,12 +375,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:1233", url);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1237", url);
imgList.value = [url];
}
},
fail: (err) => {
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1238", err);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1242", err);
}
});
});
@@ -399,8 +399,8 @@ const _sfc_main = {
return "unknown";
};
const afterRead = (file, lists, name) => {
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1257", lists);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1258", 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);
handleUpload(file);
};
const delImg = (index) => {
@@ -700,99 +700,101 @@ const _sfc_main = {
height: "46rpx",
radius: "50%"
}),
c: common_vendor.p({
disabled: true,
c: common_vendor.o(open),
d: common_vendor.p({
disabled: isH5.value ? false : true,
type: "text",
placeholderClass: "placeholderClass",
placeholder: "对病例发表您的看法"
}),
d: common_vendor.o(open),
e: common_vendor.o(toggleCollect),
f: common_vendor.p({
e: common_vendor.o(open),
f: common_vendor.o(open),
g: common_vendor.o(toggleCollect),
h: common_vendor.p({
src: info.is_collect ? common_vendor.unref(common_assets.collectonImg) : common_vendor.unref(common_assets.collectImg),
mode: "widthFix",
width: "38rpx"
}),
g: common_vendor.p({
i: common_vendor.p({
src: common_vendor.unref(common_assets.shangImg),
mode: "widthFix",
width: "169rpx",
height: "77rpx"
}),
h: common_vendor.o(openGivePop),
i: type.value == "video"
j: common_vendor.o(openGivePop),
k: type.value == "video"
}, type.value == "video" ? {
j: common_vendor.t(info.video_title)
l: common_vendor.t(info.video_title)
} : type.value == "article" ? {
l: common_vendor.t(info.article_title)
n: common_vendor.t(info.article_title)
} : {
m: common_vendor.t(info.exchange_title)
o: common_vendor.t(info.exchange_title)
}, {
k: type.value == "article",
n: common_vendor.f(info.author, (item, k0, i0) => {
m: type.value == "article",
p: common_vendor.f(info.author, (item, k0, i0) => {
return {
a: "eca06f3c-6-" + i0 + ",eca06f3c-0",
b: common_vendor.t(item.doctor_name),
c: common_vendor.t(item.hospital_name)
};
}),
o: common_vendor.p({
q: common_vendor.p({
src: common_vendor.unref(common_assets.headImg),
mode: "widthFix",
width: "46rpx",
height: "46rpx",
radius: "50%"
}),
p: common_vendor.p({
r: common_vendor.p({
name: "eye",
color: "#6B7280",
size: "28rpx"
}),
q: common_vendor.t(info.read_num),
r: common_vendor.p({
s: common_vendor.t(info.read_num),
t: common_vendor.p({
name: info.is_collect ? "heart-fill" : "heart",
color: info.is_collect ? "red" : "#6B7280",
size: "28rpx"
}),
s: common_vendor.t(info.collect_num),
t: common_vendor.p({
v: common_vendor.t(info.collect_num),
w: common_vendor.p({
name: "clock",
color: "#6B7280",
size: "28rpx"
}),
v: common_vendor.t(formatDay(info.push_date)),
w: showCanvas.value
x: common_vendor.t(formatDay(info.push_date)),
y: showCanvas.value
}, showCanvas.value ? {} : {}, {
x: type.value == "video" && !isH5.value
z: type.value == "video" && !isH5.value
}, type.value == "video" && !isH5.value ? {
y: "playerContext" + info.video_no,
z: "playerId" + info.video_no,
A: info.video_no
A: "playerContext" + info.video_no,
B: "playerId" + info.video_no,
C: info.video_no
} : {}, {
B: type.value == "video" && isH5.value
D: type.value == "video" && isH5.value
}, type.value == "video" && isH5.value ? {} : type.value == "article" ? {
D: common_vendor.p({
F: common_vendor.p({
content: fromatImg(info.article_content)
})
} : common_vendor.e({
E: info.exchange_content
G: info.exchange_content
}, info.exchange_content ? {
F: common_vendor.p({
H: common_vendor.p({
content: fromatImg(info.exchange_content)
})
} : {}, {
G: info.exchange_summary
I: info.exchange_summary
}, info.exchange_summary ? {
H: common_vendor.p({
J: common_vendor.p({
content: fromatImg(info.exchange_summary)
})
} : {}, {
I: info.case_exchange_vote && info.case_exchange_vote.vote_title
K: info.case_exchange_vote && info.case_exchange_vote.vote_title
}, info.case_exchange_vote && info.case_exchange_vote.vote_title ? common_vendor.e({
J: info.case_exchange_vote.is_have_voted != 1
L: info.case_exchange_vote.is_have_voted != 1
}, info.case_exchange_vote.is_have_voted != 1 ? {
K: common_vendor.t(info.case_exchange_vote.vote_title),
L: common_vendor.f(info.case_exchange_vote.case_exchange_vote_option, (item, k0, i0) => {
M: common_vendor.t(info.case_exchange_vote.vote_title),
N: common_vendor.f(info.case_exchange_vote.case_exchange_vote_option, (item, k0, i0) => {
return {
a: "eca06f3c-15-" + i0 + ",eca06f3c-14",
b: common_vendor.p({
@@ -803,31 +805,31 @@ const _sfc_main = {
c: item.option_id
};
}),
M: common_vendor.o(($event) => option_id.value = $event),
N: common_vendor.p({
O: common_vendor.o(($event) => option_id.value = $event),
P: common_vendor.p({
placement: "column",
modelValue: option_id.value
}),
O: common_vendor.o(addVote)
Q: common_vendor.o(addVote)
} : {
P: common_vendor.t(info.case_exchange_vote.vote_title),
Q: common_vendor.f(info.case_exchange_vote.case_exchange_vote_option, (item, k0, i0) => {
R: common_vendor.t(info.case_exchange_vote.vote_title),
S: common_vendor.f(info.case_exchange_vote.case_exchange_vote_option, (item, k0, i0) => {
return {
a: common_vendor.t(item.option_value),
b: common_vendor.t(item.proportion),
c: item.option_id
};
}),
R: _ctx.proportion / 100
T: _ctx.proportion / 100
}) : {}), {
C: type.value == "article",
S: common_vendor.p({
E: type.value == "article",
U: common_vendor.p({
src: common_vendor.unref(common_assets.commentImg),
mode: "widthFix",
width: "50rpx"
}),
T: common_vendor.t(total.value),
U: common_vendor.f(dataList.value, (item, index, i0) => {
V: common_vendor.t(total.value),
W: common_vendor.f(dataList.value, (item, index, i0) => {
return common_vendor.e({
a: "eca06f3c-17-" + i0 + ",eca06f3c-0",
b: common_vendor.t(item.user_name),
@@ -882,57 +884,68 @@ const _sfc_main = {
o: item.comment_id
});
}),
V: common_vendor.p({
X: common_vendor.p({
src: common_vendor.unref(common_assets.headImg),
width: "86rpx",
height: "86rpx",
radius: "50%"
}),
W: common_vendor.sr(paging, "eca06f3c-0", {
Y: common_vendor.sr(paging, "eca06f3c-0", {
"k": "paging"
}),
X: common_vendor.o(queryList),
Y: common_vendor.o(($event) => dataList.value = $event),
Z: common_vendor.p({
Z: common_vendor.o(queryList),
aa: common_vendor.o(($event) => dataList.value = $event),
ab: common_vendor.p({
["inside-more"]: true,
["loading-more-no-more-text"]: "咱也是有底线的!",
["auto-show-back-to-top"]: false,
["empty-view-super-style"]: {
"paddingBottom": "140rpx"
},
["refresher-title-style"]: {
"paddingBottom": "60rpx",
"paddingTop": "10rpx"
},
["refresher-img-style"]: {
"paddingBottom": "60rpx",
"paddingTop": "10rpx"
},
modelValue: dataList.value
}),
aa: common_vendor.sr(commentTextarea, "eca06f3c-22,eca06f3c-21", {
ac: common_vendor.sr(commentTextarea, "eca06f3c-22,eca06f3c-21", {
"k": "commentTextarea"
}),
ab: common_vendor.o(($event) => content.value = $event),
ac: common_vendor.p({
ad: common_vendor.o(($event) => content.value = $event),
ae: common_vendor.p({
focus: "true",
height: "200",
placeholder: placeholder.value,
modelValue: content.value
}),
ad: imgList.value.length > 0
af: imgList.value.length > 0
}, imgList.value.length > 0 ? {
ae: common_vendor.o(($event) => previewImg(imgList.value[0])),
af: common_vendor.p({
ag: common_vendor.o(($event) => previewImg(imgList.value[0])),
ah: common_vendor.p({
src: imgList.value[0],
radius: "6",
width: "150rpx",
height: "150rpx"
}),
ag: common_vendor.p({
ai: common_vendor.p({
name: "close-circle",
color: "#666",
size: "16"
}),
ah: common_vendor.o(delImg)
aj: common_vendor.o(delImg)
} : {}, {
ai: common_vendor.p({
ak: common_vendor.p({
src: common_vendor.unref(common_assets.uploadImg),
mode: "widthFix",
width: "40rpx",
height: "77rpx"
}),
aj: common_vendor.o(afterRead),
ak: common_vendor.p({
al: common_vendor.o(afterRead),
am: common_vendor.p({
["show-upload-list"]: false,
name: "imgupload",
multiple: true,
@@ -940,10 +953,10 @@ const _sfc_main = {
width: "40rpx",
height: "77rpx"
}),
al: common_vendor.o(sendComment),
am: common_vendor.o(close),
an: common_vendor.o(open),
ao: common_vendor.p({
an: common_vendor.o(sendComment),
ao: common_vendor.o(close),
ap: common_vendor.o(open),
aq: common_vendor.p({
zIndex: 99,
overlayStyle: {
zIndex: 98
@@ -954,20 +967,20 @@ const _sfc_main = {
closeable: true,
mode: "bottom"
}),
ap: level.value == 2 && is_author.value
ar: level.value == 2 && is_author.value
}, level.value == 2 && is_author.value ? {
aq: common_vendor.t(is_top.value ? "取消置顶" : "置顶"),
ar: common_vendor.o(toggleTop)
as: common_vendor.t(is_top.value ? "取消置顶" : "置顶"),
at: common_vendor.o(toggleTop)
} : {}, {
as: common_vendor.o(openCommentDialog),
at: is_author.value || user_id.value == comment_userId.value
av: common_vendor.o(openCommentDialog),
aw: is_author.value || user_id.value == comment_userId.value
}, is_author.value || user_id.value == comment_userId.value ? {
av: common_vendor.o(delComment)
ax: common_vendor.o(delComment)
} : {}, {
aw: common_vendor.o(closeDealPop),
ax: common_vendor.o(closeDeal),
ay: common_vendor.o(openDeal),
az: common_vendor.p({
ay: common_vendor.o(closeDealPop),
az: common_vendor.o(closeDeal),
aA: common_vendor.o(openDeal),
aB: common_vendor.p({
zIndex: 60,
overlayStyle: {
zIndex: 59
@@ -977,33 +990,33 @@ const _sfc_main = {
round: 10,
mode: "bottom"
}),
aA: common_vendor.p({
aC: common_vendor.p({
name: "close",
color: "#666",
size: "20"
}),
aB: common_vendor.o(closeMore),
aC: common_vendor.p({
aD: common_vendor.o(closeMore),
aE: common_vendor.p({
src: common_vendor.unref(common_assets.headImg),
width: "86rpx",
height: "86rpx",
radius: "50%"
}),
aD: common_vendor.t(mainCommentObj.user_name),
aE: common_vendor.o(($event) => alertDeal(mainCommentObj.comment_id, mainCommentObj.comment_id, mainCommentObj.is_author, mainCommentObj.user_name, mainCommentObj.is_top, 2, mainCommentObj.user_id)),
aF: common_vendor.t(mainCommentObj.content),
aG: mainCommentObj.comment_image
aF: common_vendor.t(mainCommentObj.user_name),
aG: common_vendor.o(($event) => alertDeal(mainCommentObj.comment_id, mainCommentObj.comment_id, mainCommentObj.is_author, mainCommentObj.user_name, mainCommentObj.is_top, 2, mainCommentObj.user_id)),
aH: common_vendor.t(mainCommentObj.content),
aI: mainCommentObj.comment_image
}, mainCommentObj.comment_image ? {
aH: common_vendor.o(($event) => previewImg(mainCommentObj.comment_image)),
aI: common_vendor.p({
aJ: common_vendor.o(($event) => previewImg(mainCommentObj.comment_image)),
aK: common_vendor.p({
src: mainCommentObj.comment_image,
radius: "16rpx",
width: "150rpx",
height: "150rpx"
})
} : {}, {
aJ: common_vendor.t(formatDate(mainCommentObj.created_at)),
aK: common_vendor.f(childList.value, (cell, index, i0) => {
aL: common_vendor.t(formatDate(mainCommentObj.created_at)),
aM: common_vendor.f(childList.value, (cell, index, i0) => {
return common_vendor.e({
a: "eca06f3c-32-" + i0 + ",eca06f3c-28",
b: common_vendor.t(cell.user_name),
@@ -1024,23 +1037,23 @@ const _sfc_main = {
j: cell.comment_id
});
}),
aL: common_vendor.p({
aN: common_vendor.p({
src: common_vendor.unref(common_assets.headImg),
width: "86rpx",
height: "86rpx",
radius: "50%"
}),
aM: common_vendor.o(($event) => _ctx.value = $event),
aN: common_vendor.p({
aO: common_vendor.o(($event) => _ctx.value = $event),
aP: common_vendor.p({
readonly: true,
placeholder: "@" + mainCommentObj.user_name + ":",
border: "surround",
modelValue: _ctx.value
}),
aO: common_vendor.o(showReplyPop),
aP: common_vendor.o(closeMore),
aQ: common_vendor.o(openMore),
aR: common_vendor.p({
aQ: common_vendor.o(showReplyPop),
aR: common_vendor.o(closeMore),
aS: common_vendor.o(openMore),
aT: common_vendor.p({
zIndex: 10,
overlayStyle: {
zIndex: 9
@@ -1050,26 +1063,26 @@ const _sfc_main = {
round: 10,
mode: "bottom"
}),
aS: common_vendor.t(point.value),
aT: common_vendor.o(($event) => changePoint("minus")),
aU: common_vendor.o(inputPoint),
aV: common_vendor.o(($event) => givePointValue.value = $event),
aW: common_vendor.p({
aU: common_vendor.t(point.value),
aV: common_vendor.o(($event) => changePoint("minus")),
aW: common_vendor.o(inputPoint),
aX: common_vendor.o(($event) => givePointValue.value = $event),
aY: common_vendor.p({
placeholder: "请输入打赏积分",
type: "number",
border: "surround",
modelValue: givePointValue.value
}),
aX: common_vendor.o(($event) => changePoint("add")),
aY: common_vendor.o(($event) => showGive.value = false),
aZ: common_vendor.o(confirmGive),
ba: common_vendor.p({
aZ: common_vendor.o(($event) => changePoint("add")),
ba: common_vendor.o(($event) => showGive.value = false),
bb: common_vendor.o(confirmGive),
bc: common_vendor.p({
show: showGive.value,
["mask-click-able"]: true
}),
bb: common_vendor.o(($event) => showModal.value = false),
bc: common_vendor.o(confirmDel),
bd: common_vendor.p({
bd: common_vendor.o(($event) => showModal.value = false),
be: common_vendor.o(confirmDel),
bf: common_vendor.p({
show: showModal.value,
["mask-click-able"]: true
})
File diff suppressed because one or more lines are too long