Compare commits
No commits in common. "e40f72db164387df873c999df2bf820e10621828" and "89336f5621714b6b32534105654ff3b05e13d540" have entirely different histories.
e40f72db16
...
89336f5621
@ -117,7 +117,7 @@ const api = {
|
|||||||
return request('/exchange/collect/'+id, {}, 'delete',false);
|
return request('/exchange/collect/'+id, {}, 'delete',false);
|
||||||
},
|
},
|
||||||
addExchangeComment(id,data){
|
addExchangeComment(id,data){
|
||||||
return request('/exchange/comment/'+id, data, 'post',true,'application/json');
|
return request('/exchange/comment/'+id, data, 'post',true);
|
||||||
},
|
},
|
||||||
delExchangeComment(id){
|
delExchangeComment(id){
|
||||||
return request('/exchange/comment/'+id, {}, 'delete',false);
|
return request('/exchange/comment/'+id, {}, 'delete',false);
|
||||||
|
|||||||
@ -59,18 +59,10 @@ const goBack = () => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const goHome=()=>{
|
const goHome=()=>{
|
||||||
console.log(props.navName);
|
uni.reLaunch({
|
||||||
if(props.navName=="肝胆相照病例交流园地"){
|
url:'/pages/index/index'
|
||||||
uni.reLaunch({
|
})
|
||||||
url:'/pages/caseTalk/caseTalk'
|
};
|
||||||
})
|
|
||||||
}else{
|
|
||||||
uni.reLaunch({
|
|
||||||
url:'/pages/index/index'
|
|
||||||
})
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
|
||||||
const goMy=()=>{
|
const goMy=()=>{
|
||||||
navTo({
|
navTo({
|
||||||
url:'/pages/my/my'
|
url:'/pages/my/my'
|
||||||
|
|||||||
@ -11,14 +11,16 @@
|
|||||||
@query="queryList"
|
@query="queryList"
|
||||||
>
|
>
|
||||||
<template #top>
|
<template #top>
|
||||||
<backDetailNav :navName="type=='exchange'?'肝胆相照病例交流园地':'肝胆相照临床病例库'"></backDetailNav>
|
<backDetailNav :navName="'肝胆相照临床病例库'"></backDetailNav>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
<template #bottom>
|
<template #bottom>
|
||||||
<view class="bottom">
|
<view class="bottom">
|
||||||
<view class="iptbox" @click="open">
|
<view class="iptbox" @click="open">
|
||||||
<up--image
|
<up--image
|
||||||
|
|
||||||
:src="chatImg"
|
:src="chatImg"
|
||||||
|
|
||||||
width="46rpx"
|
width="46rpx"
|
||||||
height="46rpx"
|
height="46rpx"
|
||||||
radius="50%"
|
radius="50%"
|
||||||
@ -1343,7 +1345,7 @@ const collectVideo = (id) => {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const collectExchange = (id) => {
|
const collectExchange = (id) => {
|
||||||
api.exchangeCollect(id).then((res) => {
|
api.collectExchange(id).then((res) => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
icon: "none",
|
icon: "none",
|
||||||
title: "收藏成功",
|
title: "收藏成功",
|
||||||
|
|||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="databox" v-if="numInfo.article_num+numInfo.video_num>=5">
|
<view class="databox">
|
||||||
<view class="cell">
|
<view class="cell">
|
||||||
<view class="num">{{ numInfo.article_num }}</view>
|
<view class="num">{{ numInfo.article_num }}</view>
|
||||||
<view class="name">文章</view>
|
<view class="name">文章</view>
|
||||||
@ -45,7 +45,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<u-icon name="arrow-right" color="#9CA3AF" size="18"></u-icon>
|
<u-icon name="arrow-right" color="#9CA3AF" size="18"></u-icon>
|
||||||
</view>
|
</view>
|
||||||
<view class="cell" @click="goCert" v-if="numInfo.article_num+numInfo.video_num>=5">
|
<view class="cell" @click="goCert">
|
||||||
<view class="left">
|
<view class="left">
|
||||||
<up--image
|
<up--image
|
||||||
:src="myDownload"
|
:src="myDownload"
|
||||||
|
|||||||
@ -34,8 +34,8 @@
|
|||||||
|
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<view class="item" v-for="(item, index) in dataList" @click="goDetail(item.data.id)" :key="item.collect_id">
|
<view class="item" v-for="(item, index) in dataList" @click="goDetail()" :key="item.collect_id">
|
||||||
<view class="title ellipsis-two-lines">{{item.data.title}}</view>
|
<view class="title ellipsis">{{item.data.title}}</view>
|
||||||
<view class="tagsbox">
|
<view class="tagsbox">
|
||||||
<view class="tag" v-for="tag in item.data.author" :key="tag.author_id">{{ tag.doctor_name }}</view>
|
<view class="tag" v-for="tag in item.data.author" :key="tag.author_id">{{ tag.doctor_name }}</view>
|
||||||
</view>
|
</view>
|
||||||
@ -132,16 +132,9 @@ const formatdate=(date)=>{
|
|||||||
return dayjs(date).format('YYYY-MM-DD')
|
return dayjs(date).format('YYYY-MM-DD')
|
||||||
}
|
}
|
||||||
const goDetail=(id)=>{
|
const goDetail=(id)=>{
|
||||||
console.log(type1.value)
|
console.log(11111)
|
||||||
console.log(id)
|
console.log(id)
|
||||||
let type="article";
|
let type=isArticle.value?'article':'video'
|
||||||
if(type2.value==1){
|
|
||||||
type="article";
|
|
||||||
}else if(type2.value==2){
|
|
||||||
type="video";
|
|
||||||
}else if(type2.value==3){
|
|
||||||
type="exchange";
|
|
||||||
}
|
|
||||||
navTo({
|
navTo({
|
||||||
url: `/pages/detail/detail?id=${id}&type=${type}`
|
url: `/pages/detail/detail?id=${id}&type=${type}`
|
||||||
})
|
})
|
||||||
|
|||||||
@ -10,7 +10,7 @@
|
|||||||
>
|
>
|
||||||
<template #top>
|
<template #top>
|
||||||
<navBarSearch
|
<navBarSearch
|
||||||
:navName="'肝胆相照病例交流园地'"
|
:navName="'肝胆相照精选病例交流'"
|
||||||
@changeWord="changeWord"
|
@changeWord="changeWord"
|
||||||
></navBarSearch>
|
></navBarSearch>
|
||||||
<!-- <view class="bar"></view> -->
|
<!-- <view class="bar"></view> -->
|
||||||
@ -26,31 +26,22 @@
|
|||||||
<view class="filterbox">
|
<view class="filterbox">
|
||||||
<!-- <view class="type" @click="swicthType">{{!isArticle?'文章':'视频'}}<up--image :src="switchImg" width="31rpx" height="31rpx"></up--image></view> -->
|
<!-- <view class="type" @click="swicthType">{{!isArticle?'文章':'视频'}}<up--image :src="switchImg" width="31rpx" height="31rpx"></up--image></view> -->
|
||||||
<view class="casesdown" @click="openCase" >筛选<up--image :src="caseImg" width="31rpx" height="31rpx"></up--image></view>
|
<view class="casesdown" @click="openCase" >筛选<up--image :src="caseImg" width="31rpx" height="31rpx"></up--image></view>
|
||||||
<up-dropdown class="u-dropdown" ref="uDropdownRef">
|
<up-dropdown class="u-dropdown" ref="uDropdownRef">
|
||||||
<up-dropdown-item :title="dropTitle">
|
|
||||||
<view class="dropcontent">
|
<up-dropdown-item
|
||||||
<up-radio-group
|
v-model="order.push_date"
|
||||||
@change="changeDate"
|
title="发布时间"
|
||||||
v-model="orderFilter"
|
@change="changeDate"
|
||||||
iconPlacement="right"
|
:options="options"
|
||||||
placement="column"
|
></up-dropdown-item>
|
||||||
>
|
<up-dropdown-item
|
||||||
<view
|
v-model="order.read_num"
|
||||||
class="column"
|
title="阅读量"
|
||||||
v-for="item in options"
|
@change="changeRead"
|
||||||
:key="item.value"
|
:options="options"
|
||||||
:class="[orderFilter==item.value?'active':'']"
|
></up-dropdown-item>
|
||||||
>
|
</up-dropdown>
|
||||||
<up-radio
|
|
||||||
activeColor="#3CC7C0"
|
|
||||||
:label="item.label"
|
|
||||||
:name="item.value"
|
|
||||||
></up-radio>
|
|
||||||
</view>
|
|
||||||
</up-radio-group>
|
|
||||||
</view>
|
|
||||||
</up-dropdown-item>
|
|
||||||
</up-dropdown>
|
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
<view class="box">
|
<view class="box">
|
||||||
@ -83,7 +74,7 @@
|
|||||||
>{{ item.user_name }}({{ item.hospital_name }})</view
|
>{{ item.user_name }}({{ item.hospital_name }})</view
|
||||||
>
|
>
|
||||||
</view>
|
</view>
|
||||||
<view class="content ellipsis-two-lines" @click="goDetail(item.exchange_id)"> {{ htmlToText(item.exchange_content) }} </view>
|
<view class="content" @click="goDetail(item.exchange_id)"> {{ item.exchange_content }} </view>
|
||||||
<view
|
<view
|
||||||
class="imgbox"
|
class="imgbox"
|
||||||
@click="goDetail(item.exchange_id)"
|
@click="goDetail(item.exchange_id)"
|
||||||
@ -139,7 +130,7 @@
|
|||||||
<up-icon name="eye" color="#4B5563" size="28rpx"></up-icon>
|
<up-icon name="eye" color="#4B5563" size="28rpx"></up-icon>
|
||||||
<view class="num">{{ item.read_num }}</view>
|
<view class="num">{{ item.read_num }}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="collect item" v-if="item.collect_num >0">
|
<view class="collect item">
|
||||||
<up-icon
|
<up-icon
|
||||||
name="heart"
|
name="heart"
|
||||||
color="#4B5563"
|
color="#4B5563"
|
||||||
@ -147,7 +138,7 @@
|
|||||||
></up-icon>
|
></up-icon>
|
||||||
<view class="num">{{ item.collect_num }}</view>
|
<view class="num">{{ item.collect_num }}</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="chat item" v-if="item.comment_num >0">
|
<view class="chat item">
|
||||||
<up-icon name="chat" color="#4B5563" size="28rpx"></up-icon>
|
<up-icon name="chat" color="#4B5563" size="28rpx"></up-icon>
|
||||||
<view class="num">{{ item.comment_num }}</view>
|
<view class="num">{{ item.comment_num }}</view>
|
||||||
</view>
|
</view>
|
||||||
@ -168,54 +159,25 @@
|
|||||||
<up-popup
|
<up-popup
|
||||||
:round="10"
|
:round="10"
|
||||||
zIndex="9"
|
zIndex="9"
|
||||||
:closeOnClickOverlay="false"
|
|
||||||
:show="showCase"
|
:show="showCase"
|
||||||
mode="bottom"
|
mode="bottom"
|
||||||
@close="closeCase"
|
@close="closeCase"
|
||||||
>
|
>
|
||||||
<view class="votepop casepop">
|
<view class="votepop casepop">
|
||||||
<view class="titlebox">
|
<view class="titlebox">
|
||||||
<view class="left" @click="cancelCase">取消</view>
|
<view class="left" @click="showCase = false">取消</view>
|
||||||
|
<view class="left continue" @click="continueCase" v-show="level != 3"
|
||||||
|
>继续选择</view
|
||||||
|
>
|
||||||
<view class="right" @click="confirmCase">确定</view>
|
<view class="right" @click="confirmCase">确定</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="stepbox">
|
|
||||||
<up-steps :current="level-1" direction="column" :key="freshKey">
|
|
||||||
<up-steps-item >
|
|
||||||
<template v-slot:content>
|
|
||||||
<view class="slot-content" @click="openCaseLevel('1')">
|
|
||||||
|
|
||||||
<view class="left">{{!caseValue1.name?'请选择选项':caseValue1.name}}</view>
|
|
||||||
<u-icon name="arrow-right"></u-icon>
|
|
||||||
</view>
|
|
||||||
</template>
|
|
||||||
</up-steps-item>
|
|
||||||
<up-steps-item v-if="caseValue1.name && labelObj.list2.length>0">
|
|
||||||
<template v-slot:content>
|
|
||||||
<view class="slot-content" @click="openCaseLevel('2')">
|
|
||||||
<view class="left">{{!caseValue2.name?'请选择选项':caseValue2.name}}</view>
|
|
||||||
<u-icon name="arrow-right"></u-icon>
|
|
||||||
</view>
|
|
||||||
</template>
|
|
||||||
</up-steps-item>
|
|
||||||
<up-steps-item v-if="caseValue2.name && labelObj.list3.length>0">
|
|
||||||
<template v-slot:content>
|
|
||||||
<view class="slot-content" @click="openCaseLevel('3')">
|
|
||||||
<view class="left">{{!caseValue3.name?'请选择选项':caseValue3.name}}</view>
|
|
||||||
<u-icon name="arrow-right"></u-icon>
|
|
||||||
</view>
|
|
||||||
</template>
|
|
||||||
</up-steps-item>
|
|
||||||
</up-steps>
|
|
||||||
</view>
|
|
||||||
<scroll-view class="casecon" scroll-y="true">
|
<scroll-view class="casecon" scroll-y="true">
|
||||||
<view v-show="level == 1" >
|
<view v-show="level == 1" >
|
||||||
<up-radio-group
|
<up-radio-group
|
||||||
v-model="caseValue1.value"
|
v-model="caseValue1"
|
||||||
name="group1"
|
|
||||||
iconPlacement="right"
|
iconPlacement="right"
|
||||||
placement="column"
|
placement="column"
|
||||||
@change="groupChange1"
|
|
||||||
>
|
>
|
||||||
<view
|
<view
|
||||||
class="column"
|
class="column"
|
||||||
@ -232,9 +194,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view v-show="level == 2" >
|
<view v-show="level == 2" >
|
||||||
<up-radio-group
|
<up-radio-group
|
||||||
name="group2"
|
v-model="caseValue2"
|
||||||
@change="groupChange2"
|
|
||||||
v-model="caseValue2.value"
|
|
||||||
iconPlacement="right"
|
iconPlacement="right"
|
||||||
placement="column"
|
placement="column"
|
||||||
>
|
>
|
||||||
@ -253,9 +213,8 @@
|
|||||||
</view>
|
</view>
|
||||||
<view v-show="level == 3" >
|
<view v-show="level == 3" >
|
||||||
<up-radio-group
|
<up-radio-group
|
||||||
name="group3"
|
v-model="caseValue3"
|
||||||
@change="groupChange3"
|
|
||||||
v-model="caseValue3.value"
|
|
||||||
iconPlacement="right"
|
iconPlacement="right"
|
||||||
placement="column"
|
placement="column"
|
||||||
>
|
>
|
||||||
@ -329,170 +288,35 @@ const dataList = ref([]);
|
|||||||
const total = ref(0);
|
const total = ref(0);
|
||||||
const keyWord = ref("");
|
const keyWord = ref("");
|
||||||
const vote=ref(null);
|
const vote=ref(null);
|
||||||
const showNum = ref(false);
|
const showNum = ref(true);
|
||||||
const label_iden=ref('');
|
|
||||||
const dropTitle=ref('发布时间');
|
|
||||||
const orderFilter=ref('1')
|
|
||||||
const uDropdownRef=ref(null);
|
|
||||||
const options= ref([
|
const options= ref([
|
||||||
{
|
{
|
||||||
label: "发布时间",
|
label: "正序",
|
||||||
value: '1',
|
value: 'asc',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "互动更新时间",
|
label: "倒序",
|
||||||
value: '2',
|
value: 'desc',
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "互动次数",
|
|
||||||
value: '3',
|
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
const isSearch=ref(true);
|
|
||||||
const order=reactive({
|
const order=reactive({
|
||||||
read_num:'',
|
read_num:'',
|
||||||
push_date:'desc'
|
push_date:''
|
||||||
})
|
})
|
||||||
|
const label_iden=ref('')
|
||||||
const showCase = ref(false);
|
const showCase = ref(false);
|
||||||
const canOpenCase = ref(false);
|
const canOpenCase = ref(false);
|
||||||
const caseValue1 = reactive({
|
const caseValue1 = ref("");
|
||||||
value:'',
|
const caseValue2 = ref("");
|
||||||
name:'',
|
const caseValue3 = ref("");
|
||||||
});
|
|
||||||
const caseValue2 = reactive({
|
|
||||||
value:'',
|
|
||||||
name:'',
|
|
||||||
});
|
|
||||||
const caseValue3 = reactive({
|
|
||||||
value:'',
|
|
||||||
name:'',
|
|
||||||
});
|
|
||||||
const level = ref(1);
|
const level = ref(1);
|
||||||
|
const dealId=ref('');
|
||||||
const labelObj = reactive({
|
const labelObj = reactive({
|
||||||
list1: [],
|
list1: [],
|
||||||
list2: [],
|
list2: [],
|
||||||
list3: []
|
list3: [],
|
||||||
});
|
});
|
||||||
const openCaseLevel=(lev)=>{
|
|
||||||
freshKey.value++;
|
|
||||||
level.value=lev;
|
|
||||||
if(lev==1){
|
|
||||||
caseValue2.name='';
|
|
||||||
caseValue2.value='';
|
|
||||||
labelObj.list2=[]
|
|
||||||
}else if(lev==2){
|
|
||||||
labelObj.list3=[];
|
|
||||||
caseValue3.name='';
|
|
||||||
caseValue3.value=''
|
|
||||||
}
|
|
||||||
};
|
|
||||||
const groupChange1=(e)=>{
|
|
||||||
caseValue1.value=e;
|
|
||||||
for (var i = 0; i <labelObj.list1.length; i++) {
|
|
||||||
if(labelObj.list1[i].app_iden==caseValue1.value){
|
|
||||||
caseValue1.name=labelObj.list1[i].label_name;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
getCaseLabel(2,e)
|
|
||||||
}
|
|
||||||
const groupChange2=(e)=>{
|
|
||||||
caseValue2.value=e;
|
|
||||||
for (var i = 0; i <labelObj.list2.length; i++) {
|
|
||||||
if(labelObj.list2[i].app_iden==caseValue2.value){
|
|
||||||
caseValue2.name=labelObj.list2[i].label_name;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
getCaseLabel(3,e)
|
|
||||||
}
|
|
||||||
const groupChange3=(e)=>{
|
|
||||||
caseValue3.value=e;
|
|
||||||
level.value =3
|
|
||||||
for (var i = 0; i <labelObj.list3.length; i++) {
|
|
||||||
if(labelObj.list3[i].app_iden==caseValue3.value){
|
|
||||||
caseValue3.name=labelObj.list3[i].label_name;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
const getCaseLabel = (lev,pid=0) => {
|
|
||||||
api.getCaseLabel({
|
|
||||||
pId:pid
|
|
||||||
}).then((res) => {
|
|
||||||
level.value = lev;
|
|
||||||
if (lev == 1) {
|
|
||||||
labelObj.list1 = res.data.data;
|
|
||||||
//label_iden.value = caseValue1.value;
|
|
||||||
|
|
||||||
} else if (lev == 2) {
|
|
||||||
labelObj.list2 = res.data.data;
|
|
||||||
if(res.data.data.length==0){
|
|
||||||
level.value = 1
|
|
||||||
}
|
|
||||||
//label_iden.value = caseValue2.value;
|
|
||||||
|
|
||||||
} else if (lev == 3) {
|
|
||||||
labelObj.list3 = res.data.data;
|
|
||||||
if(res.data.data.length==0){
|
|
||||||
level.value = 2
|
|
||||||
}
|
|
||||||
//label_iden.value = caseValue3.value;
|
|
||||||
}
|
|
||||||
|
|
||||||
});
|
|
||||||
};
|
|
||||||
const openCase=()=>{
|
|
||||||
|
|
||||||
showCase.value = true;
|
|
||||||
|
|
||||||
}
|
|
||||||
const cancelCase=()=>{
|
|
||||||
showCase.value=false;
|
|
||||||
level.value=1;
|
|
||||||
caseValue1.name='';
|
|
||||||
caseValue1.value='';
|
|
||||||
caseValue2.name='';
|
|
||||||
caseValue2.value='';
|
|
||||||
caseValue3.name='';
|
|
||||||
caseValue3.value='';
|
|
||||||
//labelObj.list1=[];
|
|
||||||
labelObj.list2=[];
|
|
||||||
labelObj.list3=[];
|
|
||||||
}
|
|
||||||
const confirmCase = () => {
|
|
||||||
if (level.value == 1 && caseValue1.value == "") {
|
|
||||||
uni.showToast({ title: "请选择疾病选项", icon: "none" });
|
|
||||||
return false;
|
|
||||||
};
|
|
||||||
if(level.value == 1){
|
|
||||||
label_iden.value = caseValue1.value;
|
|
||||||
}
|
|
||||||
if(level.value == 2 ){
|
|
||||||
if(!caseValue2.value){
|
|
||||||
label_iden.value = caseValue1.value;
|
|
||||||
}else{
|
|
||||||
label_iden.value = caseValue2.value;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
if(level.value == 3 ){
|
|
||||||
if(!caseValue3.value){
|
|
||||||
label_iden.value = caseValue2.value;
|
|
||||||
}else{
|
|
||||||
label_iden.value = caseValue3.value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
paging.value.reload();
|
|
||||||
showCase.value=false;
|
|
||||||
//cancelCase();
|
|
||||||
};
|
|
||||||
const closeCase = () => {
|
|
||||||
showCase.value = false;
|
|
||||||
};
|
|
||||||
const openDeal = (id,voteObj) => {
|
const openDeal = (id,voteObj) => {
|
||||||
showDeal.value = true;
|
showDeal.value = true;
|
||||||
dealId.value=id;
|
dealId.value=id;
|
||||||
@ -517,14 +341,6 @@ const goEdit=()=>{
|
|||||||
url:'/pages/publish/publish?exchange_id='+dealId.value
|
url:'/pages/publish/publish?exchange_id='+dealId.value
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
const htmlToText=(html)=>{
|
|
||||||
return html
|
|
||||||
.replace(/<[^>]*>/g, '') // 移除所有HTML标签
|
|
||||||
.replace(/ /gi, ' ') // 将HTML实体转换为字符
|
|
||||||
.replace(/<br\s*\/?>/gi, '\n').replace(/<img\s[^>]*>/gi, '') // 移除<img>标签及其内容
|
|
||||||
.replace(/<video[^>]*>[\s\S]*?/gi, ''); // 将换行符替换为实际的换行符
|
|
||||||
}
|
|
||||||
|
|
||||||
const confirmDel = () => {
|
const confirmDel = () => {
|
||||||
//删除
|
//删除
|
||||||
showModal.value = false;
|
showModal.value = false;
|
||||||
@ -533,7 +349,75 @@ const confirmDel = () => {
|
|||||||
const closeDealPop = () => {
|
const closeDealPop = () => {
|
||||||
showDeal.value = false;
|
showDeal.value = false;
|
||||||
};
|
};
|
||||||
|
const getCaseLabel = (lev,pid=0) => {
|
||||||
|
api.getCaseLabel({
|
||||||
|
pId:pid
|
||||||
|
}).then((res) => {
|
||||||
|
if (lev == 1) {
|
||||||
|
labelObj.list1 = res.data.data;
|
||||||
|
} else if (lev == 2) {
|
||||||
|
labelObj.list2 = res.data.data;
|
||||||
|
} else if (lev == 3) {
|
||||||
|
labelObj.list3 = res.data.data;
|
||||||
|
}
|
||||||
|
level.value = lev;
|
||||||
|
});
|
||||||
|
};
|
||||||
|
const openCase=()=>{
|
||||||
|
getCaseLabel(1,0)
|
||||||
|
showCase.value = true;
|
||||||
|
|
||||||
|
}
|
||||||
|
const confirmCase = () => {
|
||||||
|
if (level.value == 1 && caseValue1.value == "") {
|
||||||
|
uni.showToast({ title: "请选择疾病", icon: "none" });
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (level.value == 2 && caseValue2.value == "") {
|
||||||
|
uni.showToast({ title: "请选择疾病", icon: "none" });
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (level.value == 3 && caseValue3.value == "") {
|
||||||
|
uni.showToast({ title: "请选择疾病", icon: "none" });
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
showCase.value = false;
|
||||||
|
if(level.value == 1){
|
||||||
|
label_iden.value = caseValue1.value
|
||||||
|
}
|
||||||
|
if(level.value == 2 ){
|
||||||
|
label_iden.value = caseValue2.value
|
||||||
|
}
|
||||||
|
if(level.value == 3 ){
|
||||||
|
label_iden.value = caseValue3.value
|
||||||
|
}
|
||||||
|
paging.value.reload();
|
||||||
|
|
||||||
|
};
|
||||||
|
const continueCase = () => {
|
||||||
|
if (level.value == 1 && caseValue1.value == "") {
|
||||||
|
uni.showToast({ title: "请选择疾病", icon: "none" });
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (level.value == 2 && caseValue2.value == "") {
|
||||||
|
uni.showToast({ title: "请选择疾病", icon: "none" });
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (level.value == 3 && caseValue3.value == "") {
|
||||||
|
uni.showToast({ title: "请选择疾病", icon: "none" });
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if(level.value == 1 ){
|
||||||
|
getCaseLabel(2,caseValue1.value);
|
||||||
|
}else if(level.value == 2 ){
|
||||||
|
getCaseLabel(3,caseValue2.value);
|
||||||
|
}
|
||||||
|
paging.value.reload();
|
||||||
|
};
|
||||||
|
const closeCase = () => {
|
||||||
|
showCase.value = false;
|
||||||
|
};
|
||||||
|
|
||||||
const formatdate = (date) => {
|
const formatdate = (date) => {
|
||||||
return dayjs(date).format("YYYY-MM-DD");
|
return dayjs(date).format("YYYY-MM-DD");
|
||||||
@ -551,31 +435,19 @@ onLoad((options) => {
|
|||||||
if(options.type=="mine"){
|
if(options.type=="mine"){
|
||||||
isMine.value=true;
|
isMine.value=true;
|
||||||
}
|
}
|
||||||
getCaseLabel(1,0)
|
|
||||||
});
|
});
|
||||||
onShow(()=>{
|
onShow(()=>{
|
||||||
|
|
||||||
paging.value?.refresh();
|
paging.value?.refresh();
|
||||||
})
|
})
|
||||||
const changeDate=(e)=>{
|
const changeDate=(e)=>{
|
||||||
if(e==1){
|
console.log(e);
|
||||||
order.push_date='desc';
|
order.read_num='';
|
||||||
order.comment_num='';
|
paging.value.reload();
|
||||||
order.last_comment_time="";
|
}
|
||||||
dropTitle.value="发布时间"
|
const changeRead=(e)=>{
|
||||||
}else if(e==2){
|
console.log(e);
|
||||||
order.push_date='';
|
order.push_date=''
|
||||||
order.comment_num="";
|
|
||||||
order.last_comment_time="desc";
|
|
||||||
dropTitle.value="互动更新时间"
|
|
||||||
}else{
|
|
||||||
order.push_date='';
|
|
||||||
order.last_comment_time="";
|
|
||||||
order.comment_num="desc";
|
|
||||||
dropTitle.value="互动数"
|
|
||||||
}
|
|
||||||
orderFilter.value=e;
|
|
||||||
uDropdownRef.value.close();
|
|
||||||
paging.value.reload();
|
paging.value.reload();
|
||||||
}
|
}
|
||||||
const videoErrorCallback = (e) => {
|
const videoErrorCallback = (e) => {
|
||||||
@ -609,17 +481,11 @@ const searchList = async (params) => {
|
|||||||
user_id: user_id.value,
|
user_id: user_id.value,
|
||||||
label_iden:label_iden.value
|
label_iden:label_iden.value
|
||||||
};
|
};
|
||||||
if(!label_iden.value){
|
|
||||||
delete searchForm.label_iden
|
|
||||||
}
|
|
||||||
if(Number(is_selected.value)){
|
if(Number(is_selected.value)){
|
||||||
searchForm.is_selected=Number(is_selected.value)
|
searchForm.is_selected=Number(is_selected.value)
|
||||||
}
|
}
|
||||||
if(!order.comment_num){
|
if(!order.read_num){
|
||||||
delete order.comment_num
|
delete order.read_num
|
||||||
}
|
|
||||||
if(!order.last_comment_time){
|
|
||||||
delete order.last_comment_time
|
|
||||||
}
|
}
|
||||||
if(!label_iden.value){
|
if(!label_iden.value){
|
||||||
delete searchForm.label_iden
|
delete searchForm.label_iden
|
||||||
@ -627,7 +493,7 @@ const searchList = async (params) => {
|
|||||||
if(!order.push_date){
|
if(!order.push_date){
|
||||||
delete order.push_date
|
delete order.push_date
|
||||||
}
|
}
|
||||||
if(order.comment_num || order.push_date || order.last_comment_time){
|
if(order.read_num || order.push_date){
|
||||||
searchForm.order=order
|
searchForm.order=order
|
||||||
}
|
}
|
||||||
api.searchExchage({
|
api.searchExchage({
|
||||||
@ -645,42 +511,6 @@ const searchList = async (params) => {
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang='scss' scoped>
|
<style lang='scss' scoped>
|
||||||
.dropcontent{
|
|
||||||
padding-top: 40rpx;
|
|
||||||
padding-bottom: 20rpx;
|
|
||||||
background-color: #fff;
|
|
||||||
:deep(.u-radio){
|
|
||||||
margin-bottom: 6px!important;
|
|
||||||
margin-top: 16px!important;
|
|
||||||
}
|
|
||||||
.column {
|
|
||||||
padding: 0 30rpx;
|
|
||||||
border-top: 2rpx solid #e5e7eb;
|
|
||||||
:deep(.u-radio__text){
|
|
||||||
color: #333 !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.column.active{
|
|
||||||
:deep(.u-radio__text){
|
|
||||||
color: #3CC7C0 !important;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
.stepbox{
|
|
||||||
padding:15rpx 30rpx;
|
|
||||||
border-bottom: 2rpx dotted #f3f4f6;
|
|
||||||
:deep(.u-steps-item__content){
|
|
||||||
margin-top: -5rpx!important;
|
|
||||||
}
|
|
||||||
.slot-content{
|
|
||||||
width:100%;
|
|
||||||
margin-bottom: 25rpx;
|
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.dealbox {
|
.dealbox {
|
||||||
.dealcell {
|
.dealcell {
|
||||||
display: flex;
|
display: flex;
|
||||||
@ -700,7 +530,6 @@ const searchList = async (params) => {
|
|||||||
border-bottom: 2rpx solid #f3f4f6;
|
border-bottom: 2rpx solid #f3f4f6;
|
||||||
:deep(.u-dropdown__menu__item__text){
|
:deep(.u-dropdown__menu__item__text){
|
||||||
font-size: 14px!important;
|
font-size: 14px!important;
|
||||||
color: #3c9cff !important
|
|
||||||
}
|
}
|
||||||
.type{
|
.type{
|
||||||
color: #606266;
|
color: #606266;
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
|||||||
{"version":3,"file":"backDetailNav.js","sources":["components/backDetailNav/backDetailNav.vue","../../software/HBuilderX.4.23.2024070804/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovR2l0V29ya1BsYWNlL2Nhc2VEYXRhQmFzZS9jb21wb25lbnRzL2JhY2tEZXRhaWxOYXYvYmFja0RldGFpbE5hdi52dWU"],"sourcesContent":["<template>\r\n <view class=\"navbox\">\r\n <view class=\"bg\"></view>\r\n <view class=\"namebox\">\r\n <view class=\"back\" @click=\"goBack\">\r\n <u-icon name=\"arrow-left\" color=\"#000\" size=\"24\"></u-icon>\r\n </view>\r\n <view class=\"logo\" @click=\"goHome\">\r\n <up--image\r\n :src=\"logoImg\"\r\n width=\"62rpx\"\r\n height=\"62rpx\"\r\n radius=\"50%\"\r\n\r\n ></up--image>\r\n </view>\r\n <view class=\"name\" @click=\"goHome\">\r\n\t\t\t{{ navName }}\r\n\t\t\t<view class=\"navbg\">\r\n\t\t\t\t\t\t <up--image\r\n\t\t\t\t\t\t :src=\"navbg\"\r\n\t\t\t\t\t\t width=\"100rpx\"\r\n\t\t\t\t\t\t height=\"31rpx\"\t\t \r\n\t\t\t\t\t\t ></up--image>\r\n\t\t\t</view>\r\n\t </view>\r\n\t <view class=\"user\" @click=\"goMy\">\r\n\t\t <up--image\r\n\t\t :src=\"useImg?useImg:headImg\"\r\n\t\t width=\"62rpx\"\r\n\t\t height=\"62rpx\"\r\n\t\t radius=\"50%\"\r\n\t\t \r\n\t\t ></up--image>\r\n\t </view>\r\n </view>\r\n \r\n </view>\r\n</template>\r\n\r\n<script setup>\r\nimport navTo from \"@/utils/navTo.js\";\r\nimport logoImg from \"@/static/logo.png\";\r\nimport headImg from \"@/static/headImg.png\";\r\nimport navbg from \"@/static/navbg.png\"\r\nimport { onMounted,ref} from 'vue';\nconst props = defineProps({\r\n navName: {\r\n type: String,\r\n default: \"我的\",\r\n }\r\n\r\n});\r\nconst useImg=ref('')\r\nconst goBack = () => {\r\n uni.navigateBack({\r\n delta: 1,\r\n });\r\n};\r\n\r\nconst goHome=()=>{\r\n\tconsole.log(props.navName);\r\n\tif(props.navName==\"肝胆相照病例交流园地\"){\r\n\t\tuni.reLaunch({\r\n\t\t\turl:'/pages/caseTalk/caseTalk'\r\n\t\t })\r\n\t\t}else{\r\n\t\tuni.reLaunch({\r\n\t\t\turl:'/pages/index/index'\r\n\t\t })\r\n\t\t};\t\r\n\t\r\n\t}\t\r\nconst goMy=()=>{\r\n\tnavTo({\r\n\t\turl:'/pages/my/my'\r\n\t})\r\n};\r\nonMounted(()=>{\r\n\tlet userInfo=uni.getStorageSync('userInfo');\r\n\tif(userInfo && userInfo.avatar){\r\n\t\tuseImg.value=userInfo.avatar;\r\n\t}\r\n})\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.navbox {\r\n padding-bottom: 20rpx;\r\n background-color: #f9fafb;\r\n position: relative;\r\n height:200rpx;\r\n background: radial-gradient(\r\n 60% 90% at 4% 2%,\r\n #43c9c3 0%,\r\n rgba(255, 255, 255, 0) 100%\r\n );\r\n}\r\n.bg {\r\n z-index: 0;\r\n top: 0;\r\n bottom: 0;\r\n width: 100%;\r\n position: absolute;\r\n background: radial-gradient(\r\n 43% 90% at 84% 6%,\r\n #ffd6c9 0%,\r\n rgba(255, 255, 255, 0) 100%\r\n );\r\n}\r\n.namebox {\r\n padding-top: 102rpx;\r\n margin: 0rpx 30rpx 0rpx;\r\n display: flex;\r\n align-items: center;\r\n display: flex;\r\n align-items: center;\r\n .logo{\r\n margin-left: 35rpx;\r\n }\r\n .back{\r\n position: absolute;\r\n left: 0;\r\n }\r\n .user{\r\n\t margin-left:55rpx;\r\n }\r\n .name {\r\n margin-left: 16rpx;\r\n font-size: 30rpx;\r\n color: #111827;\r\n\tposition: relative;\r\n\t.navbg{\r\n\t\tposition: absolute;\r\n\t\t z-index:-1;\r\n\t\t top:10rpx;\r\n\t\t left:18rpx;\r\n\t\t \r\n\t\t \r\n\t}\r\n }\r\n}\r\n.search {\r\n margin: 40rpx 30rpx 0rpx;\r\n display: flex;\r\n\r\n align-items: center;\r\n justify-content: space-between;\r\n .searchwrap {\r\n display: flex;\r\n align-items: center;\r\n flex: 1;\r\n padding-left: 28rpx;\r\n margin-right: 23rpx;\r\n height: 80rpx;\r\n background: #fbfbfb;\r\n box-shadow: 0px 4rpx 10rpx 0px rgba(153, 153, 153, 0.5);\r\n border-radius: 40rpx;\r\n\r\n .ipt {\r\n margin-left: 15rpx;\r\n font-size: 28rpx;\r\n }\r\n }\r\n}\r\n</style>","import Component from 'D:/GitWorkPlace/caseDataBase/components/backDetailNav/backDetailNav.vue'\nwx.createComponent(Component)"],"names":["ref","uni","navTo","onMounted"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AA8CA,UAAM,QAAQ;AAOd,UAAM,SAAOA,cAAG,IAAC,EAAE;AACnB,UAAM,SAAS,MAAM;AACnBC,oBAAAA,MAAI,aAAa;AAAA,QACf,OAAO;AAAA,MACX,CAAG;AAAA,IACH;AAEA,UAAM,SAAO,MAAI;AAChBA,2FAAY,MAAM,OAAO;AACzB,UAAG,MAAM,WAAS,cAAa;AAC9BA,sBAAAA,MAAI,SAAS;AAAA,UACZ,KAAI;AAAA,QACP,CAAK;AAAA,MACL,OAAO;AACLA,sBAAAA,MAAI,SAAS;AAAA,UACZ,KAAI;AAAA,QACP,CAAK;AAAA,MAEL;AAAA,IACE;AACF,UAAM,OAAK,MAAI;AACdC,wBAAM;AAAA,QACL,KAAI;AAAA,MACN,CAAE;AAAA,IACF;AACAC,kBAAAA,UAAU,MAAI;AACb,UAAI,WAASF,cAAAA,MAAI,eAAe,UAAU;AAC1C,UAAG,YAAY,SAAS,QAAO;AAC9B,eAAO,QAAM,SAAS;AAAA,MACtB;AAAA,IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AClFD,GAAG,gBAAgB,SAAS;"}
|
{"version":3,"file":"backDetailNav.js","sources":["components/backDetailNav/backDetailNav.vue","../../software/HBuilderX.4.23.2024070804/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovR2l0V29ya1BsYWNlL2Nhc2VEYXRhQmFzZS9jb21wb25lbnRzL2JhY2tEZXRhaWxOYXYvYmFja0RldGFpbE5hdi52dWU"],"sourcesContent":["<template>\r\n <view class=\"navbox\">\r\n <view class=\"bg\"></view>\r\n <view class=\"namebox\">\r\n <view class=\"back\" @click=\"goBack\">\r\n <u-icon name=\"arrow-left\" color=\"#000\" size=\"24\"></u-icon>\r\n </view>\r\n <view class=\"logo\" @click=\"goHome\">\r\n <up--image\r\n :src=\"logoImg\"\r\n width=\"62rpx\"\r\n height=\"62rpx\"\r\n radius=\"50%\"\r\n\r\n ></up--image>\r\n </view>\r\n <view class=\"name\" @click=\"goHome\">\r\n\t\t\t{{ navName }}\r\n\t\t\t<view class=\"navbg\">\r\n\t\t\t\t\t\t <up--image\r\n\t\t\t\t\t\t :src=\"navbg\"\r\n\t\t\t\t\t\t width=\"100rpx\"\r\n\t\t\t\t\t\t height=\"31rpx\"\t\t \r\n\t\t\t\t\t\t ></up--image>\r\n\t\t\t</view>\r\n\t </view>\r\n\t <view class=\"user\" @click=\"goMy\">\r\n\t\t <up--image\r\n\t\t :src=\"useImg?useImg:headImg\"\r\n\t\t width=\"62rpx\"\r\n\t\t height=\"62rpx\"\r\n\t\t radius=\"50%\"\r\n\t\t \r\n\t\t ></up--image>\r\n\t </view>\r\n </view>\r\n \r\n </view>\r\n</template>\r\n\r\n<script setup>\r\nimport navTo from \"@/utils/navTo.js\";\r\nimport logoImg from \"@/static/logo.png\";\r\nimport headImg from \"@/static/headImg.png\";\r\nimport navbg from \"@/static/navbg.png\"\r\nimport { onMounted,ref} from 'vue';\nconst props = defineProps({\r\n navName: {\r\n type: String,\r\n default: \"我的\",\r\n }\r\n\r\n});\r\nconst useImg=ref('')\r\nconst goBack = () => {\r\n uni.navigateBack({\r\n delta: 1,\r\n });\r\n};\r\n\r\nconst goHome=()=>{\r\n\tuni.reLaunch({\r\n\t\turl:'/pages/index/index'\r\n\t })\r\n\t};\r\nconst goMy=()=>{\r\n\tnavTo({\r\n\t\turl:'/pages/my/my'\r\n\t})\r\n};\r\nonMounted(()=>{\r\n\tlet userInfo=uni.getStorageSync('userInfo');\r\n\tif(userInfo && userInfo.avatar){\r\n\t\tuseImg.value=userInfo.avatar;\r\n\t}\r\n})\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.navbox {\r\n padding-bottom: 20rpx;\r\n background-color: #f9fafb;\r\n position: relative;\r\n height:200rpx;\r\n background: radial-gradient(\r\n 60% 90% at 4% 2%,\r\n #43c9c3 0%,\r\n rgba(255, 255, 255, 0) 100%\r\n );\r\n}\r\n.bg {\r\n z-index: 0;\r\n top: 0;\r\n bottom: 0;\r\n width: 100%;\r\n position: absolute;\r\n background: radial-gradient(\r\n 43% 90% at 84% 6%,\r\n #ffd6c9 0%,\r\n rgba(255, 255, 255, 0) 100%\r\n );\r\n}\r\n.namebox {\r\n padding-top: 102rpx;\r\n margin: 0rpx 30rpx 0rpx;\r\n display: flex;\r\n align-items: center;\r\n display: flex;\r\n align-items: center;\r\n .logo{\r\n margin-left: 35rpx;\r\n }\r\n .back{\r\n position: absolute;\r\n left: 0;\r\n }\r\n .user{\r\n\t margin-left:55rpx;\r\n }\r\n .name {\r\n margin-left: 16rpx;\r\n font-size: 30rpx;\r\n color: #111827;\r\n\tposition: relative;\r\n\t.navbg{\r\n\t\tposition: absolute;\r\n\t\t z-index:-1;\r\n\t\t top:10rpx;\r\n\t\t left:18rpx;\r\n\t\t \r\n\t\t \r\n\t}\r\n }\r\n}\r\n.search {\r\n margin: 40rpx 30rpx 0rpx;\r\n display: flex;\r\n\r\n align-items: center;\r\n justify-content: space-between;\r\n .searchwrap {\r\n display: flex;\r\n align-items: center;\r\n flex: 1;\r\n padding-left: 28rpx;\r\n margin-right: 23rpx;\r\n height: 80rpx;\r\n background: #fbfbfb;\r\n box-shadow: 0px 4rpx 10rpx 0px rgba(153, 153, 153, 0.5);\r\n border-radius: 40rpx;\r\n\r\n .ipt {\r\n margin-left: 15rpx;\r\n font-size: 28rpx;\r\n }\r\n }\r\n}\r\n</style>","import Component from 'D:/GitWorkPlace/caseDataBase/components/backDetailNav/backDetailNav.vue'\nwx.createComponent(Component)"],"names":["ref","uni","navTo","onMounted"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAqDA,UAAM,SAAOA,cAAG,IAAC,EAAE;AACnB,UAAM,SAAS,MAAM;AACnBC,oBAAAA,MAAI,aAAa;AAAA,QACf,OAAO;AAAA,MACX,CAAG;AAAA,IACH;AAEA,UAAM,SAAO,MAAI;AAChBA,oBAAAA,MAAI,SAAS;AAAA,QACZ,KAAI;AAAA,MACN,CAAI;AAAA,IACJ;AACA,UAAM,OAAK,MAAI;AACdC,wBAAM;AAAA,QACL,KAAI;AAAA,MACN,CAAE;AAAA,IACF;AACAC,kBAAAA,UAAU,MAAI;AACb,UAAI,WAASF,cAAAA,MAAI,eAAe,UAAU;AAC1C,UAAG,YAAY,SAAS,QAAO;AAC9B,eAAO,QAAM,SAAS;AAAA,MACtB;AAAA,IACF,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC1ED,GAAG,gBAAgB,SAAS;"}
|
||||||
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/api/api.js
vendored
2
unpackage/dist/dev/mp-weixin/api/api.js
vendored
@ -113,7 +113,7 @@ const api = {
|
|||||||
return utils_request.request("/exchange/collect/" + id, {}, "delete", false);
|
return utils_request.request("/exchange/collect/" + id, {}, "delete", false);
|
||||||
},
|
},
|
||||||
addExchangeComment(id, data) {
|
addExchangeComment(id, data) {
|
||||||
return utils_request.request("/exchange/comment/" + id, data, "post", true, "application/json");
|
return utils_request.request("/exchange/comment/" + id, data, "post", true);
|
||||||
},
|
},
|
||||||
delExchangeComment(id) {
|
delExchangeComment(id) {
|
||||||
return utils_request.request("/exchange/comment/" + id, {}, "delete", false);
|
return utils_request.request("/exchange/comment/" + id, {}, "delete", false);
|
||||||
|
|||||||
294
unpackage/dist/dev/mp-weixin/common/vendor.js
vendored
294
unpackage/dist/dev/mp-weixin/common/vendor.js
vendored
@ -7319,7 +7319,7 @@ function isConsoleWritable() {
|
|||||||
function initRuntimeSocketService() {
|
function initRuntimeSocketService() {
|
||||||
const hosts = "192.168.100.165,127.0.0.1";
|
const hosts = "192.168.100.165,127.0.0.1";
|
||||||
const port = "8090";
|
const port = "8090";
|
||||||
const id = "mp-weixin_sl0SNv";
|
const id = "mp-weixin_aXLJP2";
|
||||||
const lazy = typeof swan !== "undefined";
|
const lazy = typeof swan !== "undefined";
|
||||||
let restoreError = lazy ? () => {
|
let restoreError = lazy ? () => {
|
||||||
} : initOnError();
|
} : initOnError();
|
||||||
@ -14313,74 +14313,6 @@ Schema.register = function register(type2, validator) {
|
|||||||
Schema.warning = warning;
|
Schema.warning = warning;
|
||||||
Schema.messages = messages;
|
Schema.messages = messages;
|
||||||
const props$l = defineMixin({
|
const props$l = defineMixin({
|
||||||
props: {
|
|
||||||
// 标题
|
|
||||||
title: {
|
|
||||||
type: [String, Number],
|
|
||||||
default: () => props$B.stepsItem.title
|
|
||||||
},
|
|
||||||
// 描述文本
|
|
||||||
desc: {
|
|
||||||
type: [String, Number],
|
|
||||||
default: () => props$B.stepsItem.desc
|
|
||||||
},
|
|
||||||
// 图标大小
|
|
||||||
iconSize: {
|
|
||||||
type: [String, Number],
|
|
||||||
default: () => props$B.stepsItem.iconSize
|
|
||||||
},
|
|
||||||
// 当前步骤是否处于失败状态
|
|
||||||
error: {
|
|
||||||
type: Boolean,
|
|
||||||
default: () => props$B.stepsItem.error
|
|
||||||
},
|
|
||||||
// 自定义样式
|
|
||||||
itemStyle: {
|
|
||||||
type: [Object],
|
|
||||||
default: {}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
const props$k = defineMixin({
|
|
||||||
props: {
|
|
||||||
// 排列方向
|
|
||||||
direction: {
|
|
||||||
type: String,
|
|
||||||
default: () => props$B.steps.direction
|
|
||||||
},
|
|
||||||
// 设置第几个步骤
|
|
||||||
current: {
|
|
||||||
type: [String, Number],
|
|
||||||
default: () => props$B.steps.current
|
|
||||||
},
|
|
||||||
// 激活状态颜色
|
|
||||||
activeColor: {
|
|
||||||
type: String,
|
|
||||||
default: () => props$B.steps.activeColor
|
|
||||||
},
|
|
||||||
// 未激活状态颜色
|
|
||||||
inactiveColor: {
|
|
||||||
type: String,
|
|
||||||
default: () => props$B.steps.inactiveColor
|
|
||||||
},
|
|
||||||
// 激活状态的图标
|
|
||||||
activeIcon: {
|
|
||||||
type: String,
|
|
||||||
default: () => props$B.steps.activeIcon
|
|
||||||
},
|
|
||||||
// 未激活状态图标
|
|
||||||
inactiveIcon: {
|
|
||||||
type: String,
|
|
||||||
default: () => props$B.steps.inactiveIcon
|
|
||||||
},
|
|
||||||
// 是否显示点类型
|
|
||||||
dot: {
|
|
||||||
type: Boolean,
|
|
||||||
default: () => props$B.steps.dot
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
const props$j = defineMixin({
|
|
||||||
props: {
|
props: {
|
||||||
// 滑块的移动过渡时间,单位ms
|
// 滑块的移动过渡时间,单位ms
|
||||||
duration: {
|
duration: {
|
||||||
@ -15552,7 +15484,7 @@ const mixinUpload = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const props$i = defineMixin({
|
const props$k = defineMixin({
|
||||||
props: {
|
props: {
|
||||||
// 接受的文件类型, 可选值为all media image file video
|
// 接受的文件类型, 可选值为all media image file video
|
||||||
accept: {
|
accept: {
|
||||||
@ -15680,6 +15612,74 @@ const props$i = defineMixin({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
const props$j = defineMixin({
|
||||||
|
props: {
|
||||||
|
// 标题
|
||||||
|
title: {
|
||||||
|
type: [String, Number],
|
||||||
|
default: () => props$B.stepsItem.title
|
||||||
|
},
|
||||||
|
// 描述文本
|
||||||
|
desc: {
|
||||||
|
type: [String, Number],
|
||||||
|
default: () => props$B.stepsItem.desc
|
||||||
|
},
|
||||||
|
// 图标大小
|
||||||
|
iconSize: {
|
||||||
|
type: [String, Number],
|
||||||
|
default: () => props$B.stepsItem.iconSize
|
||||||
|
},
|
||||||
|
// 当前步骤是否处于失败状态
|
||||||
|
error: {
|
||||||
|
type: Boolean,
|
||||||
|
default: () => props$B.stepsItem.error
|
||||||
|
},
|
||||||
|
// 自定义样式
|
||||||
|
itemStyle: {
|
||||||
|
type: [Object],
|
||||||
|
default: {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
const props$i = defineMixin({
|
||||||
|
props: {
|
||||||
|
// 排列方向
|
||||||
|
direction: {
|
||||||
|
type: String,
|
||||||
|
default: () => props$B.steps.direction
|
||||||
|
},
|
||||||
|
// 设置第几个步骤
|
||||||
|
current: {
|
||||||
|
type: [String, Number],
|
||||||
|
default: () => props$B.steps.current
|
||||||
|
},
|
||||||
|
// 激活状态颜色
|
||||||
|
activeColor: {
|
||||||
|
type: String,
|
||||||
|
default: () => props$B.steps.activeColor
|
||||||
|
},
|
||||||
|
// 未激活状态颜色
|
||||||
|
inactiveColor: {
|
||||||
|
type: String,
|
||||||
|
default: () => props$B.steps.inactiveColor
|
||||||
|
},
|
||||||
|
// 激活状态的图标
|
||||||
|
activeIcon: {
|
||||||
|
type: String,
|
||||||
|
default: () => props$B.steps.activeIcon
|
||||||
|
},
|
||||||
|
// 未激活状态图标
|
||||||
|
inactiveIcon: {
|
||||||
|
type: String,
|
||||||
|
default: () => props$B.steps.inactiveIcon
|
||||||
|
},
|
||||||
|
// 是否显示点类型
|
||||||
|
dot: {
|
||||||
|
type: Boolean,
|
||||||
|
default: () => props$B.steps.dot
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
const props$h = defineMixin({
|
const props$h = defineMixin({
|
||||||
props: {
|
props: {
|
||||||
modelValue: {
|
modelValue: {
|
||||||
@ -16401,6 +16401,83 @@ const props$4 = defineMixin({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
const props$3 = defineMixin({
|
const props$3 = defineMixin({
|
||||||
|
props: {
|
||||||
|
// 是否显示圆点
|
||||||
|
isDot: {
|
||||||
|
type: Boolean,
|
||||||
|
default: () => props$B.badge.isDot
|
||||||
|
},
|
||||||
|
// 显示的内容
|
||||||
|
value: {
|
||||||
|
type: [Number, String],
|
||||||
|
default: () => props$B.badge.value
|
||||||
|
},
|
||||||
|
// 显示的内容
|
||||||
|
modelValue: {
|
||||||
|
type: [Number, String],
|
||||||
|
default: () => props$B.badge.modelValue
|
||||||
|
},
|
||||||
|
// 是否显示
|
||||||
|
show: {
|
||||||
|
type: Boolean,
|
||||||
|
default: () => props$B.badge.show
|
||||||
|
},
|
||||||
|
// 最大值,超过最大值会显示 '{max}+'
|
||||||
|
max: {
|
||||||
|
type: [Number, String],
|
||||||
|
default: () => props$B.badge.max
|
||||||
|
},
|
||||||
|
// 主题类型,error|warning|success|primary
|
||||||
|
type: {
|
||||||
|
type: String,
|
||||||
|
default: () => props$B.badge.type
|
||||||
|
},
|
||||||
|
// 当数值为 0 时,是否展示 Badge
|
||||||
|
showZero: {
|
||||||
|
type: Boolean,
|
||||||
|
default: () => props$B.badge.showZero
|
||||||
|
},
|
||||||
|
// 背景颜色,优先级比type高,如设置,type参数会失效
|
||||||
|
bgColor: {
|
||||||
|
type: [String, null],
|
||||||
|
default: () => props$B.badge.bgColor
|
||||||
|
},
|
||||||
|
// 字体颜色
|
||||||
|
color: {
|
||||||
|
type: [String, null],
|
||||||
|
default: () => props$B.badge.color
|
||||||
|
},
|
||||||
|
// 徽标形状,circle-四角均为圆角,horn-左下角为直角
|
||||||
|
shape: {
|
||||||
|
type: String,
|
||||||
|
default: () => props$B.badge.shape
|
||||||
|
},
|
||||||
|
// 设置数字的显示方式,overflow|ellipsis|limit
|
||||||
|
// overflow会根据max字段判断,超出显示`${max}+`
|
||||||
|
// ellipsis会根据max判断,超出显示`${max}...`
|
||||||
|
// limit会依据1000作为判断条件,超出1000,显示`${value/1000}K`,比如2.2k、3.34w,最多保留2位小数
|
||||||
|
numberType: {
|
||||||
|
type: String,
|
||||||
|
default: () => props$B.badge.numberType
|
||||||
|
},
|
||||||
|
// 设置badge的位置偏移,格式为 [x, y],也即设置的为top和right的值,absolute为true时有效
|
||||||
|
offset: {
|
||||||
|
type: Array,
|
||||||
|
default: () => props$B.badge.offset
|
||||||
|
},
|
||||||
|
// 是否反转背景和字体颜色
|
||||||
|
inverted: {
|
||||||
|
type: Boolean,
|
||||||
|
default: () => props$B.badge.inverted
|
||||||
|
},
|
||||||
|
// 是否绝对定位
|
||||||
|
absolute: {
|
||||||
|
type: Boolean,
|
||||||
|
default: () => props$B.badge.absolute
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
const props$2 = defineMixin({
|
||||||
props: {
|
props: {
|
||||||
// 主题颜色
|
// 主题颜色
|
||||||
type: {
|
type: {
|
||||||
@ -16589,83 +16666,6 @@ const value = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const props$2 = defineMixin({
|
|
||||||
props: {
|
|
||||||
// 是否显示圆点
|
|
||||||
isDot: {
|
|
||||||
type: Boolean,
|
|
||||||
default: () => props$B.badge.isDot
|
|
||||||
},
|
|
||||||
// 显示的内容
|
|
||||||
value: {
|
|
||||||
type: [Number, String],
|
|
||||||
default: () => props$B.badge.value
|
|
||||||
},
|
|
||||||
// 显示的内容
|
|
||||||
modelValue: {
|
|
||||||
type: [Number, String],
|
|
||||||
default: () => props$B.badge.modelValue
|
|
||||||
},
|
|
||||||
// 是否显示
|
|
||||||
show: {
|
|
||||||
type: Boolean,
|
|
||||||
default: () => props$B.badge.show
|
|
||||||
},
|
|
||||||
// 最大值,超过最大值会显示 '{max}+'
|
|
||||||
max: {
|
|
||||||
type: [Number, String],
|
|
||||||
default: () => props$B.badge.max
|
|
||||||
},
|
|
||||||
// 主题类型,error|warning|success|primary
|
|
||||||
type: {
|
|
||||||
type: String,
|
|
||||||
default: () => props$B.badge.type
|
|
||||||
},
|
|
||||||
// 当数值为 0 时,是否展示 Badge
|
|
||||||
showZero: {
|
|
||||||
type: Boolean,
|
|
||||||
default: () => props$B.badge.showZero
|
|
||||||
},
|
|
||||||
// 背景颜色,优先级比type高,如设置,type参数会失效
|
|
||||||
bgColor: {
|
|
||||||
type: [String, null],
|
|
||||||
default: () => props$B.badge.bgColor
|
|
||||||
},
|
|
||||||
// 字体颜色
|
|
||||||
color: {
|
|
||||||
type: [String, null],
|
|
||||||
default: () => props$B.badge.color
|
|
||||||
},
|
|
||||||
// 徽标形状,circle-四角均为圆角,horn-左下角为直角
|
|
||||||
shape: {
|
|
||||||
type: String,
|
|
||||||
default: () => props$B.badge.shape
|
|
||||||
},
|
|
||||||
// 设置数字的显示方式,overflow|ellipsis|limit
|
|
||||||
// overflow会根据max字段判断,超出显示`${max}+`
|
|
||||||
// ellipsis会根据max判断,超出显示`${max}...`
|
|
||||||
// limit会依据1000作为判断条件,超出1000,显示`${value/1000}K`,比如2.2k、3.34w,最多保留2位小数
|
|
||||||
numberType: {
|
|
||||||
type: String,
|
|
||||||
default: () => props$B.badge.numberType
|
|
||||||
},
|
|
||||||
// 设置badge的位置偏移,格式为 [x, y],也即设置的为top和right的值,absolute为true时有效
|
|
||||||
offset: {
|
|
||||||
type: Array,
|
|
||||||
default: () => props$B.badge.offset
|
|
||||||
},
|
|
||||||
// 是否反转背景和字体颜色
|
|
||||||
inverted: {
|
|
||||||
type: Boolean,
|
|
||||||
default: () => props$B.badge.inverted
|
|
||||||
},
|
|
||||||
// 是否绝对定位
|
|
||||||
absolute: {
|
|
||||||
type: Boolean,
|
|
||||||
default: () => props$B.badge.absolute
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
const props$1 = defineMixin({
|
const props$1 = defineMixin({
|
||||||
props: {
|
props: {
|
||||||
// 是否展示工具条
|
// 是否展示工具条
|
||||||
|
|||||||
@ -21,7 +21,6 @@ const _sfc_main = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
setup(__props) {
|
setup(__props) {
|
||||||
const props = __props;
|
|
||||||
const useImg = common_vendor.ref("");
|
const useImg = common_vendor.ref("");
|
||||||
const goBack = () => {
|
const goBack = () => {
|
||||||
common_vendor.index.navigateBack({
|
common_vendor.index.navigateBack({
|
||||||
@ -29,16 +28,9 @@ const _sfc_main = {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
const goHome = () => {
|
const goHome = () => {
|
||||||
common_vendor.index.__f__("log", "at components/backDetailNav/backDetailNav.vue:62", props.navName);
|
common_vendor.index.reLaunch({
|
||||||
if (props.navName == "肝胆相照病例交流园地") {
|
url: "/pages/index/index"
|
||||||
common_vendor.index.reLaunch({
|
});
|
||||||
url: "/pages/caseTalk/caseTalk"
|
|
||||||
});
|
|
||||||
} else {
|
|
||||||
common_vendor.index.reLaunch({
|
|
||||||
url: "/pages/index/index"
|
|
||||||
});
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
const goMy = () => {
|
const goMy = () => {
|
||||||
utils_navTo.navTo({
|
utils_navTo.navTo({
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
const common_vendor = require("../../../../common/vendor.js");
|
const common_vendor = require("../../../../common/vendor.js");
|
||||||
const _sfc_main = {
|
const _sfc_main = {
|
||||||
name: "u-badge",
|
name: "u-badge",
|
||||||
mixins: [common_vendor.mpMixin, common_vendor.props$35, common_vendor.mixin],
|
mixins: [common_vendor.mpMixin, common_vendor.props$34, common_vendor.mixin],
|
||||||
computed: {
|
computed: {
|
||||||
// 是否将badge中心与父组件右上角重合
|
// 是否将badge中心与父组件右上角重合
|
||||||
boxStyle() {
|
boxStyle() {
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
const common_vendor = require("../../../../common/vendor.js");
|
const common_vendor = require("../../../../common/vendor.js");
|
||||||
const _sfc_main = {
|
const _sfc_main = {
|
||||||
name: "u-steps-item",
|
name: "u-steps-item",
|
||||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$16],
|
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$18],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
index: 0,
|
index: 0,
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
const common_vendor = require("../../../../common/vendor.js");
|
const common_vendor = require("../../../../common/vendor.js");
|
||||||
const _sfc_main = {
|
const _sfc_main = {
|
||||||
name: "u-steps",
|
name: "u-steps",
|
||||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$17],
|
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$19],
|
||||||
data() {
|
data() {
|
||||||
return {};
|
return {};
|
||||||
},
|
},
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
const common_vendor = require("../../../../common/vendor.js");
|
const common_vendor = require("../../../../common/vendor.js");
|
||||||
const _sfc_main = {
|
const _sfc_main = {
|
||||||
name: "u-tabs",
|
name: "u-tabs",
|
||||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$18],
|
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$16],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
firstTime: true,
|
firstTime: true,
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
const common_vendor = require("../../../../common/vendor.js");
|
const common_vendor = require("../../../../common/vendor.js");
|
||||||
const _sfc_main = {
|
const _sfc_main = {
|
||||||
name: "up-text",
|
name: "up-text",
|
||||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.value, common_vendor.buttonMixin, common_vendor.openType, common_vendor.props$34],
|
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.value, common_vendor.buttonMixin, common_vendor.openType, common_vendor.props$35],
|
||||||
emits: ["click"],
|
emits: ["click"],
|
||||||
computed: {
|
computed: {
|
||||||
wrapStyle() {
|
wrapStyle() {
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
const common_vendor = require("../../../../common/vendor.js");
|
const common_vendor = require("../../../../common/vendor.js");
|
||||||
const _sfc_main = {
|
const _sfc_main = {
|
||||||
name: "u-upload",
|
name: "u-upload",
|
||||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.mixinUpload, common_vendor.props$19],
|
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.mixinUpload, common_vendor.props$17],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
lists: [],
|
lists: [],
|
||||||
|
|||||||
@ -147,7 +147,7 @@ const _sfc_main = {
|
|||||||
};
|
};
|
||||||
const getUserPoint = () => {
|
const getUserPoint = () => {
|
||||||
api_api.api.getUserPoint().then((res) => {
|
api_api.api.getUserPoint().then((res) => {
|
||||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:732", res.data.data);
|
common_vendor.index.__f__("log", "at pages/detail/detail.vue:734", res.data.data);
|
||||||
point.value = res.data.data;
|
point.value = res.data.data;
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
@ -327,18 +327,18 @@ const _sfc_main = {
|
|||||||
};
|
};
|
||||||
const close = () => {
|
const close = () => {
|
||||||
showCommentDialog.value = false;
|
showCommentDialog.value = false;
|
||||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:930", "close");
|
common_vendor.index.__f__("log", "at pages/detail/detail.vue:932", "close");
|
||||||
};
|
};
|
||||||
const openDeal = () => {
|
const openDeal = () => {
|
||||||
showDeal.value = true;
|
showDeal.value = true;
|
||||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:935", "open");
|
common_vendor.index.__f__("log", "at pages/detail/detail.vue:937", "open");
|
||||||
};
|
};
|
||||||
const closeDeal = () => {
|
const closeDeal = () => {
|
||||||
showDeal.value = false;
|
showDeal.value = false;
|
||||||
};
|
};
|
||||||
const openMore = () => {
|
const openMore = () => {
|
||||||
showMore.value = true;
|
showMore.value = true;
|
||||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:943", "open");
|
common_vendor.index.__f__("log", "at pages/detail/detail.vue:945", "open");
|
||||||
};
|
};
|
||||||
const closeMore = () => {
|
const closeMore = () => {
|
||||||
showMore.value = false;
|
showMore.value = false;
|
||||||
@ -376,12 +376,12 @@ const _sfc_main = {
|
|||||||
success(res) {
|
success(res) {
|
||||||
if (res.statusCode === 204) {
|
if (res.statusCode === 204) {
|
||||||
let url = host + "/" + dir + filename + imgType;
|
let url = host + "/" + dir + filename + imgType;
|
||||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1294", url);
|
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1296", url);
|
||||||
imgList.value = [url];
|
imgList.value = [url];
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
fail: (err) => {
|
fail: (err) => {
|
||||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1299", err);
|
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1301", err);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@ -400,8 +400,8 @@ const _sfc_main = {
|
|||||||
return "unknown";
|
return "unknown";
|
||||||
};
|
};
|
||||||
const afterRead = (file, lists, name) => {
|
const afterRead = (file, lists, name) => {
|
||||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1318", lists);
|
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1320", lists);
|
||||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1319", name);
|
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1321", name);
|
||||||
handleUpload(file);
|
handleUpload(file);
|
||||||
};
|
};
|
||||||
const delImg = (index) => {
|
const delImg = (index) => {
|
||||||
@ -426,7 +426,7 @@ const _sfc_main = {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
const collectExchange = (id2) => {
|
const collectExchange = (id2) => {
|
||||||
api_api.api.exchangeCollect(id2).then((res) => {
|
api_api.api.collectExchange(id2).then((res) => {
|
||||||
common_vendor.index.showToast({
|
common_vendor.index.showToast({
|
||||||
icon: "none",
|
icon: "none",
|
||||||
title: "收藏成功"
|
title: "收藏成功"
|
||||||
@ -693,7 +693,7 @@ const _sfc_main = {
|
|||||||
return (_ctx, _cache) => {
|
return (_ctx, _cache) => {
|
||||||
return common_vendor.e({
|
return common_vendor.e({
|
||||||
a: common_vendor.p({
|
a: common_vendor.p({
|
||||||
navName: type.value == "exchange" ? "肝胆相照病例交流园地" : "肝胆相照临床病例库"
|
navName: "肝胆相照临床病例库"
|
||||||
}),
|
}),
|
||||||
b: common_vendor.p({
|
b: common_vendor.p({
|
||||||
src: common_vendor.unref(common_assets.chatImg),
|
src: common_vendor.unref(common_assets.chatImg),
|
||||||
|
|||||||
58
unpackage/dist/dev/mp-weixin/pages/my/my.js
vendored
58
unpackage/dist/dev/mp-weixin/pages/my/my.js
vendored
@ -96,94 +96,88 @@ const _sfc_main = {
|
|||||||
b: common_vendor.t(userInfo.user_name),
|
b: common_vendor.t(userInfo.user_name),
|
||||||
c: common_vendor.t(userInfo.title),
|
c: common_vendor.t(userInfo.title),
|
||||||
d: common_vendor.t(userInfo.hospital_name),
|
d: common_vendor.t(userInfo.hospital_name),
|
||||||
e: numInfo.article_num + numInfo.video_num >= 5
|
e: common_vendor.t(numInfo.article_num),
|
||||||
|
f: common_vendor.t(numInfo.video_num),
|
||||||
|
g: common_vendor.t(numInfo.video_read_num + numInfo.article_read_num),
|
||||||
|
h: numInfo.article_num + numInfo.video_num >= 5
|
||||||
}, numInfo.article_num + numInfo.video_num >= 5 ? {
|
}, numInfo.article_num + numInfo.video_num >= 5 ? {
|
||||||
f: common_vendor.t(numInfo.article_num),
|
i: common_vendor.p({
|
||||||
g: common_vendor.t(numInfo.video_num),
|
|
||||||
h: common_vendor.t(numInfo.video_read_num + numInfo.article_read_num)
|
|
||||||
} : {}, {
|
|
||||||
i: numInfo.article_num + numInfo.video_num >= 5
|
|
||||||
}, numInfo.article_num + numInfo.video_num >= 5 ? {
|
|
||||||
j: common_vendor.p({
|
|
||||||
src: common_vendor.unref(common_assets.myFile),
|
src: common_vendor.unref(common_assets.myFile),
|
||||||
width: "34rpx",
|
width: "34rpx",
|
||||||
height: "34rpx"
|
height: "34rpx"
|
||||||
}),
|
}),
|
||||||
k: common_vendor.p({
|
j: common_vendor.p({
|
||||||
name: "arrow-right",
|
name: "arrow-right",
|
||||||
color: "#9CA3AF",
|
color: "#9CA3AF",
|
||||||
size: "18"
|
size: "18"
|
||||||
}),
|
}),
|
||||||
l: common_vendor.o(($event) => goDoctor(userInfo.doctor_id, userInfo.user_name))
|
k: common_vendor.o(($event) => goDoctor(userInfo.doctor_id, userInfo.user_name))
|
||||||
} : {}, {
|
} : {}, {
|
||||||
m: numInfo.article_num + numInfo.video_num >= 5
|
l: common_vendor.p({
|
||||||
}, numInfo.article_num + numInfo.video_num >= 5 ? {
|
|
||||||
n: common_vendor.p({
|
|
||||||
src: common_vendor.unref(common_assets.myDownload),
|
src: common_vendor.unref(common_assets.myDownload),
|
||||||
width: "42rpx",
|
width: "42rpx",
|
||||||
height: "42rpx"
|
height: "42rpx"
|
||||||
}),
|
}),
|
||||||
o: common_vendor.p({
|
m: common_vendor.p({
|
||||||
name: "arrow-right",
|
name: "arrow-right",
|
||||||
color: "#9CA3AF",
|
color: "#9CA3AF",
|
||||||
size: "18"
|
size: "18"
|
||||||
}),
|
}),
|
||||||
p: common_vendor.o(goCert)
|
n: common_vendor.o(goCert),
|
||||||
} : {}, {
|
o: hospitalInfo.video_num + hospitalInfo.article_num >= 10
|
||||||
q: hospitalInfo.video_num + hospitalInfo.article_num >= 10
|
|
||||||
}, hospitalInfo.video_num + hospitalInfo.article_num >= 10 ? {
|
}, hospitalInfo.video_num + hospitalInfo.article_num >= 10 ? {
|
||||||
r: common_vendor.p({
|
p: common_vendor.p({
|
||||||
src: common_vendor.unref(common_assets.myHospital),
|
src: common_vendor.unref(common_assets.myHospital),
|
||||||
width: "39rpx",
|
width: "39rpx",
|
||||||
height: "39rpx"
|
height: "39rpx"
|
||||||
}),
|
}),
|
||||||
s: common_vendor.t(userInfo.hospital_name),
|
q: common_vendor.t(userInfo.hospital_name),
|
||||||
t: common_vendor.p({
|
r: common_vendor.p({
|
||||||
name: "arrow-right",
|
name: "arrow-right",
|
||||||
color: "#9CA3AF",
|
color: "#9CA3AF",
|
||||||
size: "18"
|
size: "18"
|
||||||
}),
|
}),
|
||||||
v: common_vendor.o(($event) => goHospital(userInfo.hospital_id, userInfo.hospital_name))
|
s: common_vendor.o(($event) => goHospital(userInfo.hospital_id, userInfo.hospital_name))
|
||||||
} : {}, {
|
} : {}, {
|
||||||
w: common_vendor.p({
|
t: common_vendor.p({
|
||||||
src: common_vendor.unref(common_assets.myTalk),
|
src: common_vendor.unref(common_assets.myTalk),
|
||||||
width: "39rpx",
|
width: "39rpx",
|
||||||
height: "39rpx"
|
height: "39rpx"
|
||||||
}),
|
}),
|
||||||
x: common_vendor.p({
|
v: common_vendor.p({
|
||||||
name: "arrow-right",
|
name: "arrow-right",
|
||||||
color: "#9CA3AF",
|
color: "#9CA3AF",
|
||||||
size: "18"
|
size: "18"
|
||||||
}),
|
}),
|
||||||
y: common_vendor.o(mySpecial),
|
w: common_vendor.o(mySpecial),
|
||||||
z: common_vendor.p({
|
x: common_vendor.p({
|
||||||
src: common_vendor.unref(common_assets.myJoin),
|
src: common_vendor.unref(common_assets.myJoin),
|
||||||
width: "39rpx",
|
width: "39rpx",
|
||||||
height: "39rpx"
|
height: "39rpx"
|
||||||
}),
|
}),
|
||||||
A: common_vendor.p({
|
y: common_vendor.p({
|
||||||
name: "arrow-right",
|
name: "arrow-right",
|
||||||
color: "#9CA3AF",
|
color: "#9CA3AF",
|
||||||
size: "18"
|
size: "18"
|
||||||
}),
|
}),
|
||||||
B: common_vendor.o(goJoin),
|
z: common_vendor.o(goJoin),
|
||||||
C: common_vendor.p({
|
A: common_vendor.p({
|
||||||
src: common_vendor.unref(common_assets.myCollect),
|
src: common_vendor.unref(common_assets.myCollect),
|
||||||
width: "39rpx",
|
width: "39rpx",
|
||||||
height: "39rpx"
|
height: "39rpx"
|
||||||
}),
|
}),
|
||||||
D: common_vendor.p({
|
B: common_vendor.p({
|
||||||
name: "arrow-right",
|
name: "arrow-right",
|
||||||
color: "#9CA3AF",
|
color: "#9CA3AF",
|
||||||
size: "18"
|
size: "18"
|
||||||
}),
|
}),
|
||||||
E: common_vendor.o(goCollect),
|
C: common_vendor.o(goCollect),
|
||||||
F: common_vendor.p({
|
D: common_vendor.p({
|
||||||
name: "plus",
|
name: "plus",
|
||||||
color: "#fff",
|
color: "#fff",
|
||||||
size: "18"
|
size: "18"
|
||||||
}),
|
}),
|
||||||
G: common_vendor.o(goPublish)
|
E: common_vendor.o(goPublish)
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
<view class="upage data-v-2f1ef635"><d-nav class="data-v-2f1ef635" u-i="2f1ef635-0" bind:__l="__l"></d-nav><view class="con data-v-2f1ef635"><view class="infobox data-v-2f1ef635"><up--image wx:if="{{a}}" class="data-v-2f1ef635" u-i="2f1ef635-1" bind:__l="__l" u-p="{{a}}"></up--image><view class="info data-v-2f1ef635"><view class="name data-v-2f1ef635">{{b}}({{c}}) </view><view class="hospital data-v-2f1ef635">{{d}}</view></view></view><view wx:if="{{e}}" class="databox data-v-2f1ef635"><view class="cell data-v-2f1ef635"><view class="num data-v-2f1ef635">{{f}}</view><view class="name data-v-2f1ef635">文章</view></view><view class="cell data-v-2f1ef635"><view class="num data-v-2f1ef635">{{g}}</view><view class="name data-v-2f1ef635">视频</view></view><view class="cell data-v-2f1ef635"><view class="num data-v-2f1ef635">{{h}}</view><view class="name data-v-2f1ef635">阅读量</view></view></view><view class="listbox data-v-2f1ef635"><view class="titlename data-v-2f1ef635">我的临床病例库</view><view wx:if="{{i}}" class="cell data-v-2f1ef635" bindtap="{{l}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{j}}" class="data-v-2f1ef635" u-i="2f1ef635-2" bind:__l="__l" u-p="{{j}}"></up--image><view class="title data-v-2f1ef635">我的病例库</view></view><u-icon wx:if="{{k}}" class="data-v-2f1ef635" u-i="2f1ef635-3" bind:__l="__l" u-p="{{k}}"></u-icon></view><view wx:if="{{m}}" class="cell data-v-2f1ef635" bindtap="{{p}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{n}}" class="data-v-2f1ef635" u-i="2f1ef635-4" bind:__l="__l" u-p="{{n}}"></up--image><view class="title data-v-2f1ef635">临床病例库收录证书下载</view></view><u-icon wx:if="{{o}}" class="data-v-2f1ef635" u-i="2f1ef635-5" bind:__l="__l" u-p="{{o}}"></u-icon></view><view wx:if="{{q}}" class="cell data-v-2f1ef635" bindtap="{{v}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{r}}" class="data-v-2f1ef635" u-i="2f1ef635-6" bind:__l="__l" u-p="{{r}}"></up--image><view class="title data-v-2f1ef635">{{s}}临床病例库</view></view><u-icon wx:if="{{t}}" class="data-v-2f1ef635" u-i="2f1ef635-7" bind:__l="__l" u-p="{{t}}"></u-icon></view><view class="cell data-v-2f1ef635" bindtap="{{y}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{w}}" class="data-v-2f1ef635" u-i="2f1ef635-8" bind:__l="__l" u-p="{{w}}"></up--image><view class="title data-v-2f1ef635">我的病例交流</view></view><u-icon wx:if="{{x}}" class="data-v-2f1ef635" u-i="2f1ef635-9" bind:__l="__l" u-p="{{x}}"></u-icon></view><view class="cell data-v-2f1ef635" bindtap="{{B}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{z}}" class="data-v-2f1ef635" u-i="2f1ef635-10" bind:__l="__l" u-p="{{z}}"></up--image><view class="title data-v-2f1ef635">我的参与互动</view></view><u-icon wx:if="{{A}}" class="data-v-2f1ef635" u-i="2f1ef635-11" bind:__l="__l" u-p="{{A}}"></u-icon></view><view class="cell data-v-2f1ef635" bindtap="{{E}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{C}}" class="data-v-2f1ef635" u-i="2f1ef635-12" bind:__l="__l" u-p="{{C}}"></up--image><view class="title data-v-2f1ef635">浏览与收藏</view></view><u-icon wx:if="{{D}}" class="data-v-2f1ef635" u-i="2f1ef635-13" bind:__l="__l" u-p="{{D}}"></u-icon></view></view></view><view class="publish data-v-2f1ef635" bindtap="{{G}}"><up-icon wx:if="{{F}}" class="data-v-2f1ef635" u-i="2f1ef635-14" bind:__l="__l" u-p="{{F}}"></up-icon></view></view>
|
<view class="upage data-v-2f1ef635"><d-nav class="data-v-2f1ef635" u-i="2f1ef635-0" bind:__l="__l"></d-nav><view class="con data-v-2f1ef635"><view class="infobox data-v-2f1ef635"><up--image wx:if="{{a}}" class="data-v-2f1ef635" u-i="2f1ef635-1" bind:__l="__l" u-p="{{a}}"></up--image><view class="info data-v-2f1ef635"><view class="name data-v-2f1ef635">{{b}}({{c}}) </view><view class="hospital data-v-2f1ef635">{{d}}</view></view></view><view class="databox data-v-2f1ef635"><view class="cell data-v-2f1ef635"><view class="num data-v-2f1ef635">{{e}}</view><view class="name data-v-2f1ef635">文章</view></view><view class="cell data-v-2f1ef635"><view class="num data-v-2f1ef635">{{f}}</view><view class="name data-v-2f1ef635">视频</view></view><view class="cell data-v-2f1ef635"><view class="num data-v-2f1ef635">{{g}}</view><view class="name data-v-2f1ef635">阅读量</view></view></view><view class="listbox data-v-2f1ef635"><view class="titlename data-v-2f1ef635">我的临床病例库</view><view wx:if="{{h}}" class="cell data-v-2f1ef635" bindtap="{{k}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{i}}" class="data-v-2f1ef635" u-i="2f1ef635-2" bind:__l="__l" u-p="{{i}}"></up--image><view class="title data-v-2f1ef635">我的病例库</view></view><u-icon wx:if="{{j}}" class="data-v-2f1ef635" u-i="2f1ef635-3" bind:__l="__l" u-p="{{j}}"></u-icon></view><view class="cell data-v-2f1ef635" bindtap="{{n}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{l}}" class="data-v-2f1ef635" u-i="2f1ef635-4" bind:__l="__l" u-p="{{l}}"></up--image><view class="title data-v-2f1ef635">临床病例库收录证书下载</view></view><u-icon wx:if="{{m}}" class="data-v-2f1ef635" u-i="2f1ef635-5" bind:__l="__l" u-p="{{m}}"></u-icon></view><view wx:if="{{o}}" class="cell data-v-2f1ef635" bindtap="{{s}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{p}}" class="data-v-2f1ef635" u-i="2f1ef635-6" bind:__l="__l" u-p="{{p}}"></up--image><view class="title data-v-2f1ef635">{{q}}临床病例库</view></view><u-icon wx:if="{{r}}" class="data-v-2f1ef635" u-i="2f1ef635-7" bind:__l="__l" u-p="{{r}}"></u-icon></view><view class="cell data-v-2f1ef635" bindtap="{{w}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{t}}" class="data-v-2f1ef635" u-i="2f1ef635-8" bind:__l="__l" u-p="{{t}}"></up--image><view class="title data-v-2f1ef635">我的病例交流</view></view><u-icon wx:if="{{v}}" class="data-v-2f1ef635" u-i="2f1ef635-9" bind:__l="__l" u-p="{{v}}"></u-icon></view><view class="cell data-v-2f1ef635" bindtap="{{z}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{x}}" class="data-v-2f1ef635" u-i="2f1ef635-10" bind:__l="__l" u-p="{{x}}"></up--image><view class="title data-v-2f1ef635">我的参与互动</view></view><u-icon wx:if="{{y}}" class="data-v-2f1ef635" u-i="2f1ef635-11" bind:__l="__l" u-p="{{y}}"></u-icon></view><view class="cell data-v-2f1ef635" bindtap="{{C}}"><view class="left data-v-2f1ef635"><up--image wx:if="{{A}}" class="data-v-2f1ef635" u-i="2f1ef635-12" bind:__l="__l" u-p="{{A}}"></up--image><view class="title data-v-2f1ef635">浏览与收藏</view></view><u-icon wx:if="{{B}}" class="data-v-2f1ef635" u-i="2f1ef635-13" bind:__l="__l" u-p="{{B}}"></u-icon></view></view></view><view class="publish data-v-2f1ef635" bindtap="{{E}}"><up-icon wx:if="{{D}}" class="data-v-2f1ef635" u-i="2f1ef635-14" bind:__l="__l" u-p="{{D}}"></up-icon></view></view>
|
||||||
@ -26,7 +26,7 @@ const _sfc_main = {
|
|||||||
const total = common_vendor.ref(0);
|
const total = common_vendor.ref(0);
|
||||||
common_vendor.ref("");
|
common_vendor.ref("");
|
||||||
const keyWord = common_vendor.ref("");
|
const keyWord = common_vendor.ref("");
|
||||||
common_vendor.ref(true);
|
const isArticle = common_vendor.ref(true);
|
||||||
const isSearch = common_vendor.ref(false);
|
const isSearch = common_vendor.ref(false);
|
||||||
const navName = common_vendor.ref("肝胆相照临床病例库");
|
const navName = common_vendor.ref("肝胆相照临床病例库");
|
||||||
const type1 = common_vendor.ref(0);
|
const type1 = common_vendor.ref(0);
|
||||||
@ -82,16 +82,9 @@ const _sfc_main = {
|
|||||||
return common_vendor.dayjs(date).format("YYYY-MM-DD");
|
return common_vendor.dayjs(date).format("YYYY-MM-DD");
|
||||||
};
|
};
|
||||||
const goDetail = (id) => {
|
const goDetail = (id) => {
|
||||||
common_vendor.index.__f__("log", "at pages/myCollect/myCollect.vue:135", type1.value);
|
common_vendor.index.__f__("log", "at pages/myCollect/myCollect.vue:135", 11111);
|
||||||
common_vendor.index.__f__("log", "at pages/myCollect/myCollect.vue:136", id);
|
common_vendor.index.__f__("log", "at pages/myCollect/myCollect.vue:136", id);
|
||||||
let type = "article";
|
let type = isArticle.value ? "article" : "video";
|
||||||
if (type2.value == 1) {
|
|
||||||
type = "article";
|
|
||||||
} else if (type2.value == 2) {
|
|
||||||
type = "video";
|
|
||||||
} else if (type2.value == 3) {
|
|
||||||
type = "exchange";
|
|
||||||
}
|
|
||||||
utils_navTo.navTo({
|
utils_navTo.navTo({
|
||||||
url: `/pages/detail/detail?id=${id}&type=${type}`
|
url: `/pages/detail/detail?id=${id}&type=${type}`
|
||||||
});
|
});
|
||||||
@ -184,7 +177,7 @@ const _sfc_main = {
|
|||||||
f: common_vendor.t(item.data.collect_num),
|
f: common_vendor.t(item.data.collect_num),
|
||||||
g: "1cf734f5-7-" + i0 + ",1cf734f5-0",
|
g: "1cf734f5-7-" + i0 + ",1cf734f5-0",
|
||||||
h: common_vendor.t(formatdate(item.data.push_date)),
|
h: common_vendor.t(formatdate(item.data.push_date)),
|
||||||
i: common_vendor.o(($event) => goDetail(item.data.id), item.collect_id),
|
i: common_vendor.o(($event) => goDetail(), item.collect_id),
|
||||||
j: item.collect_id
|
j: item.collect_id
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
<view class="u-page data-v-1cf734f5"><z-paging wx:if="{{v}}" class="r data-v-1cf734f5" u-s="{{['top','d']}}" u-r="paging" bindquery="{{s}}" u-i="1cf734f5-0" bind:__l="__l" bindupdateModelValue="{{t}}" u-p="{{v}}"><view slot="top"><nav-bar-search wx:if="{{b}}" class="data-v-1cf734f5" bindchangeWord="{{a}}" u-i="1cf734f5-1,1cf734f5-0" bind:__l="__l" u-p="{{b}}"></nav-bar-search><view wx:if="{{c}}" class="detail data-v-1cf734f5"><view class="desc data-v-1cf734f5">检索到:<text class="red data-v-1cf734f5">{{d}}篇</text></view><view wx:if="{{e}}" class="desc data-v-1cf734f5">检索词:<text class="red data-v-1cf734f5">{{f}}</text></view></view><view class="filterbox data-v-1cf734f5"><up-dropdown u-s="{{['d']}}" class="u-dropdown r data-v-1cf734f5" u-r="uDropdownRef" u-i="1cf734f5-2,1cf734f5-0" bind:__l="__l"><up-dropdown-item wx:if="{{i}}" class="data-v-1cf734f5" bindchange="{{g}}" u-i="1cf734f5-3,1cf734f5-2" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"></up-dropdown-item><up-dropdown-item wx:if="{{l}}" class="data-v-1cf734f5" bindchange="{{j}}" u-i="1cf734f5-4,1cf734f5-2" bind:__l="__l" bindupdateModelValue="{{k}}" u-p="{{l}}"></up-dropdown-item></up-dropdown></view></view><view wx:for="{{n}}" wx:for-item="item" wx:key="j" class="item data-v-1cf734f5" bindtap="{{item.i}}"><view class="title ellipsis-two-lines data-v-1cf734f5">{{item.a}}</view><view class="tagsbox data-v-1cf734f5"><view wx:for="{{item.b}}" wx:for-item="tag" wx:key="b" class="tag data-v-1cf734f5">{{tag.a}}</view></view><view class="deal data-v-1cf734f5"><view class="left data-v-1cf734f5"><view class="eyebox data-v-1cf734f5"><up-icon wx:if="{{o}}" class="data-v-1cf734f5" u-i="{{item.c}}" bind:__l="__l" u-p="{{o}}"></up-icon><view class="num data-v-1cf734f5">{{item.d}}</view></view><view class="collect data-v-1cf734f5"><up-icon wx:if="{{p}}" class="data-v-1cf734f5" u-i="{{item.e}}" bind:__l="__l" u-p="{{p}}"></up-icon><view class="num data-v-1cf734f5">{{item.f}}</view></view></view><view class="time data-v-1cf734f5"><up-icon wx:if="{{q}}" class="data-v-1cf734f5" u-i="{{item.g}}" bind:__l="__l" u-p="{{q}}"></up-icon><view class="num data-v-1cf734f5">{{item.h}}</view></view></view></view></z-paging></view>
|
<view class="u-page data-v-1cf734f5"><z-paging wx:if="{{v}}" class="r data-v-1cf734f5" u-s="{{['top','d']}}" u-r="paging" bindquery="{{s}}" u-i="1cf734f5-0" bind:__l="__l" bindupdateModelValue="{{t}}" u-p="{{v}}"><view slot="top"><nav-bar-search wx:if="{{b}}" class="data-v-1cf734f5" bindchangeWord="{{a}}" u-i="1cf734f5-1,1cf734f5-0" bind:__l="__l" u-p="{{b}}"></nav-bar-search><view wx:if="{{c}}" class="detail data-v-1cf734f5"><view class="desc data-v-1cf734f5">检索到:<text class="red data-v-1cf734f5">{{d}}篇</text></view><view wx:if="{{e}}" class="desc data-v-1cf734f5">检索词:<text class="red data-v-1cf734f5">{{f}}</text></view></view><view class="filterbox data-v-1cf734f5"><up-dropdown u-s="{{['d']}}" class="u-dropdown r data-v-1cf734f5" u-r="uDropdownRef" u-i="1cf734f5-2,1cf734f5-0" bind:__l="__l"><up-dropdown-item wx:if="{{i}}" class="data-v-1cf734f5" bindchange="{{g}}" u-i="1cf734f5-3,1cf734f5-2" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"></up-dropdown-item><up-dropdown-item wx:if="{{l}}" class="data-v-1cf734f5" bindchange="{{j}}" u-i="1cf734f5-4,1cf734f5-2" bind:__l="__l" bindupdateModelValue="{{k}}" u-p="{{l}}"></up-dropdown-item></up-dropdown></view></view><view wx:for="{{n}}" wx:for-item="item" wx:key="j" class="item data-v-1cf734f5" bindtap="{{item.i}}"><view class="title ellipsis data-v-1cf734f5">{{item.a}}</view><view class="tagsbox data-v-1cf734f5"><view wx:for="{{item.b}}" wx:for-item="tag" wx:key="b" class="tag data-v-1cf734f5">{{tag.a}}</view></view><view class="deal data-v-1cf734f5"><view class="left data-v-1cf734f5"><view class="eyebox data-v-1cf734f5"><up-icon wx:if="{{o}}" class="data-v-1cf734f5" u-i="{{item.c}}" bind:__l="__l" u-p="{{o}}"></up-icon><view class="num data-v-1cf734f5">{{item.d}}</view></view><view class="collect data-v-1cf734f5"><up-icon wx:if="{{p}}" class="data-v-1cf734f5" u-i="{{item.e}}" bind:__l="__l" u-p="{{p}}"></up-icon><view class="num data-v-1cf734f5">{{item.f}}</view></view></view><view class="time data-v-1cf734f5"><up-icon wx:if="{{q}}" class="data-v-1cf734f5" u-i="{{item.g}}" bind:__l="__l" u-p="{{q}}"></up-icon><view class="num data-v-1cf734f5">{{item.h}}</view></view></view></view></z-paging></view>
|
||||||
@ -6,34 +6,28 @@ const utils_navTo = require("../../utils/navTo.js");
|
|||||||
if (!Array) {
|
if (!Array) {
|
||||||
const _easycom_navBarSearch2 = common_vendor.resolveComponent("navBarSearch");
|
const _easycom_navBarSearch2 = common_vendor.resolveComponent("navBarSearch");
|
||||||
const _easycom_up__image2 = common_vendor.resolveComponent("up--image");
|
const _easycom_up__image2 = common_vendor.resolveComponent("up--image");
|
||||||
const _easycom_up_radio2 = common_vendor.resolveComponent("up-radio");
|
|
||||||
const _easycom_up_radio_group2 = common_vendor.resolveComponent("up-radio-group");
|
|
||||||
const _easycom_up_dropdown_item2 = common_vendor.resolveComponent("up-dropdown-item");
|
const _easycom_up_dropdown_item2 = common_vendor.resolveComponent("up-dropdown-item");
|
||||||
const _easycom_up_dropdown2 = common_vendor.resolveComponent("up-dropdown");
|
const _easycom_up_dropdown2 = common_vendor.resolveComponent("up-dropdown");
|
||||||
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
|
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
|
||||||
const _easycom_z_paging2 = common_vendor.resolveComponent("z-paging");
|
const _easycom_z_paging2 = common_vendor.resolveComponent("z-paging");
|
||||||
const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon");
|
const _easycom_up_radio2 = common_vendor.resolveComponent("up-radio");
|
||||||
const _easycom_up_steps_item2 = common_vendor.resolveComponent("up-steps-item");
|
const _easycom_up_radio_group2 = common_vendor.resolveComponent("up-radio-group");
|
||||||
const _easycom_up_steps2 = common_vendor.resolveComponent("up-steps");
|
|
||||||
const _easycom_up_popup2 = common_vendor.resolveComponent("up-popup");
|
const _easycom_up_popup2 = common_vendor.resolveComponent("up-popup");
|
||||||
const _easycom_up_overlay2 = common_vendor.resolveComponent("up-overlay");
|
const _easycom_up_overlay2 = common_vendor.resolveComponent("up-overlay");
|
||||||
(_easycom_navBarSearch2 + _easycom_up__image2 + _easycom_up_radio2 + _easycom_up_radio_group2 + _easycom_up_dropdown_item2 + _easycom_up_dropdown2 + _easycom_up_icon2 + _easycom_z_paging2 + _easycom_u_icon2 + _easycom_up_steps_item2 + _easycom_up_steps2 + _easycom_up_popup2 + _easycom_up_overlay2)();
|
(_easycom_navBarSearch2 + _easycom_up__image2 + _easycom_up_dropdown_item2 + _easycom_up_dropdown2 + _easycom_up_icon2 + _easycom_z_paging2 + _easycom_up_radio2 + _easycom_up_radio_group2 + _easycom_up_popup2 + _easycom_up_overlay2)();
|
||||||
}
|
}
|
||||||
const _easycom_navBarSearch = () => "../../components/navBarSearch/navBarSearch.js";
|
const _easycom_navBarSearch = () => "../../components/navBarSearch/navBarSearch.js";
|
||||||
const _easycom_up__image = () => "../../node-modules/uview-plus/components/u--image/u--image.js";
|
const _easycom_up__image = () => "../../node-modules/uview-plus/components/u--image/u--image.js";
|
||||||
const _easycom_up_radio = () => "../../node-modules/uview-plus/components/u-radio/u-radio.js";
|
|
||||||
const _easycom_up_radio_group = () => "../../node-modules/uview-plus/components/u-radio-group/u-radio-group.js";
|
|
||||||
const _easycom_up_dropdown_item = () => "../../node-modules/uview-plus/components/u-dropdown-item/u-dropdown-item.js";
|
const _easycom_up_dropdown_item = () => "../../node-modules/uview-plus/components/u-dropdown-item/u-dropdown-item.js";
|
||||||
const _easycom_up_dropdown = () => "../../node-modules/uview-plus/components/u-dropdown/u-dropdown.js";
|
const _easycom_up_dropdown = () => "../../node-modules/uview-plus/components/u-dropdown/u-dropdown.js";
|
||||||
const _easycom_up_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
|
const _easycom_up_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
|
||||||
const _easycom_z_paging = () => "../../uni_modules/z-paging/components/z-paging/z-paging.js";
|
const _easycom_z_paging = () => "../../uni_modules/z-paging/components/z-paging/z-paging.js";
|
||||||
const _easycom_u_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
|
const _easycom_up_radio = () => "../../node-modules/uview-plus/components/u-radio/u-radio.js";
|
||||||
const _easycom_up_steps_item = () => "../../node-modules/uview-plus/components/u-steps-item/u-steps-item.js";
|
const _easycom_up_radio_group = () => "../../node-modules/uview-plus/components/u-radio-group/u-radio-group.js";
|
||||||
const _easycom_up_steps = () => "../../node-modules/uview-plus/components/u-steps/u-steps.js";
|
|
||||||
const _easycom_up_popup = () => "../../node-modules/uview-plus/components/u-popup/u-popup.js";
|
const _easycom_up_popup = () => "../../node-modules/uview-plus/components/u-popup/u-popup.js";
|
||||||
const _easycom_up_overlay = () => "../../node-modules/uview-plus/components/u-overlay/u-overlay.js";
|
const _easycom_up_overlay = () => "../../node-modules/uview-plus/components/u-overlay/u-overlay.js";
|
||||||
if (!Math) {
|
if (!Math) {
|
||||||
(_easycom_navBarSearch + _easycom_up__image + _easycom_up_radio + _easycom_up_radio_group + _easycom_up_dropdown_item + _easycom_up_dropdown + _easycom_up_icon + _easycom_z_paging + _easycom_u_icon + _easycom_up_steps_item + _easycom_up_steps + _easycom_up_popup + _easycom_up_overlay)();
|
(_easycom_navBarSearch + _easycom_up__image + _easycom_up_dropdown_item + _easycom_up_dropdown + _easycom_up_icon + _easycom_z_paging + _easycom_up_radio + _easycom_up_radio_group + _easycom_up_popup + _easycom_up_overlay)();
|
||||||
}
|
}
|
||||||
const _sfc_main = {
|
const _sfc_main = {
|
||||||
__name: "specialList",
|
__name: "specialList",
|
||||||
@ -48,161 +42,39 @@ const _sfc_main = {
|
|||||||
const total = common_vendor.ref(0);
|
const total = common_vendor.ref(0);
|
||||||
const keyWord = common_vendor.ref("");
|
const keyWord = common_vendor.ref("");
|
||||||
const vote = common_vendor.ref(null);
|
const vote = common_vendor.ref(null);
|
||||||
const showNum = common_vendor.ref(false);
|
const showNum = common_vendor.ref(true);
|
||||||
const label_iden = common_vendor.ref("");
|
|
||||||
const dropTitle = common_vendor.ref("发布时间");
|
|
||||||
const orderFilter = common_vendor.ref("1");
|
|
||||||
const uDropdownRef = common_vendor.ref(null);
|
|
||||||
const options = common_vendor.ref([
|
const options = common_vendor.ref([
|
||||||
{
|
{
|
||||||
label: "发布时间",
|
label: "正序",
|
||||||
value: "1"
|
value: "asc"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "互动更新时间",
|
label: "倒序",
|
||||||
value: "2"
|
value: "desc"
|
||||||
},
|
|
||||||
{
|
|
||||||
label: "互动次数",
|
|
||||||
value: "3"
|
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
common_vendor.ref(true);
|
|
||||||
const order = common_vendor.reactive({
|
const order = common_vendor.reactive({
|
||||||
read_num: "",
|
read_num: "",
|
||||||
push_date: "desc"
|
push_date: ""
|
||||||
});
|
});
|
||||||
|
const label_iden = common_vendor.ref("");
|
||||||
const showCase = common_vendor.ref(false);
|
const showCase = common_vendor.ref(false);
|
||||||
common_vendor.ref(false);
|
common_vendor.ref(false);
|
||||||
const caseValue1 = common_vendor.reactive({
|
const caseValue1 = common_vendor.ref("");
|
||||||
value: "",
|
const caseValue2 = common_vendor.ref("");
|
||||||
name: ""
|
const caseValue3 = common_vendor.ref("");
|
||||||
});
|
|
||||||
const caseValue2 = common_vendor.reactive({
|
|
||||||
value: "",
|
|
||||||
name: ""
|
|
||||||
});
|
|
||||||
const caseValue3 = common_vendor.reactive({
|
|
||||||
value: "",
|
|
||||||
name: ""
|
|
||||||
});
|
|
||||||
const level = common_vendor.ref(1);
|
const level = common_vendor.ref(1);
|
||||||
|
const dealId = common_vendor.ref("");
|
||||||
const labelObj = common_vendor.reactive({
|
const labelObj = common_vendor.reactive({
|
||||||
list1: [],
|
list1: [],
|
||||||
list2: [],
|
list2: [],
|
||||||
list3: []
|
list3: []
|
||||||
});
|
});
|
||||||
const openCaseLevel = (lev) => {
|
|
||||||
freshKey.value++;
|
|
||||||
level.value = lev;
|
|
||||||
if (lev == 1) {
|
|
||||||
caseValue2.name = "";
|
|
||||||
caseValue2.value = "";
|
|
||||||
labelObj.list2 = [];
|
|
||||||
} else if (lev == 2) {
|
|
||||||
labelObj.list3 = [];
|
|
||||||
caseValue3.name = "";
|
|
||||||
caseValue3.value = "";
|
|
||||||
}
|
|
||||||
};
|
|
||||||
const groupChange1 = (e) => {
|
|
||||||
caseValue1.value = e;
|
|
||||||
for (var i = 0; i < labelObj.list1.length; i++) {
|
|
||||||
if (labelObj.list1[i].app_iden == caseValue1.value) {
|
|
||||||
caseValue1.name = labelObj.list1[i].label_name;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
getCaseLabel(2, e);
|
|
||||||
};
|
|
||||||
const groupChange2 = (e) => {
|
|
||||||
caseValue2.value = e;
|
|
||||||
for (var i = 0; i < labelObj.list2.length; i++) {
|
|
||||||
if (labelObj.list2[i].app_iden == caseValue2.value) {
|
|
||||||
caseValue2.name = labelObj.list2[i].label_name;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
getCaseLabel(3, e);
|
|
||||||
};
|
|
||||||
const groupChange3 = (e) => {
|
|
||||||
caseValue3.value = e;
|
|
||||||
level.value = 3;
|
|
||||||
for (var i = 0; i < labelObj.list3.length; i++) {
|
|
||||||
if (labelObj.list3[i].app_iden == caseValue3.value) {
|
|
||||||
caseValue3.name = labelObj.list3[i].label_name;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
};
|
|
||||||
const getCaseLabel = (lev, pid = 0) => {
|
|
||||||
api_api.api.getCaseLabel({
|
|
||||||
pId: pid
|
|
||||||
}).then((res) => {
|
|
||||||
level.value = lev;
|
|
||||||
if (lev == 1) {
|
|
||||||
labelObj.list1 = res.data.data;
|
|
||||||
} else if (lev == 2) {
|
|
||||||
labelObj.list2 = res.data.data;
|
|
||||||
if (res.data.data.length == 0) {
|
|
||||||
level.value = 1;
|
|
||||||
}
|
|
||||||
} else if (lev == 3) {
|
|
||||||
labelObj.list3 = res.data.data;
|
|
||||||
if (res.data.data.length == 0) {
|
|
||||||
level.value = 2;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
};
|
|
||||||
const openCase = () => {
|
|
||||||
showCase.value = true;
|
|
||||||
};
|
|
||||||
const cancelCase = () => {
|
|
||||||
showCase.value = false;
|
|
||||||
level.value = 1;
|
|
||||||
caseValue1.name = "";
|
|
||||||
caseValue1.value = "";
|
|
||||||
caseValue2.name = "";
|
|
||||||
caseValue2.value = "";
|
|
||||||
caseValue3.name = "";
|
|
||||||
caseValue3.value = "";
|
|
||||||
labelObj.list2 = [];
|
|
||||||
labelObj.list3 = [];
|
|
||||||
};
|
|
||||||
const confirmCase = () => {
|
|
||||||
if (level.value == 1 && caseValue1.value == "") {
|
|
||||||
common_vendor.index.showToast({ title: "请选择疾病选项", icon: "none" });
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
if (level.value == 1) {
|
|
||||||
label_iden.value = caseValue1.value;
|
|
||||||
}
|
|
||||||
if (level.value == 2) {
|
|
||||||
if (!caseValue2.value) {
|
|
||||||
label_iden.value = caseValue1.value;
|
|
||||||
} else {
|
|
||||||
label_iden.value = caseValue2.value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if (level.value == 3) {
|
|
||||||
if (!caseValue3.value) {
|
|
||||||
label_iden.value = caseValue2.value;
|
|
||||||
} else {
|
|
||||||
label_iden.value = caseValue3.value;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
paging.value.reload();
|
|
||||||
showCase.value = false;
|
|
||||||
};
|
|
||||||
const closeCase = () => {
|
|
||||||
showCase.value = false;
|
|
||||||
};
|
|
||||||
const openDeal = (id, voteObj) => {
|
const openDeal = (id, voteObj) => {
|
||||||
showDeal.value = true;
|
showDeal.value = true;
|
||||||
dealId.value = id;
|
dealId.value = id;
|
||||||
vote.value = voteObj;
|
vote.value = voteObj;
|
||||||
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:500", id);
|
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:324", id);
|
||||||
};
|
};
|
||||||
const alertDel = () => {
|
const alertDel = () => {
|
||||||
showDeal.value = false;
|
showDeal.value = false;
|
||||||
@ -221,15 +93,78 @@ const _sfc_main = {
|
|||||||
url: "/pages/publish/publish?exchange_id=" + dealId.value
|
url: "/pages/publish/publish?exchange_id=" + dealId.value
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
const htmlToText = (html) => {
|
|
||||||
return html.replace(/<[^>]*>/g, "").replace(/ /gi, " ").replace(/<br\s*\/?>/gi, "\n").replace(/<img\s[^>]*>/gi, "").replace(/<video[^>]*>[\s\S]*?/gi, "");
|
|
||||||
};
|
|
||||||
const confirmDel = () => {
|
const confirmDel = () => {
|
||||||
showModal.value = false;
|
showModal.value = false;
|
||||||
};
|
};
|
||||||
const closeDealPop = () => {
|
const closeDealPop = () => {
|
||||||
showDeal.value = false;
|
showDeal.value = false;
|
||||||
};
|
};
|
||||||
|
const getCaseLabel = (lev, pid = 0) => {
|
||||||
|
api_api.api.getCaseLabel({
|
||||||
|
pId: pid
|
||||||
|
}).then((res) => {
|
||||||
|
if (lev == 1) {
|
||||||
|
labelObj.list1 = res.data.data;
|
||||||
|
} else if (lev == 2) {
|
||||||
|
labelObj.list2 = res.data.data;
|
||||||
|
} else if (lev == 3) {
|
||||||
|
labelObj.list3 = res.data.data;
|
||||||
|
}
|
||||||
|
level.value = lev;
|
||||||
|
});
|
||||||
|
};
|
||||||
|
const openCase = () => {
|
||||||
|
getCaseLabel(1, 0);
|
||||||
|
showCase.value = true;
|
||||||
|
};
|
||||||
|
const confirmCase = () => {
|
||||||
|
if (level.value == 1 && caseValue1.value == "") {
|
||||||
|
common_vendor.index.showToast({ title: "请选择疾病", icon: "none" });
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (level.value == 2 && caseValue2.value == "") {
|
||||||
|
common_vendor.index.showToast({ title: "请选择疾病", icon: "none" });
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (level.value == 3 && caseValue3.value == "") {
|
||||||
|
common_vendor.index.showToast({ title: "请选择疾病", icon: "none" });
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
showCase.value = false;
|
||||||
|
if (level.value == 1) {
|
||||||
|
label_iden.value = caseValue1.value;
|
||||||
|
}
|
||||||
|
if (level.value == 2) {
|
||||||
|
label_iden.value = caseValue2.value;
|
||||||
|
}
|
||||||
|
if (level.value == 3) {
|
||||||
|
label_iden.value = caseValue3.value;
|
||||||
|
}
|
||||||
|
paging.value.reload();
|
||||||
|
};
|
||||||
|
const continueCase = () => {
|
||||||
|
if (level.value == 1 && caseValue1.value == "") {
|
||||||
|
common_vendor.index.showToast({ title: "请选择疾病", icon: "none" });
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (level.value == 2 && caseValue2.value == "") {
|
||||||
|
common_vendor.index.showToast({ title: "请选择疾病", icon: "none" });
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (level.value == 3 && caseValue3.value == "") {
|
||||||
|
common_vendor.index.showToast({ title: "请选择疾病", icon: "none" });
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (level.value == 1) {
|
||||||
|
getCaseLabel(2, caseValue1.value);
|
||||||
|
} else if (level.value == 2) {
|
||||||
|
getCaseLabel(3, caseValue2.value);
|
||||||
|
}
|
||||||
|
paging.value.reload();
|
||||||
|
};
|
||||||
|
const closeCase = () => {
|
||||||
|
showCase.value = false;
|
||||||
|
};
|
||||||
const formatdate = (date) => {
|
const formatdate = (date) => {
|
||||||
return common_vendor.dayjs(date).format("YYYY-MM-DD");
|
return common_vendor.dayjs(date).format("YYYY-MM-DD");
|
||||||
};
|
};
|
||||||
@ -246,31 +181,19 @@ const _sfc_main = {
|
|||||||
if (options2.type == "mine") {
|
if (options2.type == "mine") {
|
||||||
isMine.value = true;
|
isMine.value = true;
|
||||||
}
|
}
|
||||||
getCaseLabel(1, 0);
|
|
||||||
});
|
});
|
||||||
common_vendor.onShow(() => {
|
common_vendor.onShow(() => {
|
||||||
var _a;
|
var _a;
|
||||||
(_a = paging.value) == null ? void 0 : _a.refresh();
|
(_a = paging.value) == null ? void 0 : _a.refresh();
|
||||||
});
|
});
|
||||||
const changeDate = (e) => {
|
const changeDate = (e) => {
|
||||||
if (e == 1) {
|
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:444", e);
|
||||||
order.push_date = "desc";
|
order.read_num = "";
|
||||||
order.comment_num = "";
|
paging.value.reload();
|
||||||
order.last_comment_time = "";
|
};
|
||||||
dropTitle.value = "发布时间";
|
const changeRead = (e) => {
|
||||||
} else if (e == 2) {
|
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:449", e);
|
||||||
order.push_date = "";
|
order.push_date = "";
|
||||||
order.comment_num = "";
|
|
||||||
order.last_comment_time = "desc";
|
|
||||||
dropTitle.value = "互动更新时间";
|
|
||||||
} else {
|
|
||||||
order.push_date = "";
|
|
||||||
order.last_comment_time = "";
|
|
||||||
order.comment_num = "desc";
|
|
||||||
dropTitle.value = "互动数";
|
|
||||||
}
|
|
||||||
orderFilter.value = e;
|
|
||||||
uDropdownRef.value.close();
|
|
||||||
paging.value.reload();
|
paging.value.reload();
|
||||||
};
|
};
|
||||||
const videoErrorCallback = (e) => {
|
const videoErrorCallback = (e) => {
|
||||||
@ -292,7 +215,7 @@ const _sfc_main = {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
const queryList = (pageNo, pageSize) => {
|
const queryList = (pageNo, pageSize) => {
|
||||||
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:599", 666666);
|
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:471", 666666);
|
||||||
const params = {
|
const params = {
|
||||||
page: pageNo,
|
page: pageNo,
|
||||||
page_size: pageSize
|
page_size: pageSize
|
||||||
@ -305,17 +228,11 @@ const _sfc_main = {
|
|||||||
user_id: user_id.value,
|
user_id: user_id.value,
|
||||||
label_iden: label_iden.value
|
label_iden: label_iden.value
|
||||||
};
|
};
|
||||||
if (!label_iden.value) {
|
|
||||||
delete searchForm.label_iden;
|
|
||||||
}
|
|
||||||
if (Number(is_selected.value)) {
|
if (Number(is_selected.value)) {
|
||||||
searchForm.is_selected = Number(is_selected.value);
|
searchForm.is_selected = Number(is_selected.value);
|
||||||
}
|
}
|
||||||
if (!order.comment_num) {
|
if (!order.read_num) {
|
||||||
delete order.comment_num;
|
delete order.read_num;
|
||||||
}
|
|
||||||
if (!order.last_comment_time) {
|
|
||||||
delete order.last_comment_time;
|
|
||||||
}
|
}
|
||||||
if (!label_iden.value) {
|
if (!label_iden.value) {
|
||||||
delete searchForm.label_iden;
|
delete searchForm.label_iden;
|
||||||
@ -323,7 +240,7 @@ const _sfc_main = {
|
|||||||
if (!order.push_date) {
|
if (!order.push_date) {
|
||||||
delete order.push_date;
|
delete order.push_date;
|
||||||
}
|
}
|
||||||
if (order.comment_num || order.push_date || order.last_comment_time) {
|
if (order.read_num || order.push_date) {
|
||||||
searchForm.order = order;
|
searchForm.order = order;
|
||||||
}
|
}
|
||||||
api_api.api.searchExchage({
|
api_api.api.searchExchage({
|
||||||
@ -340,7 +257,7 @@ const _sfc_main = {
|
|||||||
return common_vendor.e({
|
return common_vendor.e({
|
||||||
a: common_vendor.o(changeWord),
|
a: common_vendor.o(changeWord),
|
||||||
b: common_vendor.p({
|
b: common_vendor.p({
|
||||||
navName: "肝胆相照病例交流园地"
|
navName: "肝胆相照精选病例交流"
|
||||||
}),
|
}),
|
||||||
c: showNum.value
|
c: showNum.value
|
||||||
}, showNum.value ? common_vendor.e({
|
}, showNum.value ? common_vendor.e({
|
||||||
@ -355,39 +272,29 @@ const _sfc_main = {
|
|||||||
height: "31rpx"
|
height: "31rpx"
|
||||||
}),
|
}),
|
||||||
h: common_vendor.o(openCase),
|
h: common_vendor.o(openCase),
|
||||||
i: common_vendor.f(options.value, (item, k0, i0) => {
|
i: common_vendor.o(changeDate),
|
||||||
return {
|
j: common_vendor.o(($event) => order.push_date = $event),
|
||||||
a: "b2cb78f4-6-" + i0 + ",b2cb78f4-5",
|
k: common_vendor.p({
|
||||||
b: common_vendor.p({
|
title: "发布时间",
|
||||||
activeColor: "#3CC7C0",
|
options: options.value,
|
||||||
label: item.label,
|
modelValue: order.push_date
|
||||||
name: item.value
|
|
||||||
}),
|
|
||||||
c: item.value,
|
|
||||||
d: common_vendor.n(orderFilter.value == item.value ? "active" : "")
|
|
||||||
};
|
|
||||||
}),
|
}),
|
||||||
j: common_vendor.o(changeDate),
|
l: common_vendor.o(changeRead),
|
||||||
k: common_vendor.o(($event) => orderFilter.value = $event),
|
m: common_vendor.o(($event) => order.read_num = $event),
|
||||||
l: common_vendor.p({
|
n: common_vendor.p({
|
||||||
iconPlacement: "right",
|
title: "阅读量",
|
||||||
placement: "column",
|
options: options.value,
|
||||||
modelValue: orderFilter.value
|
modelValue: order.read_num
|
||||||
}),
|
}),
|
||||||
m: common_vendor.p({
|
o: common_vendor.sr("uDropdownRef", "b2cb78f4-3,b2cb78f4-0"),
|
||||||
title: dropTitle.value
|
p: common_vendor.f(dataList.value, (item, k0, i0) => {
|
||||||
}),
|
|
||||||
n: common_vendor.sr(uDropdownRef, "b2cb78f4-3,b2cb78f4-0", {
|
|
||||||
"k": "uDropdownRef"
|
|
||||||
}),
|
|
||||||
o: common_vendor.f(dataList.value, (item, k0, i0) => {
|
|
||||||
return common_vendor.e({
|
return common_vendor.e({
|
||||||
a: common_vendor.t(item.exchange_title),
|
a: common_vendor.t(item.exchange_title),
|
||||||
b: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id)
|
b: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id)
|
||||||
}, isMine.value ? {
|
}, isMine.value ? {
|
||||||
c: common_vendor.o(($event) => openDeal(item.exchange_id, item.case_exchange_vote), item.exchange_id)
|
c: common_vendor.o(($event) => openDeal(item.exchange_id, item.case_exchange_vote), item.exchange_id)
|
||||||
} : {}, {
|
} : {}, {
|
||||||
d: "b2cb78f4-7-" + i0 + ",b2cb78f4-0",
|
d: "b2cb78f4-6-" + i0 + ",b2cb78f4-0",
|
||||||
e: common_vendor.p({
|
e: common_vendor.p({
|
||||||
src: item.avatar ? item.avatar : common_vendor.unref(common_assets.headImg),
|
src: item.avatar ? item.avatar : common_vendor.unref(common_assets.headImg),
|
||||||
width: "46rpx",
|
width: "46rpx",
|
||||||
@ -397,13 +304,13 @@ const _sfc_main = {
|
|||||||
f: common_vendor.t(item.user_name),
|
f: common_vendor.t(item.user_name),
|
||||||
g: common_vendor.t(item.hospital_name),
|
g: common_vendor.t(item.hospital_name),
|
||||||
h: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id),
|
h: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id),
|
||||||
i: common_vendor.t(htmlToText(item.exchange_content)),
|
i: common_vendor.t(item.exchange_content),
|
||||||
j: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id),
|
j: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id),
|
||||||
k: item.exchange_content_image && item.exchange_content_image.length > 0
|
k: item.exchange_content_image && item.exchange_content_image.length > 0
|
||||||
}, 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, (unit, k1, i1) => {
|
l: common_vendor.f(item.exchange_content_image, (unit, k1, i1) => {
|
||||||
return {
|
return {
|
||||||
a: "b2cb78f4-8-" + i0 + "-" + i1 + ",b2cb78f4-0",
|
a: "b2cb78f4-7-" + i0 + "-" + i1 + ",b2cb78f4-0",
|
||||||
b: common_vendor.p({
|
b: common_vendor.p({
|
||||||
src: unit,
|
src: unit,
|
||||||
radius: "10",
|
radius: "10",
|
||||||
@ -434,87 +341,57 @@ const _sfc_main = {
|
|||||||
}),
|
}),
|
||||||
r: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id)
|
r: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id)
|
||||||
} : {}, {
|
} : {}, {
|
||||||
s: "b2cb78f4-9-" + i0 + ",b2cb78f4-0",
|
s: "b2cb78f4-8-" + i0 + ",b2cb78f4-0",
|
||||||
t: common_vendor.t(item.read_num),
|
t: common_vendor.t(item.read_num),
|
||||||
v: item.collect_num > 0
|
v: "b2cb78f4-9-" + i0 + ",b2cb78f4-0",
|
||||||
}, item.collect_num > 0 ? {
|
w: common_vendor.t(item.collect_num),
|
||||||
w: "b2cb78f4-10-" + i0 + ",b2cb78f4-0",
|
x: "b2cb78f4-10-" + i0 + ",b2cb78f4-0",
|
||||||
x: common_vendor.p({
|
y: common_vendor.t(item.comment_num),
|
||||||
name: "heart",
|
z: "b2cb78f4-11-" + i0 + ",b2cb78f4-0",
|
||||||
color: "#4B5563",
|
A: common_vendor.t(formatdate(item.push_date)),
|
||||||
size: "28rpx"
|
B: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id),
|
||||||
}),
|
C: item.exchange_id
|
||||||
y: common_vendor.t(item.collect_num)
|
|
||||||
} : {}, {
|
|
||||||
z: item.comment_num > 0
|
|
||||||
}, item.comment_num > 0 ? {
|
|
||||||
A: "b2cb78f4-11-" + i0 + ",b2cb78f4-0",
|
|
||||||
B: common_vendor.p({
|
|
||||||
name: "chat",
|
|
||||||
color: "#4B5563",
|
|
||||||
size: "28rpx"
|
|
||||||
}),
|
|
||||||
C: common_vendor.t(item.comment_num)
|
|
||||||
} : {}, {
|
|
||||||
D: "b2cb78f4-12-" + i0 + ",b2cb78f4-0",
|
|
||||||
E: common_vendor.t(formatdate(item.push_date)),
|
|
||||||
F: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id),
|
|
||||||
G: item.exchange_id
|
|
||||||
});
|
});
|
||||||
}),
|
}),
|
||||||
p: isMine.value,
|
q: isMine.value,
|
||||||
q: common_vendor.p({
|
r: common_vendor.p({
|
||||||
name: "eye",
|
name: "eye",
|
||||||
color: "#4B5563",
|
color: "#4B5563",
|
||||||
size: "28rpx"
|
size: "28rpx"
|
||||||
}),
|
}),
|
||||||
r: common_vendor.p({
|
s: common_vendor.p({
|
||||||
|
name: "heart",
|
||||||
|
color: "#4B5563",
|
||||||
|
size: "28rpx"
|
||||||
|
}),
|
||||||
|
t: common_vendor.p({
|
||||||
|
name: "chat",
|
||||||
|
color: "#4B5563",
|
||||||
|
size: "28rpx"
|
||||||
|
}),
|
||||||
|
v: common_vendor.p({
|
||||||
name: "clock",
|
name: "clock",
|
||||||
color: "#4B5563",
|
color: "#4B5563",
|
||||||
size: "28rpx"
|
size: "28rpx"
|
||||||
}),
|
}),
|
||||||
s: common_vendor.sr(paging, "b2cb78f4-0", {
|
w: common_vendor.sr(paging, "b2cb78f4-0", {
|
||||||
"k": "paging"
|
"k": "paging"
|
||||||
}),
|
}),
|
||||||
t: common_vendor.o(queryList),
|
x: common_vendor.o(queryList),
|
||||||
v: common_vendor.o(($event) => dataList.value = $event),
|
y: common_vendor.o(($event) => dataList.value = $event),
|
||||||
w: common_vendor.p({
|
z: common_vendor.p({
|
||||||
["inside-more"]: true,
|
["inside-more"]: true,
|
||||||
["loading-more-no-more-text"]: "咱也是有底线的!",
|
["loading-more-no-more-text"]: "咱也是有底线的!",
|
||||||
["auto-show-back-to-top"]: true,
|
["auto-show-back-to-top"]: true,
|
||||||
modelValue: dataList.value
|
modelValue: dataList.value
|
||||||
}),
|
}),
|
||||||
x: common_vendor.o(cancelCase),
|
A: common_vendor.o(($event) => showCase.value = false),
|
||||||
y: common_vendor.o(confirmCase),
|
B: common_vendor.o(continueCase),
|
||||||
z: common_vendor.t(!caseValue1.name ? "请选择选项" : caseValue1.name),
|
C: level.value != 3,
|
||||||
A: common_vendor.p({
|
D: common_vendor.o(confirmCase),
|
||||||
name: "arrow-right"
|
E: common_vendor.f(labelObj.list1, (item, k0, i0) => {
|
||||||
}),
|
|
||||||
B: common_vendor.o(($event) => openCaseLevel("1")),
|
|
||||||
C: caseValue1.name && labelObj.list2.length > 0
|
|
||||||
}, caseValue1.name && labelObj.list2.length > 0 ? {
|
|
||||||
D: common_vendor.t(!caseValue2.name ? "请选择选项" : caseValue2.name),
|
|
||||||
E: common_vendor.p({
|
|
||||||
name: "arrow-right"
|
|
||||||
}),
|
|
||||||
F: common_vendor.o(($event) => openCaseLevel("2"))
|
|
||||||
} : {}, {
|
|
||||||
G: caseValue2.name && labelObj.list3.length > 0
|
|
||||||
}, caseValue2.name && labelObj.list3.length > 0 ? {
|
|
||||||
H: common_vendor.t(!caseValue3.name ? "请选择选项" : caseValue3.name),
|
|
||||||
I: common_vendor.p({
|
|
||||||
name: "arrow-right"
|
|
||||||
}),
|
|
||||||
J: common_vendor.o(($event) => openCaseLevel("3"))
|
|
||||||
} : {}, {
|
|
||||||
K: _ctx.freshKey,
|
|
||||||
L: common_vendor.p({
|
|
||||||
current: level.value - 1,
|
|
||||||
direction: "column"
|
|
||||||
}),
|
|
||||||
M: common_vendor.f(labelObj.list1, (item, k0, i0) => {
|
|
||||||
return {
|
return {
|
||||||
a: "b2cb78f4-22-" + i0 + ",b2cb78f4-21",
|
a: "b2cb78f4-14-" + i0 + ",b2cb78f4-13",
|
||||||
b: common_vendor.p({
|
b: common_vendor.p({
|
||||||
activeColor: "#3CC7C0 ",
|
activeColor: "#3CC7C0 ",
|
||||||
label: item.label_name,
|
label: item.label_name,
|
||||||
@ -523,18 +400,16 @@ const _sfc_main = {
|
|||||||
c: item.app_iden
|
c: item.app_iden
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
N: common_vendor.o(groupChange1),
|
F: common_vendor.o(($event) => caseValue1.value = $event),
|
||||||
O: common_vendor.o(($event) => caseValue1.value = $event),
|
G: common_vendor.p({
|
||||||
P: common_vendor.p({
|
|
||||||
name: "group1",
|
|
||||||
iconPlacement: "right",
|
iconPlacement: "right",
|
||||||
placement: "column",
|
placement: "column",
|
||||||
modelValue: caseValue1.value
|
modelValue: caseValue1.value
|
||||||
}),
|
}),
|
||||||
Q: level.value == 1,
|
H: level.value == 1,
|
||||||
R: common_vendor.f(labelObj.list2, (item, k0, i0) => {
|
I: common_vendor.f(labelObj.list2, (item, k0, i0) => {
|
||||||
return {
|
return {
|
||||||
a: "b2cb78f4-24-" + i0 + ",b2cb78f4-23",
|
a: "b2cb78f4-16-" + i0 + ",b2cb78f4-15",
|
||||||
b: common_vendor.p({
|
b: common_vendor.p({
|
||||||
activeColor: "#3CC7C0 ",
|
activeColor: "#3CC7C0 ",
|
||||||
label: item.label_name,
|
label: item.label_name,
|
||||||
@ -543,18 +418,16 @@ const _sfc_main = {
|
|||||||
c: item.app_iden
|
c: item.app_iden
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
S: common_vendor.o(groupChange2),
|
J: common_vendor.o(($event) => caseValue2.value = $event),
|
||||||
T: common_vendor.o(($event) => caseValue2.value = $event),
|
K: common_vendor.p({
|
||||||
U: common_vendor.p({
|
|
||||||
name: "group2",
|
|
||||||
iconPlacement: "right",
|
iconPlacement: "right",
|
||||||
placement: "column",
|
placement: "column",
|
||||||
modelValue: caseValue2.value
|
modelValue: caseValue2.value
|
||||||
}),
|
}),
|
||||||
V: level.value == 2,
|
L: level.value == 2,
|
||||||
W: common_vendor.f(labelObj.list3, (item, k0, i0) => {
|
M: common_vendor.f(labelObj.list3, (item, k0, i0) => {
|
||||||
return {
|
return {
|
||||||
a: "b2cb78f4-26-" + i0 + ",b2cb78f4-25",
|
a: "b2cb78f4-18-" + i0 + ",b2cb78f4-17",
|
||||||
b: common_vendor.p({
|
b: common_vendor.p({
|
||||||
activeColor: "#3CC7C0 ",
|
activeColor: "#3CC7C0 ",
|
||||||
label: item.label_name,
|
label: item.label_name,
|
||||||
@ -563,28 +436,25 @@ const _sfc_main = {
|
|||||||
c: item.app_iden
|
c: item.app_iden
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
X: common_vendor.o(groupChange3),
|
N: common_vendor.o(($event) => caseValue3.value = $event),
|
||||||
Y: common_vendor.o(($event) => caseValue3.value = $event),
|
O: common_vendor.p({
|
||||||
Z: common_vendor.p({
|
|
||||||
name: "group3",
|
|
||||||
iconPlacement: "right",
|
iconPlacement: "right",
|
||||||
placement: "column",
|
placement: "column",
|
||||||
modelValue: caseValue3.value
|
modelValue: caseValue3.value
|
||||||
}),
|
}),
|
||||||
aa: level.value == 3,
|
P: level.value == 3,
|
||||||
ab: common_vendor.o(closeCase),
|
Q: common_vendor.o(closeCase),
|
||||||
ac: common_vendor.p({
|
R: common_vendor.p({
|
||||||
round: 10,
|
round: 10,
|
||||||
zIndex: "9",
|
zIndex: "9",
|
||||||
closeOnClickOverlay: false,
|
|
||||||
show: showCase.value,
|
show: showCase.value,
|
||||||
mode: "bottom"
|
mode: "bottom"
|
||||||
}),
|
}),
|
||||||
ad: common_vendor.o(goEdit),
|
S: common_vendor.o(goEdit),
|
||||||
ae: common_vendor.o(alertDel),
|
T: common_vendor.o(alertDel),
|
||||||
af: common_vendor.o(closeDealPop),
|
U: common_vendor.o(closeDealPop),
|
||||||
ag: common_vendor.o(_ctx.closeDeal),
|
V: common_vendor.o(_ctx.closeDeal),
|
||||||
ah: common_vendor.p({
|
W: common_vendor.p({
|
||||||
zIndex: 60,
|
zIndex: 60,
|
||||||
overlayStyle: {
|
overlayStyle: {
|
||||||
zIndex: 59
|
zIndex: 59
|
||||||
@ -594,9 +464,9 @@ const _sfc_main = {
|
|||||||
round: 10,
|
round: 10,
|
||||||
mode: "bottom"
|
mode: "bottom"
|
||||||
}),
|
}),
|
||||||
ai: common_vendor.o(($event) => showModal.value = false),
|
X: common_vendor.o(($event) => showModal.value = false),
|
||||||
aj: common_vendor.o(confirmDel),
|
Y: common_vendor.o(confirmDel),
|
||||||
ak: common_vendor.p({
|
Z: common_vendor.p({
|
||||||
show: showModal.value,
|
show: showModal.value,
|
||||||
["mask-click-able"]: true
|
["mask-click-able"]: true
|
||||||
})
|
})
|
||||||
|
|||||||
@ -4,15 +4,12 @@
|
|||||||
"usingComponents": {
|
"usingComponents": {
|
||||||
"nav-bar-search": "../../components/navBarSearch/navBarSearch",
|
"nav-bar-search": "../../components/navBarSearch/navBarSearch",
|
||||||
"up--image": "../../node-modules/uview-plus/components/u--image/u--image",
|
"up--image": "../../node-modules/uview-plus/components/u--image/u--image",
|
||||||
"up-radio": "../../node-modules/uview-plus/components/u-radio/u-radio",
|
|
||||||
"up-radio-group": "../../node-modules/uview-plus/components/u-radio-group/u-radio-group",
|
|
||||||
"up-dropdown-item": "../../node-modules/uview-plus/components/u-dropdown-item/u-dropdown-item",
|
"up-dropdown-item": "../../node-modules/uview-plus/components/u-dropdown-item/u-dropdown-item",
|
||||||
"up-dropdown": "../../node-modules/uview-plus/components/u-dropdown/u-dropdown",
|
"up-dropdown": "../../node-modules/uview-plus/components/u-dropdown/u-dropdown",
|
||||||
"up-icon": "../../node-modules/uview-plus/components/u-icon/u-icon",
|
"up-icon": "../../node-modules/uview-plus/components/u-icon/u-icon",
|
||||||
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging",
|
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging",
|
||||||
"u-icon": "../../node-modules/uview-plus/components/u-icon/u-icon",
|
"up-radio": "../../node-modules/uview-plus/components/u-radio/u-radio",
|
||||||
"up-steps-item": "../../node-modules/uview-plus/components/u-steps-item/u-steps-item",
|
"up-radio-group": "../../node-modules/uview-plus/components/u-radio-group/u-radio-group",
|
||||||
"up-steps": "../../node-modules/uview-plus/components/u-steps/u-steps",
|
|
||||||
"up-popup": "../../node-modules/uview-plus/components/u-popup/u-popup",
|
"up-popup": "../../node-modules/uview-plus/components/u-popup/u-popup",
|
||||||
"up-overlay": "../../node-modules/uview-plus/components/u-overlay/u-overlay"
|
"up-overlay": "../../node-modules/uview-plus/components/u-overlay/u-overlay"
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -23,39 +23,6 @@
|
|||||||
/* 垂直间距 */
|
/* 垂直间距 */
|
||||||
/* 透明度 */
|
/* 透明度 */
|
||||||
/* 文章场景相关 */
|
/* 文章场景相关 */
|
||||||
.dropcontent.data-v-b2cb78f4 {
|
|
||||||
padding-top: 40rpx;
|
|
||||||
padding-bottom: 20rpx;
|
|
||||||
background-color: #fff;
|
|
||||||
}
|
|
||||||
.dropcontent.data-v-b2cb78f4 .u-radio {
|
|
||||||
margin-bottom: 6px !important;
|
|
||||||
margin-top: 16px !important;
|
|
||||||
}
|
|
||||||
.dropcontent .column.data-v-b2cb78f4 {
|
|
||||||
padding: 0 30rpx;
|
|
||||||
border-top: 2rpx solid #e5e7eb;
|
|
||||||
}
|
|
||||||
.dropcontent .column.data-v-b2cb78f4 .u-radio__text {
|
|
||||||
color: #333 !important;
|
|
||||||
}
|
|
||||||
.dropcontent .column.active.data-v-b2cb78f4 .u-radio__text {
|
|
||||||
color: #3CC7C0 !important;
|
|
||||||
}
|
|
||||||
.stepbox.data-v-b2cb78f4 {
|
|
||||||
padding: 15rpx 30rpx;
|
|
||||||
border-bottom: 2rpx dotted #f3f4f6;
|
|
||||||
}
|
|
||||||
.stepbox.data-v-b2cb78f4 .u-steps-item__content {
|
|
||||||
margin-top: -5rpx !important;
|
|
||||||
}
|
|
||||||
.stepbox .slot-content.data-v-b2cb78f4 {
|
|
||||||
width: 100%;
|
|
||||||
margin-bottom: 25rpx;
|
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
|
||||||
display: flex;
|
|
||||||
}
|
|
||||||
.dealbox .dealcell.data-v-b2cb78f4 {
|
.dealbox .dealcell.data-v-b2cb78f4 {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -74,7 +41,6 @@
|
|||||||
}
|
}
|
||||||
.filterbox.data-v-b2cb78f4 .u-dropdown__menu__item__text {
|
.filterbox.data-v-b2cb78f4 .u-dropdown__menu__item__text {
|
||||||
font-size: 14px !important;
|
font-size: 14px !important;
|
||||||
color: #3c9cff !important;
|
|
||||||
}
|
}
|
||||||
.filterbox .type.data-v-b2cb78f4 {
|
.filterbox .type.data-v-b2cb78f4 {
|
||||||
color: #606266;
|
color: #606266;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user