命令行提交

This commit is contained in:
zoujiandong
2025-08-04 16:52:42 +08:00
parent ba4bc25785
commit 430a4a1491
90 changed files with 598 additions and 365 deletions
+1 -1
View File
@@ -36,7 +36,7 @@
},
"plugins": {
"polyv-player": {
"version": "1.9.0",
"version": "1.9.1",
"provider": "wx4a350a258a6f7876"
}
},
+2 -2
View File
@@ -7317,9 +7317,9 @@ function isConsoleWritable() {
return isWritable;
}
function initRuntimeSocketService() {
const hosts = "192.168.0.100,127.0.0.1";
const hosts = "192.168.100.165,127.0.0.1";
const port = "8090";
const id = "mp-weixin_SRSp4k";
const id = "mp-weixin_ZlyeyL";
const lazy = typeof swan !== "undefined";
let restoreError = lazy ? () => {
} : initOnError();
+2 -2
View File
@@ -100,7 +100,7 @@ const _sfc_main = {
type: "caseTalk"
}),
b: common_vendor.t(numInfo.exchange_num),
c: common_vendor.t(numInfo.exchange_collect_num),
c: common_vendor.t(numInfo.exchange_comment_num),
d: common_vendor.t(numInfo.exchange_read_num),
e: most_read_articles.value.length > 0
}, most_read_articles.value.length > 0 ? {
@@ -142,7 +142,7 @@ const _sfc_main = {
i: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id),
j: item.exchange_content_image && item.exchange_content_image.length > 0
}, item.exchange_content_image && item.exchange_content_image.length > 0 ? {
k: common_vendor.f(item.exchange_content_image.splice(0, 3), (unit, k1, i1) => {
k: common_vendor.f(item.exchange_content_image.slice(0, 3), (unit, k1, i1) => {
return {
a: "4b2e7592-4-" + i0 + "-" + i1,
b: common_vendor.p({
+1 -1
View File
@@ -1 +1 @@
<back-nav wx:if="{{a}}" class="data-v-f07c1461" u-i="f07c1461-0" bind:__l="__l" u-p="{{a}}"></back-nav><view class="imgbox data-v-f07c1461"><u--image wx:if="{{b}}" class="data-v-f07c1461" u-i="f07c1461-1" bind:__l="__l" u-p="{{b}}"></u--image></view>
<back-nav wx:if="{{a}}" class="data-v-f07c1461" u-i="f07c1461-0" bind:__l="__l" u-p="{{a}}"></back-nav><view class="imgbox data-v-f07c1461"><view class="box data-v-f07c1461"><u--image wx:if="{{b}}" class="data-v-f07c1461" u-i="f07c1461-1" bind:__l="__l" u-p="{{b}}"></u--image></view></view>
@@ -26,4 +26,13 @@
.imgbox.data-v-f07c1461 {
margin: -30rpx 30rpx 0;
overflow-y: scroll;
display: flex;
align-items: center;
flex-direction: column;
justify-content: center;
min-height: calc(100vh - 200rpx);
}
.imgbox .box.data-v-f07c1461 {
width: 100%;
height: 100%;
}
+226 -161
View File
@@ -38,6 +38,7 @@ const backDetailNav = () => "../../components/backDetailNav/backDetailNav.js";
const _sfc_main = {
__name: "detail",
setup(__props) {
const value = common_vendor.ref("");
const isArticleAuthor = common_vendor.ref(false);
const isH5 = common_vendor.ref(false);
const doctor_id = common_vendor.ref("");
@@ -72,10 +73,22 @@ const _sfc_main = {
const point = common_vendor.ref(0);
const comment_doctorId = common_vendor.ref("");
const commentTextarea = common_vendor.ref(null);
const isLock = common_vendor.ref(false);
const confirmGive = () => {
showGive.value = false;
givePoint();
};
const oldScrollTop = common_vendor.ref(0);
const scrollTop = common_vendor.ref(0);
const scroll = (e) => {
oldScrollTop.value = e.detail.scrollTop;
};
const toTop = () => {
scrollTop.value = oldScrollTop.value;
common_vendor.nextTick$1(() => {
scrollTop.value = 0;
});
};
const openGivePop = () => {
showGive.value = true;
getUserPoint();
@@ -86,19 +99,42 @@ const _sfc_main = {
const formatDate = (date) => {
return common_vendor.dayjs(date).format("YYYY-MM-DD HH:mm");
};
const inputPoint = () => {
if (givePointValue.value < 5) {
givePointValue.value = 5;
const scrolltolower = (rootId) => {
common_vendor.index.__f__("log", "at pages/detail/detail.vue:694", isLock.value);
if (!isLock.value) {
let page = mainCommentObj.sub_page + 1;
mainCommentObj.sub_page = page;
let params = {
page,
page_size: 5
};
if (type.value == "article") {
getArticleComment(params, rootId);
} else if (type.value == "video") {
getVideoComment(params, rootId);
} else {
getExchangeComment(params, rootId);
}
}
};
const inputPoint = (val) => {
common_vendor.index.__f__("log", "at pages/detail/detail.vue:715", val);
if (givePointValue.value <= 1) {
common_vendor.index.showToast({
icon: "none",
title: "每次打赏范围5~100积分"
title: "每次打赏积分必须大于0"
});
setTimeout(() => {
givePointValue.value = 1;
});
}
if (givePointValue.value > 100) {
givePointValue.value = 100;
if (!/^[1-9]\d*$/.test(val)) {
common_vendor.index.showToast({
icon: "none",
title: "每次打赏范围5~100积分"
title: "每次打赏积分必须是大于0的整数"
});
setTimeout(() => {
givePointValue.value = 5;
});
}
};
@@ -109,25 +145,21 @@ const _sfc_main = {
} else {
common_vendor.index.showToast({
icon: "none",
title: "每次打赏范围5~100积分"
title: "每次打赏积分必须大于0"
});
givePointValue.value = 1;
}
} else {
if (givePointValue.value <= 95) {
givePointValue.value = givePointValue.value + 5;
} else {
common_vendor.index.showToast({
icon: "none",
title: "每次打赏范围5~100积分"
});
}
givePointValue.value = givePointValue.value + 5;
}
};
const openMorePop = (obj, list2, index) => {
showMore.value = true;
childList.value = list2;
isLock.value = false;
Object.assign(mainCommentObj, obj);
clickIndex.value = index;
mainCommentObj.sub_page = 1;
};
const getArticleDetail = (id2) => {
api_api.api.getArticleDetail(id2).then((res) => {
@@ -162,7 +194,6 @@ const _sfc_main = {
};
const getUserPoint = () => {
api_api.api.getUserPoint().then((res) => {
common_vendor.index.__f__("log", "at pages/detail/detail.vue:760", res.data.data);
point.value = res.data.data;
});
};
@@ -219,8 +250,6 @@ const _sfc_main = {
id.value = options.id;
type.value = options.type;
}
common_vendor.index.__f__("log", "at pages/detail/detail.vue:829", "id:" + id.value);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:830", "type:" + type.value);
readRecord();
let userInfo = common_vendor.index.getStorageSync("userInfo");
if (userInfo.doctor_id) {
@@ -280,77 +309,120 @@ const _sfc_main = {
getExchangeComment(params);
}
};
const getArticleComment = (params) => {
const getArticleComment = (params, rootId = "") => {
const form = {
article_id: id.value,
root_id: rootId,
is_have_sub_comment: 1
};
api_api.api.getArticleComment({
...form,
...params
}).then((res) => {
paging.value.complete(res.data.data.data);
total.value = res.data.data.total;
is_author.value = res.data.data.is_author == 1 ? true : false;
setTimeout(() => {
if (showMore.value) {
openMorePop(
mainCommentObj,
dataList.value[clickIndex.value].sub_comment,
clickIndex.value
);
if (!rootId) {
paging.value.complete(res.data.data.data);
total.value = res.data.data.total;
is_author.value = res.data.data.is_author == 1 ? true : false;
setTimeout(() => {
if (showMore.value) {
childList.value = [];
openMorePop(
dataList.value[clickIndex.value],
dataList.value[clickIndex.value].sub_comment,
clickIndex.value
);
toTop();
}
}, 1500);
} else {
if (res.data.data.data.length > 0) {
mainCommentObj.sub_comment;
mainCommentObj.sub_comment = mainCommentObj.sub_comment.concat(res.data.data.data);
childList.value = mainCommentObj.sub_comment;
if (res.data.data.data.length < 5) {
isLock.value = true;
}
}
}, 1500);
}
}).catch((res) => {
paging.value.complete(false);
});
};
const getVideoComment = (params) => {
common_vendor.ref([]);
const getVideoComment = (params, rootId = "") => {
const form = {
video_id: id.value,
root_id: rootId,
is_have_sub_comment: 1
};
api_api.api.getVideoComment({
...form,
...params
}).then((res) => {
paging.value.complete(res.data.data.data);
total.value = res.data.data.total;
is_author.value = res.data.data.is_author == 1 ? true : false;
setTimeout(() => {
if (showMore.value) {
openMorePop(
mainCommentObj,
dataList.value[clickIndex.value].sub_comment,
clickIndex.value
);
if (!rootId) {
paging.value.complete(res.data.data.data);
total.value = res.data.data.total;
is_author.value = res.data.data.is_author == 1 ? true : false;
setTimeout(() => {
if (showMore.value) {
childList.value = [];
openMorePop(
dataList.value[clickIndex.value],
dataList.value[clickIndex.value].sub_comment,
clickIndex.value
);
toTop();
}
}, 1500);
} else {
if (res.data.data.data.length > 0) {
mainCommentObj.sub_comment;
mainCommentObj.sub_comment = mainCommentObj.sub_comment.concat(res.data.data.data);
childList.value = mainCommentObj.sub_comment;
if (res.data.data.data.length < 5) {
isLock.value = true;
}
}
}, 1500);
}
}).catch((res) => {
paging.value.complete(false);
});
};
const getExchangeComment = (params) => {
const getExchangeComment = (params, rootId = "") => {
const form = {
exchange_id: id.value,
root_id: rootId,
is_have_sub_comment: 1
};
api_api.api.getExchangeComment({
...form,
...params
}).then((res) => {
paging.value.complete(res.data.data.data);
total.value = res.data.data.total;
is_author.value = res.data.data.is_author == 1 ? true : false;
setTimeout(() => {
if (showMore.value) {
openMorePop(
mainCommentObj,
dataList.value[clickIndex.value].sub_comment,
clickIndex.value
);
if (!rootId) {
paging.value.complete(res.data.data.data);
total.value = res.data.data.total;
is_author.value = res.data.data.is_author == 1 ? true : false;
setTimeout(() => {
if (showMore.value) {
childList.value = [];
openMorePop(
dataList.value[clickIndex.value],
dataList.value[clickIndex.value].sub_comment,
clickIndex.value
);
toTop();
}
}, 1500);
} else {
if (res.data.data.data.length > 0) {
mainCommentObj.sub_comment;
mainCommentObj.sub_comment = mainCommentObj.sub_comment.concat(res.data.data.data);
childList.value = mainCommentObj.sub_comment;
if (res.data.data.data.length < 5) {
isLock.value = true;
}
}
}, 1500);
}
}).catch((res) => {
paging.value.complete(false);
});
@@ -364,17 +436,16 @@ const _sfc_main = {
};
const openDeal = () => {
showDeal.value = true;
common_vendor.index.__f__("log", "at pages/detail/detail.vue:992", "open");
};
const closeDeal = () => {
showDeal.value = false;
};
const openMore = () => {
showMore.value = true;
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1000", "open");
};
const closeMore = () => {
showMore.value = false;
paging.value.refresh();
};
const previewImg = (url) => {
common_vendor.index.previewImage({
@@ -392,7 +463,6 @@ const _sfc_main = {
const canvas = res[0].node;
const ctx = canvas.getContext("2d");
let textMetrics = ctx.measureText(maskText);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1025", textMetrics);
let {
width: textWidth,
actualBoundingBoxAscent,
@@ -408,7 +478,6 @@ const _sfc_main = {
success: (imageRes) => {
let scale = imageRes.width / 800 * 30 > 12 ? imageRes.width / 800 * 30 : 12;
font = scale + "px Arial";
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1051", imageRes);
canvas.width = imageRes.width;
canvas.height = imageRes.height;
imgHeight = imageRes.height;
@@ -421,7 +490,6 @@ const _sfc_main = {
let posXmargin = 20;
let posYmargin = 20;
let randomNumber = 3;
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1069", "randomNumber:" + randomNumber);
switch (randomNumber) {
case 0:
let lt_x = posXmargin;
@@ -456,14 +524,11 @@ const _sfc_main = {
break;
case 3:
let rb_x = imgWidth - scale * 10 - posXmargin <= 0 ? 10 : imgWidth - scale * 10 - posXmargin;
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1117", rb_x);
let rb_y = imgHeight - posYmargin;
ctx.font = font;
ctx.fillStyle = fontColor;
ctx.strokeStyle = "#000";
ctx.fillStyle = "#fff";
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1124", "rb_x");
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1125", rb_x);
ctx.strokeText(maskText, rb_x, rb_y);
ctx.fillText(maskText, rb_x, rb_y);
break;
@@ -474,7 +539,7 @@ const _sfc_main = {
resolve(res2.tempFilePath);
},
fail: function(res2) {
common_vendor.index.__f__("error", "at pages/detail/detail.vue:1147", res2);
common_vendor.index.__f__("error", "at pages/detail/detail.vue:1228", res2);
}
});
};
@@ -484,7 +549,6 @@ const _sfc_main = {
});
};
const readImages = async (localIds) => {
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1245", localIds);
let promiseFun = [];
for (var i = 0; i < localIds.length; i++) {
let img = null;
@@ -524,12 +588,10 @@ 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:1347", url);
imgList.value = [url];
}
},
fail: (err) => {
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1352", err);
}
});
});
@@ -538,8 +600,6 @@ const _sfc_main = {
};
const handleUpload = (file) => {
let File2 = file.file;
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1361", 111);
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1362", File2);
readImages(File2);
};
const generateRandomNumber = () => {
@@ -613,7 +673,7 @@ const _sfc_main = {
getExchangeDetail(id2);
});
};
const toggleCollect = () => {
const toggleCollect = utils_throttle.throttle(() => {
if (type.value == "video") {
info.is_collect ? cancelCollectVideo(id.value) : collectVideo(id.value);
} else if (type.value == "article") {
@@ -621,7 +681,7 @@ const _sfc_main = {
} else {
info.is_collect ? cancelCollectExchange(id.value) : collectExchange(id.value);
}
};
});
const addArticleComment = (id2, data) => {
api_api.api.addArticleComment(id2, data).then((res) => {
common_vendor.index.showToast({
@@ -872,7 +932,7 @@ const _sfc_main = {
}),
f: common_vendor.o(open),
g: common_vendor.o(open),
h: common_vendor.o(toggleCollect),
h: common_vendor.o(common_vendor.unref(toggleCollect)),
i: common_vendor.p({
src: info.is_collect ? common_vendor.unref(common_assets.collectonImg) : common_vendor.unref(common_assets.collectImg),
width: "70rpx",
@@ -941,35 +1001,37 @@ const _sfc_main = {
C: showCanvas.value
}, showCanvas.value ? {} : {}, {
D: type.value == "video" && !isH5.value
}, type.value == "video" && !isH5.value ? {
E: "playerContext" + info.video_no,
F: "playerId" + info.video_no,
G: info.video_no
} : {}, {
H: type.value == "video" && isH5.value
}, type.value == "video" && !isH5.value ? common_vendor.e({
E: info.video_no
}, info.video_no ? {
F: "playerContext" + info.video_no,
G: "playerId" + info.video_no,
H: info.video_no
} : {}) : {}, {
I: type.value == "video" && isH5.value
}, type.value == "video" && isH5.value ? {} : type.value == "article" ? {
J: common_vendor.p({
K: common_vendor.p({
content: fromatImg(info.article_content)
})
} : common_vendor.e({
K: info.exchange_content
L: info.exchange_content
}, info.exchange_content ? {
L: common_vendor.p({
M: common_vendor.p({
content: fromatImg(info.exchange_content)
})
} : {}, {
M: info.exchange_summary
N: info.exchange_summary
}, info.exchange_summary ? {
N: common_vendor.p({
O: common_vendor.p({
content: fromatImg(info.exchange_summary)
})
} : {}, {
O: info.exchange_vote && info.exchange_vote.vote_title
P: info.exchange_vote && info.exchange_vote.vote_title
}, info.exchange_vote && info.exchange_vote.vote_title ? common_vendor.e({
P: info.exchange_vote.is_have_voted != 1
Q: info.exchange_vote.is_have_voted != 1
}, info.exchange_vote.is_have_voted != 1 ? {
Q: common_vendor.t(info.exchange_vote.vote_title),
R: common_vendor.f(info.exchange_vote.case_exchange_vote_option, (item, k0, i0) => {
R: common_vendor.t(info.exchange_vote.vote_title),
S: common_vendor.f(info.exchange_vote.case_exchange_vote_option, (item, k0, i0) => {
return {
a: "eca06f3c-16-" + i0 + ",eca06f3c-15",
b: common_vendor.p({
@@ -980,32 +1042,32 @@ const _sfc_main = {
c: item.option_id
};
}),
S: common_vendor.o(($event) => option_id.value = $event),
T: common_vendor.p({
T: common_vendor.o(($event) => option_id.value = $event),
U: common_vendor.p({
placement: "column",
modelValue: option_id.value
}),
U: common_vendor.o(addVote)
V: common_vendor.o(addVote)
} : {
V: common_vendor.t(info.exchange_vote.vote_title),
W: common_vendor.f(info.exchange_vote.case_exchange_vote_option, (item, k0, i0) => {
W: common_vendor.t(info.exchange_vote.vote_title),
X: common_vendor.f(info.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
};
}),
X: _ctx.proportion / 100
Y: _ctx.proportion / 100
}) : {}), {
I: type.value == "article",
Y: common_vendor.p({
J: type.value == "article",
Z: common_vendor.p({
src: common_vendor.unref(common_assets.commentImg),
mode: "widthFix",
width: "50rpx",
height: "50rpx"
}),
Z: common_vendor.t(total.value),
aa: common_vendor.f(dataList.value, (item, index, i0) => {
aa: common_vendor.t(total.value),
ab: common_vendor.f(dataList.value, (item, index, i0) => {
return common_vendor.e({
a: "eca06f3c-18-" + i0 + ",eca06f3c-0",
b: common_vendor.p({
@@ -1090,16 +1152,16 @@ const _sfc_main = {
t: item.comment_id
});
}),
ab: common_vendor.sr(paging, "eca06f3c-0", {
ac: common_vendor.sr(paging, "eca06f3c-0", {
"k": "paging"
}),
ac: common_vendor.o(queryList),
ad: common_vendor.o(($event) => dataList.value = $event),
ae: common_vendor.p({
ad: common_vendor.o(queryList),
ae: common_vendor.o(($event) => dataList.value = $event),
af: common_vendor.p({
["inside-more"]: true,
["loading-more-no-more-text"]: "咱也是有底线的!",
["auto-show-back-to-top"]: false,
["refresher-out-rate"]: "0.8",
["refresher-out-rate"]: 0.8,
["empty-view-super-style"]: {
"paddingBottom": "140rpx"
},
@@ -1113,43 +1175,43 @@ const _sfc_main = {
},
modelValue: dataList.value
}),
af: common_vendor.sr(commentTextarea, "eca06f3c-26,eca06f3c-25", {
ag: common_vendor.sr(commentTextarea, "eca06f3c-26,eca06f3c-25", {
"k": "commentTextarea"
}),
ag: common_vendor.o(($event) => content.value = $event),
ah: common_vendor.p({
ah: common_vendor.o(($event) => content.value = $event),
ai: common_vendor.p({
focus: false,
height: "200",
cursorSpacing: "240",
cursorSpacing: 240,
adjustPosition: true,
["adjust-keyboard-to"]: "bottom",
placeholder: placeholder.value,
modelValue: content.value
}),
ai: imgList.value.length > 0
aj: imgList.value.length > 0
}, imgList.value.length > 0 ? {
aj: common_vendor.o(($event) => previewImg(imgList.value[0])),
ak: common_vendor.p({
ak: common_vendor.o(($event) => previewImg(imgList.value[0])),
al: common_vendor.p({
src: imgList.value[0],
radius: "6",
width: "150rpx",
height: "150rpx"
}),
al: common_vendor.p({
am: common_vendor.p({
name: "close-circle",
color: "#666",
size: "16"
}),
am: common_vendor.o(delImg)
an: common_vendor.o(delImg)
} : {}, {
an: common_vendor.p({
ao: common_vendor.p({
src: common_vendor.unref(common_assets.uploadImg),
mode: "widthFix",
width: "40rpx",
height: "77rpx"
}),
ao: common_vendor.o(afterRead),
ap: common_vendor.p({
ap: common_vendor.o(afterRead),
aq: common_vendor.p({
disabled: imgList.value.length >= 1,
["show-upload-list"]: false,
name: "imgupload",
@@ -1158,11 +1220,11 @@ const _sfc_main = {
width: "40rpx",
height: "77rpx"
}),
aq: imgList.value.length >= 1 ? 1 : "",
ar: common_vendor.o((...args) => common_vendor.unref(sendComment) && common_vendor.unref(sendComment)(...args)),
as: common_vendor.o(close),
at: common_vendor.o(open),
av: common_vendor.p({
ar: imgList.value.length >= 1 ? 1 : "",
as: common_vendor.o((...args) => common_vendor.unref(sendComment) && common_vendor.unref(sendComment)(...args)),
at: common_vendor.o(close),
av: common_vendor.o(open),
aw: common_vendor.p({
zIndex: 99,
overlayStyle: {
zIndex: 98
@@ -1173,20 +1235,20 @@ const _sfc_main = {
closeable: true,
mode: "bottom"
}),
aw: level.value == 2 && isArticleAuthor.value
ax: level.value == 2 && isArticleAuthor.value
}, level.value == 2 && isArticleAuthor.value ? {
ax: common_vendor.t(is_top.value ? "取消置顶" : "置顶"),
ay: common_vendor.o(toggleTop)
ay: common_vendor.t(is_top.value ? "取消置顶" : "置顶"),
az: common_vendor.o(toggleTop)
} : {}, {
az: common_vendor.o(openCommentDialog),
aA: isArticleAuthor.value || doctor_id.value == comment_doctorId.value
aA: common_vendor.o(openCommentDialog),
aB: isArticleAuthor.value || doctor_id.value == comment_doctorId.value
}, isArticleAuthor.value || doctor_id.value == comment_doctorId.value ? {
aB: common_vendor.o(delComment)
aC: common_vendor.o(delComment)
} : {}, {
aC: common_vendor.o(closeDealPop),
aD: common_vendor.o(closeDeal),
aE: common_vendor.o(openDeal),
aF: common_vendor.p({
aD: common_vendor.o(closeDealPop),
aE: common_vendor.o(closeDeal),
aF: common_vendor.o(openDeal),
aG: common_vendor.p({
zIndex: 60,
overlayStyle: {
zIndex: 59
@@ -1196,41 +1258,41 @@ const _sfc_main = {
round: 10,
mode: "bottom"
}),
aG: common_vendor.p({
aH: common_vendor.p({
name: "close",
color: "#666",
size: "20"
}),
aH: common_vendor.o(closeMore),
aI: common_vendor.p({
aI: common_vendor.o(closeMore),
aJ: common_vendor.p({
src: mainCommentObj.avatar ? mainCommentObj.avatar : common_vendor.unref(common_assets.headImg),
width: "86rpx",
height: "86rpx",
radius: "50%"
}),
aJ: common_vendor.t(mainCommentObj.user_name),
aK: doctor_id.value == mainCommentObj.doctor_id
aK: common_vendor.t(mainCommentObj.user_name),
aL: doctor_id.value == mainCommentObj.doctor_id
}, doctor_id.value == mainCommentObj.doctor_id ? {
aL: common_vendor.p({
aM: common_vendor.p({
src: common_vendor.unref(common_assets.selfImg),
width: "69rpx",
height: "31rpx"
})
} : {}, {
aM: common_vendor.o(($event) => alertDeal(mainCommentObj.comment_id, mainCommentObj.comment_id, mainCommentObj.user_name, mainCommentObj.is_top, 2, mainCommentObj.doctor_id)),
aN: common_vendor.t(mainCommentObj.content),
aO: mainCommentObj.comment_image
aN: common_vendor.o(($event) => alertDeal(mainCommentObj.comment_id, mainCommentObj.comment_id, mainCommentObj.user_name, mainCommentObj.is_top, 2, mainCommentObj.doctor_id)),
aO: common_vendor.t(mainCommentObj.content),
aP: mainCommentObj.comment_image
}, mainCommentObj.comment_image ? {
aP: common_vendor.o(($event) => previewImg(mainCommentObj.comment_image)),
aQ: common_vendor.p({
aQ: common_vendor.o(($event) => previewImg(mainCommentObj.comment_image)),
aR: common_vendor.p({
src: mainCommentObj.comment_image,
radius: "16rpx",
width: "150rpx",
height: "150rpx"
})
} : {}, {
aR: common_vendor.t(formatDate(mainCommentObj.created_at)),
aS: common_vendor.f(childList.value, (cell, index, i0) => {
aS: common_vendor.t(formatDate(mainCommentObj.created_at)),
aT: common_vendor.f(childList.value, (cell, index, i0) => {
return common_vendor.e({
a: "eca06f3c-37-" + i0 + ",eca06f3c-32",
b: common_vendor.p({
@@ -1266,17 +1328,20 @@ const _sfc_main = {
n: cell.comment_id
});
}),
aT: common_vendor.o(($event) => _ctx.value = $event),
aU: common_vendor.p({
aU: scrollTop.value,
aV: common_vendor.o(scroll),
aW: common_vendor.o(($event) => scrolltolower(mainCommentObj.comment_id)),
aX: common_vendor.o(($event) => value.value = $event),
aY: common_vendor.p({
readonly: true,
placeholder: "@" + mainCommentObj.user_name + "",
border: "surround",
modelValue: _ctx.value
modelValue: value.value
}),
aV: common_vendor.o(showReplyPop),
aW: common_vendor.o(closeMore),
aX: common_vendor.o(openMore),
aY: common_vendor.p({
aZ: common_vendor.o(showReplyPop),
ba: common_vendor.o(closeMore),
bb: common_vendor.o(openMore),
bc: common_vendor.p({
zIndex: 10,
overlayStyle: {
zIndex: 9
@@ -1286,26 +1351,26 @@ const _sfc_main = {
round: 10,
mode: "bottom"
}),
aZ: common_vendor.t(point.value),
ba: common_vendor.o(($event) => changePoint("minus")),
bb: common_vendor.o(inputPoint),
bc: common_vendor.o(($event) => givePointValue.value = $event),
bd: common_vendor.p({
bd: common_vendor.t(point.value),
be: common_vendor.o(($event) => changePoint("minus")),
bf: common_vendor.o(inputPoint),
bg: common_vendor.o(($event) => givePointValue.value = $event),
bh: common_vendor.p({
placeholder: "请输入打赏积分",
type: "number",
border: "surround",
modelValue: givePointValue.value
}),
be: common_vendor.o(($event) => changePoint("add")),
bf: common_vendor.o(($event) => showGive.value = false),
bg: common_vendor.o(confirmGive),
bh: common_vendor.p({
bi: common_vendor.o(($event) => changePoint("add")),
bj: common_vendor.o(($event) => showGive.value = false),
bk: common_vendor.o(confirmGive),
bl: common_vendor.p({
show: showGive.value,
["mask-click-able"]: true
}),
bi: common_vendor.o(($event) => showModal.value = false),
bj: common_vendor.o(confirmDel),
bk: common_vendor.p({
bm: common_vendor.o(($event) => showModal.value = false),
bn: common_vendor.o(confirmDel),
bo: common_vendor.p({
show: showModal.value,
["mask-click-able"]: true
})
File diff suppressed because one or more lines are too long
+11 -1
View File
@@ -29,6 +29,10 @@
.videobox .cloumn.data-v-eca06f3c {
padding-bottom: 30rpx;
}
.videobox .cloumn .stitle.data-v-eca06f3c {
font-size: 32rpx;
font-weight: bold;
}
.videobox.data-v-eca06f3c .video {
display: flex;
justify-content: center;
@@ -255,6 +259,7 @@
}
.commentcon .item .info .user .dot.data-v-eca06f3c {
font-size: 32rpx;
padding: 0 14rpx;
}
.commentcon .item .info .question.data-v-eca06f3c {
margin-top: 15rpx;
@@ -326,8 +331,9 @@
color: #ffffff;
}
.votebox .name.data-v-eca06f3c {
font-size: 36rpx;
font-size: 32rpx;
color: #000000;
font-weight: bold;
line-height: 46rpx;
}
.votebox .title.data-v-eca06f3c {
@@ -347,6 +353,9 @@
margin-bottom: 10rpx;
justify-content: space-between;
}
.votebox .option .row .left.data-v-eca06f3c {
width: 80%;
}
.votebox .option .line.data-v-eca06f3c {
width: 100%;
height: 15rpx;
@@ -426,6 +435,7 @@
box-sizing: border-box;
padding: 40rpx 30rpx;
align-items: center;
z-index: 999;
border-top: 2rpx solid #f9fafb;
background: #fff;
bottom: 0;
+3 -1
View File
@@ -91,6 +91,7 @@ const _sfc_main = {
wx_code: res,
source: 1
}).then((data) => {
common_vendor.index.hideKeyboard();
let result = data.data.data;
{
const { envVersion } = common_vendor.index.getAccountInfoSync().miniProgram;
@@ -140,6 +141,7 @@ const _sfc_main = {
phone: phone.value,
wx_code: res
}).then((data) => {
common_vendor.index.hideKeyboard();
let result = data.data.data;
const { envVersion } = common_vendor.index.getAccountInfoSync().miniProgram;
if (envVersion == "release") {
@@ -215,7 +217,7 @@ const _sfc_main = {
}, !isPhoneLogin.value ? {
b: common_vendor.o(($event) => phone.value = $event),
c: common_vendor.p({
placeholder: "请输入肝胆相照专家版手机号",
placeholder: "请输入手机号",
modelValue: phone.value
}),
d: common_vendor.p({
+1 -1
View File
@@ -43,7 +43,7 @@
width: 180rpx !important;
}
.logincontent .smsbox.data-v-e4e4508d .u-form-item:first-child .u-form-item__body__left {
width: 180rpx !important;
width: 114rpx !important;
}
.logincontent.data-v-e4e4508d .u-form-item__body__left__content__label {
font-size: 34rpx;
-7
View File
@@ -275,13 +275,6 @@ const _sfc_main = {
});
return false;
}
if (voteData.case_exchange_vote_option[i].option_value.length > 16) {
common_vendor.index.showToast({
title: "第" + (i + 1) + "个投票选项超过16个字符",
icon: "none"
});
return false;
}
}
form.case_exchange_vote = voteData;
showVote.value = false;
+7 -4
View File
@@ -25,11 +25,14 @@ const _sfc_main = {
common_vendor.ref(null);
common_vendor.onLoad(() => {
const { envVersion } = common_vendor.index.getAccountInfoSync().miniProgram;
common_vendor.index.__f__("log", "at pages/register/register.vue:142", envVersion);
if (envVersion == "release") {
src.value = "https://wx.igandan.com/hcp/toRegister?fromType=weChat";
if (options.src) {
src.value = options.src;
} else {
src.value = "https://dev-wx.igandan.com/hcp/toRegister?fromType=weChat";
if (envVersion == "release") {
src.value = "https://wx.igandan.com/hcp/toRegister?fromType=weChat";
} else {
src.value = "https://dev-wx.igandan.com/hcp/toRegister?fromType=weChat";
}
}
});
return (_ctx, _cache) => {
@@ -407,7 +407,7 @@ const _sfc_main = {
j: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id),
k: item.exchange_content_image && item.exchange_content_image.length > 0
}, item.exchange_content_image && item.exchange_content_image.length > 0 ? {
l: common_vendor.f(item.exchange_content_image.splice(0, 3), (unit, k1, i1) => {
l: common_vendor.f(item.exchange_content_image.slice(0, 3), (unit, k1, i1) => {
return {
a: "b2cb78f4-8-" + i0 + "-" + i1 + ",b2cb78f4-0",
b: common_vendor.p({
@@ -235,6 +235,7 @@
font-size: 32rpx;
color: #000000;
line-height: 46rpx;
word-break: break-all;
display: flex;
justify-content: space-between;
align-items: center;
@@ -242,6 +243,8 @@
.record .list .cell .title .dot.data-v-b2cb78f4 {
height: 40rpx;
display: flex;
line-height: 40rpx;
padding: 0 14rpx;
align-items: center;
line-height: 40rpx;
}
+5 -4
View File
@@ -236,8 +236,8 @@ const _sfc_main = {
return common_vendor.dayjs(date).format("YYYY-MM-DD");
};
const goDetail = (id) => {
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:453", 11111);
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:454", id);
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:454", 11111);
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:455", id);
let type = isArticle.value ? "article" : "video";
utils_navTo.navTo({
url: `/pages/detail/detail?id=${id}&type=${type}`
@@ -318,7 +318,7 @@ const _sfc_main = {
});
};
const queryList = (pageNo, pageSize) => {
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:537", 666666);
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:538", 666666);
const params = {
page: pageNo,
page_size: pageSize
@@ -468,7 +468,8 @@ const _sfc_main = {
label: item.label_name,
name: item.app_iden
}),
c: item.app_iden
c: item.app_iden,
d: item.label_name != "热门话题"
};
}),
T: common_vendor.o(groupChange1),
File diff suppressed because one or more lines are too long
+20
View File
@@ -55,6 +55,26 @@ const request = (url, data = {}, method = "post", loading = false, contentType =
}
});
n(res);
} else if (res.data.code == 10007) {
common_vendor.index.showToast({
title: "待补充资料",
icon: "none"
});
let H5url = "https://dev-wx.igandan.com";
if (window.location.href.indexOf("//dev-casedata.igandan.com") == -1) {
H5url = "https://wx.igandan.com";
}
let link = H5url + "/hcp/perfect?mobile=" + $("#phonenumber").val().trim();
navTo({
url: "/pages/register/register?src=" + link
});
n(res);
} else if (res.data.code == 10005) {
common_vendor.index.showToast({
title: "待审核",
icon: "none"
});
n(res);
} else if (res.data.code == 401 || res.data.code == 403 || res.data.code == 405 || res.data.code == 406) {
{
let freeList = ["/login/wechat/mobile", "/code/phone", "/login/mobile_login", "/index", "/user/check"];