命令行提交
This commit is contained in:
parent
ba4bc25785
commit
430a4a1491
@ -63,7 +63,7 @@
|
||||
},
|
||||
"plugins" : {
|
||||
"polyv-player" : {
|
||||
"version" : "1.9.0",
|
||||
"version" : "1.9.1",
|
||||
"provider" : "wx4a350a258a6f7876"
|
||||
}
|
||||
},
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
<view class="name">病例数</view>
|
||||
</view>
|
||||
<view class="cell">
|
||||
<view class="num">{{numInfo.exchange_collect_num}}</view>
|
||||
<view class="num">{{numInfo.exchange_comment_num}}</view>
|
||||
<view class="name">互动数</view>
|
||||
</view>
|
||||
<view class="cell">
|
||||
@ -63,6 +63,7 @@
|
||||
>
|
||||
</view>
|
||||
<view class="content ellipsis-two-lines" @click="goDetail(item.exchange_id)"> {{ htmlToText(item.exchange_content) }} </view>
|
||||
|
||||
<view
|
||||
class="imgbox"
|
||||
@click="goDetail(item.exchange_id)"
|
||||
@ -73,7 +74,7 @@
|
||||
>
|
||||
<view
|
||||
class="imgcell"
|
||||
v-for="unit in item.exchange_content_image.splice(0,3)"
|
||||
v-for="unit in item.exchange_content_image.slice(0,3)"
|
||||
:key="unit"
|
||||
>
|
||||
<up--image
|
||||
|
||||
@ -1,12 +1,14 @@
|
||||
<template>
|
||||
<backNav :navName="'病例收录证书'"></backNav>
|
||||
<view class="imgbox">
|
||||
<u--image
|
||||
:showLoading="true"
|
||||
:src="src"
|
||||
width="100%"
|
||||
mode="widthFix"
|
||||
></u--image>
|
||||
<view class="box">
|
||||
<u--image
|
||||
:showLoading="true"
|
||||
:src="src"
|
||||
width="100%"
|
||||
mode="widthFix"
|
||||
></u--image>
|
||||
</view>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@ -29,5 +31,14 @@ onLoad((options) => {
|
||||
.imgbox{
|
||||
margin: -30rpx 30rpx 0;
|
||||
overflow-y: scroll;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-direction:column;
|
||||
justify-content: center;
|
||||
min-height:calc(100vh - 200rpx);
|
||||
.box{
|
||||
width:100%;
|
||||
height:100%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
loading-more-no-more-text="咱也是有底线的!"
|
||||
:auto-show-back-to-top="false"
|
||||
v-model="dataList"
|
||||
refresher-out-rate="0.8"
|
||||
:refresher-out-rate="0.8"
|
||||
:empty-view-super-style="{'paddingBottom':'140rpx'}"
|
||||
:refresher-title-style="{'paddingBottom':'60rpx','paddingTop':'10rpx'}"
|
||||
:refresher-img-style="{'paddingBottom':'60rpx','paddingTop':'10rpx'}"
|
||||
@ -126,6 +126,7 @@
|
||||
<view class="videobox" v-if="type == 'video' && !isH5 ">
|
||||
<!-- #ifdef MP-WEIXIN -->
|
||||
<polyv-player
|
||||
v-if="info.video_no"
|
||||
:id="'playerContext'+info.video_no"
|
||||
:playerId="'playerId'+info.video_no"
|
||||
:vid="info.video_no"
|
||||
@ -149,12 +150,12 @@
|
||||
</view>
|
||||
<view class="videobox" v-else>
|
||||
<view class="cloumn" v-if="info.exchange_content">
|
||||
<view class="stitle">病例信息</view>
|
||||
<view class="stitle">疾病信息</view>
|
||||
<up-parse :content="fromatImg(info.exchange_content)" style="overflow-y: hidden;"></up-parse>
|
||||
<!-- <view class="con" v-html="fromatImg(info.exchange_content)"></view> -->
|
||||
</view>
|
||||
<view class="cloumn" v-if="info.exchange_summary">
|
||||
<view class="stitle">结果与讨论</view>
|
||||
<view class="stitle">总结与讨论</view>
|
||||
<up-parse :content="fromatImg(info.exchange_summary)"></up-parse>
|
||||
<!-- <view class="con" v-html="fromatImg(info.exchange_summary)"></view> -->
|
||||
</view>
|
||||
@ -360,7 +361,7 @@
|
||||
:focus="false"
|
||||
ref="commentTextarea"
|
||||
height="200"
|
||||
cursorSpacing="240"
|
||||
:cursorSpacing="240"
|
||||
adjustPosition
|
||||
adjust-keyboard-to="bottom"
|
||||
v-model="content"
|
||||
@ -444,7 +445,7 @@
|
||||
<up-icon name="close" color="#666" size="20"></up-icon>
|
||||
</view>
|
||||
</view>
|
||||
<scroll-view class="commentScroll" scroll-y="true">
|
||||
<scroll-view class="commentScroll" :scroll-top="scrollTop" @scroll="scroll" scroll-y="true" @scrolltolower="scrolltolower(mainCommentObj.comment_id)" >
|
||||
<view class="unit commentcon">
|
||||
<view class="item">
|
||||
<up--image
|
||||
@ -581,7 +582,7 @@
|
||||
placeholder="请输入打赏积分"
|
||||
type="number"
|
||||
border="surround"
|
||||
@input="inputPoint"
|
||||
@change="inputPoint"
|
||||
v-model="givePointValue"
|
||||
></up-input>
|
||||
<view class="add" @click="changePoint('add')">+</view>
|
||||
@ -628,6 +629,7 @@ import dayjs from "dayjs";
|
||||
import baoliVideo from "@/components/baoliVideo/baoliVideo.vue";
|
||||
import { linkFlag } from "../../uni_modules/sv-editor/components/common/utils";
|
||||
// #endif
|
||||
const value=ref('');
|
||||
const isArticleAuthor=ref(false)
|
||||
const isH5=ref(process.env.UNI_PLATFORM =="h5");
|
||||
const doctor_id=ref('');
|
||||
@ -662,11 +664,22 @@ const option_id = ref("");
|
||||
const point=ref(0)
|
||||
const comment_doctorId=ref('');
|
||||
const commentTextarea=ref(null)
|
||||
|
||||
const isLock=ref(false);
|
||||
const confirmGive = () => {
|
||||
showGive.value = false;
|
||||
givePoint();
|
||||
};
|
||||
const oldScrollTop=ref(0)
|
||||
const scrollTop=ref(0)
|
||||
const scroll=(e)=>{
|
||||
oldScrollTop.value=e.detail.scrollTop
|
||||
}
|
||||
const toTop=()=>{
|
||||
scrollTop.value=oldScrollTop.value
|
||||
nextTick(()=>{
|
||||
scrollTop.value=0
|
||||
})
|
||||
}
|
||||
const openGivePop=()=>{
|
||||
showGive.value=true;
|
||||
getUserPoint();
|
||||
@ -677,50 +690,79 @@ const formatDay = (date) => {
|
||||
const formatDate = (date) => {
|
||||
return dayjs(date).format("YYYY-MM-DD HH:mm");
|
||||
};
|
||||
const inputPoint=()=>{
|
||||
if (givePointValue.value < 5) {
|
||||
givePointValue.value = 5;
|
||||
const scrolltolower=(rootId)=>{
|
||||
console.log(isLock.value);
|
||||
if(!isLock.value){
|
||||
|
||||
let page=mainCommentObj.sub_page+1;
|
||||
mainCommentObj.sub_page=page;
|
||||
let params = {
|
||||
page: 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)=>{
|
||||
console.log(val);
|
||||
if (givePointValue.value <=1) {
|
||||
|
||||
uni.showToast({
|
||||
icon: "none",
|
||||
title: "每次打赏范围5~100积分",
|
||||
title: "每次打赏积分必须大于0",
|
||||
});
|
||||
}
|
||||
if (givePointValue.value > 100) {
|
||||
givePointValue.value = 100;
|
||||
uni.showToast({
|
||||
icon: "none",
|
||||
title: "每次打赏范围5~100积分",
|
||||
});
|
||||
}
|
||||
setTimeout(()=>{
|
||||
givePointValue.value =1;
|
||||
})
|
||||
};
|
||||
|
||||
if(!(/^[1-9]\d*$/.test(val))){
|
||||
|
||||
uni.showToast({
|
||||
icon: "none",
|
||||
title: "每次打赏积分必须是大于0的整数",
|
||||
});
|
||||
setTimeout(()=>{
|
||||
givePointValue.value = 5;
|
||||
})
|
||||
}
|
||||
|
||||
};
|
||||
const changePoint = (type) => {
|
||||
if (type == 'minus') {
|
||||
if (givePointValue.value > 5) {
|
||||
if (givePointValue.value >5) {
|
||||
givePointValue.value = givePointValue.value - 5
|
||||
} else {
|
||||
uni.showToast({
|
||||
icon: "none",
|
||||
title: "每次打赏范围5~100积分",
|
||||
});
|
||||
uni.showToast({
|
||||
icon: "none",
|
||||
title: "每次打赏积分必须大于0",
|
||||
});
|
||||
givePointValue.value =1;
|
||||
}
|
||||
|
||||
} else {
|
||||
if (givePointValue.value <= 95) {
|
||||
givePointValue.value = givePointValue.value + 5
|
||||
} else {
|
||||
uni.showToast({
|
||||
icon: "none",
|
||||
title: "每次打赏范围5~100积分",
|
||||
});
|
||||
}
|
||||
}
|
||||
}else{
|
||||
givePointValue.value = givePointValue.value + 5
|
||||
}
|
||||
}
|
||||
|
||||
const openMorePop = (obj, list, index) => {
|
||||
showMore.value = true;
|
||||
childList.value = list;
|
||||
isLock.value=false;
|
||||
Object.assign(mainCommentObj, obj);
|
||||
clickIndex.value = index;
|
||||
mainCommentObj.sub_page=1;
|
||||
|
||||
|
||||
|
||||
};
|
||||
const getArticleDetail = (id) => {
|
||||
api.getArticleDetail(id).then((res) => {
|
||||
@ -757,7 +799,6 @@ const getExchangeDetail = (id) => {
|
||||
};
|
||||
const getUserPoint=()=>{
|
||||
api.getUserPoint().then(res=>{
|
||||
console.log(res.data.data)
|
||||
point.value=res.data.data
|
||||
|
||||
|
||||
@ -824,10 +865,6 @@ onLoad((options) => {
|
||||
id.value = options.id;
|
||||
type.value = options.type;
|
||||
}
|
||||
|
||||
|
||||
console.log('id:'+id.value)
|
||||
console.log('type:'+type.value)
|
||||
readRecord()
|
||||
|
||||
let userInfo=uni.getStorageSync('userInfo');
|
||||
@ -893,9 +930,10 @@ const queryList = (pageNo, pageSize) => {
|
||||
}
|
||||
};
|
||||
|
||||
const getArticleComment = (params) => {
|
||||
const getArticleComment = (params,rootId='') => {
|
||||
const form = {
|
||||
article_id: id.value,
|
||||
root_id:rootId,
|
||||
is_have_sub_comment: 1,
|
||||
};
|
||||
api
|
||||
@ -904,29 +942,45 @@ const getArticleComment = (params) => {
|
||||
...params,
|
||||
})
|
||||
.then((res) => {
|
||||
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);
|
||||
|
||||
|
||||
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
|
||||
);
|
||||
}
|
||||
}, 1500);
|
||||
}else{
|
||||
if(res.data.data.data.length>0){
|
||||
|
||||
let arr=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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
})
|
||||
.catch((res) => {
|
||||
paging.value.complete(false);
|
||||
});
|
||||
};
|
||||
const getVideoComment = (params) => {
|
||||
const sub_list=ref([]);
|
||||
const getVideoComment = (params,rootId='') => {
|
||||
const form = {
|
||||
video_id: id.value,
|
||||
is_have_sub_comment: 1,
|
||||
root_id:rootId,
|
||||
is_have_sub_comment:1,
|
||||
};
|
||||
api
|
||||
.getVideoComment({
|
||||
@ -934,26 +988,45 @@ const getVideoComment = (params) => {
|
||||
...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
|
||||
);
|
||||
}
|
||||
}, 1500);
|
||||
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){
|
||||
|
||||
let arr=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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
})
|
||||
.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
|
||||
@ -962,18 +1035,33 @@ const getExchangeComment = (params) => {
|
||||
...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
|
||||
);
|
||||
}
|
||||
}, 1500);
|
||||
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){
|
||||
let arr=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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
})
|
||||
.catch((res) => {
|
||||
paging.value.complete(false);
|
||||
@ -989,7 +1077,6 @@ const close = () => {
|
||||
|
||||
const openDeal = () => {
|
||||
showDeal.value = true;
|
||||
console.log("open");
|
||||
};
|
||||
const closeDeal = () => {
|
||||
showDeal.value = false;
|
||||
@ -997,10 +1084,10 @@ const closeDeal = () => {
|
||||
|
||||
const openMore = () => {
|
||||
showMore.value = true;
|
||||
console.log("open");
|
||||
};
|
||||
const closeMore = () => {
|
||||
showMore.value = false;
|
||||
paging.value.refresh();
|
||||
};
|
||||
const previewImg = (url) => {
|
||||
uni.previewImage({
|
||||
@ -1022,7 +1109,6 @@ const fillTextToImgWx = (base64) => {
|
||||
const canvas = res[0].node;
|
||||
const ctx = canvas.getContext("2d");
|
||||
let textMetrics = ctx.measureText(maskText);
|
||||
console.log(textMetrics);
|
||||
//水印文字宽度
|
||||
let {
|
||||
width: textWidth,
|
||||
@ -1048,7 +1134,6 @@ const fillTextToImgWx = (base64) => {
|
||||
? (imageRes.width / 800) * 30
|
||||
: 12;
|
||||
font = scale + "px Arial";
|
||||
console.log(imageRes);
|
||||
canvas.width = imageRes.width;
|
||||
canvas.height = imageRes.height;
|
||||
imgHeight = imageRes.height;
|
||||
@ -1066,7 +1151,6 @@ const fillTextToImgWx = (base64) => {
|
||||
let posXmargin =20; //this.data.posXmargin // 自定义离左/右边的距离
|
||||
let posYmargin = 20; // this.data.posYmargin // 自定义离上/下边的距离
|
||||
let randomNumber = 3; //Math.floor(Math.random() * (3 + 1));
|
||||
console.log("randomNumber:" + randomNumber);
|
||||
switch (randomNumber) {
|
||||
case 0: //左上角
|
||||
let lt_x = posXmargin;
|
||||
@ -1114,15 +1198,12 @@ const fillTextToImgWx = (base64) => {
|
||||
imgWidth - scale*10 - posXmargin <= 0
|
||||
? 10
|
||||
: imgWidth - scale*10 - posXmargin;
|
||||
console.log(rb_x)
|
||||
let rb_y = imgHeight - posYmargin;
|
||||
ctx.font = font;
|
||||
ctx.fillStyle = fontColor;
|
||||
ctx.strokeStyle = "#000";
|
||||
//ctx.strokeWidth = strokeWidth;
|
||||
ctx.fillStyle = "#fff";
|
||||
console.log('rb_x')
|
||||
console.log(rb_x)
|
||||
ctx.strokeText(maskText,rb_x, rb_y);
|
||||
ctx.fillText(maskText, rb_x, rb_y);
|
||||
|
||||
@ -1242,7 +1323,6 @@ const generateUUID = () => {
|
||||
return uuid;
|
||||
};
|
||||
const readImages = async (localIds) => {
|
||||
console.log(localIds);
|
||||
let promiseFun = [];
|
||||
for (var i = 0; i < localIds.length; i++) {
|
||||
//let localData = await doreadImage(localIds[i]);
|
||||
@ -1258,9 +1338,6 @@ const readImages = async (localIds) => {
|
||||
img = await fillTextToImgWx(localIds[i].url);
|
||||
// #endif
|
||||
promiseFun.push(getOss(img))
|
||||
//let imgFile = base64ToFile(img, new Date().getTime() + ".jpg");
|
||||
// console.log(imgFile)
|
||||
//promiseFun.push(uploadImg(imgFile));
|
||||
}
|
||||
Promise.all(promiseFun).then((res) => {
|
||||
uni.showToast({
|
||||
@ -1300,18 +1377,16 @@ const chooseImg = () => {
|
||||
sizeType: ["original", "compressed"], //可以指定是原图还是压缩图,默认二者都有
|
||||
sourceType: ["album", "camera "], //从相册选择
|
||||
success: function (res) {
|
||||
console.log(333);
|
||||
uni.getFileSystemManager({
|
||||
filePath: res.tempFilePaths[0], // 替换为你的临时文件路径
|
||||
success: (res) => {
|
||||
console.log(res); // 这里res.file就是File对象
|
||||
// 这里res.file就是File对象
|
||||
// 接下来可以使用这个File对象进行上传等操作
|
||||
},
|
||||
fail: (err) => {
|
||||
console.error("获取文件信息失败", err);
|
||||
},
|
||||
});
|
||||
console.log(res.tempFilePaths);
|
||||
//readImages(res.tempFilePaths);
|
||||
},
|
||||
});
|
||||
@ -1344,12 +1419,11 @@ const getOss=(temurl)=>{
|
||||
success(res) {
|
||||
if (res.statusCode === 204) {
|
||||
let url = host + "/" + dir + filename + imgType;
|
||||
console.log(url);
|
||||
imgList.value = [url];
|
||||
}
|
||||
},
|
||||
fail: (err) => {
|
||||
console.log(err);
|
||||
|
||||
},
|
||||
});
|
||||
});
|
||||
@ -1358,8 +1432,6 @@ const getOss=(temurl)=>{
|
||||
}
|
||||
const handleUpload = (file) => {
|
||||
let File = file.file;
|
||||
console.log(111);
|
||||
console.log(File);
|
||||
readImages(File)
|
||||
|
||||
};
|
||||
@ -1375,8 +1447,6 @@ const getImageFormat = (imageUrl) => {
|
||||
return "unknown";
|
||||
};
|
||||
const afterRead = (file, lists, name) => {
|
||||
// console.log(lists);
|
||||
// console.log(name);
|
||||
handleUpload(file);
|
||||
};
|
||||
const delImg = (index) => {
|
||||
@ -1438,7 +1508,7 @@ const cancelCollectExchange = (id) => {
|
||||
getExchangeDetail(id);
|
||||
});
|
||||
};
|
||||
const toggleCollect = () => {
|
||||
const toggleCollect = throttle(() => {
|
||||
if (type.value == "video") {
|
||||
info.is_collect ? cancelCollectVideo(id.value) : collectVideo(id.value);
|
||||
} else if (type.value == "article") {
|
||||
@ -1448,7 +1518,7 @@ const toggleCollect = () => {
|
||||
? cancelCollectExchange(id.value)
|
||||
: collectExchange(id.value);
|
||||
}
|
||||
};
|
||||
});
|
||||
|
||||
const addArticleComment = (id, data) => {
|
||||
api.addArticleComment(id, data).then((res) => {
|
||||
@ -1708,6 +1778,10 @@ const readRecord= async()=>{
|
||||
padding: 20rpx 30rpx;
|
||||
.cloumn{
|
||||
padding-bottom: 30rpx;
|
||||
.stitle{
|
||||
font-size: 32rpx;
|
||||
font-weight: bold;
|
||||
}
|
||||
}
|
||||
:deep(.video) {
|
||||
display: flex;
|
||||
@ -1944,6 +2018,7 @@ const readRecord= async()=>{
|
||||
|
||||
.dot {
|
||||
font-size: 32rpx;
|
||||
padding:0 14rpx;
|
||||
}
|
||||
}
|
||||
.question {
|
||||
@ -2020,8 +2095,9 @@ const readRecord= async()=>{
|
||||
color: #ffffff;
|
||||
}
|
||||
.name {
|
||||
font-size: 36rpx;
|
||||
font-size: 32rpx;
|
||||
color: #000000;
|
||||
font-weight: bold;
|
||||
line-height: 46rpx;
|
||||
}
|
||||
.title {
|
||||
@ -2039,6 +2115,9 @@ const readRecord= async()=>{
|
||||
align-items: center;
|
||||
margin-bottom: 10rpx;
|
||||
justify-content: space-between;
|
||||
.left{
|
||||
width:80%;
|
||||
}
|
||||
}
|
||||
.line {
|
||||
width: 100%;
|
||||
@ -2124,6 +2203,7 @@ const readRecord= async()=>{
|
||||
box-sizing: border-box;
|
||||
padding: 40rpx 30rpx;
|
||||
align-items: center;
|
||||
z-index:999;
|
||||
border-top: 2rpx solid #f9fafb;
|
||||
background: #fff;
|
||||
bottom: 0;
|
||||
|
||||
@ -10,7 +10,7 @@
|
||||
>
|
||||
<up-input
|
||||
v-model="phone"
|
||||
placeholder="请输入肝胆相照专家版手机号"
|
||||
placeholder="请输入手机号"
|
||||
></up-input>
|
||||
</up-form-item>
|
||||
<!-- <view v-if="isPhoneLogin" class="pwdbox">
|
||||
@ -234,6 +234,7 @@ const getPhoneNumber = (e) => {
|
||||
source:1
|
||||
})
|
||||
.then((data) => {
|
||||
uni.hideKeyboard()
|
||||
let result=data.data.data;
|
||||
if(process.env.UNI_PLATFORM =="h5"){
|
||||
if(window.location.href.indexOf('//casedata.igandan.com')>-1){
|
||||
@ -291,6 +292,7 @@ const phoneLogin = () => {
|
||||
wx_code: res,
|
||||
})
|
||||
.then((data) => {
|
||||
uni.hideKeyboard()
|
||||
let result=data.data.data;
|
||||
const { envVersion } = uni.getAccountInfoSync().miniProgram;
|
||||
if (envVersion == "release") {
|
||||
@ -392,7 +394,7 @@ const start = () => {
|
||||
width: 180rpx !important;
|
||||
}
|
||||
.smsbox ::v-deep .u-form-item:first-child .u-form-item__body__left {
|
||||
width: 180rpx !important;
|
||||
width: 114rpx !important;
|
||||
}
|
||||
::v-deep .u-form-item__body__left__content__label {
|
||||
font-size: 34rpx;
|
||||
|
||||
@ -832,13 +832,13 @@ const saveVote = () => {
|
||||
});
|
||||
return false;
|
||||
}
|
||||
if (voteData.case_exchange_vote_option[i].option_value.length > 16) {
|
||||
uni.showToast({
|
||||
title: "第" + (i + 1) + "个投票选项超过16个字符",
|
||||
icon: "none",
|
||||
});
|
||||
return false;
|
||||
}
|
||||
// if (voteData.case_exchange_vote_option[i].option_value.length > 16) {
|
||||
// uni.showToast({
|
||||
// title: "第" + (i + 1) + "个投票选项超过16个字符",
|
||||
// icon: "none",
|
||||
// });
|
||||
// return false;
|
||||
// }
|
||||
}
|
||||
// if (voteData.case_exchange_vote_option.length < 2) {
|
||||
// uni.showToast({
|
||||
|
||||
@ -139,12 +139,17 @@ const start = () => {
|
||||
};
|
||||
onLoad(() => {
|
||||
const { envVersion } = uni.getAccountInfoSync().miniProgram;
|
||||
console.log(envVersion)
|
||||
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";
|
||||
|
||||
if(options.src){
|
||||
src.value=options.src
|
||||
}else{
|
||||
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";
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
@ -97,7 +97,7 @@
|
||||
|
||||
:key="unit"
|
||||
class="imgcell"
|
||||
v-for="unit in item.exchange_content_image.splice(0,3)"
|
||||
v-for="unit in item.exchange_content_image.slice(0,3)"
|
||||
>
|
||||
<up--image
|
||||
:src="unit"
|
||||
@ -909,12 +909,15 @@ const searchList = async (params) => {
|
||||
font-size: 32rpx;
|
||||
color: #000000;
|
||||
line-height: 46rpx;
|
||||
word-break:break-all;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
.dot{
|
||||
height: 40rpx;
|
||||
display: flex;
|
||||
line-height: 40rpx;
|
||||
padding:0 14rpx;
|
||||
align-items: center;
|
||||
line-height: 40rpx;
|
||||
}
|
||||
|
||||
@ -149,6 +149,7 @@
|
||||
class="column"
|
||||
v-for="item in labelObj.list1"
|
||||
:key="item.app_iden"
|
||||
v-show="item.label_name!='热门话题'"
|
||||
>
|
||||
<up-radio
|
||||
activeColor="#3CC7C0 "
|
||||
|
||||
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/web/assets/api.BjOSs1ct.js
vendored
Normal file
1
unpackage/dist/build/web/assets/api.BjOSs1ct.js
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{_ as a,b as s,g as e,c as t,h as n,l as c,w as l,e as o,j as _,t as d,a3 as r,a4 as i,i as u}from"./index-zgq9IeTG.js";/* empty css */const p=a({__name:"backNav",props:{navName:{type:String,default:"我的"}},setup(a){const p=()=>{r({delta:1,fail(){i({url:"/pages/index/index"})}})};return(r,i)=>{const m=u,v=s(t("u-icon"),e);return n(),c(m,{class:"navbox"},{default:l((()=>[o(m,{class:"bg"}),o(m,{class:"namebox"},{default:l((()=>[o(m,{class:"back",onClick:p},{default:l((()=>[o(v,{name:"arrow-left",color:"#000",size:"24"})])),_:1}),o(m,{class:"name"},{default:l((()=>[_(d(a.navName),1)])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-819e8c8e"]]);export{p as d};
|
||||
import{_ as a,b as s,g as e,c as t,h as n,l as c,w as l,e as o,j as _,t as d,a3 as r,a4 as i,i as u}from"./index-D8Hpg5b6.js";/* empty css */const p=a({__name:"backNav",props:{navName:{type:String,default:"我的"}},setup(a){const p=()=>{r({delta:1,fail(){i({url:"/pages/index/index"})}})};return(r,i)=>{const m=u,v=s(t("u-icon"),e);return n(),c(m,{class:"navbox"},{default:l((()=>[o(m,{class:"bg"}),o(m,{class:"namebox"},{default:l((()=>[o(m,{class:"back",onClick:p},{default:l((()=>[o(v,{name:"arrow-left",color:"#000",size:"24"})])),_:1}),o(m,{class:"name"},{default:l((()=>[_(d(a.navName),1)])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-819e8c8e"]]);export{p as d};
|
||||
@ -1 +0,0 @@
|
||||
.publish[data-v-2ff287f1]{width:2.875rem;height:2.875rem;background:#3cc7c0;border-radius:50%;position:fixed;right:.9375rem;bottom:5.625rem;display:flex;justify-content:center;align-items:center}.upage[data-v-2ff287f1]{display:flex;flex-direction:column;height:calc(100vh - 3.75rem)}.mostread .cell[data-v-2ff287f1]{padding:.6875rem 0!important;margin:0 .9375rem;display:flex}.box[data-v-2ff287f1]{flex:1;padding-bottom:.9375rem;overflow-y:scroll}.myVideo[data-v-2ff287f1]{width:100%;border-radius:.46875rem}.deal[data-v-2ff287f1]{padding-top:.625rem;display:flex;color:#4b5563;font-size:.75rem;justify-content:space-between}.deal .left[data-v-2ff287f1]{display:flex;align-items:center}.deal .left .item[data-v-2ff287f1]{width:3.125rem}.deal .collect[data-v-2ff287f1],.deal .eyebox[data-v-2ff287f1],.deal .chat[data-v-2ff287f1],.deal .time[data-v-2ff287f1]{display:flex;align-items:center}.deal .num[data-v-2ff287f1]{margin-left:.25rem}.tagbox[data-v-2ff287f1]{margin-top:.75rem;display:flex}.tagbox .tag[data-v-2ff287f1]{height:1.6875rem;padding:0 .875rem;background:#ecfaf9;border-radius:.9375rem;margin-right:.375rem;font-size:.84375rem;color:#3cc7c0;display:flex;align-items:center;justify-content:center}.doctor[data-v-2ff287f1]{display:flex;align-items:center}.record[data-v-2ff287f1]{padding-top:.9375rem}.record .list[data-v-2ff287f1]{margin:.9375rem}.record .list .name[data-v-2ff287f1]{padding:.625rem 0 .625rem .46875rem;font-size:.84375rem;color:#333}.record .list .content[data-v-2ff287f1]{font-size:.84375rem;color:#666;line-height:1.1875rem}.record .list .imgbox[data-v-2ff287f1]{display:flex;margin-top:.75rem}.record .list .imgbox .imgcell[data-v-2ff287f1]{width:6.875rem;height:6.875rem;margin-right:.625rem}.record .list .imgbox .imgcell[data-v-2ff287f1]:last-child{margin-right:0}.special[data-v-2ff287f1]{padding-top:.9375rem}.special .list[data-v-2ff287f1]{margin:.25rem 0 0}.special .list .cell[data-v-2ff287f1]{padding:.6875rem .9375rem;border-bottom:.0625rem solid #f3f4f6}.special .list .cell .circle[data-v-2ff287f1]{flex-shrink:0;margin-top:.46875rem;width:.46875rem;height:.46875rem;background:#3cc7c0;border-radius:50%}.special .list .cell .title[data-v-2ff287f1]{margin-left:.3125rem;font-size:1rem;color:#000;line-height:1.4375rem}.special .list .cell[data-v-2ff287f1]:last-child{border-bottom:none}.titlebox[data-v-2ff287f1]{margin:0 .9375rem;display:flex;justify-content:space-between}.titlebox .more[data-v-2ff287f1]{display:flex;align-items:center}.titlebox .more .morename[data-v-2ff287f1]{margin-right:.3125rem;font-size:.875rem;color:#3cc7c0}.bar[data-v-2ff287f1]{height:.5rem;background:#f3f4f6}.databox[data-v-2ff287f1]{height:5.0625rem;background:#fff;display:flex;padding:0 .9375rem;justify-content:space-between}.databox .cell[data-v-2ff287f1]{flex:1;padding:1.09375rem 0;text-align:center}.databox .cell .num[data-v-2ff287f1]{font-size:1.1875rem;color:#3cc7c0}.databox .cell .name[data-v-2ff287f1]{margin-top:.5625rem;font-size:.875rem;color:#4b5563}
|
||||
1
unpackage/dist/build/web/assets/caseTalk-sExiQnaZ.css
vendored
Normal file
1
unpackage/dist/build/web/assets/caseTalk-sExiQnaZ.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.publish[data-v-95bbb403]{width:2.875rem;height:2.875rem;background:#3cc7c0;border-radius:50%;position:fixed;right:.9375rem;bottom:5.625rem;display:flex;justify-content:center;align-items:center}.upage[data-v-95bbb403]{display:flex;flex-direction:column;height:calc(100vh - 3.75rem)}.mostread .cell[data-v-95bbb403]{padding:.6875rem 0!important;margin:0 .9375rem;display:flex}.box[data-v-95bbb403]{flex:1;padding-bottom:.9375rem;overflow-y:scroll}.myVideo[data-v-95bbb403]{width:100%;border-radius:.46875rem}.deal[data-v-95bbb403]{padding-top:.625rem;display:flex;color:#4b5563;font-size:.75rem;justify-content:space-between}.deal .left[data-v-95bbb403]{display:flex;align-items:center}.deal .left .item[data-v-95bbb403]{width:3.125rem}.deal .collect[data-v-95bbb403],.deal .eyebox[data-v-95bbb403],.deal .chat[data-v-95bbb403],.deal .time[data-v-95bbb403]{display:flex;align-items:center}.deal .num[data-v-95bbb403]{margin-left:.25rem}.tagbox[data-v-95bbb403]{margin-top:.75rem;display:flex}.tagbox .tag[data-v-95bbb403]{height:1.6875rem;padding:0 .875rem;background:#ecfaf9;border-radius:.9375rem;margin-right:.375rem;font-size:.84375rem;color:#3cc7c0;display:flex;align-items:center;justify-content:center}.doctor[data-v-95bbb403]{display:flex;align-items:center}.record[data-v-95bbb403]{padding-top:.9375rem}.record .list[data-v-95bbb403]{margin:.9375rem}.record .list .name[data-v-95bbb403]{padding:.625rem 0 .625rem .46875rem;font-size:.84375rem;color:#333}.record .list .content[data-v-95bbb403]{font-size:.84375rem;color:#666;line-height:1.1875rem}.record .list .imgbox[data-v-95bbb403]{display:flex;margin-top:.75rem}.record .list .imgbox .imgcell[data-v-95bbb403]{width:6.875rem;height:6.875rem;margin-right:.625rem}.record .list .imgbox .imgcell[data-v-95bbb403]:last-child{margin-right:0}.special[data-v-95bbb403]{padding-top:.9375rem}.special .list[data-v-95bbb403]{margin:.25rem 0 0}.special .list .cell[data-v-95bbb403]{padding:.6875rem .9375rem;border-bottom:.0625rem solid #f3f4f6}.special .list .cell .circle[data-v-95bbb403]{flex-shrink:0;margin-top:.46875rem;width:.46875rem;height:.46875rem;background:#3cc7c0;border-radius:50%}.special .list .cell .title[data-v-95bbb403]{margin-left:.3125rem;font-size:1rem;color:#000;line-height:1.4375rem}.special .list .cell[data-v-95bbb403]:last-child{border-bottom:none}.titlebox[data-v-95bbb403]{margin:0 .9375rem;display:flex;justify-content:space-between}.titlebox .more[data-v-95bbb403]{display:flex;align-items:center}.titlebox .more .morename[data-v-95bbb403]{margin-right:.3125rem;font-size:.875rem;color:#3cc7c0}.bar[data-v-95bbb403]{height:.5rem;background:#f3f4f6}.databox[data-v-95bbb403]{height:5.0625rem;background:#fff;display:flex;padding:0 .9375rem;justify-content:space-between}.databox .cell[data-v-95bbb403]{flex:1;padding:1.09375rem 0;text-align:center}.databox .cell .num[data-v-95bbb403]{font-size:1.1875rem;color:#3cc7c0}.databox .cell .name[data-v-95bbb403]{margin-top:.5625rem;font-size:.875rem;color:#4b5563}
|
||||
1
unpackage/dist/build/web/assets/certImg-Bt8Tuimb.css
vendored
Normal file
1
unpackage/dist/build/web/assets/certImg-Bt8Tuimb.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.imgbox[data-v-79a48ca6]{margin:-.9375rem .9375rem 0;overflow-y:scroll;display:flex;align-items:center;flex-direction:column;justify-content:center;min-height:calc(100vh - 6.25rem)}.imgbox .box[data-v-79a48ca6]{width:100%;height:100%}
|
||||
@ -1 +0,0 @@
|
||||
.imgbox[data-v-cdc14fa9]{margin:-.9375rem .9375rem 0;overflow-y:scroll}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/web/assets/detail-rfnKI4Zn.css
vendored
Normal file
1
unpackage/dist/build/web/assets/detail-rfnKI4Zn.css
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
.radio[data-v-079ee8d6]{display:inline-flex;font-size:.875rem}.radio uni-radio[data-v-079ee8d6]{transform:scale(.8) translateY(-2px)}.radio .agree[data-v-079ee8d6]{background:none;color:#3cc7c0}.logincontent[data-v-079ee8d6]{width:100%;height:100vh;background:#fff}.logincontent .pwdbox[data-v-079ee8d6] .u-form-item:nth-child(2) .u-form-item__body__left{width:5.625rem!important}.logincontent .smsbox[data-v-079ee8d6] .u-form-item:first-child .u-form-item__body__left{width:5.625rem!important}.logincontent[data-v-079ee8d6] .u-form-item__body__left__content__label{font-size:1.0625rem;color:#000}.logincontent .title[data-v-079ee8d6]{padding:3.875rem 0 2rem .9375rem;font-size:1.4375rem;font-stretch:normal;letter-spacing:.0625rem;color:#000}.logincontent[data-v-079ee8d6] .u-form{padding:0 .9375rem}.logincontent .row[data-v-079ee8d6]{margin-top:1.25rem;display:flex;justify-content:space-between;padding:0 .9375rem}.logincontent .row .left[data-v-079ee8d6]{flex:1;color:#3cc7c0;text-align:left}.logincontent .row .right[data-v-079ee8d6]{flex:1;color:#666;text-align:right}.logincontent .row[data-v-079ee8d6] .u-button--large .u-button__text{font-size:1.125rem!important}.logincontent .row .tip[data-v-079ee8d6]{color:#333;font-size:.8125rem}.logincontent[data-v-079ee8d6] .wrap{border-radius:.5rem;overflow:hidden;border:none}.logincontent .line[data-v-079ee8d6]{padding:0 .9375rem;margin-top:.3125rem;color:#999;line-height:1.375rem;font-size:.8125rem;display:flex;letter-spacing:1px}.logincontent .desc[data-v-079ee8d6]{padding:0 .9375rem;color:#999;line-height:1.375rem;font-size:.8125rem;letter-spacing:.0625rem}.logincontent .desc .red[data-v-079ee8d6]{color:red}
|
||||
1
unpackage/dist/build/web/assets/login-Cx-6YKFN.css
vendored
Normal file
1
unpackage/dist/build/web/assets/login-Cx-6YKFN.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.radio[data-v-5baca4b7]{display:inline-flex;font-size:.875rem}.radio uni-radio[data-v-5baca4b7]{transform:scale(.8) translateY(-2px)}.radio .agree[data-v-5baca4b7]{background:none;color:#3cc7c0}.logincontent[data-v-5baca4b7]{width:100%;height:100vh;background:#fff}.logincontent .pwdbox[data-v-5baca4b7] .u-form-item:nth-child(2) .u-form-item__body__left{width:5.625rem!important}.logincontent .smsbox[data-v-5baca4b7] .u-form-item:first-child .u-form-item__body__left{width:3.5625rem!important}.logincontent[data-v-5baca4b7] .u-form-item__body__left__content__label{font-size:1.0625rem;color:#000}.logincontent .title[data-v-5baca4b7]{padding:3.875rem 0 2rem .9375rem;font-size:1.4375rem;font-stretch:normal;letter-spacing:.0625rem;color:#000}.logincontent[data-v-5baca4b7] .u-form{padding:0 .9375rem}.logincontent .row[data-v-5baca4b7]{margin-top:1.25rem;display:flex;justify-content:space-between;padding:0 .9375rem}.logincontent .row .left[data-v-5baca4b7]{flex:1;color:#3cc7c0;text-align:left}.logincontent .row .right[data-v-5baca4b7]{flex:1;color:#666;text-align:right}.logincontent .row[data-v-5baca4b7] .u-button--large .u-button__text{font-size:1.125rem!important}.logincontent .row .tip[data-v-5baca4b7]{color:#333;font-size:.8125rem}.logincontent[data-v-5baca4b7] .wrap{border-radius:.5rem;overflow:hidden;border:none}.logincontent .line[data-v-5baca4b7]{padding:0 .9375rem;margin-top:.3125rem;color:#999;line-height:1.375rem;font-size:.8125rem;display:flex;letter-spacing:1px}.logincontent .desc[data-v-5baca4b7]{padding:0 .9375rem;color:#999;line-height:1.375rem;font-size:.8125rem;letter-spacing:.0625rem}.logincontent .desc .red[data-v-5baca4b7]{color:red}
|
||||
@ -1 +1 @@
|
||||
import{_ as a,r as e,A as s,B as l,aj as r,b as t,f as o,c as u,g as c,h as p,l as n,w as d,e as i,u as m,j as h,t as v,i as f,am as _}from"./index-zgq9IeTG.js";import{h as g}from"./headImg.D8PzAUux.js";import{l as y,n as x}from"./navbg.DtxIXihV.js";import{n as b}from"./navTo.BLoPg89x.js";/* empty css */const j=a({__name:"navBar",props:{searchWord:{type:String,default:""},type:{type:String,default:"home"},navName:{type:String,default:"肝胆相照临床病例库"}},emits:["changeWord"],setup(a,{emit:j}){const k=e(""),w=e(""),W=a,B=e("输入疾病名称、标题、作者搜索");s((()=>W.type),(a=>{}),{immediate:!0}),s((()=>W.searchWord),(a=>{w.value=a}));const I=()=>{b({url:"/pages/my/my"})},S=()=>{"home"==W.type?b({url:`/pages/search/search?keyWord=${w.value}&from=home`}):"caseTalk"==W.type&&b({url:`/pages/specialList/specialList?keyWord=${w.value}&from=talkHome`})};return l((()=>{let a=r("userInfo");a&&a.avatar?k.value=a.avatar:k.value=g})),(e,s)=>{const l=f,r=t(u("up--image"),o),g=_,b=t(u("up-icon"),c);return p(),n(l,{class:"navbox"},{default:d((()=>[i(l,{class:"bg"}),i(l,{class:"namebox"},{default:d((()=>[i(l,{class:"logo"},{default:d((()=>[i(r,{src:m(y),width:"62rpx",height:"62rpx",radius:"50%"},null,8,["src"])])),_:1}),i(l,{class:"name"},{default:d((()=>[h(v(a.navName)+" ",1),i(l,{class:"navbg"},{default:d((()=>[i(r,{src:m(x),width:"100rpx",height:"31rpx"},null,8,["src"])])),_:1})])),_:1})])),_:1}),i(l,{class:"search"},{default:d((()=>[i(l,{class:"searchwrap"},{default:d((()=>[i(g,{type:"text",class:"ipt",modelValue:w.value,"onUpdate:modelValue":s[0]||(s[0]=a=>w.value=a),placeholder:B.value},null,8,["modelValue","placeholder"]),i(b,{name:"search",size:"26",color:"#999",onClick:S})])),_:1}),i(r,{src:k.value,onClick:I,width:"62rpx",height:"62rpx",radius:"50%"},null,8,["src"])])),_:1})])),_:1})}}},[["__scopeId","data-v-f204508b"]]);export{j as n};
|
||||
import{_ as a,r as e,A as s,B as l,aj as r,b as t,f as o,c as u,g as c,h as p,l as n,w as d,e as i,u as m,j as h,t as v,i as f,am as _}from"./index-D8Hpg5b6.js";import{h as g}from"./headImg.D8PzAUux.js";import{l as y,n as x}from"./navbg.DtxIXihV.js";import{n as b}from"./navTo.C-CbJiNv.js";/* empty css */const j=a({__name:"navBar",props:{searchWord:{type:String,default:""},type:{type:String,default:"home"},navName:{type:String,default:"肝胆相照临床病例库"}},emits:["changeWord"],setup(a,{emit:j}){const k=e(""),w=e(""),W=a,B=e("输入疾病名称、标题、作者搜索");s((()=>W.type),(a=>{}),{immediate:!0}),s((()=>W.searchWord),(a=>{w.value=a}));const I=()=>{b({url:"/pages/my/my"})},S=()=>{"home"==W.type?b({url:`/pages/search/search?keyWord=${w.value}&from=home`}):"caseTalk"==W.type&&b({url:`/pages/specialList/specialList?keyWord=${w.value}&from=talkHome`})};return l((()=>{let a=r("userInfo");a&&a.avatar?k.value=a.avatar:k.value=g})),(e,s)=>{const l=f,r=t(u("up--image"),o),g=_,b=t(u("up-icon"),c);return p(),n(l,{class:"navbox"},{default:d((()=>[i(l,{class:"bg"}),i(l,{class:"namebox"},{default:d((()=>[i(l,{class:"logo"},{default:d((()=>[i(r,{src:m(y),width:"62rpx",height:"62rpx",radius:"50%"},null,8,["src"])])),_:1}),i(l,{class:"name"},{default:d((()=>[h(v(a.navName)+" ",1),i(l,{class:"navbg"},{default:d((()=>[i(r,{src:m(x),width:"100rpx",height:"31rpx"},null,8,["src"])])),_:1})])),_:1})])),_:1}),i(l,{class:"search"},{default:d((()=>[i(l,{class:"searchwrap"},{default:d((()=>[i(g,{type:"text",class:"ipt",modelValue:w.value,"onUpdate:modelValue":s[0]||(s[0]=a=>w.value=a),placeholder:B.value},null,8,["modelValue","placeholder"]),i(b,{name:"search",size:"26",color:"#999",onClick:S})])),_:1}),i(r,{src:k.value,onClick:I,width:"62rpx",height:"62rpx",radius:"50%"},null,8,["src"])])),_:1})])),_:1})}}},[["__scopeId","data-v-f204508b"]]);export{j as n};
|
||||
@ -1 +1 @@
|
||||
import{_ as a,r as e,A as s,B as l,aj as r,b as t,g as o,c,f as u,h as n,l as d,w as i,e as p,u as m,j as v,t as h,a3 as f,a4 as g,i as x,am as _}from"./index-zgq9IeTG.js";import{h as y}from"./headImg.D8PzAUux.js";import{l as b,n as j}from"./navbg.DtxIXihV.js";import{n as w}from"./navTo.BLoPg89x.js";const k=a({__name:"navBarSearch",props:{searchWord:{type:String,default:""},type:{type:String,default:""},navName:{type:String,default:"肝胆相照临床病例库"}},emits:["changeWord"],setup(a,{emit:k}){const C=e(""),S=e(""),W=a,I=e("输入疾病名称、标题、作者搜索");s((()=>W.type),(a=>{"doctor"===a?I.value="输入医生姓名":"hospital"===a?I.value="输入医院名称":"video"===a?I.value="输入疾病名称、标题、作者搜索":"article"===a?I.value="搜索疾病、症状、医院":"case"===a?I.value="输入疾病名称":("myCase"===a||"cert"===a)&&(I.value="输入疾病名称、标题搜索")}),{immediate:!0}),s((()=>W.searchWord),(a=>{C.value=a}));const V=k,z=()=>{w({url:"/pages/my/my"})},B=()=>{f({delta:1,fail(){g({url:"/pages/index/index"})}})};l((()=>{let a=r("userInfo");a&&a.avatar?S.value=a.avatar:S.value=y}));const N=()=>{V("changeWord",C.value)};return(e,s)=>{const l=x,r=t(c("u-icon"),o),f=t(c("up--image"),u),g=_,y=t(c("up-icon"),o);return n(),d(l,{class:"navbox"},{default:i((()=>[p(l,{class:"bg"}),p(l,{class:"namebox"},{default:i((()=>[p(l,{class:"back",onClick:B},{default:i((()=>[p(r,{name:"arrow-left",color:"#000",size:"24"})])),_:1}),p(l,{class:"logo"},{default:i((()=>[p(f,{src:m(b),width:"62rpx",height:"62rpx",radius:"50%"},null,8,["src"])])),_:1}),p(l,{class:"name"},{default:i((()=>[v(h(a.navName)+" ",1),p(l,{class:"navbg"},{default:i((()=>[p(f,{src:m(j),width:"100rpx",height:"31rpx"},null,8,["src"])])),_:1})])),_:1})])),_:1}),p(l,{class:"search"},{default:i((()=>[p(l,{class:"searchwrap"},{default:i((()=>[p(g,{type:"text",class:"ipt",modelValue:C.value,"onUpdate:modelValue":s[0]||(s[0]=a=>C.value=a),placeholder:I.value},null,8,["modelValue","placeholder"]),p(y,{name:"search",size:"26",color:"#999",onClick:N})])),_:1}),p(f,{src:S.value,onClick:z,width:"62rpx",height:"62rpx",radius:"50%"},null,8,["src"])])),_:1})])),_:1})}}},[["__scopeId","data-v-648dea7c"]]);export{k as n};
|
||||
import{_ as a,r as e,A as s,B as l,aj as r,b as t,g as o,c,f as u,h as n,l as d,w as i,e as p,u as m,j as v,t as h,a3 as f,a4 as g,i as x,am as _}from"./index-D8Hpg5b6.js";import{h as y}from"./headImg.D8PzAUux.js";import{l as b,n as j}from"./navbg.DtxIXihV.js";import{n as w}from"./navTo.C-CbJiNv.js";const k=a({__name:"navBarSearch",props:{searchWord:{type:String,default:""},type:{type:String,default:""},navName:{type:String,default:"肝胆相照临床病例库"}},emits:["changeWord"],setup(a,{emit:k}){const C=e(""),S=e(""),W=a,I=e("输入疾病名称、标题、作者搜索");s((()=>W.type),(a=>{"doctor"===a?I.value="输入医生姓名":"hospital"===a?I.value="输入医院名称":"video"===a?I.value="输入疾病名称、标题、作者搜索":"article"===a?I.value="搜索疾病、症状、医院":"case"===a?I.value="输入疾病名称":("myCase"===a||"cert"===a)&&(I.value="输入疾病名称、标题搜索")}),{immediate:!0}),s((()=>W.searchWord),(a=>{C.value=a}));const V=k,z=()=>{w({url:"/pages/my/my"})},B=()=>{f({delta:1,fail(){g({url:"/pages/index/index"})}})};l((()=>{let a=r("userInfo");a&&a.avatar?S.value=a.avatar:S.value=y}));const N=()=>{V("changeWord",C.value)};return(e,s)=>{const l=x,r=t(c("u-icon"),o),f=t(c("up--image"),u),g=_,y=t(c("up-icon"),o);return n(),d(l,{class:"navbox"},{default:i((()=>[p(l,{class:"bg"}),p(l,{class:"namebox"},{default:i((()=>[p(l,{class:"back",onClick:B},{default:i((()=>[p(r,{name:"arrow-left",color:"#000",size:"24"})])),_:1}),p(l,{class:"logo"},{default:i((()=>[p(f,{src:m(b),width:"62rpx",height:"62rpx",radius:"50%"},null,8,["src"])])),_:1}),p(l,{class:"name"},{default:i((()=>[v(h(a.navName)+" ",1),p(l,{class:"navbg"},{default:i((()=>[p(f,{src:m(j),width:"100rpx",height:"31rpx"},null,8,["src"])])),_:1})])),_:1})])),_:1}),p(l,{class:"search"},{default:i((()=>[p(l,{class:"searchwrap"},{default:i((()=>[p(g,{type:"text",class:"ipt",modelValue:C.value,"onUpdate:modelValue":s[0]||(s[0]=a=>C.value=a),placeholder:I.value},null,8,["modelValue","placeholder"]),p(y,{name:"search",size:"26",color:"#999",onClick:N})])),_:1}),p(f,{src:S.value,onClick:z,width:"62rpx",height:"62rpx",radius:"50%"},null,8,["src"])])),_:1})])),_:1})}}},[["__scopeId","data-v-648dea7c"]]);export{k as n};
|
||||
@ -1 +1 @@
|
||||
import{aK as e,aj as n,ae as t,af as a}from"./index-zgq9IeTG.js";function i(i){let o="";if(o=window.location.href.indexOf("//casedata.igandan.com")>-1?n("AUTH_TOKEN_CASEDATA"):n("DEV_AUTH_TOKEN_CASEDATA"),o)a(i);else{let n=function(){const n=e(),t=n[n.length-1],a=t.route,i=t.options;let o=a+"?";for(let e in i)o+=`${e}=${i[e]}&`;return o=o.substring(0,o.length-1),o}();t("redirectUrl",n),a({url:"/pages/login/login?redirectUrl=has"})}}export{i as n};
|
||||
import{aK as e,aj as n,ae as t,af as a}from"./index-D8Hpg5b6.js";function i(i){let o="";if(o=window.location.href.indexOf("//casedata.igandan.com")>-1?n("AUTH_TOKEN_CASEDATA"):n("DEV_AUTH_TOKEN_CASEDATA"),o)a(i);else{let n=function(){const n=e(),t=n[n.length-1],a=t.route,i=t.options;let o=a+"?";for(let e in i)o+=`${e}=${i[e]}&`;return o=o.substring(0,o.length-1),o}();t("redirectUrl",n),a({url:"/pages/login/login?redirectUrl=has"})}}export{i as n};
|
||||
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{_ as a,r as e,B as s,aj as t,l as o,w as n,i as r,h as _,e as c,au as l}from"./index-zgq9IeTG.js";import{t as d}from"./tabBar.DrLm9x4G.js";import"./navTo.BLoPg89x.js";/* empty css */const m=a({__name:"case",setup(a){const m=e("");return s((a=>{{let a="";window.location.href.indexOf("//casedata.igandan.com")>-1?(a=t("AUTH_TOKEN_CASEDATA"),m.value="https://caseplatform.igandan.com/web/home?token="+a):(a=t("DEV_AUTH_TOKEN_CASEDATA"),m.value="https://dev-caseplatform.igandan.com/web/home?token="+a)}})),(a,e)=>{const s=l,t=r;return _(),o(t,{class:"content"},{default:n((()=>[c(t,{class:"page"},{default:n((()=>[c(s,{src:m.value},null,8,["src"])])),_:1}),c(d,{value:1})])),_:1})}}},[["__scopeId","data-v-6f022902"]]);export{m as default};
|
||||
import{_ as a,r as e,B as s,aj as t,l as o,w as n,i as r,h as _,e as c,au as l}from"./index-D8Hpg5b6.js";import{t as d}from"./tabBar.tmxFkbl9.js";import"./navTo.C-CbJiNv.js";/* empty css */const m=a({__name:"case",setup(a){const m=e("");return s((a=>{{let a="";window.location.href.indexOf("//casedata.igandan.com")>-1?(a=t("AUTH_TOKEN_CASEDATA"),m.value="https://caseplatform.igandan.com/web/home?token="+a):(a=t("DEV_AUTH_TOKEN_CASEDATA"),m.value="https://dev-caseplatform.igandan.com/web/home?token="+a)}})),(a,e)=>{const s=l,t=r;return _(),o(t,{class:"content"},{default:n((()=>[c(t,{class:"page"},{default:n((()=>[c(s,{src:m.value},null,8,["src"])])),_:1}),c(d,{value:1})])),_:1})}}},[["__scopeId","data-v-6f022902"]]);export{m as default};
|
||||
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/web/assets/pages-caseTalk-caseTalk.BMEh6WXX.js
vendored
Normal file
1
unpackage/dist/build/web/assets/pages-caseTalk-caseTalk.BMEh6WXX.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/web/assets/pages-certImg-certImg.D2H23F9J.js
vendored
Normal file
1
unpackage/dist/build/web/assets/pages-certImg-certImg.D2H23F9J.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{_ as a,r as s,B as e,b as t,c,d as o,e as r,w as _,F as i,a6 as d,i as n,h as u}from"./index-D8Hpg5b6.js";import{d as l}from"./backNav.Dg949Isq.js";/* empty css */const p=a({__name:"certImg",setup(a){const p=s("");return e((a=>{a.src?p.value=a.src:p.value="https://cn.bing.com//th?id=OHR.SanMiguelAzores_ZH-CN2511982585_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp"})),(a,s)=>{const e=t(c("u--image"),d),m=n;return u(),o(i,null,[r(l,{navName:"病例收录证书"}),r(m,{class:"imgbox"},{default:_((()=>[r(m,{class:"box"},{default:_((()=>[r(e,{showLoading:!0,src:p.value,width:"100%",mode:"widthFix"},null,8,["src"])])),_:1})])),_:1})],64)}}},[["__scopeId","data-v-79a48ca6"]]);export{p as default};
|
||||
@ -1 +0,0 @@
|
||||
import{_ as a,r as s,B as e,b as t,c,d as r,e as i,w as o,F as _,a6 as d,i as n,h as u}from"./index-zgq9IeTG.js";import{d as l}from"./backNav.kEfCM2uC.js";/* empty css */const p=a({__name:"certImg",setup(a){const p=s("");return e((a=>{a.src?p.value=a.src:p.value="https://cn.bing.com//th?id=OHR.SanMiguelAzores_ZH-CN2511982585_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp"})),(a,s)=>{const e=t(c("u--image"),d),m=n;return u(),r(_,null,[i(l,{navName:"病例收录证书"}),i(m,{class:"imgbox"},{default:o((()=>[i(e,{showLoading:!0,src:p.value,width:"100%",mode:"widthFix"},null,8,["src"])])),_:1})],64)}}},[["__scopeId","data-v-cdc14fa9"]]);export{p as default};
|
||||
@ -1 +1 @@
|
||||
import{_ as a,r as e,a as l,B as t,aj as s,o as r,b as u,c as o,l as d,w as c,i as n,an as i,f as m,g as v,h as _,e as p,j as g,t as f,y as h,d as A,k as C,F as k,n as V,u as y}from"./index-zgq9IeTG.js";import{_ as j}from"./z-paging.DB_RHdMe.js";import{n as x}from"./navBarSearch.CZMJfpMc.js";import{a as D}from"./api.8pavSZE_.js";import{d as O}from"./dayjs.min.BsFX_IkJ.js";import{n as w}from"./navTo.BLoPg89x.js";import"./headImg.D8PzAUux.js";import"./navbg.DtxIXihV.js";const I=a({__name:"certList",setup(a){const I=e(null),z=e(!1),B=e([]),J=e(0);e("");const M=e(""),Q=e(0);e("");const b=e(""),E=l({}),F=e("肝胆相照临床病例库收录证书"),K=a=>O(a).format("YYYY-MM-DD"),N=e([{name:"文章病例库"},{name:"视频病例库"}]),S=a=>{Q.value=a.index,I.value.reload()};t((a=>{a.keyWord&&(M.value=a.keyWord),a.doctor_id&&(b.value=a.doctor_id);let e=s("userInfo");e.user_name&&(F.value=e.user_name+"临床病例库收录证书")})),r((()=>{var a;null==(a=I.value)||a.refresh()}));const T=a=>{M.value=a,z.value=!0,I.value.reload()},U=(a,e)=>{console.log(666666);const l={page:a,page_size:e};0==Q.value?(a=>{let e={keyword:M.value,doctor_id:b.value};z.value&&(K.is_need_num=1),D.searchArticle({...e,...a}).then((a=>{I.value.complete(a.data.data.data),J.value=a.data.data.total,E.search_article_num=a.data.data.search_article_num,E.search_video_num=a.data.data.search_video_num})).catch((a=>{I.value.complete(!1)}))})(l):(async a=>{let e={keyword:M.value,doctor_id:b.value};D.searchVideo({...e,...a}).then((a=>{I.value.complete(a.data.data.data),J.value=a.data.data.total,E.search_article_num=a.data.data.search_article_num,E.search_video_num=a.data.data.search_video_num})).catch((a=>{I.value.complete(!1)}))})(l)};return(a,e)=>{const l=V,t=n,s=u(o("up-tabs"),i),r=u(o("up--image"),m),D=u(o("up-icon"),v),O=u(o("z-paging"),j);return _(),d(t,{class:"u-page"},{default:c((()=>[p(O,{ref_key:"paging",ref:I,"inside-more":"","loading-more-no-more-text":"咱也是有底线的!","auto-show-back-to-top":!0,modelValue:B.value,"onUpdate:modelValue":e[0]||(e[0]=a=>B.value=a),onQuery:U},{top:c((()=>[p(x,{searchWord:M.value,navName:F.value,onChangeWord:T,type:"cert"},null,8,["searchWord","navName"]),z.value?(_(),d(t,{key:0,class:"detail"},{default:c((()=>[0==Q.value?(_(),d(t,{key:0,class:"desc"},{default:c((()=>[g("检索到:"),p(l,{class:"red"},{default:c((()=>[g(f(J.value)+"篇文章",1)])),_:1})])),_:1})):h("",!0),1==Q.value?(_(),d(t,{key:1,class:"desc"},{default:c((()=>[g("检索到:"),p(l,{class:"red"},{default:c((()=>[g(f(J.value)+"个视频",1)])),_:1})])),_:1})):h("",!0),M.value?(_(),d(t,{key:2,class:"desc"},{default:c((()=>[g("检索词:"),p(l,{class:"red"},{default:c((()=>[g(f(M.value),1)])),_:1})])),_:1})):h("",!0)])),_:1})):h("",!0),p(t,{class:"tabcon"},{default:c((()=>[p(s,{activeStyle:{color:"#3CC7C0"},inactiveStyle:{color:"#4B5563"},lineColor:"#3CC7C0",lineWidth:"155rpx",lineHeight:"2",list:N.value,onClick:S},null,8,["list"])])),_:1})])),default:c((()=>[(_(!0),A(k,null,C(B.value,((a,e)=>(_(),d(t,{class:"item",key:e,onClick:e=>{return l=a.cert_image,void w({url:`/pages/certImg/certImg?src=${l}`});var l}},{default:c((()=>[p(t,{class:"title ellipsis-two-lines"},{default:c((()=>[g(f(0==Q.value?a.article_title:a.video_title),1)])),_:2},1024),p(t,{class:"deal"},{default:c((()=>[p(t,{class:"left"},{default:c((()=>[p(t,{class:"recored"},{default:c((()=>[p(r,{src:y("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACcAAAAnCAYAAACMo1E1AAAAAXNSR0IArs4c6QAAAlhJREFUWEftmMFrE0EUxr9vsi1pQfCgiGhPFQTxVjHdZGN3QcRTQRTpsTeV/gd614MHb0q9lB5FFD206qFZ2uwmOehRENFD8Q+wN21D9kmqpRGT3c3sbgzavc57M7/55s3bN48Y4o9DzIZ/A8523fzOodET/L5thKlNCZrfxj5/eXfuRjPpqUQqZ7uu0RzjXQgXCBmPtaDIFsl7VdO+D0Bi+XQxioQr1dxHJG/qLCDkol+4cAukFmAoXKHhnjSEmwSUDlzbJwlgKJxVcy+DfKULtuenCxgKV6qvzxLyMimcroIDg9MBHChcv4ADh/sVIg89016ICpe/BYeWkiv1gvMiNKGHDaZ5If5Yh3jqTdvXhxMO8DzTLg8pnPie6Vj/FdxSQLVCkdhVByWYgOIdCI7vK5W2ciJrXtG5GJUCuo0XG+uXlMibzOB2/5HTM1oVStFfm1Qq9ykzOABfJWeU/fPW+37Um3q7OJJvnn5MYD5LuHbp2AKwCcSPOSgeg+Dw7xtKO+b6kSvS9gAuUqIeBmkrJ7LdAuZ2Rj+u9PO6apf7I8IlAB1pKGU4gSz7ptNx4+KrVm5snBEJOm55+nDPfNO5Fh9p39KqVgowVCOzVCJAQMjtIEB/v68cJ0T4gMTZzOB0FOvtk/hYK7OESuX11QUyWT1n1SsFoDNO0tNOgOe+aV/Vrud2+yR5fiAwmR7Wz5kEMuebzhNtuLajVa1MwVCvARxJETD562sPpryxejQwxucJnAIQ2gLruYF2M4fYClpYrZVmKnE2GtllijNJVjYHcLrKDrVyPwCuPTw3CmIhlQAAAABJRU5ErkJggg=="),width:"39rpx",height:"39rpx"},null,8,["src"]),g(" 收录证书 ")])),_:1})])),_:1}),p(t,{class:"time"},{default:c((()=>[p(D,{name:"clock",color:"#6B7280",size:"28rpx"}),p(t,{class:"num"},{default:c((()=>[g(f(K(a.push_date)),1)])),_:2},1024)])),_:2},1024)])),_:2},1024)])),_:2},1032,["onClick"])))),128))])),_:1},8,["modelValue"])])),_:1})}}},[["__scopeId","data-v-b9efb59e"]]);export{I as default};
|
||||
import{_ as a,r as e,a as l,B as t,aj as s,o as r,b as u,c as o,l as d,w as c,i as n,an as i,f as m,g as v,h as _,e as p,j as g,t as f,y as h,d as A,k as C,F as k,n as V,u as y}from"./index-D8Hpg5b6.js";import{_ as j}from"./z-paging.DFXUaE7G.js";import{n as x}from"./navBarSearch.B81xSk2I.js";import{a as D}from"./api.BjOSs1ct.js";import{d as O}from"./dayjs.min.CnReiPXs.js";import{n as w}from"./navTo.C-CbJiNv.js";import"./headImg.D8PzAUux.js";import"./navbg.DtxIXihV.js";const I=a({__name:"certList",setup(a){const I=e(null),z=e(!1),B=e([]),J=e(0);e("");const M=e(""),Q=e(0);e("");const b=e(""),E=l({}),F=e("肝胆相照临床病例库收录证书"),K=a=>O(a).format("YYYY-MM-DD"),N=e([{name:"文章病例库"},{name:"视频病例库"}]),S=a=>{Q.value=a.index,I.value.reload()};t((a=>{a.keyWord&&(M.value=a.keyWord),a.doctor_id&&(b.value=a.doctor_id);let e=s("userInfo");e.user_name&&(F.value=e.user_name+"临床病例库收录证书")})),r((()=>{var a;null==(a=I.value)||a.refresh()}));const T=a=>{M.value=a,z.value=!0,I.value.reload()},U=(a,e)=>{console.log(666666);const l={page:a,page_size:e};0==Q.value?(a=>{let e={keyword:M.value,doctor_id:b.value};z.value&&(K.is_need_num=1),D.searchArticle({...e,...a}).then((a=>{I.value.complete(a.data.data.data),J.value=a.data.data.total,E.search_article_num=a.data.data.search_article_num,E.search_video_num=a.data.data.search_video_num})).catch((a=>{I.value.complete(!1)}))})(l):(async a=>{let e={keyword:M.value,doctor_id:b.value};D.searchVideo({...e,...a}).then((a=>{I.value.complete(a.data.data.data),J.value=a.data.data.total,E.search_article_num=a.data.data.search_article_num,E.search_video_num=a.data.data.search_video_num})).catch((a=>{I.value.complete(!1)}))})(l)};return(a,e)=>{const l=V,t=n,s=u(o("up-tabs"),i),r=u(o("up--image"),m),D=u(o("up-icon"),v),O=u(o("z-paging"),j);return _(),d(t,{class:"u-page"},{default:c((()=>[p(O,{ref_key:"paging",ref:I,"inside-more":"","loading-more-no-more-text":"咱也是有底线的!","auto-show-back-to-top":!0,modelValue:B.value,"onUpdate:modelValue":e[0]||(e[0]=a=>B.value=a),onQuery:U},{top:c((()=>[p(x,{searchWord:M.value,navName:F.value,onChangeWord:T,type:"cert"},null,8,["searchWord","navName"]),z.value?(_(),d(t,{key:0,class:"detail"},{default:c((()=>[0==Q.value?(_(),d(t,{key:0,class:"desc"},{default:c((()=>[g("检索到:"),p(l,{class:"red"},{default:c((()=>[g(f(J.value)+"篇文章",1)])),_:1})])),_:1})):h("",!0),1==Q.value?(_(),d(t,{key:1,class:"desc"},{default:c((()=>[g("检索到:"),p(l,{class:"red"},{default:c((()=>[g(f(J.value)+"个视频",1)])),_:1})])),_:1})):h("",!0),M.value?(_(),d(t,{key:2,class:"desc"},{default:c((()=>[g("检索词:"),p(l,{class:"red"},{default:c((()=>[g(f(M.value),1)])),_:1})])),_:1})):h("",!0)])),_:1})):h("",!0),p(t,{class:"tabcon"},{default:c((()=>[p(s,{activeStyle:{color:"#3CC7C0"},inactiveStyle:{color:"#4B5563"},lineColor:"#3CC7C0",lineWidth:"155rpx",lineHeight:"2",list:N.value,onClick:S},null,8,["list"])])),_:1})])),default:c((()=>[(_(!0),A(k,null,C(B.value,((a,e)=>(_(),d(t,{class:"item",key:e,onClick:e=>{return l=a.cert_image,void w({url:`/pages/certImg/certImg?src=${l}`});var l}},{default:c((()=>[p(t,{class:"title ellipsis-two-lines"},{default:c((()=>[g(f(0==Q.value?a.article_title:a.video_title),1)])),_:2},1024),p(t,{class:"deal"},{default:c((()=>[p(t,{class:"left"},{default:c((()=>[p(t,{class:"recored"},{default:c((()=>[p(r,{src:y("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACcAAAAnCAYAAACMo1E1AAAAAXNSR0IArs4c6QAAAlhJREFUWEftmMFrE0EUxr9vsi1pQfCgiGhPFQTxVjHdZGN3QcRTQRTpsTeV/gd614MHb0q9lB5FFD206qFZ2uwmOehRENFD8Q+wN21D9kmqpRGT3c3sbgzavc57M7/55s3bN48Y4o9DzIZ/A8523fzOodET/L5thKlNCZrfxj5/eXfuRjPpqUQqZ7uu0RzjXQgXCBmPtaDIFsl7VdO+D0Bi+XQxioQr1dxHJG/qLCDkol+4cAukFmAoXKHhnjSEmwSUDlzbJwlgKJxVcy+DfKULtuenCxgKV6qvzxLyMimcroIDg9MBHChcv4ADh/sVIg89016ICpe/BYeWkiv1gvMiNKGHDaZ5If5Yh3jqTdvXhxMO8DzTLg8pnPie6Vj/FdxSQLVCkdhVByWYgOIdCI7vK5W2ciJrXtG5GJUCuo0XG+uXlMibzOB2/5HTM1oVStFfm1Qq9ykzOABfJWeU/fPW+37Um3q7OJJvnn5MYD5LuHbp2AKwCcSPOSgeg+Dw7xtKO+b6kSvS9gAuUqIeBmkrJ7LdAuZ2Rj+u9PO6apf7I8IlAB1pKGU4gSz7ptNx4+KrVm5snBEJOm55+nDPfNO5Fh9p39KqVgowVCOzVCJAQMjtIEB/v68cJ0T4gMTZzOB0FOvtk/hYK7OESuX11QUyWT1n1SsFoDNO0tNOgOe+aV/Vrud2+yR5fiAwmR7Wz5kEMuebzhNtuLajVa1MwVCvARxJETD562sPpryxejQwxucJnAIQ2gLruYF2M4fYClpYrZVmKnE2GtllijNJVjYHcLrKDrVyPwCuPTw3CmIhlQAAAABJRU5ErkJggg=="),width:"39rpx",height:"39rpx"},null,8,["src"]),g(" 收录证书 ")])),_:1})])),_:1}),p(t,{class:"time"},{default:c((()=>[p(D,{name:"clock",color:"#6B7280",size:"28rpx"}),p(t,{class:"num"},{default:c((()=>[g(f(K(a.push_date)),1)])),_:2},1024)])),_:2},1024)])),_:2},1024)])),_:2},1032,["onClick"])))),128))])),_:1},8,["modelValue"])])),_:1})}}},[["__scopeId","data-v-b9efb59e"]]);export{I as default};
|
||||
1
unpackage/dist/build/web/assets/pages-detail-detail.BxYEJZmH.js
vendored
Normal file
1
unpackage/dist/build/web/assets/pages-detail-detail.BxYEJZmH.js
vendored
Normal file
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
unpackage/dist/build/web/assets/pages-login-login.BBKJwiXY.js
vendored
Normal file
1
unpackage/dist/build/web/assets/pages-login-login.BBKJwiXY.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{_ as a,r as e,a as l,B as t,o,b as s,c as u,l as d,w as n,i as r,a7 as c,a8 as v,g as i,h as m,e as p,j as _,t as f,y as g,d as y,k as h,F as k,n as b}from"./index-zgq9IeTG.js";import{_ as j}from"./z-paging.DB_RHdMe.js";import{n as w}from"./navBarSearch.CZMJfpMc.js";import{a as x}from"./api.8pavSZE_.js";import{d as V}from"./dayjs.min.BsFX_IkJ.js";import{n as z}from"./navTo.BLoPg89x.js";import"./headImg.D8PzAUux.js";import"./navbg.DtxIXihV.js";const C=a({__name:"myCollect",setup(a){const C=e(null),B=e(null),W=e([]),M=e(0);e("");const Y=e("");e(!0);const D=e(!1),U=e("肝胆相照临床病例库"),I=e(0),N=e(1),R=e("文章病例库"),$=e([{label:"收藏",value:0},{label:"浏览",value:1}]),q=e([{label:"文章病例库",value:1},{label:"视频病例库",value:2},{label:"病例交流",value:3}]);l({read_num:"",push_date:""}),t((a=>{a.keyWord&&(Y.value=a.keyWord)})),o((()=>{var a;null==(a=C.value)||a.refresh()}));const F=a=>{I.value=a,C.value.reload()},Q=a=>{N.value=a,R.value=q.value[a-1].label,C.value.reload()},S=a=>{D.value=!0,Y.value=a,C.value.reload()},T=(a,e)=>{const l={page:a,page_size:e};1==I.value?(async a=>{let e={keyword:Y.value,type:N.value};x.getMyRead({...e,...a}).then((a=>{C.value.complete(a.data.data.data),M.value=a.data.data.total})).catch((a=>{C.value.complete(!1)}))})(l):(a=>{let e={keyword:Y.value,type:N.value};x.getMyCollect({...e,...a}).then((a=>{C.value.complete(a.data.data.data),M.value=a.data.data.total})).catch((a=>{C.value.complete(!1)}))})(l)};return(a,e)=>{const l=b,t=r,o=s(u("up-dropdown-item"),c),x=s(u("up-dropdown"),v),A=s(u("up-icon"),i),E=s(u("z-paging"),j);return m(),d(t,{class:"u-page"},{default:n((()=>[p(E,{ref_key:"paging",ref:C,"inside-more":"","loading-more-no-more-text":"咱也是有底线的!","auto-show-back-to-top":!0,modelValue:W.value,"onUpdate:modelValue":e[2]||(e[2]=a=>W.value=a),onQuery:T},{top:n((()=>[p(w,{searchWord:Y.value,navName:U.value,onChangeWord:S},null,8,["searchWord","navName"]),D.value?(m(),d(t,{key:0,class:"detail"},{default:n((()=>[p(t,{class:"desc"},{default:n((()=>[_("检索到:"),p(l,{class:"red"},{default:n((()=>[_(f(M.value)+"篇",1)])),_:1})])),_:1}),Y.value?(m(),d(t,{key:0,class:"desc"},{default:n((()=>[_("检索词:"),p(l,{class:"red"},{default:n((()=>[_(f(Y.value),1)])),_:1})])),_:1})):g("",!0)])),_:1})):g("",!0),p(t,{class:"filterbox"},{default:n((()=>[p(x,{class:"u-dropdown",ref_key:"uDropdownRef",ref:B},{default:n((()=>[p(o,{modelValue:I.value,"onUpdate:modelValue":e[0]||(e[0]=a=>I.value=a),title:0==I.value?"收藏":"浏览",onChange:F,options:$.value},null,8,["modelValue","title","options"]),p(o,{modelValue:N.value,"onUpdate:modelValue":e[1]||(e[1]=a=>N.value=a),title:R.value,onChange:Q,options:q.value},null,8,["modelValue","title","options"])])),_:1},512)])),_:1})])),default:n((()=>[(m(!0),y(k,null,h(W.value,((a,e)=>(m(),d(t,{class:"item",onClick:e=>(a=>{console.log(I.value),console.log(a);let e="article";1==N.value?e="article":2==N.value?e="video":3==N.value&&(e="exchange"),z({url:`/pages/detail/detail?id=${a}&type=${e}`})})(a.data.id),key:a.collect_id},{default:n((()=>[p(t,{class:"title ellipsis-two-lines"},{default:n((()=>[_(f(a.data.title),1)])),_:2},1024),p(t,{class:"tagsbox"},{default:n((()=>[(m(!0),y(k,null,h(a.data.author,(a=>(m(),d(t,{class:"tag",key:a.author_id},{default:n((()=>[_(f(a.doctor_name),1)])),_:2},1024)))),128))])),_:2},1024),p(t,{class:"deal"},{default:n((()=>[p(t,{class:"left"},{default:n((()=>[p(t,{class:"eyebox"},{default:n((()=>[p(A,{name:"eye",color:"#6B7280",size:"28rpx"}),p(t,{class:"num"},{default:n((()=>[_(f(a.data.read_num),1)])),_:2},1024)])),_:2},1024),p(t,{class:"collect"},{default:n((()=>[p(A,{name:"heart",color:"#6B7280",size:"28rpx"}),p(t,{class:"num"},{default:n((()=>[_(f(a.data.collect_num),1)])),_:2},1024)])),_:2},1024)])),_:2},1024),p(t,{class:"time"},{default:n((()=>[p(A,{name:"clock",color:"#6B7280",size:"28rpx"}),p(t,{class:"num"},{default:n((()=>{return[_(f((e=a.data.push_date,V(e).format("YYYY-MM-DD"))),1)];var e})),_:2},1024)])),_:2},1024)])),_:2},1024)])),_:2},1032,["onClick"])))),128))])),_:1},8,["modelValue"])])),_:1})}}},[["__scopeId","data-v-8d6e05c0"]]);export{C as default};
|
||||
import{_ as a,r as e,a as l,B as t,o,b as s,c as u,l as d,w as n,i as r,a7 as c,a8 as v,g as i,h as m,e as p,j as _,t as f,y as g,d as y,k as h,F as k,n as b}from"./index-D8Hpg5b6.js";import{_ as j}from"./z-paging.DFXUaE7G.js";import{n as w}from"./navBarSearch.B81xSk2I.js";import{a as x}from"./api.BjOSs1ct.js";import{d as V}from"./dayjs.min.CnReiPXs.js";import{n as z}from"./navTo.C-CbJiNv.js";import"./headImg.D8PzAUux.js";import"./navbg.DtxIXihV.js";const C=a({__name:"myCollect",setup(a){const C=e(null),B=e(null),W=e([]),M=e(0);e("");const Y=e("");e(!0);const D=e(!1),U=e("肝胆相照临床病例库"),I=e(0),N=e(1),R=e("文章病例库"),$=e([{label:"收藏",value:0},{label:"浏览",value:1}]),q=e([{label:"文章病例库",value:1},{label:"视频病例库",value:2},{label:"病例交流",value:3}]);l({read_num:"",push_date:""}),t((a=>{a.keyWord&&(Y.value=a.keyWord)})),o((()=>{var a;null==(a=C.value)||a.refresh()}));const F=a=>{I.value=a,C.value.reload()},Q=a=>{N.value=a,R.value=q.value[a-1].label,C.value.reload()},S=a=>{D.value=!0,Y.value=a,C.value.reload()},T=(a,e)=>{const l={page:a,page_size:e};1==I.value?(async a=>{let e={keyword:Y.value,type:N.value};x.getMyRead({...e,...a}).then((a=>{C.value.complete(a.data.data.data),M.value=a.data.data.total})).catch((a=>{C.value.complete(!1)}))})(l):(a=>{let e={keyword:Y.value,type:N.value};x.getMyCollect({...e,...a}).then((a=>{C.value.complete(a.data.data.data),M.value=a.data.data.total})).catch((a=>{C.value.complete(!1)}))})(l)};return(a,e)=>{const l=b,t=r,o=s(u("up-dropdown-item"),c),x=s(u("up-dropdown"),v),A=s(u("up-icon"),i),E=s(u("z-paging"),j);return m(),d(t,{class:"u-page"},{default:n((()=>[p(E,{ref_key:"paging",ref:C,"inside-more":"","loading-more-no-more-text":"咱也是有底线的!","auto-show-back-to-top":!0,modelValue:W.value,"onUpdate:modelValue":e[2]||(e[2]=a=>W.value=a),onQuery:T},{top:n((()=>[p(w,{searchWord:Y.value,navName:U.value,onChangeWord:S},null,8,["searchWord","navName"]),D.value?(m(),d(t,{key:0,class:"detail"},{default:n((()=>[p(t,{class:"desc"},{default:n((()=>[_("检索到:"),p(l,{class:"red"},{default:n((()=>[_(f(M.value)+"篇",1)])),_:1})])),_:1}),Y.value?(m(),d(t,{key:0,class:"desc"},{default:n((()=>[_("检索词:"),p(l,{class:"red"},{default:n((()=>[_(f(Y.value),1)])),_:1})])),_:1})):g("",!0)])),_:1})):g("",!0),p(t,{class:"filterbox"},{default:n((()=>[p(x,{class:"u-dropdown",ref_key:"uDropdownRef",ref:B},{default:n((()=>[p(o,{modelValue:I.value,"onUpdate:modelValue":e[0]||(e[0]=a=>I.value=a),title:0==I.value?"收藏":"浏览",onChange:F,options:$.value},null,8,["modelValue","title","options"]),p(o,{modelValue:N.value,"onUpdate:modelValue":e[1]||(e[1]=a=>N.value=a),title:R.value,onChange:Q,options:q.value},null,8,["modelValue","title","options"])])),_:1},512)])),_:1})])),default:n((()=>[(m(!0),y(k,null,h(W.value,((a,e)=>(m(),d(t,{class:"item",onClick:e=>(a=>{console.log(I.value),console.log(a);let e="article";1==N.value?e="article":2==N.value?e="video":3==N.value&&(e="exchange"),z({url:`/pages/detail/detail?id=${a}&type=${e}`})})(a.data.id),key:a.collect_id},{default:n((()=>[p(t,{class:"title ellipsis-two-lines"},{default:n((()=>[_(f(a.data.title),1)])),_:2},1024),p(t,{class:"tagsbox"},{default:n((()=>[(m(!0),y(k,null,h(a.data.author,(a=>(m(),d(t,{class:"tag",key:a.author_id},{default:n((()=>[_(f(a.doctor_name),1)])),_:2},1024)))),128))])),_:2},1024),p(t,{class:"deal"},{default:n((()=>[p(t,{class:"left"},{default:n((()=>[p(t,{class:"eyebox"},{default:n((()=>[p(A,{name:"eye",color:"#6B7280",size:"28rpx"}),p(t,{class:"num"},{default:n((()=>[_(f(a.data.read_num),1)])),_:2},1024)])),_:2},1024),p(t,{class:"collect"},{default:n((()=>[p(A,{name:"heart",color:"#6B7280",size:"28rpx"}),p(t,{class:"num"},{default:n((()=>[_(f(a.data.collect_num),1)])),_:2},1024)])),_:2},1024)])),_:2},1024),p(t,{class:"time"},{default:n((()=>[p(A,{name:"clock",color:"#6B7280",size:"28rpx"}),p(t,{class:"num"},{default:n((()=>{return[_(f((e=a.data.push_date,V(e).format("YYYY-MM-DD"))),1)];var e})),_:2},1024)])),_:2},1024)])),_:2},1024)])),_:2},1032,["onClick"])))),128))])),_:1},8,["modelValue"])])),_:1})}}},[["__scopeId","data-v-8d6e05c0"]]);export{C as default};
|
||||
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/web/assets/pages-myJoin-myJoin.ITHu31dV.js
vendored
Normal file
1
unpackage/dist/build/web/assets/pages-myJoin-myJoin.ITHu31dV.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/web/assets/pages-publish-publish.BoEtCjIA.js
vendored
Normal file
1
unpackage/dist/build/web/assets/pages-publish-publish.BoEtCjIA.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/web/assets/pages-register-register.DCsqVH5T.js
vendored
Normal file
1
unpackage/dist/build/web/assets/pages-register-register.DCsqVH5T.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
import{_ as e,r as t,a as o,B as s,l as a,w as r,i as n,h as c,e as i,au as p}from"./index-D8Hpg5b6.js";const l=e({__name:"register",setup(e){const l=t("https://dev-wx.igandan.com/hcp/toRegister?fromType=wx");return o({name:""}),t(!1),t(!0),o({height:"90rpx",fontSize:"36rpx"}),o({color:"#3ec7c0",height:"64rpx",fontSize:"28rpx",borderColor:"#e2e2e2",opcity:"1"}),t(""),t(10),t(null),s((()=>{const{envVersion:e}=uni.getAccountInfoSync().miniProgram;options.src?l.value=options.src:l.value="release"==e?"https://wx.igandan.com/hcp/toRegister?fromType=weChat":"https://dev-wx.igandan.com/hcp/toRegister?fromType=weChat"})),(e,t)=>{const o=p,s=n;return c(),a(s,{class:"logincontent"},{default:r((()=>[i(o,{src:l.value},null,8,["src"])])),_:1})}}},[["__scopeId","data-v-679f11d5"]]);export{l as default};
|
||||
@ -1 +0,0 @@
|
||||
import{_ as e,r as t,a as o,B as a,l as s,w as n,i as r,h as c,e as i,au as p}from"./index-zgq9IeTG.js";const l=e({__name:"register",setup(e){const l=t("https://dev-wx.igandan.com/hcp/toRegister?fromType=wx");return o({name:""}),t(!1),t(!0),o({height:"90rpx",fontSize:"36rpx"}),o({color:"#3ec7c0",height:"64rpx",fontSize:"28rpx",borderColor:"#e2e2e2",opcity:"1"}),t(""),t(10),t(null),a((()=>{const{envVersion:e}=uni.getAccountInfoSync().miniProgram;console.log(e),l.value="release"==e?"https://wx.igandan.com/hcp/toRegister?fromType=weChat":"https://dev-wx.igandan.com/hcp/toRegister?fromType=weChat"})),(e,t)=>{const o=p,a=r;return c(),s(a,{class:"logincontent"},{default:n((()=>[i(o,{src:l.value},null,8,["src"])])),_:1})}}},[["__scopeId","data-v-9c6f31d6"]]);export{l as default};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{_ as a,r as e,a as l,B as t,o as s,b as u,c as d,l as o,w as r,X as n,i as c,Y as m,a7 as i,a8 as _,f as p,h as v,e as f,d as b,k as h,F as g,G as j,j as w,t as k,u as y}from"./index-zgq9IeTG.js";import{_ as C}from"./z-paging.DB_RHdMe.js";import{n as x}from"./navBarSearch.CZMJfpMc.js";import{a as V}from"./api.8pavSZE_.js";import{d as Y}from"./dayjs.min.BsFX_IkJ.js";import{n as z}from"./navTo.BLoPg89x.js";import{a as D}from"./arrowright.BzSXc355.js";import"./headImg.D8PzAUux.js";import"./navbg.DtxIXihV.js";const W=a({__name:"sickList",setup(a){const W=e(null),B=e(null),I=e([]),L=e(0);e("");const M=e("");e(!0);const N=e("doctor"),S=e("更新时间"),U=e("疾病临床病例库"),$=e("1"),q=e([{label:"更新时间",value:"1"},{label:"疾病名称",value:"2"},{label:"病例数",value:"3"}]),A=l({updated_at:"desc"});t((a=>{"hospital"==a.type&&(N.value="hospital"),M.value=a.name,a.name&&(U.value=a.name+"临床病例库"),(a.name="医生")&&!a.id&&(M.value=""),"new"==a.order&&(A.push_date="asc"),"read"==a.order&&(A.article_num="desc")})),s((()=>{var a;null==(a=W.value)||a.refresh()}));const F=a=>{1==a?(A.updated_at="desc",A.label_name="",A.article_num="",S.value="更新时间"):2==a?(A.updated_at="",A.label_name="asc",A.article_num="",S.value="疾病名称"):3==a&&(A.updated_at="",A.label_name="",A.article_num="desc",S.value="病例数"),$.value=a,B.value.close(),W.value.reload()},G=(a,e)=>{(async a=>{let e={label_name:M.value};A.article_num||delete A.article_num,A.updated_at||delete A.updated_at,A.label_name||delete A.label_name,(A.article_num||A.updated_at||A.label_name)&&(e.order=A),V.getSearchLabel({...e,...a}).then((a=>{W.value.complete(a.data.data.data),L.value=a.data.data.total})).catch((a=>{W.value.complete(!1)}))})({page:a,page_size:e})},P=a=>{U.value="疾病临床病例库",M.value=a,I.value=[],A.updated_at="desc",A.article_num="",A.label_name="",W.value.reload()};return(a,e)=>{const l=u(d("up-radio"),n),t=c,s=u(d("up-radio-group"),m),V=u(d("up-dropdown-item"),i),L=u(d("up-dropdown"),_),N=u(d("up--image"),p),A=u(d("z-paging"),C);return v(),o(t,{class:"u-page"},{default:r((()=>[f(A,{ref_key:"paging",ref:W,"inside-more":"","loading-more-no-more-text":"咱也是有底线的!","auto-show-back-to-top":!0,modelValue:I.value,"onUpdate:modelValue":e[1]||(e[1]=a=>I.value=a),onQuery:G},{top:r((()=>[f(x,{searchWord:M.value,navName:U.value,type:"case",onChangeWord:P},null,8,["searchWord","navName"]),f(t,{class:"filterbox"},{default:r((()=>[f(L,{class:"u-dropdown",ref_key:"uDropdownRef",ref:B},{default:r((()=>[f(V,{title:S.value},{default:r((()=>[f(t,{class:"dropcontent"},{default:r((()=>[f(s,{onChange:F,modelValue:$.value,"onUpdate:modelValue":e[0]||(e[0]=a=>$.value=a),iconPlacement:"right",placement:"column"},{default:r((()=>[(v(!0),b(g,null,h(q.value,(a=>(v(),o(t,{class:j(["column",[$.value==a.value?"active":""]]),key:a.value},{default:r((()=>[f(l,{activeColor:"#3CC7C0",label:a.label,name:a.value},null,8,["label","name"])])),_:2},1032,["class"])))),128))])),_:1},8,["modelValue"])])),_:1})])),_:1},8,["title"])])),_:1},512)])),_:1})])),default:r((()=>[f(t,{class:"listbox"},{default:r((()=>[(v(!0),b(g,null,h(I.value,((a,e)=>(v(),o(t,{class:"item",key:e,onClick:e=>{return l=a.label_iden,t=a.label_name,void z({url:`/pages/search/search?case_id=${l}&case_name=${t}`});var l,t}},{default:r((()=>[f(t,{class:"title ellipsis"},{default:r((()=>[w(k(a.label_name),1)])),_:2},1024),f(t,{class:"deal"},{default:r((()=>[f(t,{class:"left"},{default:r((()=>[f(t,{class:"count"},{default:r((()=>[w(" 病例数:"+k(a.video_num+a.article_num),1),f(N,{src:y(D),width:"32rpx",height:"32rpx"},null,8,["src"])])),_:2},1024)])),_:2},1024),f(t,{class:"time"},{default:r((()=>[f(t,{class:"num"},{default:r((()=>{return[w("更新时间:"+k((e=a.last_push_date,Y(e).format("YYYY-MM-DD"))),1)];var e})),_:2},1024)])),_:2},1024)])),_:2},1024)])),_:2},1032,["onClick"])))),128))])),_:1})])),_:1},8,["modelValue"])])),_:1})}}},[["__scopeId","data-v-e040919e"]]);export{W as default};
|
||||
import{_ as a,r as e,a as l,B as t,o as s,b as u,c as d,l as o,w as r,X as n,i as c,Y as m,a7 as i,a8 as _,f as p,h as v,e as f,d as b,k as h,F as g,G as j,j as w,t as k,u as y}from"./index-D8Hpg5b6.js";import{_ as C}from"./z-paging.DFXUaE7G.js";import{n as x}from"./navBarSearch.B81xSk2I.js";import{a as V}from"./api.BjOSs1ct.js";import{d as Y}from"./dayjs.min.CnReiPXs.js";import{n as z}from"./navTo.C-CbJiNv.js";import{a as D}from"./arrowright.BzSXc355.js";import"./headImg.D8PzAUux.js";import"./navbg.DtxIXihV.js";const W=a({__name:"sickList",setup(a){const W=e(null),B=e(null),I=e([]),L=e(0);e("");const M=e("");e(!0);const N=e("doctor"),S=e("更新时间"),U=e("疾病临床病例库"),$=e("1"),q=e([{label:"更新时间",value:"1"},{label:"疾病名称",value:"2"},{label:"病例数",value:"3"}]),A=l({updated_at:"desc"});t((a=>{"hospital"==a.type&&(N.value="hospital"),M.value=a.name,a.name&&(U.value=a.name+"临床病例库"),(a.name="医生")&&!a.id&&(M.value=""),"new"==a.order&&(A.push_date="asc"),"read"==a.order&&(A.article_num="desc")})),s((()=>{var a;null==(a=W.value)||a.refresh()}));const F=a=>{1==a?(A.updated_at="desc",A.label_name="",A.article_num="",S.value="更新时间"):2==a?(A.updated_at="",A.label_name="asc",A.article_num="",S.value="疾病名称"):3==a&&(A.updated_at="",A.label_name="",A.article_num="desc",S.value="病例数"),$.value=a,B.value.close(),W.value.reload()},G=(a,e)=>{(async a=>{let e={label_name:M.value};A.article_num||delete A.article_num,A.updated_at||delete A.updated_at,A.label_name||delete A.label_name,(A.article_num||A.updated_at||A.label_name)&&(e.order=A),V.getSearchLabel({...e,...a}).then((a=>{W.value.complete(a.data.data.data),L.value=a.data.data.total})).catch((a=>{W.value.complete(!1)}))})({page:a,page_size:e})},P=a=>{U.value="疾病临床病例库",M.value=a,I.value=[],A.updated_at="desc",A.article_num="",A.label_name="",W.value.reload()};return(a,e)=>{const l=u(d("up-radio"),n),t=c,s=u(d("up-radio-group"),m),V=u(d("up-dropdown-item"),i),L=u(d("up-dropdown"),_),N=u(d("up--image"),p),A=u(d("z-paging"),C);return v(),o(t,{class:"u-page"},{default:r((()=>[f(A,{ref_key:"paging",ref:W,"inside-more":"","loading-more-no-more-text":"咱也是有底线的!","auto-show-back-to-top":!0,modelValue:I.value,"onUpdate:modelValue":e[1]||(e[1]=a=>I.value=a),onQuery:G},{top:r((()=>[f(x,{searchWord:M.value,navName:U.value,type:"case",onChangeWord:P},null,8,["searchWord","navName"]),f(t,{class:"filterbox"},{default:r((()=>[f(L,{class:"u-dropdown",ref_key:"uDropdownRef",ref:B},{default:r((()=>[f(V,{title:S.value},{default:r((()=>[f(t,{class:"dropcontent"},{default:r((()=>[f(s,{onChange:F,modelValue:$.value,"onUpdate:modelValue":e[0]||(e[0]=a=>$.value=a),iconPlacement:"right",placement:"column"},{default:r((()=>[(v(!0),b(g,null,h(q.value,(a=>(v(),o(t,{class:j(["column",[$.value==a.value?"active":""]]),key:a.value},{default:r((()=>[f(l,{activeColor:"#3CC7C0",label:a.label,name:a.value},null,8,["label","name"])])),_:2},1032,["class"])))),128))])),_:1},8,["modelValue"])])),_:1})])),_:1},8,["title"])])),_:1},512)])),_:1})])),default:r((()=>[f(t,{class:"listbox"},{default:r((()=>[(v(!0),b(g,null,h(I.value,((a,e)=>(v(),o(t,{class:"item",key:e,onClick:e=>{return l=a.label_iden,t=a.label_name,void z({url:`/pages/search/search?case_id=${l}&case_name=${t}`});var l,t}},{default:r((()=>[f(t,{class:"title ellipsis"},{default:r((()=>[w(k(a.label_name),1)])),_:2},1024),f(t,{class:"deal"},{default:r((()=>[f(t,{class:"left"},{default:r((()=>[f(t,{class:"count"},{default:r((()=>[w(" 病例数:"+k(a.video_num+a.article_num),1),f(N,{src:y(D),width:"32rpx",height:"32rpx"},null,8,["src"])])),_:2},1024)])),_:2},1024),f(t,{class:"time"},{default:r((()=>[f(t,{class:"num"},{default:r((()=>{return[w("更新时间:"+k((e=a.last_push_date,Y(e).format("YYYY-MM-DD"))),1)];var e})),_:2},1024)])),_:2},1024)])),_:2},1024)])),_:2},1032,["onClick"])))),128))])),_:1})])),_:1},8,["modelValue"])])),_:1})}}},[["__scopeId","data-v-e040919e"]]);export{W as default};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{r as s,B as a,l as r,au as e,h as t}from"./index-zgq9IeTG.js";const n={__name:"web",setup(n){const u=s("");return a((s=>{u.value=s.src})),(s,a)=>{const n=e;return t(),r(n,{src:u.value},null,8,["src"])}}};export{n as default};
|
||||
import{r as s,B as a,l as r,au as e,h as t}from"./index-D8Hpg5b6.js";const n={__name:"web",setup(n){const u=s("");return a((s=>{u.value=s.src})),(s,a)=>{const n=e;return t(),r(n,{src:u.value},null,8,["src"])}}};export{n as default};
|
||||
@ -1 +1 @@
|
||||
import{r as u,B as a,b as s,c as l,l as t,w as i,aQ as p,aR as e,aS as r,aT as m,i as n,h as o,e as g,d as c,k as j,F as h}from"./index-zgq9IeTG.js";const v={__name:"index",setup(v){const w=u([]),y=["https://uview-plus.jiangruyi.com/album/1.jpg","https://uview-plus.jiangruyi.com/album/2.jpg","https://uview-plus.jiangruyi.com/album/3.jpg","https://uview-plus.jiangruyi.com/album/4.jpg","https://uview-plus.jiangruyi.com/album/5.jpg","https://uview-plus.jiangruyi.com/album/6.jpg","https://uview-plus.jiangruyi.com/album/7.jpg","https://uview-plus.jiangruyi.com/album/8.jpg","https://uview-plus.jiangruyi.com/album/9.jpg","https://uview-plus.jiangruyi.com/album/10.jpg"];a((()=>{d()}));const b=()=>{d()},d=()=>{for(let u=0;u<30;u++)w.value.push({url:y[uni.$u.random(0,y.length-1)]})};return(u,a)=>{const v=s(l("up-avatar"),p),y=s(l("up-cell"),e),d=s(l("up-list-item"),r),f=s(l("up-list"),m),x=n;return o(),t(x,{class:"u-page"},{default:i((()=>[g(f,{onScrolltolower:b},{default:i((()=>[(o(!0),c(h,null,j(w.value,((u,a)=>(o(),t(d,{key:a},{default:i((()=>[g(y,{title:`列表长度-${a+1}`},{icon:i((()=>[g(v,{shape:"square",size:"35",src:u.url,customStyle:"margin: -3px 5px -3px 0"},null,8,["src"])])),_:2},1032,["title"])])),_:2},1024)))),128))])),_:1})])),_:1})}}};export{v as default};
|
||||
import{r as u,B as a,b as s,c as l,l as t,w as i,aQ as p,aR as e,aS as r,aT as m,i as n,h as o,e as g,d as c,k as j,F as h}from"./index-D8Hpg5b6.js";const v={__name:"index",setup(v){const w=u([]),y=["https://uview-plus.jiangruyi.com/album/1.jpg","https://uview-plus.jiangruyi.com/album/2.jpg","https://uview-plus.jiangruyi.com/album/3.jpg","https://uview-plus.jiangruyi.com/album/4.jpg","https://uview-plus.jiangruyi.com/album/5.jpg","https://uview-plus.jiangruyi.com/album/6.jpg","https://uview-plus.jiangruyi.com/album/7.jpg","https://uview-plus.jiangruyi.com/album/8.jpg","https://uview-plus.jiangruyi.com/album/9.jpg","https://uview-plus.jiangruyi.com/album/10.jpg"];a((()=>{d()}));const b=()=>{d()},d=()=>{for(let u=0;u<30;u++)w.value.push({url:y[uni.$u.random(0,y.length-1)]})};return(u,a)=>{const v=s(l("up-avatar"),p),y=s(l("up-cell"),e),d=s(l("up-list-item"),r),f=s(l("up-list"),m),x=n;return o(),t(x,{class:"u-page"},{default:i((()=>[g(f,{onScrolltolower:b},{default:i((()=>[(o(!0),c(h,null,j(w.value,((u,a)=>(o(),t(d,{key:a},{default:i((()=>[g(y,{title:`列表长度-${a+1}`},{icon:i((()=>[g(v,{shape:"square",size:"35",src:u.url,customStyle:"margin: -3px 5px -3px 0"},null,8,["src"])])),_:2},1032,["title"])])),_:2},1024)))),128))])),_:1})])),_:1})}}};export{v as default};
|
||||
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
.logincontent[data-v-9c6f31d6]{width:100%;height:100vh;background:#fff}.logincontent .pwdbox[data-v-9c6f31d6] .u-form-item:nth-child(2) .u-form-item__body__left{width:5.625rem!important}.logincontent .smsbox[data-v-9c6f31d6] .u-form-item:first-child .u-form-item__body__left{width:5.625rem!important}.logincontent[data-v-9c6f31d6] .u-form-item__body__left__content__label{font-size:1.0625rem;color:#000}.logincontent .title[data-v-9c6f31d6]{padding:3.875rem 0 2rem .9375rem;font-size:1.4375rem;font-stretch:normal;letter-spacing:.0625rem;color:#000}.logincontent[data-v-9c6f31d6] .u-form{padding:0 .9375rem}.logincontent .row[data-v-9c6f31d6]{margin-top:1.875rem;display:flex;justify-content:space-between;padding:0 .9375rem}.logincontent .row .left[data-v-9c6f31d6]{flex:1;color:#3cc7c0;text-align:left}.logincontent .row .right[data-v-9c6f31d6]{flex:1;color:#666;text-align:right}.logincontent .row[data-v-9c6f31d6] .u-button--large .u-button__text{font-size:1.125rem!important}.logincontent .row .tip[data-v-9c6f31d6]{color:#333;font-size:.8125rem}.logincontent[data-v-9c6f31d6] .wrap{border-radius:.5rem;overflow:hidden;border:none}.logincontent .line[data-v-9c6f31d6]{padding:0 .9375rem;margin-top:.3125rem;color:#999;line-height:1.375rem;font-size:.8125rem;display:flex;letter-spacing:1px}.logincontent .desc[data-v-9c6f31d6]{padding:0 .9375rem;color:#999;line-height:1.375rem;font-size:.8125rem;letter-spacing:.0625rem}.logincontent .desc .red[data-v-9c6f31d6]{color:red}
|
||||
1
unpackage/dist/build/web/assets/register-DKgPae3r.css
vendored
Normal file
1
unpackage/dist/build/web/assets/register-DKgPae3r.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.logincontent[data-v-679f11d5]{width:100%;height:100vh;background:#fff}.logincontent .pwdbox[data-v-679f11d5] .u-form-item:nth-child(2) .u-form-item__body__left{width:5.625rem!important}.logincontent .smsbox[data-v-679f11d5] .u-form-item:first-child .u-form-item__body__left{width:5.625rem!important}.logincontent[data-v-679f11d5] .u-form-item__body__left__content__label{font-size:1.0625rem;color:#000}.logincontent .title[data-v-679f11d5]{padding:3.875rem 0 2rem .9375rem;font-size:1.4375rem;font-stretch:normal;letter-spacing:.0625rem;color:#000}.logincontent[data-v-679f11d5] .u-form{padding:0 .9375rem}.logincontent .row[data-v-679f11d5]{margin-top:1.875rem;display:flex;justify-content:space-between;padding:0 .9375rem}.logincontent .row .left[data-v-679f11d5]{flex:1;color:#3cc7c0;text-align:left}.logincontent .row .right[data-v-679f11d5]{flex:1;color:#666;text-align:right}.logincontent .row[data-v-679f11d5] .u-button--large .u-button__text{font-size:1.125rem!important}.logincontent .row .tip[data-v-679f11d5]{color:#333;font-size:.8125rem}.logincontent[data-v-679f11d5] .wrap{border-radius:.5rem;overflow:hidden;border:none}.logincontent .line[data-v-679f11d5]{padding:0 .9375rem;margin-top:.3125rem;color:#999;line-height:1.375rem;font-size:.8125rem;display:flex;letter-spacing:1px}.logincontent .desc[data-v-679f11d5]{padding:0 .9375rem;color:#999;line-height:1.375rem;font-size:.8125rem;letter-spacing:.0625rem}.logincontent .desc .red[data-v-679f11d5]{color:red}
|
||||
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/web/assets/specialList-CMoE5CXN.css
vendored
Normal file
1
unpackage/dist/build/web/assets/specialList-CMoE5CXN.css
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
import{a as t}from"./index-zgq9IeTG.js";const n=function(t,n=1500){var r=!0;return function(){r&&(t.apply(this,arguments),r=!1,setTimeout((()=>{r=!0}),n))}};let r=null;r=t({curEID:"",formats:{},isReadOnly:!1,firstInstanceFlag:""});const s={state:r,actions:{getEditor:function(t){return r[`${t}-ctx`]},setEditor:function(t,n){r[`${t}-ctx`]=n},getEID:function(){return r.curEID},setEID:function(t){r.curEID=t},getFormats:function(){return r.formats},setFormats:function(t){r.formats=t},getReadOnly:function(){return r.isReadOnly},setReadOnly:function(t){r.isReadOnly=t},destroy:function(){r={},r.curEID="",r.formats={},r.isReadOnly=!1,r.firstInstanceFlag=""}}};export{s as o,n as t};
|
||||
import{a as t}from"./index-D8Hpg5b6.js";const n=function(t,n=1500){var r=!0;return function(){r&&(t.apply(this,arguments),r=!1,setTimeout((()=>{r=!0}),n))}};let r=null;r=t({curEID:"",formats:{},isReadOnly:!1,firstInstanceFlag:""});const s={state:r,actions:{getEditor:function(t){return r[`${t}-ctx`]},setEditor:function(t,n){r[`${t}-ctx`]=n},getEID:function(){return r.curEID},setEID:function(t){r.curEID=t},getFormats:function(){return r.formats},setFormats:function(t){r.formats=t},getReadOnly:function(){return r.isReadOnly},setReadOnly:function(t){r.isReadOnly=t},destroy:function(){r={},r.curEID="",r.formats={},r.isReadOnly=!1,r.firstInstanceFlag=""}}};export{s as o,n as t};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/web/assets/videoList-CoF6_aJk.css
vendored
Normal file
1
unpackage/dist/build/web/assets/videoList-CoF6_aJk.css
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
unpackage/dist/build/web/index.html
vendored
2
unpackage/dist/build/web/index.html
vendored
@ -14,7 +14,7 @@
|
||||
<title>肝胆相照临床病例库</title>
|
||||
<!--preload-links-->
|
||||
<!--app-context-->
|
||||
<script type="module" crossorigin src="/web/assets/index-zgq9IeTG.js"></script>
|
||||
<script type="module" crossorigin src="/web/assets/index-D8Hpg5b6.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/web/assets/index-MsBK_HMS.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
||||
{"version":3,"file":"certImg.js","sources":["pages/certImg/certImg.vue","../../software/HBuilderX.4.23.2024070804/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvY2VydEltZy9jZXJ0SW1nLnZ1ZQ"],"sourcesContent":["<template>\r\n <backNav :navName=\"'病例收录证书'\"></backNav>\r\n <view class=\"imgbox\">\r\n <u--image\r\n :showLoading=\"true\"\r\n :src=\"src\"\r\n width=\"100%\"\r\n mode=\"widthFix\"\r\n ></u--image>\r\n </view>\r\n</template>\r\n\r\n<script setup>\r\nimport { ref } from 'vue';\r\nimport { onLoad } from \"@dcloudio/uni-app\";\r\nimport backNav from \"@/components/backNav/backNav.vue\";\r\nconst src = ref('')\r\nonLoad((options) => {\r\n if(options.src){\r\n src.value = options.src;\r\n }else{\r\n src.value= 'https://cn.bing.com//th?id=OHR.SanMiguelAzores_ZH-CN2511982585_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp';\r\n }\r\n \r\n});\r\n</script>\r\n\r\n<style lang='scss' scoped>\r\n.imgbox{\r\n margin: -30rpx 30rpx 0;\r\n\toverflow-y: scroll;\r\n}\r\n</style>\r\n","import MiniProgramPage from 'D:/GitWorkPlace/caseDataBase/pages/certImg/certImg.vue'\nwx.createPage(MiniProgramPage)"],"names":["ref","onLoad"],"mappings":";;;;;;;;;;AAeA,MAAM,UAAU,MAAW;;;;AAC3B,UAAM,MAAMA,cAAG,IAAC,EAAE;AAClBC,kBAAM,OAAC,CAAC,YAAY;AAChB,UAAG,QAAQ,KAAI;AACX,YAAI,QAAQ,QAAQ;AAAA,MAC5B,OAAS;AACF,YAAI,QAAO;AAAA,MACb;AAAA,IAEL,CAAC;;;;;;;;;;;;;;;;;ACvBD,GAAG,WAAW,eAAe;"}
|
||||
{"version":3,"file":"certImg.js","sources":["pages/certImg/certImg.vue","../../software/HBuilderX.4.23.2024070804/HBuilderX/plugins/uniapp-cli-vite/uniPage:/cGFnZXMvY2VydEltZy9jZXJ0SW1nLnZ1ZQ"],"sourcesContent":["<template>\r\n <backNav :navName=\"'病例收录证书'\"></backNav>\r\n <view class=\"imgbox\">\r\n <view class=\"box\">\r\n\t\t\t <u--image\r\n\t\t\t :showLoading=\"true\"\r\n\t\t\t :src=\"src\"\r\n\t\t\t width=\"100%\"\r\n\t\t\t mode=\"widthFix\"\r\n\t\t\t ></u--image>\r\n\t\t </view>\r\n </view>\r\n</template>\r\n\r\n<script setup>\r\nimport { ref } from 'vue';\r\nimport { onLoad } from \"@dcloudio/uni-app\";\r\nimport backNav from \"@/components/backNav/backNav.vue\";\r\nconst src = ref('')\r\nonLoad((options) => {\r\n if(options.src){\r\n src.value = options.src;\r\n }else{\r\n src.value= 'https://cn.bing.com//th?id=OHR.SanMiguelAzores_ZH-CN2511982585_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp';\r\n }\r\n \r\n});\r\n</script>\r\n\r\n<style lang='scss' scoped>\r\n.imgbox{\r\n margin: -30rpx 30rpx 0;\r\n\toverflow-y: scroll;\r\n\tdisplay: flex;\r\n\talign-items: center;\r\n\t flex-direction:column;\r\n\tjustify-content: center;\r\n\tmin-height:calc(100vh - 200rpx);\r\n\t.box{\r\n\t\twidth:100%;\r\n\t\theight:100%;\r\n\t}\r\n}\r\n</style>\r\n","import MiniProgramPage from 'D:/GitWorkPlace/caseDataBase/pages/certImg/certImg.vue'\nwx.createPage(MiniProgramPage)"],"names":["ref","onLoad"],"mappings":";;;;;;;;;;AAiBA,MAAM,UAAU,MAAW;;;;AAC3B,UAAM,MAAMA,cAAG,IAAC,EAAE;AAClBC,kBAAM,OAAC,CAAC,YAAY;AAChB,UAAG,QAAQ,KAAI;AACX,YAAI,QAAQ,QAAQ;AAAA,MAC5B,OAAS;AACF,YAAI,QAAO;AAAA,MACb;AAAA,IAEL,CAAC;;;;;;;;;;;;;;;;;ACzBD,GAAG,WAAW,eAAe;"}
|
||||
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
File diff suppressed because one or more lines are too long
2
unpackage/dist/dev/mp-weixin/app.json
vendored
2
unpackage/dist/dev/mp-weixin/app.json
vendored
@ -36,7 +36,7 @@
|
||||
},
|
||||
"plugins": {
|
||||
"polyv-player": {
|
||||
"version": "1.9.0",
|
||||
"version": "1.9.1",
|
||||
"provider": "wx4a350a258a6f7876"
|
||||
}
|
||||
},
|
||||
|
||||
@ -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();
|
||||
|
||||
@ -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 @@
|
||||
<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%;
|
||||
}
|
||||
387
unpackage/dist/dev/mp-weixin/pages/detail/detail.js
vendored
387
unpackage/dist/dev/mp-weixin/pages/detail/detail.js
vendored
@ -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
@ -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;
|
||||
|
||||
@ -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({
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -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
unpackage/dist/dev/mp-weixin/utils/request.js
vendored
20
unpackage/dist/dev/mp-weixin/utils/request.js
vendored
@ -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"];
|
||||
|
||||
@ -14,6 +14,7 @@ import pageUrl from './pageUrl'
|
||||
// #ifdef H5
|
||||
import api from '../api/api.js'
|
||||
import cookie from './cookie.js'
|
||||
import navTo from "./navTo.js";
|
||||
// #endif
|
||||
//const BASE_URL=host+"/api"
|
||||
export const request = (url, data = {}, method = 'post', loading = false, contentType = 'application/x-www-form-urlencoded') => {
|
||||
@ -103,6 +104,29 @@ export const request = (url, data = {}, method = 'post', loading = false, conten
|
||||
}
|
||||
})
|
||||
n(res)
|
||||
}else if(res.data.code==10007){
|
||||
uni.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){
|
||||
uni.showToast({
|
||||
title: "待审核",
|
||||
icon: 'none',
|
||||
|
||||
})
|
||||
n(res)
|
||||
}else if (res.data.code == 401 || res.data.code == 403 || res.data.code == 405 || res.data.code == 406) {
|
||||
if(process.env.UNI_PLATFORM =="h5"){
|
||||
let video_token = cookie.readCookie('video_token');
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user