diff --git a/pages.json b/pages.json index 3b072b2..2bb7c33 100644 --- a/pages.json +++ b/pages.json @@ -1710,7 +1710,7 @@ "list": [ { "name": "", - "path": "pages_app/patientMsg/patientMsg", + "path": "pages/patientClass/patientClass", "query": "" } ] diff --git a/pages_app/webview/webviewClass.vue b/pages_app/webview/webviewClass.vue index 1495788..7bcafd8 100644 --- a/pages_app/webview/webviewClass.vue +++ b/pages_app/webview/webviewClass.vue @@ -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";