This commit is contained in:
zoujiandong
2025-07-22 09:40:54 +08:00
parent 89d55643f6
commit 89336f5621
24 changed files with 766 additions and 199 deletions
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -113,7 +113,7 @@ const api = {
return utils_request.request("/exchange/collect/" + id, {}, "delete", false);
},
addExchangeComment(id, data) {
return utils_request.request("/exchange/comment/" + id, data, "post", false);
return utils_request.request("/exchange/comment/" + id, data, "post", true);
},
delExchangeComment(id) {
return utils_request.request("/exchange/comment/" + id, {}, "delete", false);
+5 -11
View File
@@ -148,17 +148,11 @@ const _sfc_main = {
l: common_vendor.f(dataList.value, (item, index, i0) => {
return {
a: common_vendor.t(tab.value == 0 ? item.article_title : item.video_title),
b: common_vendor.f(item.author, (tag, k1, i1) => {
return {
a: common_vendor.t(tag.doctor_name),
b: tag.author_id
};
}),
c: "24ff958c-3-" + i0 + ",24ff958c-0",
d: "24ff958c-4-" + i0 + ",24ff958c-0",
e: common_vendor.t(formatdate(item.push_date)),
f: index,
g: common_vendor.o(($event) => goDetail(item.cert_image), index)
b: "24ff958c-3-" + i0 + ",24ff958c-0",
c: "24ff958c-4-" + i0 + ",24ff958c-0",
d: common_vendor.t(formatdate(item.push_date)),
e: index,
f: common_vendor.o(($event) => goDetail(item.cert_image), index)
};
}),
m: common_vendor.p({
+1 -1
View File
@@ -1 +1 @@
<view class="u-page data-v-24ff958c"><z-paging wx:if="{{r}}" class="r data-v-24ff958c" u-s="{{['top','d']}}" u-r="paging" bindquery="{{p}}" u-i="24ff958c-0" bind:__l="__l" bindupdateModelValue="{{q}}" u-p="{{r}}"><view slot="top"><nav-bar-search wx:if="{{b}}" class="data-v-24ff958c" bindchangeWord="{{a}}" u-i="24ff958c-1,24ff958c-0" bind:__l="__l" u-p="{{b}}"></nav-bar-search><view wx:if="{{c}}" class="detail data-v-24ff958c"><view wx:if="{{d}}" class="desc data-v-24ff958c">检索到:<text class="red data-v-24ff958c">{{e}}篇文章</text></view><view wx:if="{{f}}" class="desc data-v-24ff958c">检索到:<text class="red data-v-24ff958c">{{g}}个视频</text></view><view wx:if="{{h}}" class="desc data-v-24ff958c">检索词:<text class="red data-v-24ff958c">{{i}}</text></view></view><view class="tabcon data-v-24ff958c"><up-tabs wx:if="{{k}}" class="data-v-24ff958c" bindclick="{{j}}" u-i="24ff958c-2,24ff958c-0" bind:__l="__l" u-p="{{k}}"></up-tabs></view></view><view wx:for="{{l}}" wx:for-item="item" wx:key="f" class="item data-v-24ff958c" bindtap="{{item.g}}"><view class="title ellipsis data-v-24ff958c">{{item.a}}</view><view class="tagsbox data-v-24ff958c"><view wx:for="{{item.b}}" wx:for-item="tag" wx:key="b" class="tag data-v-24ff958c">{{tag.a}}</view></view><view class="deal data-v-24ff958c"><view class="left data-v-24ff958c"><view class="recored data-v-24ff958c"><up--image wx:if="{{m}}" class="data-v-24ff958c" u-i="{{item.c}}" bind:__l="__l" u-p="{{m}}"></up--image> 收录证书 </view></view><view class="time data-v-24ff958c"><up-icon wx:if="{{n}}" class="data-v-24ff958c" u-i="{{item.d}}" bind:__l="__l" u-p="{{n}}"></up-icon><view class="num data-v-24ff958c">{{item.e}}</view></view></view></view></z-paging></view>
<view class="u-page data-v-24ff958c"><z-paging wx:if="{{r}}" class="r data-v-24ff958c" u-s="{{['top','d']}}" u-r="paging" bindquery="{{p}}" u-i="24ff958c-0" bind:__l="__l" bindupdateModelValue="{{q}}" u-p="{{r}}"><view slot="top"><nav-bar-search wx:if="{{b}}" class="data-v-24ff958c" bindchangeWord="{{a}}" u-i="24ff958c-1,24ff958c-0" bind:__l="__l" u-p="{{b}}"></nav-bar-search><view wx:if="{{c}}" class="detail data-v-24ff958c"><view wx:if="{{d}}" class="desc data-v-24ff958c">检索到:<text class="red data-v-24ff958c">{{e}}篇文章</text></view><view wx:if="{{f}}" class="desc data-v-24ff958c">检索到:<text class="red data-v-24ff958c">{{g}}个视频</text></view><view wx:if="{{h}}" class="desc data-v-24ff958c">检索词:<text class="red data-v-24ff958c">{{i}}</text></view></view><view class="tabcon data-v-24ff958c"><up-tabs wx:if="{{k}}" class="data-v-24ff958c" bindclick="{{j}}" u-i="24ff958c-2,24ff958c-0" bind:__l="__l" u-p="{{k}}"></up-tabs></view></view><view wx:for="{{l}}" wx:for-item="item" wx:key="e" class="item data-v-24ff958c" bindtap="{{item.f}}"><view class="title ellipsis-two-lines data-v-24ff958c">{{item.a}}</view><view class="deal data-v-24ff958c"><view class="left data-v-24ff958c"><view class="recored data-v-24ff958c"><up--image wx:if="{{m}}" class="data-v-24ff958c" u-i="{{item.b}}" bind:__l="__l" u-p="{{m}}"></up--image> 收录证书 </view></view><view class="time data-v-24ff958c"><up-icon wx:if="{{n}}" class="data-v-24ff958c" u-i="{{item.c}}" bind:__l="__l" u-p="{{n}}"></up-icon><view class="num data-v-24ff958c">{{item.d}}</view></view></view></view></z-paging></view>
+7
View File
@@ -64,6 +64,9 @@
.zanboxpop .zanwraper .content.data-v-eca06f3c .imgstyle {
max-width: 100% !important;
}
.zanboxpop .zanwraper .content.data-v-eca06f3c ._block {
text-align: left !important;
}
.zanboxpop .zanwraper .count.data-v-eca06f3c {
margin-top: 24rpx;
display: flex;
@@ -406,6 +409,10 @@
left: 50%;
transform: translateX(-50%);
}
.desc.data-v-eca06f3c ._block {
text-align: left !important;
text-indent: 0px !important;
}
.bottom.data-v-eca06f3c {
position: fixed;
display: flex;
+3 -3
View File
@@ -67,7 +67,7 @@ const _sfc_main = {
};
const mySpecial = () => {
utils_navTo.navTo({
url: "/pages/specialList/specialList?userId=" + userInfo.user_id
url: "/pages/specialList/specialList?userId=" + userInfo.user_id + "&type=mine"
});
};
const goJoin = () => {
@@ -124,8 +124,8 @@ const _sfc_main = {
size: "18"
}),
n: common_vendor.o(goCert),
o: hospitalInfo.video_num > 0 + hospitalInfo.article_num >= 20
}, hospitalInfo.video_num > 0 + hospitalInfo.article_num >= 20 ? {
o: hospitalInfo.video_num + hospitalInfo.article_num >= 10
}, hospitalInfo.video_num + hospitalInfo.article_num >= 10 ? {
p: common_vendor.p({
src: common_vendor.unref(common_assets.myHospital),
width: "39rpx",
+135 -92
View File
@@ -44,11 +44,13 @@ const _sfc_main = {
const caseValue3 = common_vendor.ref("");
const level = common_vendor.ref(1);
const isPublish = common_vendor.ref(false);
const exchange_id = common_vendor.ref("");
const labelObj = common_vendor.reactive({
list1: [],
list2: [],
list3: []
});
const bottomHeight = common_vendor.ref(200);
const form = common_vendor.reactive({
exchange_title: "",
exchange_content: "",
@@ -90,7 +92,7 @@ const _sfc_main = {
showCase.value = false;
};
const epaste = (e) => {
common_vendor.index.__f__("log", "at pages/publish/publish.vue:539", e);
common_vendor.index.__f__("log", "at pages/publish/publish.vue:541", e);
};
const addOption = () => {
voteData.case_exchange_vote_option.push({
@@ -168,7 +170,7 @@ const _sfc_main = {
}
};
const ready = (e) => {
common_vendor.index.__f__("log", "at pages/publish/publish.vue:643", e);
common_vendor.index.__f__("log", "at pages/publish/publish.vue:645", e);
editorCtx.value = e;
let html = "<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p><br/><br/>";
editorCtx.value.initHtml(html);
@@ -181,9 +183,14 @@ const _sfc_main = {
};
const readyResult = (e) => {
editorCtxResult.value = e;
setTimeout(() => {
if (exchange_id.value) {
getExchangeDetail(exchange_id.value);
}
});
};
const clearMuBan = () => {
common_vendor.index.__f__("log", "at pages/publish/publish.vue:663", "清空模板");
common_vendor.index.__f__("log", "at pages/publish/publish.vue:671", "清空模板");
editorCtx.value.initHtml("");
};
const focusInfo = () => {
@@ -251,6 +258,37 @@ const _sfc_main = {
getDraftList();
});
};
const getExchangeDetail = (id) => {
api_api.api.getExchangeDetail(id).then((res) => {
common_vendor.index.__f__("log", "at pages/publish/publish.vue:772", res.data.data);
let {
exchange_content,
exchange_title,
exchange_label,
exchange_summary,
exchange_vote
} = res.data.data;
editorCtx.value.initHtml(exchange_content, async (videoUrl) => {
let res2;
const fox = "https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg";
res2 = await editorCtx.value.createCoverThumbnail(fox);
return res2;
});
form.exchange_content = exchange_content;
form.exchange_title = exchange_title;
form.case_exchange_label = exchange_label;
labelList.value = exchange_label;
form.exchange_summary = exchange_summary;
form.case_exchange_vote = exchange_vote;
editorCtxResult.value.initHtml(exchange_summary, async (videoUrl) => {
let res2;
const fox = "https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg";
res2 = await editorCtxResult.value.createCoverThumbnail(fox);
return res2;
});
Object.assign(voteData, exchange_vote);
});
};
const editDraft = (index) => {
let draft = draftList.value[index];
let {
@@ -268,7 +306,7 @@ const _sfc_main = {
form.exchange_summary = exchange_summary;
form.case_exchange_vote = exchange_vote;
editorCtxResult.value.initHtml(exchange_summary);
Object.assign(voteData, draft);
Object.assign(voteData, exchange_vote);
showDraft.value = false;
};
const willDelDraft = (id) => {
@@ -278,7 +316,7 @@ const _sfc_main = {
};
const confirmDel = () => {
showModal.value = false;
common_vendor.index.__f__("log", "at pages/publish/publish.vue:780", delType.value);
common_vendor.index.__f__("log", "at pages/publish/publish.vue:840", delType.value);
if (delType.value == "delDraft") {
delDraft(delId.value);
} else if (delType.value == "saveDraft") {
@@ -301,7 +339,7 @@ const _sfc_main = {
getDraftList();
};
const alertSave = async () => {
if (isPublish.value) {
if (isPublish.value || exchange_id.value) {
goBack();
} else {
const res = await editorCtx.value.getLastContent();
@@ -389,7 +427,7 @@ const _sfc_main = {
}
},
fail: (err) => {
common_vendor.index.__f__("log", "at pages/publish/publish.vue:909", err);
common_vendor.index.__f__("log", "at pages/publish/publish.vue:969", err);
}
});
});
@@ -419,7 +457,7 @@ const _sfc_main = {
return randomNumber;
};
const getImageFormat = (imageUrl) => {
common_vendor.index.__f__("log", "at pages/publish/publish.vue:939", imageUrl);
common_vendor.index.__f__("log", "at pages/publish/publish.vue:999", imageUrl);
const lastDotIndex = imageUrl.lastIndexOf(".");
if (lastDotIndex !== -1) {
return imageUrl.substring(lastDotIndex + 1);
@@ -451,7 +489,7 @@ const _sfc_main = {
//从相册选择
extension: [".mp4", ".webm", ".ogg"],
success: function(res) {
common_vendor.index.__f__("log", "at pages/publish/publish.vue:966", res.tempFilePath);
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1026", res.tempFilePath);
HandleAddVideo(res.tempFilePath);
}
});
@@ -489,7 +527,7 @@ const _sfc_main = {
async success(res2) {
if (res2.statusCode === 204) {
let url = host + "/" + dir + filename + imgType;
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1008", editorCtx2);
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1068", editorCtx2);
let imgUrl = "https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg";
const fileThumbnail = await editorCtx2.createCoverThumbnail(
imgUrl
@@ -503,7 +541,7 @@ const _sfc_main = {
}
},
fail: (err) => {
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1023", err);
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1083", err);
}
});
});
@@ -553,7 +591,7 @@ const _sfc_main = {
showCase.value = false;
if (level.value == 1) {
let label = labelObj.list1.find((item) => item.app_iden == caseValue1.value);
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1073", label);
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1133", label);
labelList.value.push({
app_iden: label.app_iden,
label_name: label.label_name
@@ -608,7 +646,10 @@ const _sfc_main = {
showCase.value = true;
getCaseLabel(1, 0);
};
common_vendor.onLoad(() => {
common_vendor.onLoad((optoions) => {
if (optoions.exchange_id) {
exchange_id.value = optoions.exchange_id;
}
});
return (_ctx, _cache) => {
return common_vendor.e({
@@ -665,45 +706,47 @@ const _sfc_main = {
size: "16"
}),
s: common_vendor.o(openLabelPop),
t: common_vendor.p({
t: bottomHeight.value + "rpx",
v: common_vendor.p({
src: common_vendor.unref(common_assets.photoImg),
width: "32rpx",
height: "32rpx"
}),
v: common_vendor.o(insertImage),
w: !isFocusInfo.value && !isFocusResult.value ? 1 : "",
x: common_vendor.p({
w: common_vendor.o(insertImage),
x: !isFocusInfo.value && !isFocusResult.value ? 1 : "",
y: common_vendor.p({
src: common_vendor.unref(common_assets.videoImg$1),
width: "32rpx",
height: "32rpx"
}),
y: common_vendor.o(insertVideo),
z: !isFocusInfo.value && !isFocusResult.value ? 1 : "",
A: common_vendor.p({
z: common_vendor.o(insertVideo),
A: !isFocusInfo.value && !isFocusResult.value ? 1 : "",
B: common_vendor.p({
src: common_vendor.unref(common_assets.addImg),
width: "32rpx",
height: "32rpx"
}),
B: !isFocusInfo.value ? 1 : "",
C: common_vendor.o(alertTitle),
D: common_vendor.o(openDraftList),
E: common_vendor.p({
C: !isFocusInfo.value ? 1 : "",
D: common_vendor.o(alertTitle),
E: common_vendor.o(openDraftList),
F: common_vendor.p({
src: common_vendor.unref(common_assets.voteImg),
width: "47rpx",
height: "47rpx"
}),
F: common_vendor.o(($event) => showVote.value = true),
G: common_vendor.o(publish),
H: common_vendor.o(closeVote),
I: common_vendor.o(saveVote),
J: common_vendor.o(($event) => voteData.vote_title = $event),
K: common_vendor.p({
G: common_vendor.o(($event) => showVote.value = true),
H: common_vendor.o(publish),
I: bottomHeight.value + "rpx",
J: common_vendor.o(closeVote),
K: common_vendor.o(saveVote),
L: common_vendor.o(($event) => voteData.vote_title = $event),
M: common_vendor.p({
placeholder: "请输入投票标题",
border: "surround",
clearable: true,
modelValue: voteData.vote_title
}),
L: common_vendor.f(voteData.case_exchange_vote_option, (item, index, i0) => {
N: common_vendor.f(voteData.case_exchange_vote_option, (item, index, i0) => {
return {
a: "bfce3555-13-" + i0 + ",bfce3555-11",
b: common_vendor.o(($event) => item.option_value = $event, index),
@@ -718,59 +761,59 @@ const _sfc_main = {
f: index
};
}),
M: common_vendor.p({
O: common_vendor.p({
name: "minus-circle",
color: "red",
size: "28"
}),
N: common_vendor.p({
P: common_vendor.p({
name: "plus",
color: "#4B5563",
size: "18"
}),
O: common_vendor.o(addOption),
P: common_vendor.p({
Q: common_vendor.o(addOption),
R: common_vendor.p({
name: "minus",
color: "#4B5563",
size: "30rpx",
bold: true
}),
Q: common_vendor.o(($event) => changeDay("minus")),
R: common_vendor.t(voteData.valid_day),
S: common_vendor.p({
S: common_vendor.o(($event) => changeDay("minus")),
T: common_vendor.t(voteData.valid_day),
U: common_vendor.p({
name: "plus",
color: "#4B5563",
size: "30rpx",
bold: true
}),
T: common_vendor.o(($event) => changeDay("plus")),
U: common_vendor.o(saveVote),
V: common_vendor.o(clearVote),
W: common_vendor.o(closeVote),
X: common_vendor.o(openVote),
Y: common_vendor.p({
V: common_vendor.o(($event) => changeDay("plus")),
W: common_vendor.o(saveVote),
X: common_vendor.o(clearVote),
Y: common_vendor.o(closeVote),
Z: common_vendor.o(openVote),
aa: common_vendor.p({
round: 10,
show: showVote.value,
mode: "bottom"
}),
Z: common_vendor.p({
ab: common_vendor.p({
name: "close",
color: "#4B5563",
size: "20"
}),
aa: common_vendor.o(closeDraft),
ab: draftList.value.length == 0
ac: common_vendor.o(closeDraft),
ad: draftList.value.length == 0
}, draftList.value.length == 0 ? {
ac: common_vendor.p({
ae: common_vendor.p({
marginTop: "120rpx",
text: "草稿箱为空",
mode: "list",
icon: common_vendor.unref(common_assets.draftImg)
})
} : {}, {
ad: draftList.value.length > 0
af: draftList.value.length > 0
}, draftList.value.length > 0 ? {
ae: common_vendor.f(draftList.value, (item, index, i0) => {
ag: common_vendor.f(draftList.value, (item, index, i0) => {
return common_vendor.e({
a: common_vendor.t(item.exchange_title ? item.exchange_title : "无标题"),
b: item.exchange_content
@@ -803,66 +846,66 @@ const _sfc_main = {
q: item.draft_id
});
}),
af: common_vendor.p({
ah: common_vendor.p({
name: "trash",
color: "#4B5563",
size: "16"
}),
ag: common_vendor.p({
ai: common_vendor.p({
name: "edit-pen",
color: "#fff",
size: "17"
})
} : {}, {
ah: common_vendor.o(closeDraft),
ai: common_vendor.o(openDraft),
aj: common_vendor.p({
aj: common_vendor.o(closeDraft),
ak: common_vendor.o(openDraft),
al: common_vendor.p({
round: 10,
zIndex: "9",
show: showDraft.value,
mode: "bottom"
}),
ak: common_vendor.p({
am: common_vendor.p({
name: "close",
color: "#4B5563",
size: "20"
}),
al: common_vendor.o(closeTitle),
am: common_vendor.o(insertAllWord),
an: common_vendor.p({
an: common_vendor.o(closeTitle),
ao: common_vendor.o(insertAllWord),
ap: common_vendor.p({
name: "plus-circle",
color: "#3CC7C0",
size: "20"
}),
ao: common_vendor.o(insertAllWord),
ap: common_vendor.o(($event) => insertWord("患者信息")),
aq: common_vendor.o(($event) => insertWord("主诉")),
ar: common_vendor.o(($event) => insertWord("现病史及既往史")),
as: common_vendor.o(($event) => insertWord("检查")),
at: common_vendor.o(($event) => insertWord("临床诊断")),
av: common_vendor.o(($event) => insertWord("治疗经过及结果")),
aw: common_vendor.o(closeTitle),
ax: common_vendor.o(openTitle),
ay: common_vendor.p({
aq: common_vendor.o(insertAllWord),
ar: common_vendor.o(($event) => insertWord("患者信息")),
as: common_vendor.o(($event) => insertWord("主诉")),
at: common_vendor.o(($event) => insertWord("现病史及既往史")),
av: common_vendor.o(($event) => insertWord("检查")),
aw: common_vendor.o(($event) => insertWord("临床诊断")),
ax: common_vendor.o(($event) => insertWord("治疗经过及结果")),
ay: common_vendor.o(closeTitle),
az: common_vendor.o(openTitle),
aA: common_vendor.p({
round: 10,
zIndex: "9",
show: showTitle.value,
mode: "bottom"
}),
az: delType.value == "delDraft"
aB: delType.value == "delDraft"
}, delType.value == "delDraft" ? {} : delType.value == "saveDraft" ? {} : {}, {
aA: delType.value == "saveDraft",
aB: common_vendor.o(cancelDel),
aC: common_vendor.o(confirmDel),
aD: common_vendor.p({
aC: delType.value == "saveDraft",
aD: common_vendor.o(cancelDel),
aE: common_vendor.o(confirmDel),
aF: common_vendor.p({
show: showModal.value,
["mask-click-able"]: true
}),
aE: common_vendor.o(($event) => showCase.value = false),
aF: common_vendor.o(continueCase),
aG: level.value != 3,
aH: common_vendor.o(confirmCase),
aI: common_vendor.f(labelObj.list1, (item, k0, i0) => {
aG: common_vendor.o(($event) => showCase.value = false),
aH: common_vendor.o(continueCase),
aI: level.value != 3,
aJ: common_vendor.o(confirmCase),
aK: common_vendor.f(labelObj.list1, (item, k0, i0) => {
return {
a: "bfce3555-29-" + i0 + ",bfce3555-28",
b: common_vendor.p({
@@ -873,14 +916,14 @@ const _sfc_main = {
c: item.app_iden
};
}),
aJ: common_vendor.o(($event) => caseValue1.value = $event),
aK: common_vendor.p({
aL: common_vendor.o(($event) => caseValue1.value = $event),
aM: common_vendor.p({
iconPlacement: "right",
placement: "column",
modelValue: caseValue1.value
}),
aL: level.value == 1,
aM: common_vendor.f(labelObj.list2, (item, k0, i0) => {
aN: level.value == 1,
aO: common_vendor.f(labelObj.list2, (item, k0, i0) => {
return {
a: "bfce3555-31-" + i0 + ",bfce3555-30",
b: common_vendor.p({
@@ -891,14 +934,14 @@ const _sfc_main = {
c: item.app_iden
};
}),
aN: common_vendor.o(($event) => caseValue2.value = $event),
aO: common_vendor.p({
aP: common_vendor.o(($event) => caseValue2.value = $event),
aQ: common_vendor.p({
iconPlacement: "right",
placement: "column",
modelValue: caseValue2.value
}),
aP: level.value == 2,
aQ: common_vendor.f(labelObj.list3, (item, k0, i0) => {
aR: level.value == 2,
aS: common_vendor.f(labelObj.list3, (item, k0, i0) => {
return {
a: "bfce3555-33-" + i0 + ",bfce3555-32",
b: common_vendor.p({
@@ -909,15 +952,15 @@ const _sfc_main = {
c: item.app_iden
};
}),
aR: common_vendor.o(($event) => caseValue3.value = $event),
aS: common_vendor.p({
aT: common_vendor.o(($event) => caseValue3.value = $event),
aU: common_vendor.p({
iconPlacement: "right",
placement: "column",
modelValue: caseValue3.value
}),
aT: level.value == 3,
aU: common_vendor.o(closeCase),
aV: common_vendor.p({
aV: level.value == 3,
aW: common_vendor.o(closeCase),
aX: common_vendor.p({
round: 10,
zIndex: "9",
show: showCase.value,
File diff suppressed because one or more lines are too long
+4 -3
View File
@@ -259,7 +259,7 @@
height: calc(100vh - 700rpx);
}
#editorRes.data-v-bfce3555 {
min-height: 300rpx;
height: 600rpx;
}
#editorRes.data-v-bfce3555 .sv-editor-wrapper {
flex: 1;
@@ -508,6 +508,7 @@
display: flex;
flex-direction: column;
height: 100vh;
position: relative;
}
.upage.data-v-bfce3555 .u-image {
background: transparent !important;
@@ -584,8 +585,8 @@
}
.form.data-v-bfce3555 {
height: calc(100vh - 133rpx);
margin: -20rpx 0rpx 134rpx;
padding-bottom: 80rpx;
margin: -20rpx 0rpx 0rpx;
padding-bottom: 0rpx;
overflow-y: scroll;
}
.form .sickbox.data-v-bfce3555 {
+120 -57
View File
@@ -13,7 +13,8 @@ if (!Array) {
const _easycom_up_radio2 = common_vendor.resolveComponent("up-radio");
const _easycom_up_radio_group2 = common_vendor.resolveComponent("up-radio-group");
const _easycom_up_popup2 = common_vendor.resolveComponent("up-popup");
(_easycom_navBarSearch2 + _easycom_up__image2 + _easycom_up_dropdown_item2 + _easycom_up_dropdown2 + _easycom_up_icon2 + _easycom_z_paging2 + _easycom_up_radio2 + _easycom_up_radio_group2 + _easycom_up_popup2)();
const _easycom_up_overlay2 = common_vendor.resolveComponent("up-overlay");
(_easycom_navBarSearch2 + _easycom_up__image2 + _easycom_up_dropdown_item2 + _easycom_up_dropdown2 + _easycom_up_icon2 + _easycom_z_paging2 + _easycom_up_radio2 + _easycom_up_radio_group2 + _easycom_up_popup2 + _easycom_up_overlay2)();
}
const _easycom_navBarSearch = () => "../../components/navBarSearch/navBarSearch.js";
const _easycom_up__image = () => "../../node-modules/uview-plus/components/u--image/u--image.js";
@@ -24,18 +25,23 @@ const _easycom_z_paging = () => "../../uni_modules/z-paging/components/z-paging/
const _easycom_up_radio = () => "../../node-modules/uview-plus/components/u-radio/u-radio.js";
const _easycom_up_radio_group = () => "../../node-modules/uview-plus/components/u-radio-group/u-radio-group.js";
const _easycom_up_popup = () => "../../node-modules/uview-plus/components/u-popup/u-popup.js";
const _easycom_up_overlay = () => "../../node-modules/uview-plus/components/u-overlay/u-overlay.js";
if (!Math) {
(_easycom_navBarSearch + _easycom_up__image + _easycom_up_dropdown_item + _easycom_up_dropdown + _easycom_up_icon + _easycom_z_paging + _easycom_up_radio + _easycom_up_radio_group + _easycom_up_popup)();
(_easycom_navBarSearch + _easycom_up__image + _easycom_up_dropdown_item + _easycom_up_dropdown + _easycom_up_icon + _easycom_z_paging + _easycom_up_radio + _easycom_up_radio_group + _easycom_up_popup + _easycom_up_overlay)();
}
const _sfc_main = {
__name: "specialList",
setup(__props) {
const user_id = common_vendor.ref("");
const showModal = common_vendor.ref(false);
const showDeal = common_vendor.ref(false);
const is_selected = common_vendor.ref(0);
const isMine = common_vendor.ref(false);
const paging = common_vendor.ref(null);
const dataList = common_vendor.ref([]);
const total = common_vendor.ref(0);
const keyWord = common_vendor.ref("");
const vote = common_vendor.ref(null);
const showNum = common_vendor.ref(true);
const options = common_vendor.ref([
{
@@ -58,11 +64,41 @@ const _sfc_main = {
const caseValue2 = common_vendor.ref("");
const caseValue3 = common_vendor.ref("");
const level = common_vendor.ref(1);
const dealId = common_vendor.ref("");
const labelObj = common_vendor.reactive({
list1: [],
list2: [],
list3: []
});
const openDeal = (id, voteObj) => {
showDeal.value = true;
dealId.value = id;
vote.value = voteObj;
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:324", id);
};
const alertDel = () => {
showDeal.value = false;
showModal.value = true;
};
const goEdit = () => {
showDeal.value = false;
if (vote.value && vote.value.is_have_voted != 1) {
common_vendor.index.showToast({
icon: "none",
title: "不可编辑"
});
return false;
}
utils_navTo.navTo({
url: "/pages/publish/publish?exchange_id=" + dealId.value
});
};
const confirmDel = () => {
showModal.value = false;
};
const closeDealPop = () => {
showDeal.value = false;
};
const getCaseLabel = (lev, pid = 0) => {
api_api.api.getCaseLabel({
pId: pid
@@ -142,18 +178,21 @@ const _sfc_main = {
if (options2.is_selected) {
is_selected.value = options2.is_selected;
}
if (options2.type == "mine") {
isMine.value = true;
}
});
common_vendor.onShow(() => {
var _a;
(_a = paging.value) == null ? void 0 : _a.refresh();
});
const changeDate = (e) => {
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:368", e);
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:444", e);
order.read_num = "";
paging.value.reload();
};
const changeRead = (e) => {
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:373", e);
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:449", e);
order.push_date = "";
paging.value.reload();
};
@@ -176,7 +215,7 @@ const _sfc_main = {
});
};
const queryList = (pageNo, pageSize) => {
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:395", 666666);
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:471", 666666);
const params = {
page: pageNo,
page_size: pageSize
@@ -251,22 +290,25 @@ const _sfc_main = {
p: common_vendor.f(dataList.value, (item, k0, i0) => {
return common_vendor.e({
a: common_vendor.t(item.exchange_title),
b: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id),
c: "b2cb78f4-6-" + i0 + ",b2cb78f4-0",
d: common_vendor.p({
b: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id)
}, isMine.value ? {
c: common_vendor.o(($event) => openDeal(item.exchange_id, item.case_exchange_vote), item.exchange_id)
} : {}, {
d: "b2cb78f4-6-" + i0 + ",b2cb78f4-0",
e: common_vendor.p({
src: item.avatar ? item.avatar : common_vendor.unref(common_assets.headImg),
width: "46rpx",
height: "46rpx",
radius: "50%"
}),
e: common_vendor.t(item.user_name),
f: common_vendor.t(item.hospital_name),
g: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id),
h: common_vendor.t(item.exchange_content),
i: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id),
j: item.exchange_content_image && item.exchange_content_image.length > 0
f: common_vendor.t(item.user_name),
g: common_vendor.t(item.hospital_name),
h: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id),
i: common_vendor.t(item.exchange_content),
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 ? {
k: common_vendor.f(item.exchange_content_image, (unit, k1, i1) => {
l: common_vendor.f(item.exchange_content_image, (unit, k1, i1) => {
return {
a: "b2cb78f4-7-" + i0 + "-" + i1 + ",b2cb78f4-0",
b: common_vendor.p({
@@ -277,11 +319,11 @@ const _sfc_main = {
})
};
}),
l: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id)
m: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id)
} : {}, {
m: item.exchange_content_video && item.exchange_content_video.length > 0
n: item.exchange_content_video && item.exchange_content_video.length > 0
}, item.exchange_content_video && item.exchange_content_video.length > 0 ? {
n: common_vendor.f(item.exchange_content_video, (videoCell, index, i1) => {
o: common_vendor.f(item.exchange_content_video, (videoCell, index, i1) => {
return {
a: index,
b: videoCell,
@@ -289,64 +331,65 @@ const _sfc_main = {
};
})
} : {}, {
o: item.label && item.label.length > 0
p: item.label && item.label.length > 0
}, item.label && item.label.length > 0 ? {
p: common_vendor.f(item.label, (cell, k1, i1) => {
q: common_vendor.f(item.label, (cell, k1, i1) => {
return {
a: common_vendor.t(cell.label_name),
b: cell.exchange_label_id
};
}),
q: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id)
r: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id)
} : {}, {
r: "b2cb78f4-8-" + i0 + ",b2cb78f4-0",
s: common_vendor.t(item.read_num),
t: "b2cb78f4-9-" + i0 + ",b2cb78f4-0",
v: common_vendor.t(item.collect_num),
w: "b2cb78f4-10-" + i0 + ",b2cb78f4-0",
x: common_vendor.t(item.comment_num),
y: "b2cb78f4-11-" + i0 + ",b2cb78f4-0",
z: common_vendor.t(formatdate(item.push_date)),
A: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id),
B: item.exchange_id
s: "b2cb78f4-8-" + i0 + ",b2cb78f4-0",
t: common_vendor.t(item.read_num),
v: "b2cb78f4-9-" + i0 + ",b2cb78f4-0",
w: common_vendor.t(item.collect_num),
x: "b2cb78f4-10-" + i0 + ",b2cb78f4-0",
y: common_vendor.t(item.comment_num),
z: "b2cb78f4-11-" + i0 + ",b2cb78f4-0",
A: common_vendor.t(formatdate(item.push_date)),
B: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id),
C: item.exchange_id
});
}),
q: common_vendor.p({
q: isMine.value,
r: common_vendor.p({
name: "eye",
color: "#4B5563",
size: "28rpx"
}),
r: common_vendor.p({
s: common_vendor.p({
name: "heart",
color: "#4B5563",
size: "28rpx"
}),
s: common_vendor.p({
t: common_vendor.p({
name: "chat",
color: "#4B5563",
size: "28rpx"
}),
t: common_vendor.p({
v: common_vendor.p({
name: "clock",
color: "#4B5563",
size: "28rpx"
}),
v: common_vendor.sr(paging, "b2cb78f4-0", {
w: common_vendor.sr(paging, "b2cb78f4-0", {
"k": "paging"
}),
w: common_vendor.o(queryList),
x: common_vendor.o(($event) => dataList.value = $event),
y: common_vendor.p({
x: common_vendor.o(queryList),
y: common_vendor.o(($event) => dataList.value = $event),
z: common_vendor.p({
["inside-more"]: true,
["loading-more-no-more-text"]: "咱也是有底线的!",
["auto-show-back-to-top"]: true,
modelValue: dataList.value
}),
z: common_vendor.o(($event) => showCase.value = false),
A: common_vendor.o(continueCase),
B: level.value != 3,
C: common_vendor.o(confirmCase),
D: common_vendor.f(labelObj.list1, (item, k0, i0) => {
A: common_vendor.o(($event) => showCase.value = false),
B: common_vendor.o(continueCase),
C: level.value != 3,
D: common_vendor.o(confirmCase),
E: common_vendor.f(labelObj.list1, (item, k0, i0) => {
return {
a: "b2cb78f4-14-" + i0 + ",b2cb78f4-13",
b: common_vendor.p({
@@ -357,14 +400,14 @@ const _sfc_main = {
c: item.app_iden
};
}),
E: common_vendor.o(($event) => caseValue1.value = $event),
F: common_vendor.p({
F: common_vendor.o(($event) => caseValue1.value = $event),
G: common_vendor.p({
iconPlacement: "right",
placement: "column",
modelValue: caseValue1.value
}),
G: level.value == 1,
H: common_vendor.f(labelObj.list2, (item, k0, i0) => {
H: level.value == 1,
I: common_vendor.f(labelObj.list2, (item, k0, i0) => {
return {
a: "b2cb78f4-16-" + i0 + ",b2cb78f4-15",
b: common_vendor.p({
@@ -375,14 +418,14 @@ const _sfc_main = {
c: item.app_iden
};
}),
I: common_vendor.o(($event) => caseValue2.value = $event),
J: common_vendor.p({
J: common_vendor.o(($event) => caseValue2.value = $event),
K: common_vendor.p({
iconPlacement: "right",
placement: "column",
modelValue: caseValue2.value
}),
K: level.value == 2,
L: common_vendor.f(labelObj.list3, (item, k0, i0) => {
L: level.value == 2,
M: common_vendor.f(labelObj.list3, (item, k0, i0) => {
return {
a: "b2cb78f4-18-" + i0 + ",b2cb78f4-17",
b: common_vendor.p({
@@ -393,19 +436,39 @@ const _sfc_main = {
c: item.app_iden
};
}),
M: common_vendor.o(($event) => caseValue3.value = $event),
N: common_vendor.p({
N: common_vendor.o(($event) => caseValue3.value = $event),
O: common_vendor.p({
iconPlacement: "right",
placement: "column",
modelValue: caseValue3.value
}),
O: level.value == 3,
P: common_vendor.o(closeCase),
Q: common_vendor.p({
P: level.value == 3,
Q: common_vendor.o(closeCase),
R: common_vendor.p({
round: 10,
zIndex: "9",
show: showCase.value,
mode: "bottom"
}),
S: common_vendor.o(goEdit),
T: common_vendor.o(alertDel),
U: common_vendor.o(closeDealPop),
V: common_vendor.o(_ctx.closeDeal),
W: common_vendor.p({
zIndex: 60,
overlayStyle: {
zIndex: 59
},
closeOnClickOverlay: false,
show: showDeal.value,
round: 10,
mode: "bottom"
}),
X: common_vendor.o(($event) => showModal.value = false),
Y: common_vendor.o(confirmDel),
Z: common_vendor.p({
show: showModal.value,
["mask-click-able"]: true
})
});
};
@@ -10,6 +10,7 @@
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging",
"up-radio": "../../node-modules/uview-plus/components/u-radio/u-radio",
"up-radio-group": "../../node-modules/uview-plus/components/u-radio-group/u-radio-group",
"up-popup": "../../node-modules/uview-plus/components/u-popup/u-popup"
"up-popup": "../../node-modules/uview-plus/components/u-popup/u-popup",
"up-overlay": "../../node-modules/uview-plus/components/u-overlay/u-overlay"
}
}
File diff suppressed because one or more lines are too long
@@ -23,6 +23,15 @@
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.dealbox .dealcell.data-v-b2cb78f4 {
display: flex;
align-items: center;
justify-content: center;
height: 112rpx;
font-size: 32rpx;
color: rgba(0, 0, 0, 0.9);
border-bottom: 2rpx solid #efefef;
}
.filterbox.data-v-b2cb78f4 {
display: flex;
height: 128rpx;
@@ -143,7 +152,7 @@
align-items: center;
}
.record.data-v-b2cb78f4 {
padding-top: 30rpx;
padding-top: 0rpx;
}
.record .list.data-v-b2cb78f4 {
margin: 30rpx 30rpx;
@@ -171,7 +180,7 @@
margin-right: 0;
}
.record.data-v-b2cb78f4 {
padding-top: 30rpx;
padding-top: 0rpx;
}
.record .list.data-v-b2cb78f4 {
margin: 8rpx 0rpx 0;
@@ -192,6 +201,19 @@
font-size: 32rpx;
color: #000000;
line-height: 46rpx;
display: flex;
justify-content: space-between;
align-items: center;
}
.record .list .cell .title .dot.data-v-b2cb78f4 {
height: 40rpx;
display: flex;
align-items: center;
line-height: 40rpx;
}
.record .list .cell .title .titlecon.data-v-b2cb78f4 {
flex: 1;
margin-right: 20rpx;
}
.record .list .cell.data-v-b2cb78f4:last-child {
border-bottom: none;
@@ -357,4 +379,135 @@
.casecon .column.data-v-b2cb78f4 {
padding: 0 30rpx;
border-bottom: 2rpx solid #e5e7eb;
}
.zanboxpop.data-v-b2cb78f4 {
display: flex;
align-items: center;
justify-content: center;
height: 100%;
}
.zanboxpop .zanwraper.data-v-b2cb78f4 {
width: 630rpx;
margin: 0 auto;
padding-bottom: 50rpx;
background: #f5f6f9;
border-radius: 16rpx;
}
.zanboxpop .zanwraper .title.data-v-b2cb78f4 {
margin-top: 48rpx;
text-align: center;
font-weight: 500;
font-size: 36rpx;
color: rgba(0, 0, 0, 0.85);
}
.zanboxpop .zanwraper .content.data-v-b2cb78f4 {
padding: 30rpx 0;
background: #f5f6f9;
text-align: center;
}
.zanboxpop .zanwraper .content.data-v-b2cb78f4 .imgstyle {
max-width: 100% !important;
}
.zanboxpop .zanwraper .content.data-v-b2cb78f4 ._block {
text-align: left !important;
}
.zanboxpop .zanwraper .count.data-v-b2cb78f4 {
margin-top: 24rpx;
display: flex;
align-items: center;
text-align: center;
justify-content: center;
font-weight: 400;
font-size: 28rpx;
color: rgba(0, 0, 0, 0.65);
}
.zanboxpop .zanwraper .count .num.data-v-b2cb78f4 {
color: #ff0000;
font-size: 32rpx;
}
.zanboxpop .zanwraper .count .earn.data-v-b2cb78f4 {
font-size: 32rpx;
color: #3cc7c0;
}
.zanboxpop .zanwraper .countbox.data-v-b2cb78f4 {
display: flex;
width: 100%;
margin: 30rpx 0px 40rpx;
padding: 0 40rpx;
justify-content: center;
box-sizing: border-box;
}
.zanboxpop .zanwraper .countbox .minus.data-v-b2cb78f4 {
flex-shrink: 0;
margin-left: 10rp;
width: 90rpx;
height: 90rpx;
font-size: 60rpx;
color: #333;
display: flex;
justify-content: center;
align-items: center;
background: #ffffff;
border-radius: 12rpx;
border: 2rpx solid #e9e9e9;
}
.zanboxpop .zanwraper .countbox .add.data-v-b2cb78f4 {
flex-shrink: 0;
width: 90rpx;
margin-left: 10rpx;
height: 90rpx;
font-size: 60rpx;
color: #333;
display: flex;
justify-content: center;
align-items: center;
color: #fff;
background: #3cc7c0;
border-radius: 12rpx;
border: 2rpx solid #3cc7c0;
}
.zanboxpop .zanwraper .countbox.data-v-b2cb78f4 .u-input__content__field-wrapper__field {
height: 60rpx;
font-size: 34rpx !important;
text-align: center !important;
}
.zanboxpop .zanwraper .countbox.data-v-b2cb78f4 .u-input {
background: #f2f2f2;
width: 200rpx !important;
flex: none;
}
.zanboxpop .zanwraper .countbox.data-v-b2cb78f4 .u-input--radius {
border-radius: 24rrpx;
}
.zanboxpop .zanwraper .btnbox.data-v-b2cb78f4 {
margin: 0px 40rpx 0px;
display: flex;
justify-content: space-between;
}
.zanboxpop .zanwraper .btnbox .cancle.data-v-b2cb78f4 {
color: rgba(0, 0, 0, 0.3);
width: 256rpx;
height: 88rpx;
background: #f5f6f9;
border-radius: 25px;
border: 2rpx solid rgba(0, 0, 0, 0.15);
font-weight: 500;
font-size: 32rpx;
color: rgba(0, 0, 0, 0.85);
display: flex;
justify-content: center;
align-items: center;
}
.zanboxpop .zanwraper .btnbox .ok.data-v-b2cb78f4 {
color: #fff;
width: 256rpx;
height: 88rpx;
background: #3cc7c0;
border-radius: 25px;
border: 2rpx solid #3cc7c0;
font-weight: 500;
font-size: 32rpx;
display: flex;
justify-content: center;
align-items: center;
}