This commit is contained in:
zoujiandong
2025-07-15 17:48:57 +08:00
parent 30b08f1933
commit b0f1a37ece
101 changed files with 4315 additions and 263 deletions
+1
View File
@@ -16,6 +16,7 @@ if (!Math) {
"./pages/myCollect/myCollect.js";
"./pages/detail/detail.js";
"./pages/search/search.js";
"./pages/web/web.js";
"./pages/searchList/searchList.js";
"./pages/case/case.js";
"./pages/apply/apply.js";
+1
View File
@@ -14,6 +14,7 @@
"pages/myCollect/myCollect",
"pages/detail/detail",
"pages/search/search",
"pages/web/web",
"pages/searchList/searchList",
"pages/case/case",
"pages/apply/apply",
+1 -1
View File
@@ -7255,7 +7255,7 @@ function initOnError() {
function initRuntimeSocketService() {
const hosts = "192.168.100.165,127.0.0.1";
const port = "8090";
const id = "mp-weixin_8ivK-6";
const id = "mp-weixin_qjJx8y";
const lazy = typeof swan !== "undefined";
let restoreError = lazy ? () => {
} : initOnError();
@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}
@@ -0,0 +1 @@
<view id="player"></view>
@@ -122,6 +122,7 @@
.u-page .tagsbox.data-v-24ff958c {
margin-top: 20rpx;
display: flex;
flex-wrap: wrap;
}
.u-page .tagsbox .tag.data-v-24ff958c {
padding: 0 10rpx;
+127 -105
View File
@@ -37,6 +37,7 @@ const backNav = () => "../../components/backNav/backNav.js";
const _sfc_main = {
__name: "detail",
setup(__props) {
const user_id = common_vendor.ref("");
const paging = common_vendor.ref(null);
const dataList = common_vendor.ref([]);
const total = common_vendor.ref(0);
@@ -66,6 +67,8 @@ const _sfc_main = {
const is_top = common_vendor.ref(false);
const option_id = common_vendor.ref("");
const point = common_vendor.ref(0);
const comment_userId = common_vendor.ref("");
const commentTextarea = common_vendor.ref(null);
const confirmGive = () => {
showGive.value = false;
givePoint();
@@ -143,7 +146,7 @@ const _sfc_main = {
};
const getUserPoint = () => {
api_api.api.getUserPoint().then((res) => {
common_vendor.index.__f__("log", "at pages/detail/detail.vue:660", res.data.data);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:672", res.data.data);
point.value = res.data.data;
});
};
@@ -185,6 +188,10 @@ const _sfc_main = {
} else {
getExchangeDetail(options.id);
}
let userInfo = common_vendor.index.getStorageSync("userInfo");
if (userInfo.user_id) {
user_id.value = userInfo.user_id;
}
readRecord();
});
const clearComment = () => {
@@ -211,8 +218,9 @@ const _sfc_main = {
}
showCommentDialog.value = true;
};
const alertDeal = (parentId, rootId, isAuthor, name, top, commentLevel) => {
const alertDeal = (parentId, rootId, isAuthor, name, top, commentLevel, userId) => {
parent_id.value = parentId;
comment_userId.value = userId;
root_id.value = rootId;
is_author.value = isAuthor == 1 ? true : false;
reply_name.value = name;
@@ -314,22 +322,21 @@ const _sfc_main = {
};
const open = () => {
showCommentDialog.value = true;
common_vendor.index.__f__("log", "at pages/detail/detail.vue:845", "open");
};
const close = () => {
showCommentDialog.value = false;
common_vendor.index.__f__("log", "at pages/detail/detail.vue:849", "close");
common_vendor.index.__f__("log", "at pages/detail/detail.vue:865", "close");
};
const openDeal = () => {
showDeal.value = true;
common_vendor.index.__f__("log", "at pages/detail/detail.vue:854", "open");
common_vendor.index.__f__("log", "at pages/detail/detail.vue:870", "open");
};
const closeDeal = () => {
showDeal.value = false;
};
const openMore = () => {
showMore.value = true;
common_vendor.index.__f__("log", "at pages/detail/detail.vue:862", "open");
common_vendor.index.__f__("log", "at pages/detail/detail.vue:878", "open");
};
const closeMore = () => {
showMore.value = false;
@@ -367,12 +374,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:1213", url);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1229", url);
imgList.value = [url];
}
},
fail: (err) => {
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1218", err);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1234", err);
}
});
});
@@ -391,8 +398,8 @@ const _sfc_main = {
return "unknown";
};
const afterRead = (file, lists, name) => {
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1237", lists);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1238", name);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1253", lists);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1254", name);
handleUpload(file);
};
const delImg = (index) => {
@@ -513,7 +520,11 @@ const _sfc_main = {
});
};
const fromatImg = (val) => {
return val.replace(/\<img/gi, '<img style="width:100%"');
if (val) {
return val.replace(/\<img/gi, '<img class="imgstyle"');
} else {
return "";
}
};
const delExchangeComment = (id2) => {
api_api.api.delExchangeComment(id2).then((res) => {
@@ -684,16 +695,17 @@ const _sfc_main = {
}),
b: common_vendor.p({
src: common_vendor.unref(common_assets.chatImg),
mode: "widthFix",
width: "46rpx",
height: "46rpx",
radius: "50%"
}),
c: common_vendor.o(open),
d: common_vendor.p({
c: common_vendor.p({
disabled: true,
type: "text",
placeholderClass: "placeholderClass",
placeholder: "对病例发表您的看法"
}),
d: common_vendor.o(open),
e: common_vendor.o(toggleCollect),
f: common_vendor.p({
src: info.is_collect ? common_vendor.unref(common_assets.collectonImg) : common_vendor.unref(common_assets.collectImg),
@@ -751,29 +763,35 @@ const _sfc_main = {
w: showCanvas.value
}, showCanvas.value ? {} : {}, {
x: type.value == "video"
}, type.value == "video" ? {} : type.value == "article" ? {
z: info.article_content
}, type.value == "video" ? {
y: "playerContext" + info.video_no,
z: "playerId" + info.video_no,
A: info.video_no
} : type.value == "article" ? {
C: common_vendor.p({
content: fromatImg(info.article_content)
})
} : common_vendor.e({
A: info.exchange_content
D: info.exchange_content
}, info.exchange_content ? {
B: common_vendor.p({
E: common_vendor.p({
content: fromatImg(info.exchange_content)
})
} : {}, {
C: info.exchange_summary
F: info.exchange_summary
}, info.exchange_summary ? {
D: common_vendor.p({
G: common_vendor.p({
content: fromatImg(info.exchange_summary)
})
} : {}, {
E: info.case_exchange_vote && info.case_exchange_vote.vote_title
H: info.case_exchange_vote && info.case_exchange_vote.vote_title
}, info.case_exchange_vote && info.case_exchange_vote.vote_title ? common_vendor.e({
F: info.case_exchange_vote.is_have_voted != 1
I: info.case_exchange_vote.is_have_voted != 1
}, info.case_exchange_vote.is_have_voted != 1 ? {
G: common_vendor.t(info.case_exchange_vote.vote_title),
H: common_vendor.f(info.case_exchange_vote.case_exchange_vote_option, (item, k0, i0) => {
J: common_vendor.t(info.case_exchange_vote.vote_title),
K: common_vendor.f(info.case_exchange_vote.case_exchange_vote_option, (item, k0, i0) => {
return {
a: "eca06f3c-14-" + i0 + ",eca06f3c-13",
a: "eca06f3c-15-" + i0 + ",eca06f3c-14",
b: common_vendor.p({
activeColor: "#3CC7C0",
label: item.option_value,
@@ -782,40 +800,40 @@ const _sfc_main = {
c: item.option_id
};
}),
I: common_vendor.o(($event) => option_id.value = $event),
J: common_vendor.p({
L: common_vendor.o(($event) => option_id.value = $event),
M: common_vendor.p({
placement: "column",
modelValue: option_id.value
}),
K: common_vendor.o(addVote)
N: common_vendor.o(addVote)
} : {
L: common_vendor.t(info.case_exchange_vote.vote_title),
M: common_vendor.f(info.case_exchange_vote.case_exchange_vote_option, (item, k0, i0) => {
O: common_vendor.t(info.case_exchange_vote.vote_title),
P: 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
};
}),
N: _ctx.proportion / 100
Q: _ctx.proportion / 100
}) : {}), {
y: type.value == "article",
O: common_vendor.p({
B: type.value == "article",
R: common_vendor.p({
src: common_vendor.unref(common_assets.commentImg),
mode: "widthFix",
width: "50rpx"
}),
P: common_vendor.t(total.value),
Q: common_vendor.f(dataList.value, (item, index, i0) => {
S: common_vendor.t(total.value),
T: common_vendor.f(dataList.value, (item, index, i0) => {
return common_vendor.e({
a: "eca06f3c-16-" + i0 + ",eca06f3c-0",
a: "eca06f3c-17-" + i0 + ",eca06f3c-0",
b: common_vendor.t(item.user_name),
c: common_vendor.o(($event) => alertDeal(item.comment_id, item.comment_id, item.is_author, item.user_name, item.is_top, 2), item.comment_id),
c: common_vendor.o(($event) => alertDeal(item.comment_id, item.comment_id, item.is_author, item.user_name, item.is_top, 2, item.user_id), item.comment_id),
d: common_vendor.t(item.content),
e: item.comment_image
}, item.comment_image ? {
f: common_vendor.o(($event) => previewImg(item.comment_image), item.comment_id),
g: "eca06f3c-17-" + i0 + ",eca06f3c-0",
g: "eca06f3c-18-" + i0 + ",eca06f3c-0",
h: common_vendor.p({
src: item.comment_image,
radius: "16rpx",
@@ -828,14 +846,14 @@ const _sfc_main = {
}, item.sub_comment && item.sub_comment.length > 0 ? {
k: common_vendor.f(item.sub_comment.slice(0, 3), (cell, index2, i1) => {
return common_vendor.e({
a: "eca06f3c-18-" + i0 + "-" + i1 + ",eca06f3c-0",
a: "eca06f3c-19-" + i0 + "-" + i1 + ",eca06f3c-0",
b: common_vendor.t(cell.user_name),
c: common_vendor.o(($event) => alertDeal(cell.comment_id, cell.root_id, cell.is_author, cell.user_name, cell.is_top, 3), cell.comment_id),
c: common_vendor.o(($event) => alertDeal(cell.comment_id, cell.root_id, cell.is_author, cell.user_name, cell.is_top, 3, cell.user_id), cell.comment_id),
d: formatHtml(cell.content),
e: cell.comment_image
}, cell.comment_image ? {
f: common_vendor.o(($event) => previewImg(cell.comment_image), cell.comment_id),
g: "eca06f3c-19-" + i0 + "-" + i1 + ",eca06f3c-0",
g: "eca06f3c-20-" + i0 + "-" + i1 + ",eca06f3c-0",
h: common_vendor.p({
src: cell.comment_image,
radius: "16rpx",
@@ -861,53 +879,57 @@ const _sfc_main = {
o: item.comment_id
});
}),
R: common_vendor.p({
U: common_vendor.p({
src: common_vendor.unref(common_assets.headImg),
width: "86rpx",
height: "86rpx",
radius: "50%"
}),
S: common_vendor.sr(paging, "eca06f3c-0", {
V: common_vendor.sr(paging, "eca06f3c-0", {
"k": "paging"
}),
T: common_vendor.o(queryList),
U: common_vendor.o(($event) => dataList.value = $event),
V: common_vendor.p({
W: common_vendor.o(queryList),
X: common_vendor.o(($event) => dataList.value = $event),
Y: common_vendor.p({
["inside-more"]: true,
["loading-more-no-more-text"]: "咱也是有底线的!",
["auto-show-back-to-top"]: false,
modelValue: dataList.value
}),
W: common_vendor.o(($event) => content.value = $event),
X: common_vendor.p({
Z: common_vendor.sr(commentTextarea, "eca06f3c-22,eca06f3c-21", {
"k": "commentTextarea"
}),
aa: common_vendor.o(($event) => content.value = $event),
ab: common_vendor.p({
focus: "true",
height: "200",
placeholder: placeholder.value,
modelValue: content.value
}),
Y: imgList.value.length > 0
ac: imgList.value.length > 0
}, imgList.value.length > 0 ? {
Z: common_vendor.o(($event) => previewImg(imgList.value[0])),
aa: common_vendor.p({
ad: common_vendor.o(($event) => previewImg(imgList.value[0])),
ae: common_vendor.p({
src: imgList.value[0],
radius: "6",
width: "150rpx",
height: "150rpx"
}),
ab: common_vendor.p({
af: common_vendor.p({
name: "close-circle",
color: "#666",
size: "16"
}),
ac: common_vendor.o(delImg)
ag: common_vendor.o(delImg)
} : {}, {
ad: common_vendor.p({
ah: common_vendor.p({
src: common_vendor.unref(common_assets.uploadImg),
mode: "widthFix",
width: "40rpx",
height: "77rpx"
}),
ae: common_vendor.o(afterRead),
af: common_vendor.p({
ai: common_vendor.o(afterRead),
aj: common_vendor.p({
["show-upload-list"]: false,
name: "imgupload",
multiple: true,
@@ -915,10 +937,10 @@ const _sfc_main = {
width: "40rpx",
height: "77rpx"
}),
ag: common_vendor.o(sendComment),
ah: common_vendor.o(close),
ai: common_vendor.o(open),
aj: common_vendor.p({
ak: common_vendor.o(sendComment),
al: common_vendor.o(close),
am: common_vendor.o(open),
an: common_vendor.p({
zIndex: 99,
overlayStyle: {
zIndex: 98
@@ -929,20 +951,20 @@ const _sfc_main = {
closeable: true,
mode: "bottom"
}),
ak: level.value == 2
}, level.value == 2 ? {
al: common_vendor.t(is_top.value ? "取消置顶" : "置顶"),
am: common_vendor.o(toggleTop)
ao: level.value == 2 && is_author.value
}, level.value == 2 && is_author.value ? {
ap: common_vendor.t(is_top.value ? "取消置顶" : "置顶"),
aq: common_vendor.o(toggleTop)
} : {}, {
an: common_vendor.o(openCommentDialog),
ao: is_author.value
}, is_author.value ? {
ap: common_vendor.o(delComment)
ar: common_vendor.o(openCommentDialog),
as: is_author.value || user_id.value == comment_userId.value
}, is_author.value || user_id.value == comment_userId.value ? {
at: common_vendor.o(delComment)
} : {}, {
aq: common_vendor.o(closeDealPop),
ar: common_vendor.o(closeDeal),
as: common_vendor.o(openDeal),
at: common_vendor.p({
av: common_vendor.o(closeDealPop),
aw: common_vendor.o(closeDeal),
ax: common_vendor.o(openDeal),
ay: common_vendor.p({
zIndex: 60,
overlayStyle: {
zIndex: 59
@@ -952,42 +974,42 @@ const _sfc_main = {
round: 10,
mode: "bottom"
}),
av: common_vendor.p({
az: common_vendor.p({
name: "close",
color: "#666",
size: "20"
}),
aw: common_vendor.o(closeMore),
ax: common_vendor.p({
aA: common_vendor.o(closeMore),
aB: common_vendor.p({
src: common_vendor.unref(common_assets.headImg),
width: "86rpx",
height: "86rpx",
radius: "50%"
}),
ay: common_vendor.t(mainCommentObj.user_name),
az: common_vendor.o(($event) => alertDeal(mainCommentObj.comment_id, mainCommentObj.comment_id, mainCommentObj.is_author, mainCommentObj.user_name, mainCommentObj.is_top, 2)),
aA: common_vendor.t(mainCommentObj.content),
aB: mainCommentObj.comment_image
aC: common_vendor.t(mainCommentObj.user_name),
aD: common_vendor.o(($event) => alertDeal(mainCommentObj.comment_id, mainCommentObj.comment_id, mainCommentObj.is_author, mainCommentObj.user_name, mainCommentObj.is_top, 2, mainCommentObj.user_id)),
aE: common_vendor.t(mainCommentObj.content),
aF: mainCommentObj.comment_image
}, mainCommentObj.comment_image ? {
aC: common_vendor.o(($event) => previewImg(mainCommentObj.comment_image)),
aD: common_vendor.p({
aG: common_vendor.o(($event) => previewImg(mainCommentObj.comment_image)),
aH: common_vendor.p({
src: mainCommentObj.comment_image,
radius: "16rpx",
width: "150rpx",
height: "150rpx"
})
} : {}, {
aE: common_vendor.t(formatDate(mainCommentObj.created_at)),
aF: common_vendor.f(childList.value, (cell, index, i0) => {
aI: common_vendor.t(formatDate(mainCommentObj.created_at)),
aJ: common_vendor.f(childList.value, (cell, index, i0) => {
return common_vendor.e({
a: "eca06f3c-31-" + i0 + ",eca06f3c-27",
a: "eca06f3c-32-" + i0 + ",eca06f3c-28",
b: common_vendor.t(cell.user_name),
c: common_vendor.o(($event) => alertDeal(cell.comment_id, cell.root_id, cell.is_author, cell.user_name, cell.is_top, 3), cell.comment_id),
c: common_vendor.o(($event) => alertDeal(cell.comment_id, cell.root_id, cell.is_author, cell.user_name, cell.is_top, 3, cell.user_id), cell.comment_id),
d: formatHtml(cell.content),
e: cell.comment_image
}, cell.comment_image ? {
f: common_vendor.o(($event) => previewImg(cell.comment_image), cell.comment_id),
g: "eca06f3c-32-" + i0 + ",eca06f3c-27",
g: "eca06f3c-33-" + i0 + ",eca06f3c-28",
h: common_vendor.p({
src: cell.comment_image,
radius: "16rpx",
@@ -999,23 +1021,23 @@ const _sfc_main = {
j: cell.comment_id
});
}),
aG: common_vendor.p({
aK: common_vendor.p({
src: common_vendor.unref(common_assets.headImg),
width: "86rpx",
height: "86rpx",
radius: "50%"
}),
aH: common_vendor.o(($event) => _ctx.value = $event),
aI: common_vendor.p({
aL: common_vendor.o(($event) => _ctx.value = $event),
aM: common_vendor.p({
readonly: true,
placeholder: "@" + mainCommentObj.user_name + "",
border: "surround",
modelValue: _ctx.value
}),
aJ: common_vendor.o(showReplyPop),
aK: common_vendor.o(closeMore),
aL: common_vendor.o(openMore),
aM: common_vendor.p({
aN: common_vendor.o(showReplyPop),
aO: common_vendor.o(closeMore),
aP: common_vendor.o(openMore),
aQ: common_vendor.p({
zIndex: 10,
overlayStyle: {
zIndex: 9
@@ -1025,26 +1047,26 @@ const _sfc_main = {
round: 10,
mode: "bottom"
}),
aN: common_vendor.t(point.value),
aO: common_vendor.o(($event) => changePoint("minus")),
aP: common_vendor.o(inputPoint),
aQ: common_vendor.o(($event) => givePointValue.value = $event),
aR: common_vendor.p({
aR: common_vendor.t(point.value),
aS: common_vendor.o(($event) => changePoint("minus")),
aT: common_vendor.o(inputPoint),
aU: common_vendor.o(($event) => givePointValue.value = $event),
aV: common_vendor.p({
placeholder: "请输入打赏积分",
type: "number",
border: "surround",
modelValue: givePointValue.value
}),
aS: common_vendor.o(($event) => changePoint("add")),
aT: common_vendor.o(($event) => showGive.value = false),
aU: common_vendor.o(confirmGive),
aV: common_vendor.p({
aW: common_vendor.o(($event) => changePoint("add")),
aX: common_vendor.o(($event) => showGive.value = false),
aY: common_vendor.o(confirmGive),
aZ: common_vendor.p({
show: showGive.value,
["mask-click-able"]: true
}),
aW: common_vendor.o(($event) => showModal.value = false),
aX: common_vendor.o(confirmDel),
aY: common_vendor.p({
ba: common_vendor.o(($event) => showModal.value = false),
bb: common_vendor.o(confirmDel),
bc: common_vendor.p({
show: showModal.value,
["mask-click-able"]: true
})
File diff suppressed because one or more lines are too long
+3
View File
@@ -61,6 +61,9 @@
background: #f5f6f9;
text-align: center;
}
.zanboxpop .zanwraper .content.data-v-eca06f3c .imgstyle {
max-width: 100% !important;
}
.zanboxpop .zanwraper .count.data-v-eca06f3c {
margin-top: 24rpx;
display: flex;
+12 -6
View File
@@ -25,10 +25,16 @@ const _sfc_main = {
const recommend_doctor = common_vendor.ref([]);
const recommend_hospital = common_vendor.ref([]);
const numInfo = common_vendor.reactive({});
const goDetail = (id) => {
utils_navTo.navTo({
url: `/pages/detail/detail?id=${id}&type=article`
});
const goDetail = (id, isLink, src) => {
if (isLink == 1) {
utils_navTo.navTo({
url: `/pages/web/web?src=${src}`
});
} else {
utils_navTo.navTo({
url: `/pages/detail/detail?id=${id}&type=article`
});
}
};
const goListBy = (id, name, type) => {
let url = "";
@@ -137,7 +143,7 @@ const _sfc_main = {
};
}),
c: item.article_id,
d: common_vendor.o(($event) => goDetail(item.article_id), item.article_id)
d: common_vendor.o(($event) => goDetail(item.article_id, item.is_link, item.is_link_url), item.article_id)
};
}),
p: common_vendor.p({
@@ -156,7 +162,7 @@ const _sfc_main = {
};
}),
c: item.article_id,
d: common_vendor.o(($event) => goDetail(item.article_id), item.article_id)
d: common_vendor.o(($event) => goDetail(item.article_id, item.is_link, item.is_link_url), item.article_id)
};
}),
s: common_vendor.p({
+1
View File
@@ -26,6 +26,7 @@
.tagsbox.data-v-1cf27b2a {
margin-top: 20rpx;
display: flex;
flex-wrap: wrap;
}
.tagsbox .tag.data-v-1cf27b2a {
padding: 0 10rpx;
@@ -120,6 +120,7 @@
.u-page .tagsbox.data-v-1cf734f5 {
margin-top: 20rpx;
display: flex;
flex-wrap: wrap;
}
.u-page .tagsbox .tag.data-v-1cf734f5 {
padding: 0 10rpx;
+1
View File
@@ -287,6 +287,7 @@
.u-page .tagsbox.data-v-235c92a6 {
margin-top: 20rpx;
display: flex;
flex-wrap: wrap;
}
.u-page .tagsbox .tag.data-v-235c92a6 {
padding: 0 10rpx;
+25 -13
View File
@@ -144,7 +144,7 @@ const _sfc_main = {
keyWord.value = options2.keyWord;
}
if (options2.order == "new") {
order.push_date = "asc";
order.push_date = "desc";
}
if (options2.order == "read") {
order.read_num = "desc";
@@ -172,19 +172,31 @@ const _sfc_main = {
canOpenCase.value = true;
}
});
const change = (e) => {
const changeDate = (e) => {
common_vendor.index.__f__("log", "at pages/search/search.vue:316", e);
order.read_num = "";
paging.value.reload();
};
const changeRead = (e) => {
common_vendor.index.__f__("log", "at pages/search/search.vue:321", e);
order.push_date = "";
paging.value.reload();
};
const formatdate = (date) => {
return common_vendor.dayjs(date).format("YYYY-MM-DD");
};
const goDetail = (id) => {
common_vendor.index.__f__("log", "at pages/search/search.vue:322", 11111);
common_vendor.index.__f__("log", "at pages/search/search.vue:323", id);
let type = isArticle.value ? "article" : "video";
utils_navTo.navTo({
url: `/pages/detail/detail?id=${id}&type=${type}`
});
const goDetail = (id, isLink, src) => {
common_vendor.index.__f__("log", "at pages/search/search.vue:329", isLink);
if (isLink == 1) {
utils_navTo.navTo({
url: `/pages/web/web?src=${src}`
});
} else {
let type = isArticle.value ? "article" : "video";
utils_navTo.navTo({
url: `/pages/detail/detail?id=${id}&type=${type}`
});
}
};
const swicthType = () => {
isArticle.value = !isArticle.value;
@@ -304,7 +316,7 @@ const _sfc_main = {
});
};
const queryList = (pageNo, pageSize) => {
common_vendor.index.__f__("log", "at pages/search/search.vue:451", 666666);
common_vendor.index.__f__("log", "at pages/search/search.vue:464", 666666);
const params = {
page: pageNo,
page_size: pageSize
@@ -348,14 +360,14 @@ const _sfc_main = {
}),
q: common_vendor.o(openCase)
} : {}, {
r: common_vendor.o(change),
r: common_vendor.o(changeDate),
s: common_vendor.o(($event) => order.push_date = $event),
t: common_vendor.p({
title: "发布时间",
options: options.value,
modelValue: order.push_date
}),
v: common_vendor.o(change),
v: common_vendor.o(changeRead),
w: common_vendor.o(($event) => order.read_num = $event),
x: common_vendor.p({
title: "阅读量",
@@ -382,7 +394,7 @@ const _sfc_main = {
g: "c10c040c-9-" + i0 + ",c10c040c-0",
h: common_vendor.t(formatdate(item.push_date)),
i: index,
j: common_vendor.o(($event) => isArticle.value ? goDetail(item.article_id) : goDetail(item.video_id), index)
j: common_vendor.o(($event) => isArticle.value ? goDetail(item.article_id, item.is_link, item.is_link_url) : goDetail(item.video_id, item.is_link, item.is_link_url), index)
};
}),
B: common_vendor.p({
+1
View File
@@ -303,6 +303,7 @@
.u-page .tagsbox.data-v-c10c040c {
margin-top: 20rpx;
display: flex;
flex-wrap: wrap;
}
.u-page .tagsbox .tag.data-v-c10c040c {
padding: 0 10rpx;
@@ -144,6 +144,7 @@
.u-page .tagsbox.data-v-5d2f7987 {
margin-top: 20rpx;
display: flex;
flex-wrap: wrap;
}
.u-page .tagsbox .tag.data-v-5d2f7987 {
padding: 0 10rpx;
@@ -242,6 +242,7 @@
.u-page .tagsbox.data-v-55f9e2cf {
margin-top: 20rpx;
display: flex;
flex-wrap: wrap;
}
.u-page .tagsbox .tag.data-v-55f9e2cf {
padding: 0 10rpx;
@@ -131,6 +131,7 @@
.u-page .tagsbox.data-v-acc011bc {
margin-top: 20rpx;
display: flex;
flex-wrap: wrap;
}
.u-page .tagsbox .tag.data-v-acc011bc {
padding: 0 10rpx;
+18
View File
@@ -0,0 +1,18 @@
"use strict";
const common_vendor = require("../../common/vendor.js");
const _sfc_main = {
__name: "web",
setup(__props) {
const src = common_vendor.ref("");
common_vendor.onLoad((option) => {
src.value = option.src;
});
return (_ctx, _cache) => {
return {
a: src.value
};
};
}
};
wx.createPage(_sfc_main);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/web/web.js.map
+5
View File
@@ -0,0 +1,5 @@
{
"navigationBarTitleText": "肝胆相照临床病例库",
"navigationStyle": "custom",
"usingComponents": {}
}
+1
View File
@@ -0,0 +1 @@
<web-view src="{{a}}"></web-view>
View File
+31 -25
View File
@@ -1,30 +1,36 @@
{
"description": "项目配置文件。",
"packOptions": {
"ignore": [],
"include": []
"description": "项目配置文件。",
"packOptions": {
"ignore": []
},
"setting": {
"urlCheck": false,
"es6": true,
"postcss": true,
"minified": true,
"newFeature": true,
"bigPackageSizeSupport": true
},
"compileType": "miniprogram",
"libVersion": "",
"appid": "wx152ad667d5075f27",
"projectname": "caseDataBase",
"condition": {
"search": {
"current": -1,
"list": []
},
"setting": {
"urlCheck": false,
"es6": true,
"postcss": true,
"minified": true,
"newFeature": true,
"bigPackageSizeSupport": true,
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"ignoreUploadUnusedFiles": false
"conversation": {
"current": -1,
"list": []
},
"compileType": "miniprogram",
"libVersion": "",
"appid": "wx152ad667d5075f27",
"projectname": "caseDataBase",
"condition": {},
"editorSetting": {
"tabIndent": "insertSpaces",
"tabSize": 4
"game": {
"current": -1,
"list": []
},
"miniprogram": {
"current": -1,
"list": []
}
}
}