3.17上午提交

This commit is contained in:
zoujiandong 2026-03-17 14:02:39 +08:00
parent 45a9478790
commit cbc427e41c
2 changed files with 9 additions and 1 deletions

View File

@ -1710,7 +1710,7 @@
"list": [
{
"name": "",
"path": "pages_app/patientMsg/patientMsg",
"path": "pages/patientClass/patientClass",
"query": ""
}
]

View File

@ -98,6 +98,7 @@ import logoImg from "@/static/weiboShare.png";
import collectImg from "@/static/icon_book_collect_sel.png";
import discollectImg from "@/static/icon_book_collect_nor.png";
import readImg from "@/static/reading.png";
import docUrl from "@/utils/docUrl";
import likeImg from "@/static/argee_sure.png";
import dislikeImg from "@/static/argee_no.png";
import shareImgBottom from "@/static/icon_share.png";
@ -114,6 +115,7 @@ const shareImg = ref("");
const shareTitle = ref("");
const uuid = ref("");
const isCollection = ref(0);
const imgpath = ref("");
const readnum = ref(0);
const agreenum = ref(0);
const isAgree = ref(0);
@ -155,6 +157,11 @@ const getCollect = () => {
other_uuid: uuid.value,
user_uuid: user_uuid.value,
type: type.value=='huanjiao_news'?1:2,
title:shareTitle.value,
path:safeUrl.value.replace(docUrl,''),
readnum:readnum.value,
imgpath:imgpath.value.indexOf('http')>-1?imgpath.value:docUrl+imgpath.value,
public_name:shareTitle.value,
})
.then((res) => {
if (res.code == 200) {
@ -362,6 +369,7 @@ onLoad((query) => {
try {
safeUrl.value = decodeURIComponent(raw);
console.log( safeUrl.value);
imgpath.value = decodeURIComponent(query.imgPath);
// query.imgPath
// ? decodeURIComponent(query.imgPath)
// : "https://doc.igandan.com/app/html/img/2016/20160714132557.png";