This commit is contained in:
zoujiandong 2025-07-24 08:57:22 +08:00
parent 9b00f8a04b
commit c758477084
30 changed files with 1302 additions and 371 deletions

View File

@ -84,7 +84,7 @@ const goMy=()=>{
const search=()=>{ const search=()=>{
if(props.type=='home'){ if(props.type=='home'){
navTo({ navTo({
url: `/pages/search/search?keyWord=${keyWord.value}`, url: `/pages/search/search?keyWord=${keyWord.value}&from=home`,
}); });
}else if(props.type=='caseTalk'){ }else if(props.type=='caseTalk'){
navTo({ navTo({

View File

@ -27,11 +27,11 @@
<view class="bar"></view> <view class="bar"></view>
<view class="detail" v-if="isSearch"> <view class="detail" v-if="isSearch">
<view class="desc" >检索到<text class="red">{{searchInfo.search_article_num}}篇文章</text></view> <view class="desc" >检索到<text class="red">{{searchInfo.search_article_num}}篇文章</text></view>
<view class="desc" >检索到<text class="red">{{searchInfo.search_video_num}}个视频</text></view> <view class="desc" v-if="!hideType">检索到:<text class="red">{{searchInfo.search_video_num}}个视频</text></view>
<view class="desc" v-if="keyWord">检索词:<text class="red">{{ keyWord }}</text></view> <view class="desc" v-if="keyWord">检索词:<text class="red">{{ keyWord }}</text></view>
</view> </view>
<view class="filterbox" :class="{active:canOpenCase}"> <view class="filterbox" :class="{active:canOpenCase,'on':hideType}">
<view class="type" @click="swicthType">{{!isArticle?'视频':'文章'}}<up--image :src="switchImg" width="31rpx" height="31rpx"></up--image></view> <view class="type" v-if="!hideType" @click="swicthType">{{!isArticle?'视频':'文章'}}<up--image :src="switchImg" width="31rpx" height="31rpx"></up--image></view>
<view class="casesdown" @click="openCase" v-if="canOpenCase">筛选<up--image :src="caseImg" width="31rpx" height="31rpx"></up--image></view> <view class="casesdown" @click="openCase" v-if="canOpenCase">筛选<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 <up-dropdown-item
@ -232,10 +232,10 @@ const numInfo=reactive({});
const searchInfo=reactive({}); const searchInfo=reactive({});
const freshKey=ref(0); const freshKey=ref(0);
const navName=ref('肝胆相照临床病例库') const navName=ref('肝胆相照临床病例库')
const paging = ref(null);
const hideType=ref(false)
const dropTitle=ref('发布时间'); const dropTitle=ref('发布时间');
const orderFilter=ref('1') const orderFilter=ref('1')
const paging = ref(null);
const uDropdownRef=ref(null); const uDropdownRef=ref(null);
const options= ref([ const options= ref([
{ {
@ -247,7 +247,7 @@ const options= ref([
value: '2', value: '2',
}, },
]); ]);
const isSearch=ref(true); const isSearch=ref(false);
const order=reactive({ const order=reactive({
read_num:'', read_num:'',
push_date:'desc' push_date:'desc'
@ -399,14 +399,21 @@ const changeWord=(value)=>{
} }
onLoad((options) => { onLoad((options) => {
if(options.from=='home'){
isSearch.value=true;
}
if(options.keyWord){ if(options.keyWord){
keyWord.value = options.keyWord; keyWord.value = options.keyWord;
}; };
if(options.order=='new'){ if(options.order=='new'){
order.push_date='desc' order.push_date='desc';
hideType.value=true;
navName.value='文章临床病例库'
}; };
if(options.order=='read'){ if(options.order=='read'){
order.read_num='desc' order.push_date='desc';
hideType.value=true;
navName.value='文章临床病例库'
}; };
if(options.order=='video'){ if(options.order=='video'){
isArticle.value=false; isArticle.value=false;
@ -913,6 +920,17 @@ const queryList = (pageNo, pageSize) => {
z-index:2; z-index:2;
} }
} }
.filterbox.on{
.casesdown{
left:30rpx;
}
:deep(.u-dropdown__menu){
background: #fff;
z-index:1;
margin-left: 170rpx;
}
}
.u-page { .u-page {
.deal { .deal {

View File

@ -29,32 +29,48 @@
</view> </view>
</view> </view>
<view class="bar"></view> <view class="bar"></view>
<!-- <view class="detail" v-if="isSearch"> <view class="detail" v-if="isSearch">
<view class="desc" v-if="isArticle">检索到:<text class="red">{{searchInfo.search_article_num}}篇文章</text></view> <view class="desc" >检索到<text class="red">{{searchInfo.search_video_num}}个视频</text></view>
<view class="desc" v-else>检索到<text class="red">{{searchInfo.search_video_num}}个视频</text></view>
<view class="desc" v-if="keyWord">检索词:<text class="red">{{ keyWord }}</text></view> <view class="desc" v-if="keyWord">检索词:<text class="red">{{ keyWord }}</text></view>
</view> --> </view>
<view class="filterbox"> <view class="filterbox">
<view class="casesdown" @click="openCase" >筛选<up--image :src="caseImg" 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="type" @click="swicthType">{{!isArticle?'文章':'视频'}}<up--image :src="switchImg" width="31rpx" height="31rpx"></up--image></view> -->
<up-dropdown class="u-dropdown" ref="uDropdownRef"> <up-dropdown class="u-dropdown" ref="uDropdownRef">
<up-dropdown-item <up-dropdown-item
v-model="order.push_date"
title="发布时间" :title="dropTitle"
@change="changeDate"
:options="options"
></up-dropdown-item> >
<up-dropdown-item <view class="dropcontent">
v-model="order.read_num" <up-radio-group
title="阅读量" @change="changeDate"
@change="changeRead" v-model="orderFilter"
:options="options" iconPlacement="right"
></up-dropdown-item> placement="column"
</up-dropdown> >
<view
class="column"
v-for="item in options"
:key="item.value"
:class="[orderFilter==item.value?'active':'']"
>
<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="item" v-for="(item, index) in dataList" :key="index" @click="isArticle?goDetail(item.article_id):goDetail(item.video_id)"> <view class="item" v-for="(item, index) in dataList" :key="index" @click="isArticle?goDetail(item.article_id):goDetail(item.video_id)">
<view class="title ellipsis">{{isArticle?item.article_title:item.video_title }}</view> <view class="title ellipsis-one-lines">{{isArticle?item.article_title:item.video_title }}</view>
<view class="tagsbox"> <view class="tagsbox">
<view class="tag" v-for="tag in item.author" :key="tag.author_id">{{ tag.doctor_name }}</view> <view class="tag" v-for="tag in item.author" :key="tag.author_id">{{ tag.doctor_name }}</view>
</view> </view>
@ -64,7 +80,7 @@
<up-icon name="eye" color="#6B7280" size="28rpx"></up-icon> <up-icon name="eye" color="#6B7280" size="28rpx"></up-icon>
<view class="num">{{item.read_num }}</view> <view class="num">{{item.read_num }}</view>
</view> </view>
<view class="collect"> <view class="collect" v-if="item.collect_num>0">
<up-icon name="heart" color="#6B7280" size="28rpx"></up-icon> <up-icon name="heart" color="#6B7280" size="28rpx"></up-icon>
<view class="num">{{item.collect_num }}</view> <view class="num">{{item.collect_num }}</view>
</view> </view>
@ -77,6 +93,116 @@
</view> </view>
</z-paging> </z-paging>
</view> </view>
<up-popup
:round="10"
zIndex="9"
:closeOnClickOverlay="false"
:show="showCase"
mode="bottom"
@close="closeCase"
>
<view class="votepop casepop">
<view class="titlebox">
<view class="left" @click="cancelCase">取消</view>
<view class="right" @click="confirmCase">确定</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">
<view v-show="level == 1" >
<up-radio-group
v-model="caseValue1.value"
name="group1"
iconPlacement="right"
placement="column"
@change="groupChange1"
>
<view
class="column"
v-for="item in labelObj.list1"
:key="item.app_iden"
>
<up-radio
activeColor="#3CC7C0 "
:label="item.label_name"
:name="item.app_iden"
></up-radio>
</view>
</up-radio-group>
</view>
<view v-show="level == 2" >
<up-radio-group
name="group2"
@change="groupChange2"
v-model="caseValue2.value"
iconPlacement="right"
placement="column"
>
<view
class="column"
v-for="item in labelObj.list2"
:key="item.app_iden"
>
<up-radio
activeColor="#3CC7C0 "
:label="item.label_name"
:name="item.app_iden"
></up-radio>
</view>
</up-radio-group>
</view>
<view v-show="level == 3" >
<up-radio-group
name="group3"
@change="groupChange3"
v-model="caseValue3.value"
iconPlacement="right"
placement="column"
>
<view
class="column"
v-for="item in labelObj.list3"
:key="item.app_iden"
>
<up-radio
activeColor="#3CC7C0 "
:label="item.label_name"
:name="item.app_iden"
></up-radio>
</view>
</up-radio-group>
</view>
</scroll-view>
</view>
</up-popup>
</template> </template>
<script setup> <script setup>
@ -88,8 +214,8 @@ import navTo from "@/utils/navTo.js";
import { onLoad,onShow} from "@dcloudio/uni-app"; import { onLoad,onShow} from "@dcloudio/uni-app";
import dayjs from "dayjs"; import dayjs from "dayjs";
import switchImg from "@/static/switch.png"; import switchImg from "@/static/switch.png";
import caseImg from "@/static/caseIcon.png";
const paging = ref(null); const paging = ref(null);
const uDropdownRef=ref(null);
const dataList = ref([]); const dataList = ref([]);
const total = ref(0); const total = ref(0);
const keyWord = ref(""); const keyWord = ref("");
@ -102,21 +228,165 @@ const doctor_name=ref('');
const numInfo=reactive({}); const numInfo=reactive({});
const searchInfo=reactive({}) const searchInfo=reactive({})
const navName=ref('视频临床病例库') const navName=ref('视频临床病例库')
const dropTitle=ref('发布时间');
const orderFilter=ref('1')
const uDropdownRef=ref(null);
const label_iden=ref(null);
const options= ref([ const options= ref([
{ {
label: "正序", label: "发布时间",
value: 'asc', value: '1',
}, },
{ {
label: "倒序", label: "阅读次数",
value: 'desc', value: '2',
}, },
]); ]);
const isSearch=ref(false); const isSearch=ref(false);
const order=reactive({ const order=reactive({
read_num:'', read_num:'',
push_date:'' push_date:'desc'
}) })
const showCase = ref(false);
const canOpenCase = ref(false);
const caseValue1 = reactive({
value:'',
name:'',
});
const caseValue2 = reactive({
value:'',
name:'',
});
const caseValue3 = reactive({
value:'',
name:'',
});
const level = ref(1);
const labelObj = reactive({
list1: [],
list2: [],
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 changeWord=(value)=>{ const changeWord=(value)=>{
keyWord.value=value; keyWord.value=value;
@ -151,13 +421,23 @@ onLoad((options) => {
getStaticDoctor(hospital_id.value) getStaticDoctor(hospital_id.value)
} }
getCaseLabel(1,0)
}); });
onShow(()=>{ onShow(()=>{
paging.value?.refresh(); paging.value?.refresh();
}) })
const changeDate=(e)=>{ const changeDate=(e)=>{
console.log(e); if(e==1){
order.read_num=''; order.push_date='desc';
order.read_num='';
dropTitle.value="发布时间"
}else{
order.push_date='';
order.read_num="desc";
dropTitle.value="阅读次数"
}
orderFilter.value=e;
uDropdownRef.value.close();
paging.value.reload(); paging.value.reload();
} }
const changeRead=(e)=>{ const changeRead=(e)=>{
@ -186,8 +466,12 @@ const searchArticle =(params) => {
let searchForm={ let searchForm={
keyword: keyWord.value, keyword: keyWord.value,
hospital_id:hospital_id.value, hospital_id:hospital_id.value,
doctor_id:doctor_id.value doctor_id:doctor_id.value,
} label_iden:label_iden.value
}
if(label_iden.value===''){
delete searchForm.label_iden
}
if(isSearch.value){ if(isSearch.value){
searchForm.is_need_num=1; searchForm.is_need_num=1;
} }
@ -217,7 +501,11 @@ const searchVideo = async(params) => {
let searchForm={ let searchForm={
keyword: keyWord.value, keyword: keyWord.value,
hospital_id:hospital_id.value, hospital_id:hospital_id.value,
doctor_id:doctor_id.value doctor_id:doctor_id.value,
label_iden:label_iden.value
}
if(label_iden.value===''){
delete searchForm.label_iden
} }
if(isSearch.value){ if(isSearch.value){
searchForm.is_need_num=1; searchForm.is_need_num=1;
@ -255,6 +543,42 @@ const queryList = (pageNo, pageSize) => {
</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;
}
}
.bar { .bar {
width: 100%; width: 100%;
background: #f9fafb; background: #f9fafb;
@ -291,8 +615,24 @@ const queryList = (pageNo, pageSize) => {
align-items: center; align-items: center;
position: relative; position: relative;
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:rgb(60, 156, 255)!important;
}
.casesdown{
font-size:14px;
color: #606266;
position: absolute;
left:30rpx;
top:24rpx;
display: flex;
justify-content: center;
align-items: center;
background: #F3F4F6;
border-radius: 15rpx;
height: 74rpx;
padding:0 25rpx;
z-index:2;
} }
.type{ .type{
color: #606266; color: #606266;
@ -321,7 +661,7 @@ const queryList = (pageNo, pageSize) => {
background: #fff; background: #fff;
z-index:1; z-index:1;
margin-left: 0rpx; margin-left: 165rpx;
} }
:deep(.u-dropdown__menu__item){ :deep(.u-dropdown__menu__item){
@ -331,7 +671,7 @@ const queryList = (pageNo, pageSize) => {
background: #F3F4F6; background: #F3F4F6;
border-radius: 15rpx; border-radius: 15rpx;
flex:none; flex:none;
margin-left: 30rpx; margin-left: 30rpx;
} }
.deal { .deal {
@ -400,4 +740,114 @@ const queryList = (pageNo, pageSize) => {
color: #FF0000; color: #FF0000;
} }
} }
.votepop {
.confirm {
margin: 39rpx 30rpx 0;
height: 92rpx;
background: #3cc7c0;
border-radius: 15rpx;
display: flex;
align-items: center;
font-size: 31rpx;
color: #ffffff;
justify-content: center;
}
.del {
margin: 30rpx 30rpx 30rpx;
height: 92rpx;
background: #fff;
border-radius: 15rpx;
font-size: 31rpx;
color: #666666;
display: flex;
align-items: center;
justify-content: center;
}
.tips {
margin-top: 30rpx;
font-size: 27rpx;
color: #9ca3af;
line-height: 38rpx;
padding: 0 30rpx;
}
.add {
margin: 0 30rpx;
display: flex;
align-items: center;
height: 92rpx;
justify-content: center;
background: #f5f5f5;
border-radius: 15rpx;
font-size: 31rpx;
color: #4b5563;
.desc {
margin-left: 10rpx;
}
}
.titlebox {
padding: 0 30rpx;
height: 86rpx;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 2rpx solid #f3f4f6;
.left {
font-size: 31rpx;
color: #4b5563;
}
.right {
font-size: 31rpx;
color: #3cc7c0;
}
}
.votecon {
max-height: calc(100vh - 530rpx);
overflow-y: scroll;
.row {
display: flex;
align-items: center;
.iconbox {
margin-left: 15rpx;
align-items: center;
}
}
.titlebox {
border: none;
margin: 30rpx 0 20rpx;
.title {
font-size: 31rpx;
color: #111827;
}
.desc {
font-size: 27rpx;
color: #9ca3af;
}
}
}
}
.casepop{
display: flex;
flex-direction: column;
max-height: calc(100vh - 400rpx);
.continue{
color: #2878ff !important;
}
}
.casecon{
flex:1;
max-height: calc(100vh - 800rpx);
overflow-y: scroll;
padding-top: 22rpx;
padding-bottom: 20rpx;
min-height: 350rpx;
:deep(.u-radio){
margin-bottom: 10px!important;
margin-top: 0px!important;
}
.column {
padding: 0 30rpx;
border-bottom: 2rpx solid #e5e7eb;
}
}
</style> </style>

View File

@ -1 +1 @@
{"version":3,"file":"assets.js","sources":["static/video.png","static/sick.png","static/hospital.png","static/doctor.png","static/photo.png","static/add.png","static/videoicon.png","static/vote.png","static/draft.png","static/switch.png","static/arrowright.png","static/headImg.png","static/caseIcon.png","static/cert.png","static/myFile.png","static/myDownload.png","static/myCollect.png","static/myHospital.png","static/myJoin.png","static/myTalk.png","static/collectOn.png","static/collect.png","static/shang.png","static/chat.png","static/uploadImg.png","static/comment_icon.png","static/benren.png","static/default.png","static/group.png","static/ku.png","static/ku_on.png","static/group_on.png","static/talk.png","static/talk_on.png","static/logo.png","static/navbg.png"],"sourcesContent":["export default \"__VITE_ASSET__e338fa6d__\"","export default \"__VITE_ASSET__33a3f11a__\"","export default \"__VITE_ASSET__99f8d6c7__\"","export default \"__VITE_ASSET__051e2535__\"","export default \"__VITE_ASSET__fd0b1873__\"","export default \"__VITE_ASSET__7afdfa25__\"","export default \"__VITE_ASSET__f335dad1__\"","export default \"__VITE_ASSET__bc53d6e9__\"","export default \"__VITE_ASSET__8a9f1cf1__\"","export default \"__VITE_ASSET__34b6a406__\"","export default \"__VITE_ASSET__04d264d8__\"","export default \"__VITE_ASSET__2dc1225f__\"","export default \"__VITE_ASSET__3981e088__\"","export default \"__VITE_ASSET__968fe4e2__\"","export default \"__VITE_ASSET__2a791e4d__\"","export default \"__VITE_ASSET__02d8e89c__\"","export default \"__VITE_ASSET__018fc400__\"","export default \"__VITE_ASSET__f708625e__\"","export default \"__VITE_ASSET__219bc93e__\"","export default \"__VITE_ASSET__07ef65cb__\"","export default \"__VITE_ASSET__60605a3f__\"","export default \"__VITE_ASSET__1b1db7a1__\"","export default \"__VITE_ASSET__0d05d4c1__\"","export default \"__VITE_ASSET__b055dcc3__\"","export default \"__VITE_ASSET__66769c53__\"","export default \"__VITE_ASSET__27070269__\"","export default \"__VITE_ASSET__beb38987__\"","export default \"__VITE_ASSET__f5b8f828__\"","export default \"__VITE_ASSET__df35ad17__\"","export default \"__VITE_ASSET__c0792a8a__\"","export default \"__VITE_ASSET__514334a4__\"","export default \"__VITE_ASSET__40793151__\"","export default \"__VITE_ASSET__977b04a2__\"","export default \"__VITE_ASSET__e6204d41__\"","export default \"__VITE_ASSET__8ef1dcc4__\"","export default \"__VITE_ASSET__e0ede23c__\""],"names":[],"mappings":";AAAA,MAAe,aAAA;ACAf,MAAe,UAAA;ACAf,MAAe,cAAA;ACAf,MAAe,YAAA;ACAf,MAAe,WAAA;ACAf,MAAe,SAAA;ACAf,MAAe,WAAA;ACAf,MAAe,UAAA;ACAf,MAAe,WAAA;ACAf,MAAe,YAAA;ACAf,MAAe,gBAAA;ACAf,MAAe,UAAA;ACAf,MAAe,UAAA;ACAf,MAAe,UAAA;ACAf,MAAe,SAAA;ACAf,MAAe,aAAA;ACAf,MAAe,YAAA;ACAf,MAAe,aAAA;ACAf,MAAe,SAAA;ACAf,MAAe,SAAA;ACAf,MAAe,eAAA;ACAf,MAAe,aAAA;ACAf,MAAe,WAAA;ACAf,MAAe,UAAA;ACAf,MAAe,YAAA;ACAf,MAAe,aAAA;ACAf,MAAe,UAAA;ACAf,MAAe,MAAA;ACAf,MAAe,QAAA;ACAf,MAAe,KAAA;ACAf,MAAe,QAAA;ACAf,MAAe,WAAA;ACAf,MAAe,OAAA;ACAf,MAAe,UAAA;ACAf,MAAe,UAAA;ACAf,MAAe,QAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"} {"version":3,"file":"assets.js","sources":["static/video.png","static/sick.png","static/hospital.png","static/doctor.png","static/photo.png","static/add.png","static/videoicon.png","static/vote.png","static/draft.png","static/switch.png","static/arrowright.png","static/caseIcon.png","static/headImg.png","static/cert.png","static/myFile.png","static/myDownload.png","static/myCollect.png","static/myHospital.png","static/myJoin.png","static/myTalk.png","static/collectOn.png","static/collect.png","static/shang.png","static/chat.png","static/uploadImg.png","static/comment_icon.png","static/benren.png","static/default.png","static/group.png","static/ku.png","static/ku_on.png","static/group_on.png","static/talk.png","static/talk_on.png","static/logo.png","static/navbg.png"],"sourcesContent":["export default \"__VITE_ASSET__e338fa6d__\"","export default \"__VITE_ASSET__33a3f11a__\"","export default \"__VITE_ASSET__99f8d6c7__\"","export default \"__VITE_ASSET__051e2535__\"","export default \"__VITE_ASSET__fd0b1873__\"","export default \"__VITE_ASSET__7afdfa25__\"","export default \"__VITE_ASSET__f335dad1__\"","export default \"__VITE_ASSET__bc53d6e9__\"","export default \"__VITE_ASSET__8a9f1cf1__\"","export default \"__VITE_ASSET__34b6a406__\"","export default \"__VITE_ASSET__04d264d8__\"","export default \"__VITE_ASSET__3981e088__\"","export default \"__VITE_ASSET__2dc1225f__\"","export default \"__VITE_ASSET__968fe4e2__\"","export default \"__VITE_ASSET__2a791e4d__\"","export default \"__VITE_ASSET__02d8e89c__\"","export default \"__VITE_ASSET__018fc400__\"","export default \"__VITE_ASSET__f708625e__\"","export default \"__VITE_ASSET__219bc93e__\"","export default \"__VITE_ASSET__07ef65cb__\"","export default \"__VITE_ASSET__60605a3f__\"","export default \"__VITE_ASSET__1b1db7a1__\"","export default \"__VITE_ASSET__0d05d4c1__\"","export default \"__VITE_ASSET__b055dcc3__\"","export default \"__VITE_ASSET__66769c53__\"","export default \"__VITE_ASSET__27070269__\"","export default \"__VITE_ASSET__beb38987__\"","export default \"__VITE_ASSET__f5b8f828__\"","export default \"__VITE_ASSET__df35ad17__\"","export default \"__VITE_ASSET__c0792a8a__\"","export default \"__VITE_ASSET__514334a4__\"","export default \"__VITE_ASSET__40793151__\"","export default \"__VITE_ASSET__977b04a2__\"","export default \"__VITE_ASSET__e6204d41__\"","export default \"__VITE_ASSET__8ef1dcc4__\"","export default \"__VITE_ASSET__e0ede23c__\""],"names":[],"mappings":";AAAA,MAAe,aAAA;ACAf,MAAe,UAAA;ACAf,MAAe,cAAA;ACAf,MAAe,YAAA;ACAf,MAAe,WAAA;ACAf,MAAe,SAAA;ACAf,MAAe,WAAA;ACAf,MAAe,UAAA;ACAf,MAAe,WAAA;ACAf,MAAe,YAAA;ACAf,MAAe,gBAAA;ACAf,MAAe,UAAA;ACAf,MAAe,UAAA;ACAf,MAAe,UAAA;ACAf,MAAe,SAAA;ACAf,MAAe,aAAA;ACAf,MAAe,YAAA;ACAf,MAAe,aAAA;ACAf,MAAe,SAAA;ACAf,MAAe,SAAA;ACAf,MAAe,eAAA;ACAf,MAAe,aAAA;ACAf,MAAe,WAAA;ACAf,MAAe,UAAA;ACAf,MAAe,YAAA;ACAf,MAAe,aAAA;ACAf,MAAe,UAAA;ACAf,MAAe,MAAA;ACAf,MAAe,QAAA;ACAf,MAAe,KAAA;ACAf,MAAe,QAAA;ACAf,MAAe,WAAA;ACAf,MAAe,OAAA;ACAf,MAAe,UAAA;ACAf,MAAe,UAAA;ACAf,MAAe,QAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}

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

View File

@ -10,8 +10,8 @@ const voteImg = "/static/vote.png";
const draftImg = "/static/draft.png"; const draftImg = "/static/draft.png";
const switchImg = "/static/switch.png"; const switchImg = "/static/switch.png";
const arrowrightImg = "/static/arrowright.png"; const arrowrightImg = "/static/arrowright.png";
const headImg = "/static/headImg.png";
const caseImg = "/static/caseIcon.png"; const caseImg = "/static/caseIcon.png";
const headImg = "/static/headImg.png";
const certImg = "/static/cert.png"; const certImg = "/static/cert.png";
const myFile = "/static/myFile.png"; const myFile = "/static/myFile.png";
const myDownload = "/static/myDownload.png"; const myDownload = "/static/myDownload.png";

View File

@ -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_4_6CBK";
const lazy = typeof swan !== "undefined"; const lazy = typeof swan !== "undefined";
let restoreError = lazy ? () => { let restoreError = lazy ? () => {
} : initOnError(); } : initOnError();
@ -13095,6 +13095,74 @@ const props$q = defineMixin({
} }
}); });
const props$p = defineMixin({ const props$p = 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$o = 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$n = defineMixin({
props: { props: {
// input的label提示语 // input的label提示语
label: { label: {
@ -13147,7 +13215,7 @@ const props$p = defineMixin({
} }
} }
}); });
const props$o = defineMixin({ const props$m = defineMixin({
props: { props: {
// 倒计时总秒数 // 倒计时总秒数
seconds: { seconds: {
@ -13219,7 +13287,7 @@ const openType = defineMixin({
} }
} }
}); });
const props$n = defineMixin({ const props$l = defineMixin({
props: { props: {
// 是否细边框 // 是否细边框
hairline: { hairline: {
@ -13376,7 +13444,7 @@ const props$n = defineMixin({
} }
} }
}); });
const props$m = defineMixin({ const props$k = defineMixin({
props: { props: {
// 当前form的需要验证字段的集合 // 当前form的需要验证字段的集合
model: { model: {
@ -14312,74 +14380,6 @@ Schema.register = function register(type2, validator) {
}; };
Schema.warning = warning; Schema.warning = warning;
Schema.messages = messages; Schema.messages = messages;
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({ const props$j = defineMixin({
props: { props: {
// 滑块的移动过渡时间单位ms // 滑块的移动过渡时间单位ms
@ -16285,122 +16285,6 @@ const props$7 = defineMixin({
} }
}); });
const props$6 = defineMixin({ const props$6 = defineMixin({
props: {
color: {
type: String,
default: () => props$B.line.color
},
// 长度竖向时表现为高度横向时表现为长度可以为百分比带px单位的值等
length: {
type: [String, Number],
default: () => props$B.line.length
},
// 线条方向col-竖向row-横向
direction: {
type: String,
default: () => props$B.line.direction
},
// 是否显示细边框
hairline: {
type: Boolean,
default: () => props$B.line.hairline
},
// 线条与上下左右元素的间距,字符串形式,如"30px"、"20px 30px"
margin: {
type: [String, Number],
default: () => props$B.line.margin
},
// 是否虚线true-虚线false-实线
dashed: {
type: Boolean,
default: () => props$B.line.dashed
}
}
});
const props$5 = defineMixin({
props: {
// 是否显示组件
show: {
type: Boolean,
default: () => props$B.loadingIcon.show
},
// 颜色
color: {
type: String,
default: () => props$B.loadingIcon.color
},
// 提示文字颜色
textColor: {
type: String,
default: () => props$B.loadingIcon.textColor
},
// 文字和图标是否垂直排列
vertical: {
type: Boolean,
default: () => props$B.loadingIcon.vertical
},
// 模式选择circle-圆形spinner-花朵形semicircle-半圆形
mode: {
type: String,
default: () => props$B.loadingIcon.mode
},
// 图标大小单位默认px
size: {
type: [String, Number],
default: () => props$B.loadingIcon.size
},
// 文字大小
textSize: {
type: [String, Number],
default: () => props$B.loadingIcon.textSize
},
// 文字内容
text: {
type: [String, Number],
default: () => props$B.loadingIcon.text
},
// 动画模式
timingFunction: {
type: String,
default: () => props$B.loadingIcon.timingFunction
},
// 动画执行周期时间
duration: {
type: [String, Number],
default: () => props$B.loadingIcon.duration
},
// mode=circle时的暗边颜色
inactiveColor: {
type: String,
default: () => props$B.loadingIcon.inactiveColor
}
}
});
const props$4 = defineMixin({
props: {
// 背景颜色默认transparent
bgColor: {
type: String,
default: () => props$B.gap.bgColor
},
// 分割槽高度单位px默认30
height: {
type: [String, Number],
default: () => props$B.gap.height
},
// 与上一个组件的距离
marginTop: {
type: [String, Number],
default: () => props$B.gap.marginTop
},
// 与下一个组件的距离
marginBottom: {
type: [String, Number],
default: () => props$B.gap.marginBottom
}
}
});
const props$3 = defineMixin({
props: { props: {
// 主题颜色 // 主题颜色
type: { type: {
@ -16589,6 +16473,122 @@ const value = {
} }
} }
}; };
const props$5 = defineMixin({
props: {
color: {
type: String,
default: () => props$B.line.color
},
// 长度竖向时表现为高度横向时表现为长度可以为百分比带px单位的值等
length: {
type: [String, Number],
default: () => props$B.line.length
},
// 线条方向col-竖向row-横向
direction: {
type: String,
default: () => props$B.line.direction
},
// 是否显示细边框
hairline: {
type: Boolean,
default: () => props$B.line.hairline
},
// 线条与上下左右元素的间距,字符串形式,如"30px"、"20px 30px"
margin: {
type: [String, Number],
default: () => props$B.line.margin
},
// 是否虚线true-虚线false-实线
dashed: {
type: Boolean,
default: () => props$B.line.dashed
}
}
});
const props$4 = defineMixin({
props: {
// 是否显示组件
show: {
type: Boolean,
default: () => props$B.loadingIcon.show
},
// 颜色
color: {
type: String,
default: () => props$B.loadingIcon.color
},
// 提示文字颜色
textColor: {
type: String,
default: () => props$B.loadingIcon.textColor
},
// 文字和图标是否垂直排列
vertical: {
type: Boolean,
default: () => props$B.loadingIcon.vertical
},
// 模式选择circle-圆形spinner-花朵形semicircle-半圆形
mode: {
type: String,
default: () => props$B.loadingIcon.mode
},
// 图标大小单位默认px
size: {
type: [String, Number],
default: () => props$B.loadingIcon.size
},
// 文字大小
textSize: {
type: [String, Number],
default: () => props$B.loadingIcon.textSize
},
// 文字内容
text: {
type: [String, Number],
default: () => props$B.loadingIcon.text
},
// 动画模式
timingFunction: {
type: String,
default: () => props$B.loadingIcon.timingFunction
},
// 动画执行周期时间
duration: {
type: [String, Number],
default: () => props$B.loadingIcon.duration
},
// mode=circle时的暗边颜色
inactiveColor: {
type: String,
default: () => props$B.loadingIcon.inactiveColor
}
}
});
const props$3 = defineMixin({
props: {
// 背景颜色默认transparent
bgColor: {
type: String,
default: () => props$B.gap.bgColor
},
// 分割槽高度单位px默认30
height: {
type: [String, Number],
default: () => props$B.gap.height
},
// 与上一个组件的距离
marginTop: {
type: [String, Number],
default: () => props$B.gap.marginTop
},
// 与下一个组件的距离
marginBottom: {
type: [String, Number],
default: () => props$B.gap.marginBottom
}
}
});
const props$2 = defineMixin({ const props$2 = defineMixin({
props: { props: {
// 是否显示圆点 // 是否显示圆点
@ -16787,9 +16787,9 @@ exports.props = props$A;
exports.props$1 = props$z; exports.props$1 = props$z;
exports.props$10 = props$q; exports.props$10 = props$q;
exports.props$11 = props$p; exports.props$11 = props$p;
exports.props$12 = props$B; exports.props$12 = props$o;
exports.props$13 = props$o; exports.props$13 = props$n;
exports.props$14 = props$n; exports.props$14 = props$B;
exports.props$15 = props$m; exports.props$15 = props$m;
exports.props$16 = props$l; exports.props$16 = props$l;
exports.props$17 = props$k; exports.props$17 = props$k;

View File

@ -47,7 +47,7 @@ const _sfc_main = {
const search = () => { const search = () => {
if (props.type == "home") { if (props.type == "home") {
utils_navTo.navTo({ utils_navTo.navTo({
url: `/pages/search/search?keyWord=${keyWord.value}` url: `/pages/search/search?keyWord=${keyWord.value}&from=home`
}); });
} else if (props.type == "caseTalk") { } else if (props.type == "caseTalk") {
utils_navTo.navTo({ utils_navTo.navTo({

View File

@ -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-button", name: "u-button",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.buttonMixin, common_vendor.openType, common_vendor.props$14], mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.buttonMixin, common_vendor.openType, common_vendor.props$16],
data() { data() {
return {}; return {};
}, },

View File

@ -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-code", name: "u-code",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$13], mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$15],
data() { data() {
return { return {
secNum: this.seconds, secNum: this.seconds,

View File

@ -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-form-item", name: "u-form-item",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$11], mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$13],
data() { data() {
return { return {
// 错误提示语 // 错误提示语
@ -26,7 +26,7 @@ const _sfc_main = {
// 组件创建完成时将当前实例保存到u-form中 // 组件创建完成时将当前实例保存到u-form中
computed: { computed: {
propsLine() { propsLine() {
return common_vendor.props$12.line; return common_vendor.props$14.line;
} }
}, },
mounted() { mounted() {

View File

@ -4,7 +4,7 @@ common_vendor.Schema.warning = function() {
}; };
const _sfc_main = { const _sfc_main = {
name: "u-form", name: "u-form",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$15], mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$17],
provide() { provide() {
return { return {
uForm: this uForm: this

View File

@ -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-gap", name: "u-gap",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$33], mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$34],
computed: { computed: {
gapStyle() { gapStyle() {
const style = { const style = {

View File

@ -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-line", name: "u-line",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$31], mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$32],
computed: { computed: {
lineStyle() { lineStyle() {
const style = {}; const style = {};

View File

@ -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-loading-icon", name: "u-loading-icon",
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$32], mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$33],
data() { data() {
return { return {
// Array.form可以通过一个伪数组对象创建指定长度的数组 // Array.form可以通过一个伪数组对象创建指定长度的数组

View File

@ -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$11],
data() { data() {
return { return {
index: 0, index: 0,

View File

@ -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$12],
data() { data() {
return {}; return {};
}, },

View File

@ -51,7 +51,7 @@ const _sfc_main = {
}; };
}, },
propsBadge() { propsBadge() {
return common_vendor.props$12.badge; return common_vendor.props$14.badge;
} }
}, },
async mounted() { async mounted() {

View File

@ -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$31],
emits: ["click"], emits: ["click"],
computed: { computed: {
wrapStyle() { wrapStyle() {

View File

@ -48,9 +48,10 @@ const _sfc_main = {
const searchInfo = common_vendor.reactive({}); const searchInfo = common_vendor.reactive({});
const freshKey = common_vendor.ref(0); const freshKey = common_vendor.ref(0);
const navName = common_vendor.ref("肝胆相照临床病例库"); const navName = common_vendor.ref("肝胆相照临床病例库");
const paging = common_vendor.ref(null);
const hideType = common_vendor.ref(false);
const dropTitle = common_vendor.ref("发布时间"); const dropTitle = common_vendor.ref("发布时间");
const orderFilter = common_vendor.ref("1"); const orderFilter = common_vendor.ref("1");
const paging = common_vendor.ref(null);
const uDropdownRef = common_vendor.ref(null); const uDropdownRef = common_vendor.ref(null);
const options = common_vendor.ref([ const options = common_vendor.ref([
{ {
@ -62,7 +63,7 @@ const _sfc_main = {
value: "2" value: "2"
} }
]); ]);
const isSearch = common_vendor.ref(true); const isSearch = common_vendor.ref(false);
const order = common_vendor.reactive({ const order = common_vendor.reactive({
read_num: "", read_num: "",
push_date: "desc" push_date: "desc"
@ -199,14 +200,21 @@ const _sfc_main = {
paging.value.reload(); paging.value.reload();
}; };
common_vendor.onLoad((options2) => { common_vendor.onLoad((options2) => {
if (options2.from == "home") {
isSearch.value = true;
}
if (options2.keyWord) { if (options2.keyWord) {
keyWord.value = options2.keyWord; keyWord.value = options2.keyWord;
} }
if (options2.order == "new") { if (options2.order == "new") {
order.push_date = "desc"; order.push_date = "desc";
hideType.value = true;
navName.value = "文章临床病例库";
} }
if (options2.order == "read") { if (options2.order == "read") {
order.read_num = "desc"; order.push_date = "desc";
hideType.value = true;
navName.value = "文章临床病例库";
} }
if (options2.order == "video") { if (options2.order == "video") {
isArticle.value = false; isArticle.value = false;
@ -254,7 +262,7 @@ const _sfc_main = {
return common_vendor.dayjs(date).format("YYYY-MM-DD"); return common_vendor.dayjs(date).format("YYYY-MM-DD");
}; };
const goDetail = (id, isLink, src) => { const goDetail = (id, isLink, src) => {
common_vendor.index.__f__("log", "at pages/search/search.vue:462", isLink); common_vendor.index.__f__("log", "at pages/search/search.vue:469", isLink);
if (isLink == 1) { if (isLink == 1) {
utils_navTo.navTo({ utils_navTo.navTo({
url: `/pages/web/web?src=${src}` url: `/pages/web/web?src=${src}`
@ -392,7 +400,7 @@ const _sfc_main = {
}); });
}; };
const queryList = (pageNo, pageSize) => { const queryList = (pageNo, pageSize) => {
common_vendor.index.__f__("log", "at pages/search/search.vue:610", 666666); common_vendor.index.__f__("log", "at pages/search/search.vue:617", 666666);
const params = { const params = {
page: pageNo, page: pageNo,
page_size: pageSize page_size: pageSize
@ -415,28 +423,34 @@ const _sfc_main = {
g: isSearch.value g: isSearch.value
}, isSearch.value ? common_vendor.e({ }, isSearch.value ? common_vendor.e({
h: common_vendor.t(searchInfo.search_article_num), h: common_vendor.t(searchInfo.search_article_num),
i: common_vendor.t(searchInfo.search_video_num), i: !hideType.value
j: keyWord.value }, !hideType.value ? {
j: common_vendor.t(searchInfo.search_video_num)
} : {}, {
k: keyWord.value
}, keyWord.value ? { }, keyWord.value ? {
k: common_vendor.t(keyWord.value) l: common_vendor.t(keyWord.value)
} : {}) : {}, { } : {}) : {}, {
l: common_vendor.t(!isArticle.value ? "视频" : "文章"), m: !hideType.value
m: common_vendor.p({ }, !hideType.value ? {
n: common_vendor.t(!isArticle.value ? "视频" : "文章"),
o: common_vendor.p({
src: common_vendor.unref(common_assets.switchImg), src: common_vendor.unref(common_assets.switchImg),
width: "31rpx", width: "31rpx",
height: "31rpx" height: "31rpx"
}), }),
n: common_vendor.o(swicthType), p: common_vendor.o(swicthType)
o: canOpenCase.value } : {}, {
q: canOpenCase.value
}, canOpenCase.value ? { }, canOpenCase.value ? {
p: common_vendor.p({ r: common_vendor.p({
src: common_vendor.unref(common_assets.caseImg), src: common_vendor.unref(common_assets.caseImg),
width: "31rpx", width: "31rpx",
height: "31rpx" height: "31rpx"
}), }),
q: common_vendor.o(openCase) s: common_vendor.o(openCase)
} : {}, { } : {}, {
r: common_vendor.f(options.value, (item, k0, i0) => { t: common_vendor.f(options.value, (item, k0, i0) => {
return { return {
a: "c10c040c-7-" + i0 + ",c10c040c-6", a: "c10c040c-7-" + i0 + ",c10c040c-6",
b: common_vendor.p({ b: common_vendor.p({
@ -448,21 +462,22 @@ const _sfc_main = {
d: common_vendor.n(orderFilter.value == item.value ? "active" : "") d: common_vendor.n(orderFilter.value == item.value ? "active" : "")
}; };
}), }),
s: common_vendor.o(changeDate), v: common_vendor.o(changeDate),
t: common_vendor.o(($event) => orderFilter.value = $event), w: common_vendor.o(($event) => orderFilter.value = $event),
v: common_vendor.p({ x: common_vendor.p({
iconPlacement: "right", iconPlacement: "right",
placement: "column", placement: "column",
modelValue: orderFilter.value modelValue: orderFilter.value
}), }),
w: common_vendor.p({ y: common_vendor.p({
title: dropTitle.value title: dropTitle.value
}), }),
x: common_vendor.sr(uDropdownRef, "c10c040c-4,c10c040c-0", { z: common_vendor.sr(uDropdownRef, "c10c040c-4,c10c040c-0", {
"k": "uDropdownRef" "k": "uDropdownRef"
}), }),
y: canOpenCase.value ? 1 : "", A: canOpenCase.value ? 1 : "",
z: common_vendor.f(dataList.value, (item, index, i0) => { B: hideType.value ? 1 : "",
C: common_vendor.f(dataList.value, (item, index, i0) => {
return common_vendor.e({ return common_vendor.e({
a: common_vendor.t(isArticle.value ? item.article_title : item.video_title), a: common_vendor.t(isArticle.value ? item.article_title : item.video_title),
b: common_vendor.f(item.author, (tag, k1, i1) => { b: common_vendor.f(item.author, (tag, k1, i1) => {
@ -489,56 +504,56 @@ const _sfc_main = {
l: common_vendor.o(($event) => isArticle.value ? goDetail(item.article_id, item.is_link, item.is_link_url) : goDetail(item.video_id, item.is_link, item.is_link_url), index) l: common_vendor.o(($event) => isArticle.value ? goDetail(item.article_id, item.is_link, item.is_link_url) : goDetail(item.video_id, item.is_link, item.is_link_url), index)
}); });
}), }),
A: common_vendor.p({ D: common_vendor.p({
name: "eye", name: "eye",
color: "#6B7280", color: "#6B7280",
size: "28rpx" size: "28rpx"
}), }),
B: common_vendor.p({ E: common_vendor.p({
name: "clock", name: "clock",
color: "#6B7280", color: "#6B7280",
size: "28rpx" size: "28rpx"
}), }),
C: common_vendor.sr(paging, "c10c040c-0", { F: common_vendor.sr(paging, "c10c040c-0", {
"k": "paging" "k": "paging"
}), }),
D: common_vendor.o(queryList), G: common_vendor.o(queryList),
E: common_vendor.o(($event) => dataList.value = $event), H: common_vendor.o(($event) => dataList.value = $event),
F: common_vendor.p({ I: 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
}), }),
G: common_vendor.o(cancelCase), J: common_vendor.o(cancelCase),
H: common_vendor.o(confirmCase), K: common_vendor.o(confirmCase),
I: common_vendor.t(!caseValue1.name ? "请选择选项" : caseValue1.name), L: common_vendor.t(!caseValue1.name ? "请选择选项" : caseValue1.name),
J: common_vendor.p({ M: common_vendor.p({
name: "arrow-right" name: "arrow-right"
}), }),
K: common_vendor.o(($event) => openCaseLevel("1")), N: common_vendor.o(($event) => openCaseLevel("1")),
L: caseValue1.name && labelObj.list2.length > 0 O: caseValue1.name && labelObj.list2.length > 0
}, caseValue1.name && labelObj.list2.length > 0 ? { }, caseValue1.name && labelObj.list2.length > 0 ? {
M: common_vendor.t(!caseValue2.name ? "请选择选项" : caseValue2.name), P: common_vendor.t(!caseValue2.name ? "请选择选项" : caseValue2.name),
N: common_vendor.p({ Q: common_vendor.p({
name: "arrow-right" name: "arrow-right"
}), }),
O: common_vendor.o(($event) => openCaseLevel("2")) R: common_vendor.o(($event) => openCaseLevel("2"))
} : {}, { } : {}, {
P: caseValue2.name && labelObj.list3.length > 0 S: caseValue2.name && labelObj.list3.length > 0
}, caseValue2.name && labelObj.list3.length > 0 ? { }, caseValue2.name && labelObj.list3.length > 0 ? {
Q: common_vendor.t(!caseValue3.name ? "请选择选项" : caseValue3.name), T: common_vendor.t(!caseValue3.name ? "请选择选项" : caseValue3.name),
R: common_vendor.p({ U: common_vendor.p({
name: "arrow-right" name: "arrow-right"
}), }),
S: common_vendor.o(($event) => openCaseLevel("3")) V: common_vendor.o(($event) => openCaseLevel("3"))
} : {}, { } : {}, {
T: freshKey.value, W: freshKey.value,
U: common_vendor.p({ X: common_vendor.p({
current: level.value - 1, current: level.value - 1,
direction: "column" direction: "column"
}), }),
V: common_vendor.f(labelObj.list1, (item, k0, i0) => { Y: common_vendor.f(labelObj.list1, (item, k0, i0) => {
return { return {
a: "c10c040c-20-" + i0 + ",c10c040c-19", a: "c10c040c-20-" + i0 + ",c10c040c-19",
b: common_vendor.p({ b: common_vendor.p({
@ -549,16 +564,16 @@ const _sfc_main = {
c: item.app_iden c: item.app_iden
}; };
}), }),
W: common_vendor.o(groupChange1), Z: common_vendor.o(groupChange1),
X: common_vendor.o(($event) => caseValue1.value = $event), aa: common_vendor.o(($event) => caseValue1.value = $event),
Y: common_vendor.p({ ab: common_vendor.p({
name: "group1", name: "group1",
iconPlacement: "right", iconPlacement: "right",
placement: "column", placement: "column",
modelValue: caseValue1.value modelValue: caseValue1.value
}), }),
Z: level.value == 1, ac: level.value == 1,
aa: common_vendor.f(labelObj.list2, (item, k0, i0) => { ad: common_vendor.f(labelObj.list2, (item, k0, i0) => {
return { return {
a: "c10c040c-22-" + i0 + ",c10c040c-21", a: "c10c040c-22-" + i0 + ",c10c040c-21",
b: common_vendor.p({ b: common_vendor.p({
@ -569,16 +584,16 @@ const _sfc_main = {
c: item.app_iden c: item.app_iden
}; };
}), }),
ab: common_vendor.o(groupChange2), ae: common_vendor.o(groupChange2),
ac: common_vendor.o(($event) => caseValue2.value = $event), af: common_vendor.o(($event) => caseValue2.value = $event),
ad: common_vendor.p({ ag: common_vendor.p({
name: "group2", name: "group2",
iconPlacement: "right", iconPlacement: "right",
placement: "column", placement: "column",
modelValue: caseValue2.value modelValue: caseValue2.value
}), }),
ae: level.value == 2, ah: level.value == 2,
af: common_vendor.f(labelObj.list3, (item, k0, i0) => { ai: common_vendor.f(labelObj.list3, (item, k0, i0) => {
return { return {
a: "c10c040c-24-" + i0 + ",c10c040c-23", a: "c10c040c-24-" + i0 + ",c10c040c-23",
b: common_vendor.p({ b: common_vendor.p({
@ -589,17 +604,17 @@ const _sfc_main = {
c: item.app_iden c: item.app_iden
}; };
}), }),
ag: common_vendor.o(groupChange3), aj: common_vendor.o(groupChange3),
ah: common_vendor.o(($event) => caseValue3.value = $event), ak: common_vendor.o(($event) => caseValue3.value = $event),
ai: common_vendor.p({ al: common_vendor.p({
name: "group3", name: "group3",
iconPlacement: "right", iconPlacement: "right",
placement: "column", placement: "column",
modelValue: caseValue3.value modelValue: caseValue3.value
}), }),
aj: level.value == 3, am: level.value == 3,
ak: common_vendor.o(closeCase), an: common_vendor.o(closeCase),
al: common_vendor.p({ ao: common_vendor.p({
round: 10, round: 10,
zIndex: "9", zIndex: "9",
closeOnClickOverlay: false, closeOnClickOverlay: false,

File diff suppressed because one or more lines are too long

View File

@ -304,6 +304,14 @@
padding: 0 25rpx; padding: 0 25rpx;
z-index: 2; z-index: 2;
} }
.filterbox.on .casesdown.data-v-c10c040c {
left: 30rpx;
}
.filterbox.on.data-v-c10c040c .u-dropdown__menu {
background: #fff;
z-index: 1;
margin-left: 170rpx;
}
.u-page .deal.data-v-c10c040c { .u-page .deal.data-v-c10c040c {
margin-top: 20rpx; margin-top: 20rpx;
display: flex; display: flex;

View File

@ -2,26 +2,40 @@
const common_vendor = require("../../common/vendor.js"); const common_vendor = require("../../common/vendor.js");
const api_api = require("../../api/api.js"); const api_api = require("../../api/api.js");
const utils_navTo = require("../../utils/navTo.js"); const utils_navTo = require("../../utils/navTo.js");
const common_assets = require("../../common/assets.js");
if (!Array) { if (!Array) {
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");
(_easycom_up_dropdown_item2 + _easycom_up_dropdown2 + _easycom_up_icon2 + _easycom_z_paging2)(); const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon");
const _easycom_up_steps_item2 = common_vendor.resolveComponent("up-steps-item");
const _easycom_up_steps2 = common_vendor.resolveComponent("up-steps");
const _easycom_up_popup2 = common_vendor.resolveComponent("up-popup");
(_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)();
} }
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_steps_item = () => "../../node-modules/uview-plus/components/u-steps-item/u-steps-item.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";
if (!Math) { if (!Math) {
(navBarSearch + _easycom_up_dropdown_item + _easycom_up_dropdown + _easycom_up_icon + _easycom_z_paging)(); (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)();
} }
const navBarSearch = () => "../../components/navBarSearch/navBarSearch.js"; const navBarSearch = () => "../../components/navBarSearch/navBarSearch.js";
const _sfc_main = { const _sfc_main = {
__name: "videoList", __name: "videoList",
setup(__props) { setup(__props) {
const paging = common_vendor.ref(null); const paging = common_vendor.ref(null);
const uDropdownRef = common_vendor.ref(null);
const dataList = common_vendor.ref([]); const dataList = common_vendor.ref([]);
const total = common_vendor.ref(0); const total = common_vendor.ref(0);
const keyWord = common_vendor.ref(""); const keyWord = common_vendor.ref("");
@ -33,21 +47,151 @@ const _sfc_main = {
const numInfo = common_vendor.reactive({}); const numInfo = common_vendor.reactive({});
const searchInfo = common_vendor.reactive({}); const searchInfo = common_vendor.reactive({});
const navName = common_vendor.ref("视频临床病例库"); const navName = common_vendor.ref("视频临床病例库");
const dropTitle = common_vendor.ref("发布时间");
const orderFilter = common_vendor.ref("1");
const uDropdownRef = common_vendor.ref(null);
const label_iden = common_vendor.ref(null);
const options = common_vendor.ref([ const options = common_vendor.ref([
{ {
label: "正序", label: "发布时间",
value: "asc" value: "1"
}, },
{ {
label: "倒序", label: "阅读次数",
value: "desc" value: "2"
} }
]); ]);
const isSearch = common_vendor.ref(false); const isSearch = common_vendor.ref(false);
const order = common_vendor.reactive({ const order = common_vendor.reactive({
read_num: "", read_num: "",
push_date: "" push_date: "desc"
}); });
const showCase = common_vendor.ref(false);
common_vendor.ref(false);
const caseValue1 = common_vendor.reactive({
value: "",
name: ""
});
const caseValue2 = common_vendor.reactive({
value: "",
name: ""
});
const caseValue3 = common_vendor.reactive({
value: "",
name: ""
});
const level = common_vendor.ref(1);
const labelObj = common_vendor.reactive({
list1: [],
list2: [],
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 changeWord = (value) => { const changeWord = (value) => {
keyWord.value = value; keyWord.value = value;
isSearch.value = true; isSearch.value = true;
@ -79,27 +223,32 @@ const _sfc_main = {
navName.value = hospital_name.value + "临床病例库"; navName.value = hospital_name.value + "临床病例库";
getStaticDoctor(hospital_id.value); getStaticDoctor(hospital_id.value);
} }
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) => {
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:159", e); if (e == 1) {
order.read_num = ""; order.push_date = "desc";
paging.value.reload(); order.read_num = "";
}; dropTitle.value = "发布时间";
const changeRead = (e) => { } else {
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:164", e); order.push_date = "";
order.push_date = ""; order.read_num = "desc";
dropTitle.value = "阅读次数";
}
orderFilter.value = e;
uDropdownRef.value.close();
paging.value.reload(); paging.value.reload();
}; };
const formatdate = (date) => { const formatdate = (date) => {
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/videoList/videoList.vue:172", 11111); common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:452", 11111);
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:173", id); common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:453", id);
let type = isArticle.value ? "article" : "video"; let type = isArticle.value ? "article" : "video";
utils_navTo.navTo({ utils_navTo.navTo({
url: `/pages/detail/detail?id=${id}&type=${type}` url: `/pages/detail/detail?id=${id}&type=${type}`
@ -115,8 +264,12 @@ const _sfc_main = {
let searchForm = { let searchForm = {
keyword: keyWord.value, keyword: keyWord.value,
hospital_id: hospital_id.value, hospital_id: hospital_id.value,
doctor_id: doctor_id.value doctor_id: doctor_id.value,
label_iden: label_iden.value
}; };
if (label_iden.value === "") {
delete searchForm.label_iden;
}
if (isSearch.value) { if (isSearch.value) {
searchForm.is_need_num = 1; searchForm.is_need_num = 1;
} }
@ -145,8 +298,12 @@ const _sfc_main = {
let searchForm = { let searchForm = {
keyword: keyWord.value, keyword: keyWord.value,
hospital_id: hospital_id.value, hospital_id: hospital_id.value,
doctor_id: doctor_id.value doctor_id: doctor_id.value,
label_iden: label_iden.value
}; };
if (label_iden.value === "") {
delete searchForm.label_iden;
}
if (isSearch.value) { if (isSearch.value) {
searchForm.is_need_num = 1; searchForm.is_need_num = 1;
} }
@ -172,7 +329,7 @@ const _sfc_main = {
}); });
}; };
const queryList = (pageNo, pageSize) => { const queryList = (pageNo, pageSize) => {
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:248", 666666); common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:536", 666666);
const params = { const params = {
page: pageNo, page: pageNo,
page_size: pageSize page_size: pageSize
@ -199,25 +356,46 @@ const _sfc_main = {
} : { } : {
h: common_vendor.t(numInfo.video_read_num) h: common_vendor.t(numInfo.video_read_num)
}, { }, {
i: common_vendor.o(changeDate), i: isSearch.value
j: common_vendor.o(($event) => order.push_date = $event), }, isSearch.value ? common_vendor.e({
k: common_vendor.p({ j: common_vendor.t(searchInfo.search_video_num),
title: "发布时间", k: keyWord.value
options: options.value, }, keyWord.value ? {
modelValue: order.push_date l: common_vendor.t(keyWord.value)
} : {}) : {}, {
m: common_vendor.p({
src: common_vendor.unref(common_assets.caseImg),
width: "31rpx",
height: "31rpx"
}), }),
l: common_vendor.o(changeRead), n: common_vendor.o(openCase),
m: common_vendor.o(($event) => order.read_num = $event), o: common_vendor.f(options.value, (item, k0, i0) => {
n: common_vendor.p({ return {
title: "阅读量", a: "acc011bc-6-" + i0 + ",acc011bc-5",
options: options.value, b: common_vendor.p({
modelValue: order.read_num activeColor: "#3CC7C0",
label: item.label,
name: item.value
}),
c: item.value,
d: common_vendor.n(orderFilter.value == item.value ? "active" : "")
};
}), }),
o: common_vendor.sr(uDropdownRef, "acc011bc-2,acc011bc-0", { p: common_vendor.o(changeDate),
q: common_vendor.o(($event) => orderFilter.value = $event),
r: common_vendor.p({
iconPlacement: "right",
placement: "column",
modelValue: orderFilter.value
}),
s: common_vendor.p({
title: dropTitle.value
}),
t: common_vendor.sr(uDropdownRef, "acc011bc-3,acc011bc-0", {
"k": "uDropdownRef" "k": "uDropdownRef"
}), }),
p: common_vendor.f(dataList.value, (item, index, i0) => { v: common_vendor.f(dataList.value, (item, index, i0) => {
return { return common_vendor.e({
a: common_vendor.t(isArticle.value ? item.article_title : item.video_title), a: common_vendor.t(isArticle.value ? item.article_title : item.video_title),
b: common_vendor.f(item.author, (tag, k1, i1) => { b: common_vendor.f(item.author, (tag, k1, i1) => {
return { return {
@ -225,41 +403,140 @@ const _sfc_main = {
b: tag.author_id b: tag.author_id
}; };
}), }),
c: "acc011bc-5-" + i0 + ",acc011bc-0", c: "acc011bc-7-" + i0 + ",acc011bc-0",
d: common_vendor.t(item.read_num), d: common_vendor.t(item.read_num),
e: "acc011bc-6-" + i0 + ",acc011bc-0", e: item.collect_num > 0
f: common_vendor.t(item.collect_num), }, item.collect_num > 0 ? {
g: "acc011bc-7-" + i0 + ",acc011bc-0", f: "acc011bc-8-" + i0 + ",acc011bc-0",
h: common_vendor.t(formatdate(item.push_date)), g: common_vendor.p({
i: index, name: "heart",
j: common_vendor.o(($event) => isArticle.value ? goDetail(item.article_id) : goDetail(item.video_id), index) color: "#6B7280",
}; size: "28rpx"
}),
h: common_vendor.t(item.collect_num)
} : {}, {
i: "acc011bc-9-" + i0 + ",acc011bc-0",
j: common_vendor.t(formatdate(item.push_date)),
k: index,
l: common_vendor.o(($event) => isArticle.value ? goDetail(item.article_id) : goDetail(item.video_id), index)
});
}), }),
q: common_vendor.p({ w: common_vendor.p({
name: "eye", name: "eye",
color: "#6B7280", color: "#6B7280",
size: "28rpx" size: "28rpx"
}), }),
r: common_vendor.p({ x: common_vendor.p({
name: "heart",
color: "#6B7280",
size: "28rpx"
}),
s: common_vendor.p({
name: "clock", name: "clock",
color: "#6B7280", color: "#6B7280",
size: "28rpx" size: "28rpx"
}), }),
t: common_vendor.sr(paging, "acc011bc-0", { y: common_vendor.sr(paging, "acc011bc-0", {
"k": "paging" "k": "paging"
}), }),
v: common_vendor.o(queryList), z: common_vendor.o(queryList),
w: common_vendor.o(($event) => dataList.value = $event), A: common_vendor.o(($event) => dataList.value = $event),
x: common_vendor.p({ B: 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
}),
C: common_vendor.o(cancelCase),
D: common_vendor.o(confirmCase),
E: common_vendor.t(!caseValue1.name ? "请选择选项" : caseValue1.name),
F: common_vendor.p({
name: "arrow-right"
}),
G: common_vendor.o(($event) => openCaseLevel("1")),
H: caseValue1.name && labelObj.list2.length > 0
}, caseValue1.name && labelObj.list2.length > 0 ? {
I: common_vendor.t(!caseValue2.name ? "请选择选项" : caseValue2.name),
J: common_vendor.p({
name: "arrow-right"
}),
K: common_vendor.o(($event) => openCaseLevel("2"))
} : {}, {
L: caseValue2.name && labelObj.list3.length > 0
}, caseValue2.name && labelObj.list3.length > 0 ? {
M: common_vendor.t(!caseValue3.name ? "请选择选项" : caseValue3.name),
N: common_vendor.p({
name: "arrow-right"
}),
O: common_vendor.o(($event) => openCaseLevel("3"))
} : {}, {
P: _ctx.freshKey,
Q: common_vendor.p({
current: level.value - 1,
direction: "column"
}),
R: common_vendor.f(labelObj.list1, (item, k0, i0) => {
return {
a: "acc011bc-19-" + i0 + ",acc011bc-18",
b: common_vendor.p({
activeColor: "#3CC7C0 ",
label: item.label_name,
name: item.app_iden
}),
c: item.app_iden
};
}),
S: common_vendor.o(groupChange1),
T: common_vendor.o(($event) => caseValue1.value = $event),
U: common_vendor.p({
name: "group1",
iconPlacement: "right",
placement: "column",
modelValue: caseValue1.value
}),
V: level.value == 1,
W: common_vendor.f(labelObj.list2, (item, k0, i0) => {
return {
a: "acc011bc-21-" + i0 + ",acc011bc-20",
b: common_vendor.p({
activeColor: "#3CC7C0 ",
label: item.label_name,
name: item.app_iden
}),
c: item.app_iden
};
}),
X: common_vendor.o(groupChange2),
Y: common_vendor.o(($event) => caseValue2.value = $event),
Z: common_vendor.p({
name: "group2",
iconPlacement: "right",
placement: "column",
modelValue: caseValue2.value
}),
aa: level.value == 2,
ab: common_vendor.f(labelObj.list3, (item, k0, i0) => {
return {
a: "acc011bc-23-" + i0 + ",acc011bc-22",
b: common_vendor.p({
activeColor: "#3CC7C0 ",
label: item.label_name,
name: item.app_iden
}),
c: item.app_iden
};
}),
ac: common_vendor.o(groupChange3),
ad: common_vendor.o(($event) => caseValue3.value = $event),
ae: common_vendor.p({
name: "group3",
iconPlacement: "right",
placement: "column",
modelValue: caseValue3.value
}),
af: level.value == 3,
ag: common_vendor.o(closeCase),
ah: common_vendor.p({
round: 10,
zIndex: "9",
closeOnClickOverlay: false,
show: showCase.value,
mode: "bottom"
}) })
}); });
}; };

View File

@ -2,10 +2,17 @@
"navigationBarTitleText": "肝胆相照临床病例库", "navigationBarTitleText": "肝胆相照临床病例库",
"navigationStyle": "custom", "navigationStyle": "custom",
"usingComponents": { "usingComponents": {
"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-steps-item": "../../node-modules/uview-plus/components/u-steps-item/u-steps-item",
"up-steps": "../../node-modules/uview-plus/components/u-steps/u-steps",
"up-popup": "../../node-modules/uview-plus/components/u-popup/u-popup",
"nav-bar-search": "../../components/navBarSearch/navBarSearch" "nav-bar-search": "../../components/navBarSearch/navBarSearch"
} }
} }

File diff suppressed because one or more lines are too long

View File

@ -23,6 +23,39 @@
/* 垂直间距 */ /* 垂直间距 */
/* 透明度 */ /* 透明度 */
/* 文章场景相关 */ /* 文章场景相关 */
.dropcontent.data-v-acc011bc {
padding-top: 40rpx;
padding-bottom: 20rpx;
background-color: #fff;
}
.dropcontent.data-v-acc011bc .u-radio {
margin-bottom: 6px !important;
margin-top: 16px !important;
}
.dropcontent .column.data-v-acc011bc {
padding: 0 30rpx;
border-top: 2rpx solid #e5e7eb;
}
.dropcontent .column.data-v-acc011bc .u-radio__text {
color: #333 !important;
}
.dropcontent .column.active.data-v-acc011bc .u-radio__text {
color: #3CC7C0 !important;
}
.stepbox.data-v-acc011bc {
padding: 15rpx 30rpx;
border-bottom: 2rpx dotted #f3f4f6;
}
.stepbox.data-v-acc011bc .u-steps-item__content {
margin-top: -5rpx !important;
}
.stepbox .slot-content.data-v-acc011bc {
width: 100%;
margin-bottom: 25rpx;
justify-content: space-between;
align-items: center;
display: flex;
}
.bar.data-v-acc011bc { .bar.data-v-acc011bc {
width: 100%; width: 100%;
background: #f9fafb; background: #f9fafb;
@ -58,6 +91,22 @@
} }
.filterbox.data-v-acc011bc .u-dropdown__menu__item__text { .filterbox.data-v-acc011bc .u-dropdown__menu__item__text {
font-size: 14px !important; font-size: 14px !important;
color: #3c9cff !important;
}
.filterbox .casesdown.data-v-acc011bc {
font-size: 14px;
color: #606266;
position: absolute;
left: 30rpx;
top: 24rpx;
display: flex;
justify-content: center;
align-items: center;
background: #F3F4F6;
border-radius: 15rpx;
height: 74rpx;
padding: 0 25rpx;
z-index: 2;
} }
.filterbox .type.data-v-acc011bc { .filterbox .type.data-v-acc011bc {
color: #606266; color: #606266;
@ -82,7 +131,7 @@
.u-page.data-v-acc011bc .u-dropdown__menu { .u-page.data-v-acc011bc .u-dropdown__menu {
background: #fff; background: #fff;
z-index: 1; z-index: 1;
margin-left: 0rpx; margin-left: 165rpx;
} }
.u-page.data-v-acc011bc .u-dropdown__menu__item { .u-page.data-v-acc011bc .u-dropdown__menu__item {
height: 74rpx; height: 74rpx;
@ -157,3 +206,110 @@
.detail .red.data-v-acc011bc { .detail .red.data-v-acc011bc {
color: #FF0000; color: #FF0000;
} }
.votepop .confirm.data-v-acc011bc {
margin: 39rpx 30rpx 0;
height: 92rpx;
background: #3cc7c0;
border-radius: 15rpx;
display: flex;
align-items: center;
font-size: 31rpx;
color: #ffffff;
justify-content: center;
}
.votepop .del.data-v-acc011bc {
margin: 30rpx 30rpx 30rpx;
height: 92rpx;
background: #fff;
border-radius: 15rpx;
font-size: 31rpx;
color: #666666;
display: flex;
align-items: center;
justify-content: center;
}
.votepop .tips.data-v-acc011bc {
margin-top: 30rpx;
font-size: 27rpx;
color: #9ca3af;
line-height: 38rpx;
padding: 0 30rpx;
}
.votepop .add.data-v-acc011bc {
margin: 0 30rpx;
display: flex;
align-items: center;
height: 92rpx;
justify-content: center;
background: #f5f5f5;
border-radius: 15rpx;
font-size: 31rpx;
color: #4b5563;
}
.votepop .add .desc.data-v-acc011bc {
margin-left: 10rpx;
}
.votepop .titlebox.data-v-acc011bc {
padding: 0 30rpx;
height: 86rpx;
display: flex;
align-items: center;
justify-content: space-between;
border-bottom: 2rpx solid #f3f4f6;
}
.votepop .titlebox .left.data-v-acc011bc {
font-size: 31rpx;
color: #4b5563;
}
.votepop .titlebox .right.data-v-acc011bc {
font-size: 31rpx;
color: #3cc7c0;
}
.votepop .votecon.data-v-acc011bc {
max-height: calc(100vh - 530rpx);
overflow-y: scroll;
}
.votepop .votecon .row.data-v-acc011bc {
display: flex;
align-items: center;
}
.votepop .votecon .row .iconbox.data-v-acc011bc {
margin-left: 15rpx;
align-items: center;
}
.votepop .votecon .titlebox.data-v-acc011bc {
border: none;
margin: 30rpx 0 20rpx;
}
.votepop .votecon .titlebox .title.data-v-acc011bc {
font-size: 31rpx;
color: #111827;
}
.votepop .votecon .titlebox .desc.data-v-acc011bc {
font-size: 27rpx;
color: #9ca3af;
}
.casepop.data-v-acc011bc {
display: flex;
flex-direction: column;
max-height: calc(100vh - 400rpx);
}
.casepop .continue.data-v-acc011bc {
color: #2878ff !important;
}
.casecon.data-v-acc011bc {
flex: 1;
max-height: calc(100vh - 800rpx);
overflow-y: scroll;
padding-top: 22rpx;
padding-bottom: 20rpx;
min-height: 350rpx;
}
.casecon.data-v-acc011bc .u-radio {
margin-bottom: 10px !important;
margin-top: 0px !important;
}
.casecon .column.data-v-acc011bc {
padding: 0 30rpx;
border-bottom: 2rpx solid #e5e7eb;
}

View File

@ -5,5 +5,5 @@
"compileHotReLoad": true, "compileHotReLoad": true,
"urlCheck": false "urlCheck": false
}, },
"libVersion": "3.8.7" "libVersion": "3.8.11"
} }