111
This commit is contained in:
parent
293b3e6a35
commit
9b4734acc5
2
App.vue
2
App.vue
@ -38,7 +38,7 @@
|
||||
z-index: 0!important;
|
||||
}
|
||||
/* #endif */
|
||||
.navbg .u-image{
|
||||
.u-image{
|
||||
background: none!important;
|
||||
}
|
||||
</style>
|
||||
158
components/backDetailNav/backDetailNav.vue
Normal file
158
components/backDetailNav/backDetailNav.vue
Normal file
@ -0,0 +1,158 @@
|
||||
<template>
|
||||
<view class="navbox">
|
||||
<view class="bg"></view>
|
||||
<view class="namebox">
|
||||
<view class="back" @click="goBack">
|
||||
<u-icon name="arrow-left" color="#000" size="24"></u-icon>
|
||||
</view>
|
||||
<view class="logo" @click="goHome">
|
||||
<up--image
|
||||
:src="logoImg"
|
||||
width="62rpx"
|
||||
height="62rpx"
|
||||
radius="50%"
|
||||
|
||||
></up--image>
|
||||
</view>
|
||||
<view class="name" @click="goHome">
|
||||
{{ navName }}
|
||||
<view class="navbg">
|
||||
<up--image
|
||||
:src="navbg"
|
||||
width="100rpx"
|
||||
height="31rpx"
|
||||
></up--image>
|
||||
</view>
|
||||
</view>
|
||||
<view class="user" @click="goMy">
|
||||
<up--image
|
||||
:src="useImg?useImg:headImg"
|
||||
width="62rpx"
|
||||
height="62rpx"
|
||||
radius="50%"
|
||||
|
||||
></up--image>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
import navTo from "@/utils/navTo.js";
|
||||
import logoImg from "@/static/logo.png";
|
||||
import headImg from "@/static/headImg.png";
|
||||
import navbg from "@/static/navbg.png"
|
||||
import { onMounted} from 'vue';
|
||||
const props = defineProps({
|
||||
navName: {
|
||||
type: String,
|
||||
default: "我的",
|
||||
}
|
||||
|
||||
});
|
||||
const useImg=ref('')
|
||||
const goBack = () => {
|
||||
uni.navigateBack({
|
||||
delta: 1,
|
||||
});
|
||||
};
|
||||
|
||||
const goHome=()=>{
|
||||
uni.reLaunch({
|
||||
url:'/pages/index/index'
|
||||
})
|
||||
};
|
||||
const goMy=()=>{
|
||||
navTo({
|
||||
url:'/pages/my/my'
|
||||
})
|
||||
};
|
||||
onMounted(()=>{
|
||||
let userInfo=uni.getStorageSync('userInfo');
|
||||
if(userInfo && userInfo.avatar){
|
||||
useImg.value=userInfo.avatar;
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.navbox {
|
||||
padding-bottom: 20rpx;
|
||||
background-color: #f9fafb;
|
||||
position: relative;
|
||||
height:200rpx;
|
||||
background: radial-gradient(
|
||||
60% 90% at 4% 2%,
|
||||
#43c9c3 0%,
|
||||
rgba(255, 255, 255, 0) 100%
|
||||
);
|
||||
}
|
||||
.bg {
|
||||
z-index: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
background: radial-gradient(
|
||||
43% 90% at 84% 6%,
|
||||
#ffd6c9 0%,
|
||||
rgba(255, 255, 255, 0) 100%
|
||||
);
|
||||
}
|
||||
.namebox {
|
||||
padding-top: 102rpx;
|
||||
margin: 0rpx 30rpx 0rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.logo{
|
||||
margin-left: 35rpx;
|
||||
}
|
||||
.back{
|
||||
position: absolute;
|
||||
left: 0;
|
||||
}
|
||||
.user{
|
||||
margin-left:55rpx;
|
||||
}
|
||||
.name {
|
||||
margin-left: 16rpx;
|
||||
font-size: 30rpx;
|
||||
color: #111827;
|
||||
position: relative;
|
||||
.navbg{
|
||||
position: absolute;
|
||||
z-index:-1;
|
||||
top:10rpx;
|
||||
left:18rpx;
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
.search {
|
||||
margin: 40rpx 30rpx 0rpx;
|
||||
display: flex;
|
||||
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
.searchwrap {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex: 1;
|
||||
padding-left: 28rpx;
|
||||
margin-right: 23rpx;
|
||||
height: 80rpx;
|
||||
background: #fbfbfb;
|
||||
box-shadow: 0px 4rpx 10rpx 0px rgba(153, 153, 153, 0.5);
|
||||
border-radius: 40rpx;
|
||||
|
||||
.ipt {
|
||||
margin-left: 15rpx;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@ -31,7 +31,7 @@
|
||||
<up-icon name="search" size="26" color="#999" @click="search"></up-icon>
|
||||
</view>
|
||||
<up--image
|
||||
:src="headImg"
|
||||
:src="userHeadImg"
|
||||
@click="goMy"
|
||||
mode="widthFix"
|
||||
width="62rpx"
|
||||
|
||||
@ -74,6 +74,7 @@
|
||||
<view
|
||||
class="imgcell"
|
||||
v-for="unit in item.exchange_content_image"
|
||||
:key="unit"
|
||||
>
|
||||
<up--image
|
||||
:src="unit"
|
||||
@ -94,9 +95,10 @@
|
||||
"
|
||||
>
|
||||
<video
|
||||
:key="index"
|
||||
:key="index"
|
||||
v-for="(videoCell, index) in item.exchange_content_video"
|
||||
class="myVideo"
|
||||
|
||||
:src="videoCell"
|
||||
@error="videoErrorCallback"
|
||||
controls
|
||||
@ -239,7 +241,7 @@ onShow(()=>{
|
||||
.upage {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: calc(100vh - 100rpx);
|
||||
height: calc(100vh - 120rpx);
|
||||
}
|
||||
.mostread{
|
||||
.cell{
|
||||
|
||||
@ -10,9 +10,9 @@
|
||||
>
|
||||
<template #top>
|
||||
<navBarSearch :searchWord="keyWord" :navName="navName" @changeWord="changeWord"></navBarSearch>
|
||||
<view class="detail" v-if="isSearch">
|
||||
<view class="desc" >检索到:<text class="red">{{numInfo.search_article_num}}篇文章</text></view>
|
||||
<view class="desc">检索到:<text class="red">{{numInfo.search_video_num}}个视频</text></view>
|
||||
<view class="detail" v-if="isSearch">
|
||||
<view class="desc" v-if="tab==0">检索到:<text class="red">{{total}}篇文章</text></view>
|
||||
<view class="desc" v-if="tab==1">检索到:<text class="red">{{total}}个视频</text></view>
|
||||
<view class="desc" v-if="keyWord">检索词:<text class="red">{{ keyWord }}</text></view>
|
||||
</view>
|
||||
<view class="tabcon">
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
@query="queryList"
|
||||
>
|
||||
<template #top>
|
||||
<backNav :navName="'肝胆相照临床病例库'"></backNav>
|
||||
<backDetailNav :navName="'肝胆相照临床病例库'"></backDetailNav>
|
||||
|
||||
</template>
|
||||
<template #bottom>
|
||||
@ -62,8 +62,8 @@
|
||||
info.article_title
|
||||
}}</view>
|
||||
<view class="title" v-else>{{ info.exchange_title }}</view>
|
||||
<view class="content">
|
||||
<view class="info" v-for="item in info.author">
|
||||
<view class="content" >
|
||||
<view class="info" v-for="item in info.author" v-if="type == 'video' || type == 'article'">
|
||||
<up--image
|
||||
:src="headImg"
|
||||
mode="widthFix"
|
||||
@ -76,6 +76,19 @@
|
||||
>{{ item.doctor_name }} · {{ item.hospital_name }}</view
|
||||
>
|
||||
</view>
|
||||
<view class="info" v-else>
|
||||
<up--image
|
||||
:src="headImg"
|
||||
mode="widthFix"
|
||||
class="headImg"
|
||||
width="46rpx"
|
||||
height="46rpx"
|
||||
radius="50%"
|
||||
></up--image>
|
||||
<view class="name"
|
||||
>{{ info.user_name }} · {{ info.hospital_name }}</view
|
||||
>
|
||||
</view>
|
||||
<view class="deal">
|
||||
<view class="left">
|
||||
<view class="eyebox">
|
||||
@ -596,7 +609,7 @@ import collectImg from "@/static/collect.png";
|
||||
import shangImg from "@/static/shang.png";
|
||||
import chatImg from "@/static/chat.png";
|
||||
import uploadImg from "@/static/uploadImg.png";
|
||||
import backNav from "@/components/backNav/backNav.vue";
|
||||
import backDetailNav from "@/components/backDetailNav/backDetailNav.vue";
|
||||
import commentImg from "@/static/comment_icon.png";
|
||||
import selfImg from "@/static/benren.png";
|
||||
import list from "@/uni_modules/z-paging/components/z-paging/z-paging";
|
||||
|
||||
@ -10,6 +10,11 @@
|
||||
>
|
||||
<template #top>
|
||||
<navBarSearch :searchWord="keyWord" :navName="navName" @changeWord="changeWord"></navBarSearch>
|
||||
<view class="detail" v-if="isSearch">
|
||||
<view class="desc" >检索到:<text class="red">{{total}}篇</text></view>
|
||||
|
||||
<view class="desc" v-if="keyWord">检索词:<text class="red">{{ keyWord }}</text></view>
|
||||
</view>
|
||||
<view class="filterbox">
|
||||
<!-- <view class="type" @click="swicthType">{{!isArticle?'文章':'视频'}}<up--image :src="switchImg" width="31rpx" height="31rpx"></up--image></view> -->
|
||||
<up-dropdown class="u-dropdown" ref="uDropdownRef">
|
||||
@ -71,6 +76,7 @@ const total = ref(0);
|
||||
const value = ref("");
|
||||
const keyWord = ref("");
|
||||
const isArticle=ref(true);
|
||||
const isSearch=ref(false);
|
||||
const navName=ref('肝胆相照临床病例库');
|
||||
const type1=ref(0);
|
||||
const type2=ref(1);
|
||||
@ -134,6 +140,7 @@ const goDetail=(id)=>{
|
||||
})
|
||||
}
|
||||
const changeWord=(val)=>{
|
||||
isSearch.value=true;
|
||||
keyWord.value=val;
|
||||
paging.value.reload();
|
||||
}
|
||||
|
||||
@ -211,9 +211,13 @@
|
||||
<view class="expire">
|
||||
<view class="name">有效期(天)</view>
|
||||
<view class="right">
|
||||
<view class="minus" @click="changeDay('minus')">-</view>
|
||||
<view class="minus" @click="changeDay('minus')">
|
||||
<up-icon name="minus" color="#4B5563" size="30rpx" bold></up-icon>
|
||||
</view>
|
||||
<view class="day">{{ voteData.valid_day }}</view>
|
||||
<view class="plus" @click="changeDay('plus')">+</view>
|
||||
<view class="plus" @click="changeDay('plus')">
|
||||
<up-icon name="plus" color="#4B5563" size="30rpx" bold></up-icon>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="tips"
|
||||
@ -1118,6 +1122,10 @@ const delLabel = (index) => {
|
||||
labelList.value.splice(index, 1);
|
||||
};
|
||||
const openLabelPop=()=>{
|
||||
if(labelList.value.length>=5){
|
||||
uni.showToast({ title: "最多添加5个标签", icon: "none" });
|
||||
return false;
|
||||
}
|
||||
showCase.value=true;
|
||||
getCaseLabel(1,0);
|
||||
}
|
||||
|
||||
@ -89,6 +89,7 @@
|
||||
>
|
||||
<view class="right" @click="confirmCase">确定</view>
|
||||
</view>
|
||||
|
||||
<scroll-view class="casecon" scroll-y="true">
|
||||
<view v-show="level == 1" >
|
||||
<up-radio-group
|
||||
@ -188,7 +189,7 @@ const options= ref([
|
||||
value: 'desc',
|
||||
},
|
||||
]);
|
||||
const isSearch=ref(false);
|
||||
const isSearch=ref(true);
|
||||
const order=reactive({
|
||||
read_num:'',
|
||||
push_date:''
|
||||
@ -488,6 +489,11 @@ const queryList = (pageNo, pageSize) => {
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.stepbox{
|
||||
padding:10rpx 30rpx;
|
||||
border-bottom: 2rpx dotted #f3f4f6;
|
||||
|
||||
}
|
||||
.bar {
|
||||
width: 100%;
|
||||
background: #f9fafb;
|
||||
|
||||
@ -14,7 +14,7 @@
|
||||
@changeWord="changeWord"
|
||||
></navBarSearch>
|
||||
<!-- <view class="bar"></view> -->
|
||||
<view class="detail" v-if="total > 0 && showNum">
|
||||
<view class="detail" v-if="showNum">
|
||||
<view class="desc"
|
||||
>检索到:<text class="red">{{ total }}个病例</text></view
|
||||
>
|
||||
@ -25,7 +25,9 @@
|
||||
<view class="bar"></view>
|
||||
<view class="filterbox">
|
||||
<!-- <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>
|
||||
<up-dropdown class="u-dropdown" ref="uDropdownRef">
|
||||
|
||||
<up-dropdown-item
|
||||
v-model="order.push_date"
|
||||
title="发布时间"
|
||||
@ -149,6 +151,84 @@
|
||||
</view>
|
||||
|
||||
<!-- <tabBar :value="2"></tabBar> -->
|
||||
<up-popup
|
||||
:round="10"
|
||||
zIndex="9"
|
||||
:show="showCase"
|
||||
mode="bottom"
|
||||
@close="closeCase"
|
||||
>
|
||||
<view class="votepop casepop">
|
||||
<view class="titlebox">
|
||||
<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>
|
||||
<scroll-view class="casecon" scroll-y="true">
|
||||
<view v-show="level == 1" >
|
||||
<up-radio-group
|
||||
v-model="caseValue1"
|
||||
|
||||
iconPlacement="right"
|
||||
placement="column"
|
||||
>
|
||||
<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
|
||||
v-model="caseValue2"
|
||||
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
|
||||
v-model="caseValue3"
|
||||
|
||||
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>
|
||||
|
||||
<script setup>
|
||||
@ -156,6 +236,7 @@ import { ref,reactive} from "vue";
|
||||
import navBar from "@/components/navBar/navBar.vue";
|
||||
import tabBar from "@/components/tabBar/tabBar.vue";
|
||||
import headImg from "@/static/headImg.png";
|
||||
import caseImg from "@/static/caseIcon.png";
|
||||
import dayjs from "dayjs";
|
||||
import api from "@/api/api";
|
||||
import navTo from "@/utils/navTo.js";
|
||||
@ -167,7 +248,8 @@ const paging = ref(null);
|
||||
const dataList = ref([]);
|
||||
const total = ref(0);
|
||||
const keyWord = ref("");
|
||||
const showNum = ref(false);
|
||||
const showNum = ref(true);
|
||||
|
||||
const options= ref([
|
||||
{
|
||||
label: "正序",
|
||||
@ -182,6 +264,87 @@ const order=reactive({
|
||||
read_num:'',
|
||||
push_date:''
|
||||
})
|
||||
const label_iden=ref('')
|
||||
const showCase = ref(false);
|
||||
const canOpenCase = ref(false);
|
||||
const caseValue1 = ref("");
|
||||
const caseValue2 = ref("");
|
||||
const caseValue3 = ref("");
|
||||
const level = ref(1);
|
||||
const labelObj = reactive({
|
||||
list1: [],
|
||||
list2: [],
|
||||
list3: [],
|
||||
});
|
||||
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) => {
|
||||
return dayjs(date).format("YYYY-MM-DD");
|
||||
@ -240,6 +403,7 @@ const searchList = async (params) => {
|
||||
let searchForm = {
|
||||
keyword: keyWord.value,
|
||||
user_id: user_id.value,
|
||||
label_iden:label_iden.value
|
||||
};
|
||||
if(Number(is_selected.value)){
|
||||
searchForm.is_selected=Number(is_selected.value)
|
||||
@ -247,6 +411,9 @@ const searchList = async (params) => {
|
||||
if(!order.read_num){
|
||||
delete order.read_num
|
||||
}
|
||||
if(!label_iden.value){
|
||||
delete searchForm.label_iden
|
||||
}
|
||||
if(!order.push_date){
|
||||
delete order.push_date
|
||||
}
|
||||
@ -319,7 +486,7 @@ const searchList = async (params) => {
|
||||
|
||||
background: #fff;
|
||||
z-index:1;
|
||||
margin-left: 0rpx;
|
||||
margin-left: 160rpx;
|
||||
|
||||
}
|
||||
:deep(.u-dropdown__menu__item){
|
||||
@ -519,4 +686,130 @@ const searchList = async (params) => {
|
||||
}
|
||||
}
|
||||
}
|
||||
.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;
|
||||
}
|
||||
.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;
|
||||
margin: 0!important;
|
||||
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!important;
|
||||
.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>
|
||||
@ -1 +1 @@
|
||||
{"version":3,"file":"app.js","sources":["App.vue","main.js"],"sourcesContent":["<script setup>\r\n\timport { onLaunch,onShow,onHide } from '@dcloudio/uni-app'\r\n\tonLaunch(()=>{\r\n\t\tconsole.log('App Launch')\r\n\t});\r\n\tonShow(()=>{\r\n\t\tconsole.log('App Show')\r\n\t\t\r\n\t});\r\n\tonHide(()=>{\r\n\t\tconsole.log('App Hide')\r\n\t});\r\n</script>\r\n\r\n<style>\r\n\t\r\n\t/*每个页面公共css */\r\n\t/* #ifdef H5 */\r\n\t*{\r\n\t\tmargin: 0;\r\n\t\tpadding: 0;\r\n\t}\r\n\tuni-page-head {\r\n\t\tdisplay: none;\r\n\t}\r\n\t/* #endif */\r\n\twx-button:after{\r\n\t\tborder: none;\r\n\t}\r\n.ellipsis-two-lines {\r\n display: -webkit-box;\r\n -webkit-box-orient: vertical;\r\n -webkit-line-clamp: 2;\r\n overflow: hidden;\r\n}\r\n/* #ifdef H5 */\r\n.zp-container{\r\n\tz-index: 0!important;\r\n}\r\n/* #endif */\r\n.navbg .u-image{\r\n\tbackground: none!important;\r\n}\r\n</style>","import App from './App'\nimport uviewPlus, { setConfig } from 'uview-plus'\r\n// #ifdef H5\r\nimport VConsole from 'vconsole';\nconst vConsole = new VConsole();\r\n// #endif\n// #ifndef VUE3\nimport Vue from 'vue'\nimport './uni.promisify.adaptor'\nVue.config.productionTip = false\nApp.mpType = 'app'\nconst app = new Vue({\n ...App\n})\napp.$mount()\n// #endif\n// #ifdef VUE3\nimport { createSSRApp } from 'vue'\nexport function createApp() {\n const app = createSSRApp(App)\n \n app.use(uviewPlus, async() => {\t \n \t\treturn {\n \t\t\toptions: {\n \t\t\t\t// 修改$u.config对象的属性\n \t\t\t\tconfig: {\n \t\t\t\t\t// 修改默认单位为rpx,相当于执行 uni.$u.config.unit = 'rpx'\n \t\t\t\t\tunit: 'rpx'\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t})\n\t\n return {\n app\n }\n}\n// #endif\n"],"names":["onLaunch","uni","onShow","onHide","createSSRApp","App","uviewPlus"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAECA,kBAAAA,SAAS,MAAI;AACZC,oBAAAA,MAAA,MAAA,OAAA,gBAAY,YAAY;AAAA,IAC1B,CAAE;AACDC,kBAAAA,OAAO,MAAI;AACVD,oBAAAA,MAAA,MAAA,OAAA,gBAAY,UAAU;AAAA,IAExB,CAAE;AACDE,kBAAAA,OAAO,MAAI;AACVF,oBAAAA,MAAA,MAAA,OAAA,iBAAY,UAAU;AAAA,IACxB,CAAE;;;;;ACOK,SAAS,YAAY;AAC1B,QAAM,MAAMG,cAAY,aAACC,SAAG;AAE5B,MAAI,IAAIC,cAAAA,WAAW,YAAW;AAC5B,WAAO;AAAA,MACN,SAAS;AAAA;AAAA,QAER,QAAQ;AAAA;AAAA,UAEP,MAAM;AAAA,QACN;AAAA,MACD;AAAA,IACD;AAAA,EACL,CAAI;AAEF,SAAO;AAAA,IACL;AAAA,EACD;AACH;;;"}
|
||||
{"version":3,"file":"app.js","sources":["App.vue","main.js"],"sourcesContent":["<script setup>\r\n\timport { onLaunch,onShow,onHide } from '@dcloudio/uni-app'\r\n\tonLaunch(()=>{\r\n\t\tconsole.log('App Launch')\r\n\t});\r\n\tonShow(()=>{\r\n\t\tconsole.log('App Show')\r\n\t\t\r\n\t});\r\n\tonHide(()=>{\r\n\t\tconsole.log('App Hide')\r\n\t});\r\n</script>\r\n\r\n<style>\r\n\t\r\n\t/*每个页面公共css */\r\n\t/* #ifdef H5 */\r\n\t*{\r\n\t\tmargin: 0;\r\n\t\tpadding: 0;\r\n\t}\r\n\tuni-page-head {\r\n\t\tdisplay: none;\r\n\t}\r\n\t/* #endif */\r\n\twx-button:after{\r\n\t\tborder: none;\r\n\t}\r\n.ellipsis-two-lines {\r\n display: -webkit-box;\r\n -webkit-box-orient: vertical;\r\n -webkit-line-clamp: 2;\r\n overflow: hidden;\r\n}\r\n/* #ifdef H5 */\r\n.zp-container{\r\n\tz-index: 0!important;\r\n}\r\n/* #endif */\r\n.u-image{\r\n\tbackground: none!important;\r\n}\r\n</style>","import App from './App'\nimport uviewPlus, { setConfig } from 'uview-plus'\r\n// #ifdef H5\r\nimport VConsole from 'vconsole';\nconst vConsole = new VConsole();\r\n// #endif\n// #ifndef VUE3\nimport Vue from 'vue'\nimport './uni.promisify.adaptor'\nVue.config.productionTip = false\nApp.mpType = 'app'\nconst app = new Vue({\n ...App\n})\napp.$mount()\n// #endif\n// #ifdef VUE3\nimport { createSSRApp } from 'vue'\nexport function createApp() {\n const app = createSSRApp(App)\n \n app.use(uviewPlus, async() => {\t \n \t\treturn {\n \t\t\toptions: {\n \t\t\t\t// 修改$u.config对象的属性\n \t\t\t\tconfig: {\n \t\t\t\t\t// 修改默认单位为rpx,相当于执行 uni.$u.config.unit = 'rpx'\n \t\t\t\t\tunit: 'rpx'\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t})\n\t\n return {\n app\n }\n}\n// #endif\n"],"names":["onLaunch","uni","onShow","onHide","createSSRApp","App","uviewPlus"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAECA,kBAAAA,SAAS,MAAI;AACZC,oBAAAA,MAAA,MAAA,OAAA,gBAAY,YAAY;AAAA,IAC1B,CAAE;AACDC,kBAAAA,OAAO,MAAI;AACVD,oBAAAA,MAAA,MAAA,OAAA,gBAAY,UAAU;AAAA,IAExB,CAAE;AACDE,kBAAAA,OAAO,MAAI;AACVF,oBAAAA,MAAA,MAAA,OAAA,iBAAY,UAAU;AAAA,IACxB,CAAE;;;;;ACOK,SAAS,YAAY;AAC1B,QAAM,MAAMG,cAAY,aAACC,SAAG;AAE5B,MAAI,IAAIC,cAAAA,WAAW,YAAW;AAC5B,WAAO;AAAA,MACN,SAAS;AAAA;AAAA,QAER,QAAQ;AAAA;AAAA,UAEP,MAAM;AAAA,QACN;AAAA,MACD;AAAA,IACD;AAAA,EACL,CAAI;AAEF,SAAO;AAAA,IACL;AAAA,EACD;AACH;;;"}
|
||||
@ -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/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/caseIcon.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__f55d1656__\"","export default \"__VITE_ASSET__b8c46462__\"","export default \"__VITE_ASSET__d413868a__\"","export default \"__VITE_ASSET__b35aa4a8__\"","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__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__3981e088__\"","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,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,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/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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
||||
File diff suppressed because one or more lines are too long
1
unpackage/dist/dev/.sourcemap/mp-weixin/components/backDetailNav/backDetailNav.js.map
vendored
Normal file
1
unpackage/dist/dev/.sourcemap/mp-weixin/components/backDetailNav/backDetailNav.js.map
vendored
Normal file
@ -0,0 +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} 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":["uni","navTo","onMounted"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAqDA,UAAM,SAAO,IAAI,EAAE;AACnB,UAAM,SAAS,MAAM;AACnBA,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
@ -0,0 +1 @@
|
||||
{"version":3,"file":"u-steps.js","sources":["node_modules/uview-plus/components/u-steps/u-steps.vue","../../software/HBuilderX.4.23.2024070804/HBuilderX/plugins/uniapp-cli-vite/uniComponent:/RDovR2l0V29ya1BsYWNlL2Nhc2VEYXRhQmFzZS9ub2RlX21vZHVsZXMvdXZpZXctcGx1cy9jb21wb25lbnRzL3Utc3RlcHMvdS1zdGVwcy52dWU"],"sourcesContent":["<template>\n\t<view\n\t class=\"u-steps\"\n\t :class=\"[`u-steps--${direction}`]\"\n\t>\n\t\t<slot></slot>\n\t</view>\n</template>\n\n<script>\n\timport { props } from './props';\n\timport { mpMixin } from '../../libs/mixin/mpMixin';\n\timport { mixin } from '../../libs/mixin/mixin';\n\timport test from '../../libs/function/test';\n\t/**\n\t * Steps 步骤条\n\t * @description 该组件一般用于完成一个任务要分几个步骤,标识目前处于第几步的场景。\n\t * @tutorial https://uview-plus.jiangruyi.com/components/steps.html\n\t * @property {String}\t\t\tdirection\t\trow-横向,column-竖向 (默认 'row' )\n\t * @property {String | Number}\tcurrent\t\t\t设置当前处于第几步 (默认 0 )\n\t * @property {String}\t\t\tactiveColor\t\t激活状态颜色 (默认 '#3c9cff' )\n\t * @property {String}\t\t\tinactiveColor\t未激活状态颜色 (默认 '#969799' )\n\t * @property {String}\t\t\tactiveIcon\t\t激活状态的图标\n\t * @property {String}\t\t\tinactiveIcon\t未激活状态图标 \n\t * @property {Boolean}\t\t\tdot\t\t\t\t是否显示点类型 (默认 false )\n\t * @example <u-steps current=\"0\"><u-steps-item title=\"已出库\" desc=\"10:35\" ></u-steps-item></u-steps>\n\t */\n\texport default {\n\t\tname: 'u-steps',\n\t\tmixins: [mpMixin, mixin, props],\n\t\tdata() {\n\t\t\treturn {\n\t\t\t}\n\t\t},\n\t\twatch: {\n\t\t\tchildren() {\n\t\t\t\tthis.updateChildData()\n\t\t\t},\n\t\t\tparentData() {\n\t\t\t\tthis.updateChildData()\n\t\t\t}\n\t\t},\n\t\tcomputed: {\n\t\t\t// 监听参数的变化,通过watch中,手动去更新子组件的数据,否则子组件不会自动变化\n\t\t\tparentData() {\n\t\t\t\treturn [this.current, this.direction, this.activeColor, this.inactiveColor, this.activeIcon, this.inactiveIcon, this.dot]\n\t\t\t}\n\t\t},\n\t\tmethods: {\n\t\t\t// 更新子组件的数据\n\t\t\tupdateChildData() {\n\t\t\t\tthis.children.map(child => {\n\t\t\t\t\t// 先判断子组件是否存在对应的方法\n\t\t\t\t\ttest.func((child || {}).updateFromParent()) && child.updateFromParent()\n\t\t\t\t})\n\t\t\t},\n\t\t\t// 接受子组件的通知,去修改其他子组件的数据\n\t\t\tupdateFromChild() {\n\t\t\t\tthis.updateChildData()\n\t\t\t}\n\t\t},\n\t\tcreated() {\n\t\t\tthis.children = []\n\t\t},\n\t\toptions: {\n\t\t\tvirtualHost: false\n\t\t}\n\t}\n</script>\n\n<style lang=\"scss\" scoped>\n\t@import \"../../libs/css/components.scss\";\n\n\t.u-steps {\n\t\t@include flex;\n\n\t\t&--column {\n\t\t\tflex-direction: column\n\t\t}\n\n\t\t&--row {\n\t\t\tflex-direction: row;\n\t\t\tflex: 1;\n\t\t\t/* #ifdef MP */\n\t\t\tdisplay: grid;\n\t\t\tgrid-template-columns: repeat(auto-fit, minmax(100px, 1fr));\n\t\t\t/* #endif */\n\t\t}\n\t}\n</style>\n","import Component from 'D:/GitWorkPlace/caseDataBase/node_modules/uview-plus/components/u-steps/u-steps.vue'\nwx.createComponent(Component)"],"names":["mpMixin","mixin","props","test"],"mappings":";;AA2BC,MAAK,YAAU;AAAA,EACd,MAAM;AAAA,EACN,QAAQ,CAACA,cAAAA,SAASC,cAAK,OAAEC,sBAAK;AAAA,EAC9B,OAAO;AACN,WAAO,CACP;AAAA,EACA;AAAA,EACD,OAAO;AAAA,IACN,WAAW;AACV,WAAK,gBAAgB;AAAA,IACrB;AAAA,IACD,aAAa;AACZ,WAAK,gBAAgB;AAAA,IACtB;AAAA,EACA;AAAA,EACD,UAAU;AAAA;AAAA,IAET,aAAa;AACZ,aAAO,CAAC,KAAK,SAAS,KAAK,WAAW,KAAK,aAAa,KAAK,eAAe,KAAK,YAAY,KAAK,cAAc,KAAK,GAAG;AAAA,IACzH;AAAA,EACA;AAAA,EACD,SAAS;AAAA;AAAA,IAER,kBAAkB;AACjB,WAAK,SAAS,IAAI,WAAS;AAE1BC,2BAAK,MAAM,SAAS,CAAA,GAAI,kBAAkB,KAAK,MAAM,iBAAiB;AAAA,OACtE;AAAA,IACD;AAAA;AAAA,IAED,kBAAkB;AACjB,WAAK,gBAAgB;AAAA,IACtB;AAAA,EACA;AAAA,EACD,UAAU;AACT,SAAK,WAAW,CAAC;AAAA,EACjB;AAAA,EACD,SAAS;AAAA,IACR,aAAa;AAAA,EACd;AACD;;;;;;;AClED,GAAG,gBAAgB,SAAS;","x_google_ignoreList":[0]}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
unpackage/dist/dev/mp-weixin/app.wxss
vendored
2
unpackage/dist/dev/mp-weixin/app.wxss
vendored
@ -10,7 +10,7 @@ wx-button:after{
|
||||
-webkit-line-clamp: 2;
|
||||
overflow: hidden;
|
||||
}
|
||||
.navbg .u-image{
|
||||
.u-image{
|
||||
background: none!important;
|
||||
}
|
||||
page{--status-bar-height:25px;--top-window-height:0px;--window-top:0px;--window-bottom:0px;--window-left:0px;--window-right:0px;--window-magin:0px}[data-c-h="true"]{display: none !important;}
|
||||
@ -11,6 +11,7 @@ const draftImg = "/static/draft.png";
|
||||
const switchImg = "/static/switch.png";
|
||||
const arrowrightImg = "/static/arrowright.png";
|
||||
const headImg = "/static/headImg.png";
|
||||
const caseImg = "/static/caseIcon.png";
|
||||
const certImg = "/static/cert.png";
|
||||
const myFile = "/static/myFile.png";
|
||||
const myDownload = "/static/myDownload.png";
|
||||
@ -25,7 +26,6 @@ const chatImg = "/static/chat.png";
|
||||
const uploadImg = "/static/uploadImg.png";
|
||||
const commentImg = "/static/comment_icon.png";
|
||||
const selfImg = "/static/benren.png";
|
||||
const caseImg = "/static/caseIcon.png";
|
||||
const img = "/static/default.png";
|
||||
const group = "/static/group.png";
|
||||
const ku = "/static/ku.png";
|
||||
|
||||
@ -16710,6 +16710,7 @@ exports.o = o;
|
||||
exports.onHide = onHide;
|
||||
exports.onLaunch = onLaunch;
|
||||
exports.onLoad = onLoad;
|
||||
exports.onMounted = onMounted;
|
||||
exports.onShow = onShow;
|
||||
exports.openType = openType;
|
||||
exports.os = os;
|
||||
|
||||
81
unpackage/dist/dev/mp-weixin/components/backDetailNav/backDetailNav.js
vendored
Normal file
81
unpackage/dist/dev/mp-weixin/components/backDetailNav/backDetailNav.js
vendored
Normal file
@ -0,0 +1,81 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const utils_navTo = require("../../utils/navTo.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
if (!Array) {
|
||||
const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon");
|
||||
const _easycom_up__image2 = common_vendor.resolveComponent("up--image");
|
||||
(_easycom_u_icon2 + _easycom_up__image2)();
|
||||
}
|
||||
const _easycom_u_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
|
||||
const _easycom_up__image = () => "../../node-modules/uview-plus/components/u--image/u--image.js";
|
||||
if (!Math) {
|
||||
(_easycom_u_icon + _easycom_up__image)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "backDetailNav",
|
||||
props: {
|
||||
navName: {
|
||||
type: String,
|
||||
default: "我的"
|
||||
}
|
||||
},
|
||||
setup(__props) {
|
||||
const useImg = ref("");
|
||||
const goBack = () => {
|
||||
common_vendor.index.navigateBack({
|
||||
delta: 1
|
||||
});
|
||||
};
|
||||
const goHome = () => {
|
||||
common_vendor.index.reLaunch({
|
||||
url: "/pages/index/index"
|
||||
});
|
||||
};
|
||||
const goMy = () => {
|
||||
utils_navTo.navTo({
|
||||
url: "/pages/my/my"
|
||||
});
|
||||
};
|
||||
common_vendor.onMounted(() => {
|
||||
let userInfo = common_vendor.index.getStorageSync("userInfo");
|
||||
if (userInfo && userInfo.avatar) {
|
||||
useImg.value = userInfo.avatar;
|
||||
}
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.p({
|
||||
name: "arrow-left",
|
||||
color: "#000",
|
||||
size: "24"
|
||||
}),
|
||||
b: common_vendor.o(goBack),
|
||||
c: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.logoImg),
|
||||
width: "62rpx",
|
||||
height: "62rpx",
|
||||
radius: "50%"
|
||||
}),
|
||||
d: common_vendor.o(goHome),
|
||||
e: common_vendor.t(__props.navName),
|
||||
f: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.navbg),
|
||||
width: "100rpx",
|
||||
height: "31rpx"
|
||||
}),
|
||||
g: common_vendor.o(goHome),
|
||||
h: common_vendor.p({
|
||||
src: common_vendor.unref(useImg) ? common_vendor.unref(useImg) : common_vendor.unref(common_assets.headImg),
|
||||
width: "62rpx",
|
||||
height: "62rpx",
|
||||
radius: "50%"
|
||||
}),
|
||||
i: common_vendor.o(goMy)
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-5cef096a"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/backDetailNav/backDetailNav.js.map
|
||||
7
unpackage/dist/dev/mp-weixin/components/backDetailNav/backDetailNav.json
vendored
Normal file
7
unpackage/dist/dev/mp-weixin/components/backDetailNav/backDetailNav.json
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"u-icon": "../../node-modules/uview-plus/components/u-icon/u-icon",
|
||||
"up--image": "../../node-modules/uview-plus/components/u--image/u--image"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/components/backDetailNav/backDetailNav.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/components/backDetailNav/backDetailNav.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="navbox data-v-5cef096a"><view class="bg data-v-5cef096a"></view><view class="namebox data-v-5cef096a"><view class="back data-v-5cef096a" bindtap="{{b}}"><u-icon wx:if="{{a}}" class="data-v-5cef096a" u-i="5cef096a-0" bind:__l="__l" u-p="{{a}}"></u-icon></view><view class="logo data-v-5cef096a" bindtap="{{d}}"><up--image wx:if="{{c}}" class="data-v-5cef096a" u-i="5cef096a-1" bind:__l="__l" u-p="{{c}}"></up--image></view><view class="name data-v-5cef096a" bindtap="{{g}}">{{e}} <view class="navbg data-v-5cef096a"><up--image wx:if="{{f}}" class="data-v-5cef096a" u-i="5cef096a-2" bind:__l="__l" u-p="{{f}}"></up--image></view></view><view class="user data-v-5cef096a" bindtap="{{i}}"><up--image wx:if="{{h}}" class="data-v-5cef096a" u-i="5cef096a-3" bind:__l="__l" u-p="{{h}}"></up--image></view></view></view>
|
||||
91
unpackage/dist/dev/mp-weixin/components/backDetailNav/backDetailNav.wxss
vendored
Normal file
91
unpackage/dist/dev/mp-weixin/components/backDetailNav/backDetailNav.wxss
vendored
Normal file
@ -0,0 +1,91 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.navbox.data-v-5cef096a {
|
||||
padding-bottom: 20rpx;
|
||||
background-color: #f9fafb;
|
||||
position: relative;
|
||||
height: 200rpx;
|
||||
background: radial-gradient(60% 90% at 4% 2%, #43c9c3 0%, rgba(255, 255, 255, 0) 100%);
|
||||
}
|
||||
.bg.data-v-5cef096a {
|
||||
z-index: 0;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
background: radial-gradient(43% 90% at 84% 6%, #ffd6c9 0%, rgba(255, 255, 255, 0) 100%);
|
||||
}
|
||||
.namebox.data-v-5cef096a {
|
||||
padding-top: 102rpx;
|
||||
margin: 0rpx 30rpx 0rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.namebox .logo.data-v-5cef096a {
|
||||
margin-left: 35rpx;
|
||||
}
|
||||
.namebox .back.data-v-5cef096a {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
}
|
||||
.namebox .user.data-v-5cef096a {
|
||||
margin-left: 55rpx;
|
||||
}
|
||||
.namebox .name.data-v-5cef096a {
|
||||
margin-left: 16rpx;
|
||||
font-size: 30rpx;
|
||||
color: #111827;
|
||||
position: relative;
|
||||
}
|
||||
.namebox .name .navbg.data-v-5cef096a {
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
top: 10rpx;
|
||||
left: 18rpx;
|
||||
}
|
||||
.search.data-v-5cef096a {
|
||||
margin: 40rpx 30rpx 0rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.search .searchwrap.data-v-5cef096a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex: 1;
|
||||
padding-left: 28rpx;
|
||||
margin-right: 23rpx;
|
||||
height: 80rpx;
|
||||
background: #fbfbfb;
|
||||
box-shadow: 0px 4rpx 10rpx 0px rgba(153, 153, 153, 0.5);
|
||||
border-radius: 40rpx;
|
||||
}
|
||||
.search .searchwrap .ipt.data-v-5cef096a {
|
||||
margin-left: 15rpx;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
@ -101,7 +101,7 @@ const _sfc_main = {
|
||||
}),
|
||||
k: common_vendor.o(goMy),
|
||||
l: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.headImg),
|
||||
src: userHeadImg.value,
|
||||
mode: "widthFix",
|
||||
width: "62rpx",
|
||||
height: "62rpx",
|
||||
|
||||
204
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps-item/u-steps-item.js
vendored
Normal file
204
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps-item/u-steps-item.js
vendored
Normal file
@ -0,0 +1,204 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-steps-item",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$18],
|
||||
data() {
|
||||
return {
|
||||
index: 0,
|
||||
childLength: 0,
|
||||
showLine: false,
|
||||
size: {
|
||||
height: 0,
|
||||
width: 0
|
||||
},
|
||||
parentData: {
|
||||
direction: "row",
|
||||
current: 0,
|
||||
activeColor: "",
|
||||
inactiveColor: "",
|
||||
activeIcon: "",
|
||||
inactiveIcon: "",
|
||||
dot: false
|
||||
}
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
"parentData"(newValue, oldValue) {
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.init();
|
||||
},
|
||||
computed: {
|
||||
lineStyle() {
|
||||
var _a, _b;
|
||||
const style = {};
|
||||
if (this.parentData.direction === "row") {
|
||||
style.width = this.size.width + "px";
|
||||
style.left = this.size.width / 2 + "px";
|
||||
} else {
|
||||
style.height = this.size.height + "px";
|
||||
}
|
||||
style.backgroundColor = ((_b = (_a = this.parent.children) == null ? void 0 : _a[this.index + 1]) == null ? void 0 : _b.error) ? common_vendor.color.error : this.index < this.parentData.current ? this.parentData.activeColor : this.parentData.inactiveColor;
|
||||
return style;
|
||||
},
|
||||
itemStyleInner() {
|
||||
return {
|
||||
...this.itemStyle
|
||||
};
|
||||
},
|
||||
statusClass() {
|
||||
const {
|
||||
index,
|
||||
error
|
||||
} = this;
|
||||
const {
|
||||
current
|
||||
} = this.parentData;
|
||||
if (current == index) {
|
||||
return error === true ? "error" : "process";
|
||||
} else if (error) {
|
||||
return "error";
|
||||
} else if (current > index) {
|
||||
return "finish";
|
||||
} else {
|
||||
return "wait";
|
||||
}
|
||||
},
|
||||
statusColor() {
|
||||
let colorTmp = "";
|
||||
switch (this.statusClass) {
|
||||
case "finish":
|
||||
colorTmp = this.parentData.activeColor;
|
||||
break;
|
||||
case "error":
|
||||
colorTmp = common_vendor.color.error;
|
||||
break;
|
||||
case "process":
|
||||
colorTmp = this.parentData.dot ? this.parentData.activeColor : "transparent";
|
||||
break;
|
||||
default:
|
||||
colorTmp = this.parentData.inactiveColor;
|
||||
break;
|
||||
}
|
||||
return colorTmp;
|
||||
},
|
||||
contentStyle() {
|
||||
const style = {};
|
||||
if (this.parentData.direction === "column") {
|
||||
style.marginLeft = this.parentData.dot ? "2px" : "6px";
|
||||
style.marginTop = this.parentData.dot ? "0px" : "6px";
|
||||
} else {
|
||||
style.marginTop = this.parentData.dot ? "2px" : "6px";
|
||||
style.marginLeft = this.parentData.dot ? "2px" : "6px";
|
||||
}
|
||||
return style;
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.parent && this.parent.updateFromChild();
|
||||
common_vendor.sleep().then(() => {
|
||||
this.getStepsItemRect();
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
init() {
|
||||
this.updateParentData();
|
||||
if (!this.parent) {
|
||||
return common_vendor.error("u-steps-item必须要搭配u-steps组件使用");
|
||||
}
|
||||
this.index = this.parent.children.indexOf(this);
|
||||
this.childLength = this.parent.children.length;
|
||||
},
|
||||
updateParentData() {
|
||||
this.getParentData("u-steps");
|
||||
},
|
||||
// 父组件数据发生变化
|
||||
updateFromParent() {
|
||||
this.init();
|
||||
},
|
||||
// 获取组件的尺寸,用于设置横线的位置
|
||||
getStepsItemRect() {
|
||||
this.$uGetRect(".u-steps-item").then((size) => {
|
||||
this.size = size;
|
||||
});
|
||||
}
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon");
|
||||
const _easycom_up_text2 = common_vendor.resolveComponent("up-text");
|
||||
(_easycom_u_icon2 + _easycom_up_text2)();
|
||||
}
|
||||
const _easycom_u_icon = () => "../u-icon/u-icon.js";
|
||||
const _easycom_up_text = () => "../u-text/u-text.js";
|
||||
if (!Math) {
|
||||
(_easycom_u_icon + _easycom_up_text)();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: $data.index + 1 < $data.childLength
|
||||
}, $data.index + 1 < $data.childLength ? {
|
||||
b: common_vendor.n(`u-steps-item__line--${$data.parentData.direction}`),
|
||||
c: common_vendor.s($options.lineStyle)
|
||||
} : {}, {
|
||||
d: $data.parentData.dot
|
||||
}, $data.parentData.dot ? {
|
||||
e: $options.statusColor
|
||||
} : $data.parentData.activeIcon || $data.parentData.inactiveIcon ? {
|
||||
g: common_vendor.p({
|
||||
name: $data.index <= $data.parentData.current ? $data.parentData.activeIcon : $data.parentData.inactiveIcon,
|
||||
size: _ctx.iconSize,
|
||||
color: $data.index <= $data.parentData.current ? $data.parentData.activeColor : $data.parentData.inactiveColor
|
||||
})
|
||||
} : common_vendor.e({
|
||||
h: $options.statusClass === "process" || $options.statusClass === "wait"
|
||||
}, $options.statusClass === "process" || $options.statusClass === "wait" ? {
|
||||
i: common_vendor.t($data.index + 1),
|
||||
j: $data.index == $data.parentData.current ? "#ffffff" : $data.parentData.inactiveColor
|
||||
} : {
|
||||
k: common_vendor.p({
|
||||
color: $options.statusClass === "error" ? "error" : $data.parentData.activeColor,
|
||||
size: "12",
|
||||
name: $options.statusClass === "error" ? "close" : "checkmark"
|
||||
})
|
||||
}, {
|
||||
l: $options.statusClass === "process" ? $data.parentData.activeColor : "transparent",
|
||||
m: $options.statusColor
|
||||
}), {
|
||||
f: $data.parentData.activeIcon || $data.parentData.inactiveIcon,
|
||||
n: common_vendor.n(`u-steps-item__wrapper--${$data.parentData.direction}`),
|
||||
o: common_vendor.n($data.parentData.dot && `u-steps-item__wrapper--${$data.parentData.direction}--dot`),
|
||||
p: common_vendor.s($options.itemStyleInner),
|
||||
q: common_vendor.r("content", {
|
||||
index: $data.index
|
||||
}),
|
||||
r: !_ctx.$slots["content"]
|
||||
}, !_ctx.$slots["content"] ? common_vendor.e({
|
||||
s: !_ctx.$slots["title"]
|
||||
}, !_ctx.$slots["title"] ? {
|
||||
t: common_vendor.p({
|
||||
text: _ctx.title,
|
||||
type: $data.parentData.current == $data.index ? "main" : "content",
|
||||
lineHeight: "20px",
|
||||
size: $data.parentData.current == $data.index ? 14 : 13
|
||||
})
|
||||
} : {}, {
|
||||
v: !_ctx.$slots["desc"]
|
||||
}, !_ctx.$slots["desc"] ? {
|
||||
w: common_vendor.p({
|
||||
text: _ctx.desc,
|
||||
type: "tips",
|
||||
size: "12"
|
||||
})
|
||||
} : {}) : {}, {
|
||||
x: common_vendor.n(`u-steps-item__content--${$data.parentData.direction}`),
|
||||
y: common_vendor.n($data.parentData.current == $data.index ? "u-steps-item__content--current" : ""),
|
||||
z: common_vendor.s($options.contentStyle),
|
||||
A: common_vendor.n(`u-steps-item--${$data.parentData.direction}`)
|
||||
});
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-9f07ce7c"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/node-modules/uview-plus/components/u-steps-item/u-steps-item.js.map
|
||||
@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"u-icon": "../u-icon/u-icon",
|
||||
"up-text": "../u-text/u-text"
|
||||
}
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view ref="u-steps-item" class="{{['u-steps-item', 'data-v-9f07ce7c', A]}}"><view wx:if="{{a}}" class="{{['u-steps-item__line', 'data-v-9f07ce7c', b]}}" style="{{c}}"></view><view class="{{['u-steps-item__wrapper', 'data-v-9f07ce7c', n, o]}}" style="{{p}}"><block wx:if="{{$slots.icon}}"><slot name="icon"></slot></block><block wx:else><view wx:if="{{d}}" class="u-steps-item__wrapper__dot data-v-9f07ce7c" style="{{'background-color:' + e}}"></view><view wx:elif="{{f}}" class="u-steps-item__wrapper__icon data-v-9f07ce7c"><u-icon wx:if="{{g}}" class="data-v-9f07ce7c" u-i="9f07ce7c-0" bind:__l="__l" u-p="{{g}}"></u-icon></view><view wx:else style="{{'background-color:' + l + ';' + ('border-color:' + m)}}" class="u-steps-item__wrapper__circle data-v-9f07ce7c"><text wx:if="{{h}}" class="u-steps-item__wrapper__circle__text data-v-9f07ce7c" style="{{'color:' + j}}">{{i}}</text><u-icon wx:else class="data-v-9f07ce7c" u-i="9f07ce7c-1" bind:__l="__l" u-p="{{k||''}}"></u-icon></view></block></view><view class="{{['u-steps-item__content', 'data-v-9f07ce7c', x, y]}}" style="{{z}}"><slot name="content"></slot><block wx:if="{{r}}"><view class="u-steps-item__content__title data-v-9f07ce7c"><slot name="title"></slot><up-text wx:if="{{s}}" class="data-v-9f07ce7c" u-i="9f07ce7c-2" bind:__l="__l" u-p="{{t}}"></up-text></view><view class="u-steps-item__content__desc data-v-9f07ce7c"><slot name="desc"></slot><up-text wx:if="{{v}}" class="data-v-9f07ce7c" u-i="9f07ce7c-3" bind:__l="__l" u-p="{{w}}"></up-text></view></block></view></view>
|
||||
146
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps-item/u-steps-item.wxss
vendored
Normal file
146
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps-item/u-steps-item.wxss
vendored
Normal file
@ -0,0 +1,146 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.u-empty.data-v-9f07ce7c,
|
||||
.u-empty__wrap.data-v-9f07ce7c,
|
||||
.u-tabs.data-v-9f07ce7c,
|
||||
.u-tabs__wrapper.data-v-9f07ce7c,
|
||||
.u-tabs__wrapper__scroll-view-wrapper.data-v-9f07ce7c,
|
||||
.u-tabs__wrapper__scroll-view.data-v-9f07ce7c,
|
||||
.u-tabs__wrapper__nav.data-v-9f07ce7c,
|
||||
.u-tabs__wrapper__nav__line.data-v-9f07ce7c,
|
||||
.up-empty.data-v-9f07ce7c,
|
||||
.up-empty__wrap.data-v-9f07ce7c,
|
||||
.up-tabs.data-v-9f07ce7c,
|
||||
.up-tabs__wrapper.data-v-9f07ce7c,
|
||||
.up-tabs__wrapper__scroll-view-wrapper.data-v-9f07ce7c,
|
||||
.up-tabs__wrapper__scroll-view.data-v-9f07ce7c,
|
||||
.up-tabs__wrapper__nav.data-v-9f07ce7c,
|
||||
.up-tabs__wrapper__nav__line.data-v-9f07ce7c {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-shrink: 0;
|
||||
flex-grow: 0;
|
||||
flex-basis: auto;
|
||||
align-items: stretch;
|
||||
align-content: flex-start;
|
||||
}
|
||||
.u-steps-item.data-v-9f07ce7c {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.u-steps-item--row.data-v-9f07ce7c {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
}
|
||||
.u-steps-item--column.data-v-9f07ce7c {
|
||||
position: relative;
|
||||
flex-direction: row;
|
||||
justify-content: flex-start;
|
||||
padding-bottom: 5px;
|
||||
}
|
||||
.u-steps-item__wrapper.data-v-9f07ce7c {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
background-color: #fff;
|
||||
border-radius: 50px;
|
||||
}
|
||||
.u-steps-item__wrapper--column.data-v-9f07ce7c {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
.u-steps-item__wrapper--column--dot.data-v-9f07ce7c {
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
}
|
||||
.u-steps-item__wrapper--row.data-v-9f07ce7c {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
.u-steps-item__wrapper--row--dot.data-v-9f07ce7c {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
.u-steps-item__wrapper__circle.data-v-9f07ce7c {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
box-sizing: border-box;
|
||||
flex-shrink: 0;
|
||||
border-radius: 100px;
|
||||
border-width: 1px;
|
||||
border-color: #909193;
|
||||
border-style: solid;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
transition: background-color 0.3s;
|
||||
}
|
||||
.u-steps-item__wrapper__circle__text.data-v-9f07ce7c {
|
||||
color: #909193;
|
||||
font-size: 11px;
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
line-height: 11px;
|
||||
}
|
||||
.u-steps-item__wrapper__dot.data-v-9f07ce7c {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
border-radius: 100px;
|
||||
background-color: #606266;
|
||||
}
|
||||
.u-steps-item__content.data-v-9f07ce7c {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex: 1;
|
||||
}
|
||||
.u-steps-item__content--row.data-v-9f07ce7c {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
.u-steps-item__content--column.data-v-9f07ce7c {
|
||||
flex-direction: column;
|
||||
margin-left: 6px;
|
||||
}
|
||||
.u-steps-item__line.data-v-9f07ce7c {
|
||||
position: absolute;
|
||||
background: #909193;
|
||||
}
|
||||
.u-steps-item__line--row.data-v-9f07ce7c {
|
||||
top: 10px;
|
||||
height: 1px;
|
||||
}
|
||||
.u-steps-item__line--column.data-v-9f07ce7c {
|
||||
width: 1px;
|
||||
left: 10px;
|
||||
}
|
||||
49
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps/u-steps.js
vendored
Normal file
49
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps/u-steps.js
vendored
Normal file
@ -0,0 +1,49 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-steps",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$19],
|
||||
data() {
|
||||
return {};
|
||||
},
|
||||
watch: {
|
||||
children() {
|
||||
this.updateChildData();
|
||||
},
|
||||
parentData() {
|
||||
this.updateChildData();
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
// 监听参数的变化,通过watch中,手动去更新子组件的数据,否则子组件不会自动变化
|
||||
parentData() {
|
||||
return [this.current, this.direction, this.activeColor, this.inactiveColor, this.activeIcon, this.inactiveIcon, this.dot];
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
// 更新子组件的数据
|
||||
updateChildData() {
|
||||
this.children.map((child) => {
|
||||
common_vendor.test.func((child || {}).updateFromParent()) && child.updateFromParent();
|
||||
});
|
||||
},
|
||||
// 接受子组件的通知,去修改其他子组件的数据
|
||||
updateFromChild() {
|
||||
this.updateChildData();
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.children = [];
|
||||
},
|
||||
options: {
|
||||
virtualHost: false
|
||||
}
|
||||
};
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.n(`u-steps--${_ctx.direction}`)
|
||||
};
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-30d91cab"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/node-modules/uview-plus/components/u-steps/u-steps.js.map
|
||||
4
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps/u-steps.json
vendored
Normal file
4
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps/u-steps.json
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps/u-steps.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps/u-steps.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view class="{{['u-steps', 'data-v-30d91cab', a]}}"><slot></slot></view>
|
||||
62
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps/u-steps.wxss
vendored
Normal file
62
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-steps/u-steps.wxss
vendored
Normal file
@ -0,0 +1,62 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.u-empty.data-v-30d91cab,
|
||||
.u-empty__wrap.data-v-30d91cab,
|
||||
.u-tabs.data-v-30d91cab,
|
||||
.u-tabs__wrapper.data-v-30d91cab,
|
||||
.u-tabs__wrapper__scroll-view-wrapper.data-v-30d91cab,
|
||||
.u-tabs__wrapper__scroll-view.data-v-30d91cab,
|
||||
.u-tabs__wrapper__nav.data-v-30d91cab,
|
||||
.u-tabs__wrapper__nav__line.data-v-30d91cab,
|
||||
.up-empty.data-v-30d91cab,
|
||||
.up-empty__wrap.data-v-30d91cab,
|
||||
.up-tabs.data-v-30d91cab,
|
||||
.up-tabs__wrapper.data-v-30d91cab,
|
||||
.up-tabs__wrapper__scroll-view-wrapper.data-v-30d91cab,
|
||||
.up-tabs__wrapper__scroll-view.data-v-30d91cab,
|
||||
.up-tabs__wrapper__nav.data-v-30d91cab,
|
||||
.up-tabs__wrapper__nav__line.data-v-30d91cab {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-shrink: 0;
|
||||
flex-grow: 0;
|
||||
flex-basis: auto;
|
||||
align-items: stretch;
|
||||
align-content: flex-start;
|
||||
}
|
||||
.u-steps.data-v-30d91cab {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
}
|
||||
.u-steps--column.data-v-30d91cab {
|
||||
flex-direction: column;
|
||||
}
|
||||
.u-steps--row.data-v-30d91cab {
|
||||
flex-direction: row;
|
||||
flex: 1;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
|
||||
}
|
||||
@ -136,7 +136,8 @@ const _sfc_main = {
|
||||
radius: "10",
|
||||
width: "220rpx",
|
||||
height: "220rpx"
|
||||
})
|
||||
}),
|
||||
c: unit
|
||||
};
|
||||
}),
|
||||
l: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id)
|
||||
|
||||
@ -1 +1 @@
|
||||
<view class="upage data-v-4b2e7592"><nav-bar wx:if="{{a}}" class="data-v-4b2e7592" u-i="4b2e7592-0" bind:__l="__l" u-p="{{a}}"></nav-bar><view class="databox data-v-4b2e7592"><view class="cell data-v-4b2e7592"><view class="num data-v-4b2e7592">{{b}}</view><view class="name data-v-4b2e7592">病例数</view></view><view class="cell data-v-4b2e7592"><view class="num data-v-4b2e7592">{{c}}</view><view class="name data-v-4b2e7592">互动数</view></view><view class="cell data-v-4b2e7592"><view class="num data-v-4b2e7592">{{d}}</view><view class="name data-v-4b2e7592">浏览量</view></view></view><view class="bar data-v-4b2e7592"></view><view class="box data-v-4b2e7592"><view wx:if="{{e}}" class="special mostread data-v-4b2e7592"><view class="titlebox data-v-4b2e7592"><view class="title data-v-4b2e7592">精选病例</view><view class="more data-v-4b2e7592" bindtap="{{g}}"><view class="morename data-v-4b2e7592">查看更多</view><u-icon wx:if="{{f}}" class="data-v-4b2e7592" u-i="4b2e7592-1" bind:__l="__l" u-p="{{f}}"></u-icon></view></view><view class="list data-v-4b2e7592"><view wx:for="{{h}}" wx:for-item="item" wx:key="b" class="cell data-v-4b2e7592" bindtap="{{item.c}}"><view class="circle data-v-4b2e7592"></view><view class="title ellipsis-two-lines data-v-4b2e7592">{{item.a}}</view></view></view></view><view class="bar data-v-4b2e7592"></view><view class="record special data-v-4b2e7592"><view class="titlebox data-v-4b2e7592"><view class="title data-v-4b2e7592">最新收录</view><view class="more data-v-4b2e7592" bindtap="{{j}}"><view class="morename data-v-4b2e7592">查看更多</view><u-icon wx:if="{{i}}" class="data-v-4b2e7592" u-i="4b2e7592-2" bind:__l="__l" u-p="{{i}}"></u-icon></view></view><view class="list data-v-4b2e7592"><view wx:for="{{k}}" wx:for-item="item" wx:key="B" class="cell data-v-4b2e7592"><view class="title ellipsis-two-lines data-v-4b2e7592" bindtap="{{item.b}}">{{item.a}}</view><view class="doctor data-v-4b2e7592" bindtap="{{item.g}}"><up--image wx:if="{{item.d}}" class="data-v-4b2e7592" u-i="{{item.c}}" bind:__l="__l" u-p="{{item.d}}"></up--image><view class="name data-v-4b2e7592">{{item.e}}({{item.f}})</view></view><view class="content data-v-4b2e7592" bindtap="{{item.i}}">{{item.h}}</view><view wx:if="{{item.j}}" class="imgbox data-v-4b2e7592" bindtap="{{item.l}}"><view wx:for="{{item.k}}" wx:for-item="unit" class="imgcell data-v-4b2e7592"><up--image wx:if="{{unit.b}}" class="data-v-4b2e7592" u-s="{{['d']}}" u-i="{{unit.a}}" bind:__l="__l" u-p="{{unit.b}}"><view class="data-v-4b2e7592" slot="error" style="font-size:24rpx">加载失败</view></up--image></view></view><view class="videocon data-v-4b2e7592"><view wx:if="{{item.m}}" class="imgbox data-v-4b2e7592"><video wx:for="{{item.n}}" wx:for-item="videoCell" wx:key="a" class="myVideo data-v-4b2e7592" src="{{videoCell.b}}" binderror="{{videoCell.c}}" controls></video></view></view><view wx:if="{{item.o}}" class="tagbox data-v-4b2e7592" bindtap="{{item.q}}"><view wx:for="{{item.p}}" wx:for-item="cell" wx:key="b" class="tag data-v-4b2e7592">{{cell.a}}</view></view><view class="deal data-v-4b2e7592" bindtap="{{item.A}}"><view class="left data-v-4b2e7592"><view class="eyebox item data-v-4b2e7592"><up-icon wx:if="{{l}}" class="data-v-4b2e7592" u-i="{{item.r}}" bind:__l="__l" u-p="{{l}}"></up-icon><view class="num data-v-4b2e7592">{{item.s}}</view></view><view class="collect item data-v-4b2e7592"><up-icon wx:if="{{m}}" class="data-v-4b2e7592" u-i="{{item.t}}" bind:__l="__l" u-p="{{m}}"></up-icon><view class="num data-v-4b2e7592">{{item.v}}</view></view><view class="chat item data-v-4b2e7592"><up-icon wx:if="{{n}}" class="data-v-4b2e7592" u-i="{{item.w}}" bind:__l="__l" u-p="{{n}}"></up-icon><view class="num data-v-4b2e7592">{{item.x}}</view></view></view><view class="time data-v-4b2e7592"><up-icon wx:if="{{o}}" class="data-v-4b2e7592" u-i="{{item.y}}" bind:__l="__l" u-p="{{o}}"></up-icon><view class="num data-v-4b2e7592">{{item.z}}</view></view></view></view></view></view></view></view><tab-bar wx:if="{{p}}" class="data-v-4b2e7592" u-i="4b2e7592-9" bind:__l="__l" u-p="{{p}}"></tab-bar>
|
||||
<view class="upage data-v-4b2e7592"><nav-bar wx:if="{{a}}" class="data-v-4b2e7592" u-i="4b2e7592-0" bind:__l="__l" u-p="{{a}}"></nav-bar><view class="databox data-v-4b2e7592"><view class="cell data-v-4b2e7592"><view class="num data-v-4b2e7592">{{b}}</view><view class="name data-v-4b2e7592">病例数</view></view><view class="cell data-v-4b2e7592"><view class="num data-v-4b2e7592">{{c}}</view><view class="name data-v-4b2e7592">互动数</view></view><view class="cell data-v-4b2e7592"><view class="num data-v-4b2e7592">{{d}}</view><view class="name data-v-4b2e7592">浏览量</view></view></view><view class="bar data-v-4b2e7592"></view><view class="box data-v-4b2e7592"><view wx:if="{{e}}" class="special mostread data-v-4b2e7592"><view class="titlebox data-v-4b2e7592"><view class="title data-v-4b2e7592">精选病例</view><view class="more data-v-4b2e7592" bindtap="{{g}}"><view class="morename data-v-4b2e7592">查看更多</view><u-icon wx:if="{{f}}" class="data-v-4b2e7592" u-i="4b2e7592-1" bind:__l="__l" u-p="{{f}}"></u-icon></view></view><view class="list data-v-4b2e7592"><view wx:for="{{h}}" wx:for-item="item" wx:key="b" class="cell data-v-4b2e7592" bindtap="{{item.c}}"><view class="circle data-v-4b2e7592"></view><view class="title ellipsis-two-lines data-v-4b2e7592">{{item.a}}</view></view></view></view><view class="bar data-v-4b2e7592"></view><view class="record special data-v-4b2e7592"><view class="titlebox data-v-4b2e7592"><view class="title data-v-4b2e7592">最新收录</view><view class="more data-v-4b2e7592" bindtap="{{j}}"><view class="morename data-v-4b2e7592">查看更多</view><u-icon wx:if="{{i}}" class="data-v-4b2e7592" u-i="4b2e7592-2" bind:__l="__l" u-p="{{i}}"></u-icon></view></view><view class="list data-v-4b2e7592"><view wx:for="{{k}}" wx:for-item="item" wx:key="B" class="cell data-v-4b2e7592"><view class="title ellipsis-two-lines data-v-4b2e7592" bindtap="{{item.b}}">{{item.a}}</view><view class="doctor data-v-4b2e7592" bindtap="{{item.g}}"><up--image wx:if="{{item.d}}" class="data-v-4b2e7592" u-i="{{item.c}}" bind:__l="__l" u-p="{{item.d}}"></up--image><view class="name data-v-4b2e7592">{{item.e}}({{item.f}})</view></view><view class="content data-v-4b2e7592" bindtap="{{item.i}}">{{item.h}}</view><view wx:if="{{item.j}}" class="imgbox data-v-4b2e7592" bindtap="{{item.l}}"><view wx:for="{{item.k}}" wx:for-item="unit" wx:key="c" class="imgcell data-v-4b2e7592"><up--image wx:if="{{unit.b}}" class="data-v-4b2e7592" u-s="{{['d']}}" u-i="{{unit.a}}" bind:__l="__l" u-p="{{unit.b}}"><view class="data-v-4b2e7592" slot="error" style="font-size:24rpx">加载失败</view></up--image></view></view><view class="videocon data-v-4b2e7592"><view wx:if="{{item.m}}" class="imgbox data-v-4b2e7592"><video wx:for="{{item.n}}" wx:for-item="videoCell" wx:key="a" class="myVideo data-v-4b2e7592" src="{{videoCell.b}}" binderror="{{videoCell.c}}" controls></video></view></view><view wx:if="{{item.o}}" class="tagbox data-v-4b2e7592" bindtap="{{item.q}}"><view wx:for="{{item.p}}" wx:for-item="cell" wx:key="b" class="tag data-v-4b2e7592">{{cell.a}}</view></view><view class="deal data-v-4b2e7592" bindtap="{{item.A}}"><view class="left data-v-4b2e7592"><view class="eyebox item data-v-4b2e7592"><up-icon wx:if="{{l}}" class="data-v-4b2e7592" u-i="{{item.r}}" bind:__l="__l" u-p="{{l}}"></up-icon><view class="num data-v-4b2e7592">{{item.s}}</view></view><view class="collect item data-v-4b2e7592"><up-icon wx:if="{{m}}" class="data-v-4b2e7592" u-i="{{item.t}}" bind:__l="__l" u-p="{{m}}"></up-icon><view class="num data-v-4b2e7592">{{item.v}}</view></view><view class="chat item data-v-4b2e7592"><up-icon wx:if="{{n}}" class="data-v-4b2e7592" u-i="{{item.w}}" bind:__l="__l" u-p="{{n}}"></up-icon><view class="num data-v-4b2e7592">{{item.x}}</view></view></view><view class="time data-v-4b2e7592"><up-icon wx:if="{{o}}" class="data-v-4b2e7592" u-i="{{item.y}}" bind:__l="__l" u-p="{{o}}"></up-icon><view class="num data-v-4b2e7592">{{item.z}}</view></view></view></view></view></view></view></view><tab-bar wx:if="{{p}}" class="data-v-4b2e7592" u-i="4b2e7592-9" bind:__l="__l" u-p="{{p}}"></tab-bar>
|
||||
@ -26,7 +26,7 @@
|
||||
.upage.data-v-4b2e7592 {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: calc(100vh - 100rpx);
|
||||
height: calc(100vh - 120rpx);
|
||||
}
|
||||
.mostread .cell.data-v-4b2e7592 {
|
||||
padding: 22rpx 0rpx !important;
|
||||
|
||||
@ -120,14 +120,20 @@ const _sfc_main = {
|
||||
}),
|
||||
c: isSearch.value
|
||||
}, isSearch.value ? common_vendor.e({
|
||||
d: common_vendor.t(numInfo.search_article_num),
|
||||
e: common_vendor.t(numInfo.search_video_num),
|
||||
f: keyWord.value
|
||||
d: tab.value == 0
|
||||
}, tab.value == 0 ? {
|
||||
e: common_vendor.t(total.value)
|
||||
} : {}, {
|
||||
f: tab.value == 1
|
||||
}, tab.value == 1 ? {
|
||||
g: common_vendor.t(total.value)
|
||||
} : {}, {
|
||||
h: keyWord.value
|
||||
}, keyWord.value ? {
|
||||
g: common_vendor.t(keyWord.value)
|
||||
i: common_vendor.t(keyWord.value)
|
||||
} : {}) : {}, {
|
||||
h: common_vendor.o(switchTab),
|
||||
i: common_vendor.p({
|
||||
j: common_vendor.o(switchTab),
|
||||
k: common_vendor.p({
|
||||
activeStyle: {
|
||||
color: "#3CC7C0"
|
||||
},
|
||||
@ -139,7 +145,7 @@ const _sfc_main = {
|
||||
lineHeight: "2",
|
||||
list: tabList.value
|
||||
}),
|
||||
j: common_vendor.f(dataList.value, (item, index, i0) => {
|
||||
l: common_vendor.f(dataList.value, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(tab.value == 0 ? item.article_title : item.video_title),
|
||||
b: common_vendor.f(item.author, (tag, k1, i1) => {
|
||||
@ -155,22 +161,22 @@ const _sfc_main = {
|
||||
g: common_vendor.o(($event) => goDetail(item.cert_image), index)
|
||||
};
|
||||
}),
|
||||
k: common_vendor.p({
|
||||
m: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.certImg),
|
||||
width: "39rpx",
|
||||
height: "39rpx"
|
||||
}),
|
||||
l: common_vendor.p({
|
||||
n: common_vendor.p({
|
||||
name: "clock",
|
||||
color: "#6B7280",
|
||||
size: "28rpx"
|
||||
}),
|
||||
m: common_vendor.sr(paging, "24ff958c-0", {
|
||||
o: common_vendor.sr(paging, "24ff958c-0", {
|
||||
"k": "paging"
|
||||
}),
|
||||
n: common_vendor.o(queryList),
|
||||
o: common_vendor.o(($event) => dataList.value = $event),
|
||||
p: common_vendor.p({
|
||||
p: common_vendor.o(queryList),
|
||||
q: common_vendor.o(($event) => dataList.value = $event),
|
||||
r: common_vendor.p({
|
||||
["inside-more"]: true,
|
||||
["loading-more-no-more-text"]: "咱也是有底线的!",
|
||||
["auto-show-back-to-top"]: true,
|
||||
|
||||
@ -1 +1 @@
|
||||
<view class="u-page data-v-24ff958c"><z-paging wx:if="{{p}}" class="r data-v-24ff958c" u-s="{{['top','d']}}" u-r="paging" bindquery="{{n}}" u-i="24ff958c-0" bind:__l="__l" bindupdateModelValue="{{o}}" u-p="{{p}}"><view slot="top"><nav-bar-search wx:if="{{b}}" class="data-v-24ff958c" bindchangeWord="{{a}}" u-i="24ff958c-1,24ff958c-0" bind:__l="__l" u-p="{{b}}"></nav-bar-search><view wx:if="{{c}}" class="detail data-v-24ff958c"><view class="desc data-v-24ff958c">检索到:<text class="red data-v-24ff958c">{{d}}篇文章</text></view><view class="desc data-v-24ff958c">检索到:<text class="red data-v-24ff958c">{{e}}个视频</text></view><view wx:if="{{f}}" class="desc data-v-24ff958c">检索词:<text class="red data-v-24ff958c">{{g}}</text></view></view><view class="tabcon data-v-24ff958c"><up-tabs wx:if="{{i}}" class="data-v-24ff958c" bindclick="{{h}}" u-i="24ff958c-2,24ff958c-0" bind:__l="__l" u-p="{{i}}"></up-tabs></view></view><view wx:for="{{j}}" wx:for-item="item" wx:key="f" class="item data-v-24ff958c" bindtap="{{item.g}}"><view class="title ellipsis data-v-24ff958c">{{item.a}}</view><view class="tagsbox data-v-24ff958c"><view wx:for="{{item.b}}" wx:for-item="tag" wx:key="b" class="tag data-v-24ff958c">{{tag.a}}</view></view><view class="deal data-v-24ff958c"><view class="left data-v-24ff958c"><view class="recored data-v-24ff958c"><up--image wx:if="{{k}}" class="data-v-24ff958c" u-i="{{item.c}}" bind:__l="__l" u-p="{{k}}"></up--image> 收录证书 </view></view><view class="time data-v-24ff958c"><up-icon wx:if="{{l}}" class="data-v-24ff958c" u-i="{{item.d}}" bind:__l="__l" u-p="{{l}}"></up-icon><view class="num data-v-24ff958c">{{item.e}}</view></view></view></view></z-paging></view>
|
||||
<view class="u-page data-v-24ff958c"><z-paging wx:if="{{r}}" class="r data-v-24ff958c" u-s="{{['top','d']}}" u-r="paging" bindquery="{{p}}" u-i="24ff958c-0" bind:__l="__l" bindupdateModelValue="{{q}}" u-p="{{r}}"><view slot="top"><nav-bar-search wx:if="{{b}}" class="data-v-24ff958c" bindchangeWord="{{a}}" u-i="24ff958c-1,24ff958c-0" bind:__l="__l" u-p="{{b}}"></nav-bar-search><view wx:if="{{c}}" class="detail data-v-24ff958c"><view wx:if="{{d}}" class="desc data-v-24ff958c">检索到:<text class="red data-v-24ff958c">{{e}}篇文章</text></view><view wx:if="{{f}}" class="desc data-v-24ff958c">检索到:<text class="red data-v-24ff958c">{{g}}个视频</text></view><view wx:if="{{h}}" class="desc data-v-24ff958c">检索词:<text class="red data-v-24ff958c">{{i}}</text></view></view><view class="tabcon data-v-24ff958c"><up-tabs wx:if="{{k}}" class="data-v-24ff958c" bindclick="{{j}}" u-i="24ff958c-2,24ff958c-0" bind:__l="__l" u-p="{{k}}"></up-tabs></view></view><view wx:for="{{l}}" wx:for-item="item" wx:key="f" class="item data-v-24ff958c" bindtap="{{item.g}}"><view class="title ellipsis data-v-24ff958c">{{item.a}}</view><view class="tagsbox data-v-24ff958c"><view wx:for="{{item.b}}" wx:for-item="tag" wx:key="b" class="tag data-v-24ff958c">{{tag.a}}</view></view><view class="deal data-v-24ff958c"><view class="left data-v-24ff958c"><view class="recored data-v-24ff958c"><up--image wx:if="{{m}}" class="data-v-24ff958c" u-i="{{item.c}}" bind:__l="__l" u-p="{{m}}"></up--image> 收录证书 </view></view><view class="time data-v-24ff958c"><up-icon wx:if="{{n}}" class="data-v-24ff958c" u-i="{{item.d}}" bind:__l="__l" u-p="{{n}}"></up-icon><view class="num data-v-24ff958c">{{item.e}}</view></view></view></view></z-paging></view>
|
||||
243
unpackage/dist/dev/mp-weixin/pages/detail/detail.js
vendored
243
unpackage/dist/dev/mp-weixin/pages/detail/detail.js
vendored
@ -31,9 +31,9 @@ const _easycom_up_upload = () => "../../node-modules/uview-plus/components/u-upl
|
||||
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";
|
||||
if (!Math) {
|
||||
(backNav + _easycom_up__image + _easycom_up_input + _easycom_up_icon + _easycom_up_parse + _easycom_up_radio + _easycom_up_radio_group + _easycom_up_image + _easycom_z_paging + _easycom_up__textarea + _easycom_up_upload + _easycom_up_popup + _easycom_up_overlay)();
|
||||
(backDetailNav + _easycom_up__image + _easycom_up_input + _easycom_up_icon + _easycom_up_parse + _easycom_up_radio + _easycom_up_radio_group + _easycom_up_image + _easycom_z_paging + _easycom_up__textarea + _easycom_up_upload + _easycom_up_popup + _easycom_up_overlay)();
|
||||
}
|
||||
const backNav = () => "../../components/backNav/backNav.js";
|
||||
const backDetailNav = () => "../../components/backDetailNav/backDetailNav.js";
|
||||
const _sfc_main = {
|
||||
__name: "detail",
|
||||
setup(__props) {
|
||||
@ -147,7 +147,7 @@ const _sfc_main = {
|
||||
};
|
||||
const getUserPoint = () => {
|
||||
api_api.api.getUserPoint().then((res) => {
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:722", res.data.data);
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:735", res.data.data);
|
||||
point.value = res.data.data;
|
||||
});
|
||||
};
|
||||
@ -327,18 +327,18 @@ const _sfc_main = {
|
||||
};
|
||||
const close = () => {
|
||||
showCommentDialog.value = false;
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:920", "close");
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:933", "close");
|
||||
};
|
||||
const openDeal = () => {
|
||||
showDeal.value = true;
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:925", "open");
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:938", "open");
|
||||
};
|
||||
const closeDeal = () => {
|
||||
showDeal.value = false;
|
||||
};
|
||||
const openMore = () => {
|
||||
showMore.value = true;
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:933", "open");
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:946", "open");
|
||||
};
|
||||
const closeMore = () => {
|
||||
showMore.value = false;
|
||||
@ -376,12 +376,12 @@ const _sfc_main = {
|
||||
success(res) {
|
||||
if (res.statusCode === 204) {
|
||||
let url = host + "/" + dir + filename + imgType;
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1284", url);
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1297", url);
|
||||
imgList.value = [url];
|
||||
}
|
||||
},
|
||||
fail: (err) => {
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1289", err);
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1302", err);
|
||||
}
|
||||
});
|
||||
});
|
||||
@ -400,8 +400,8 @@ const _sfc_main = {
|
||||
return "unknown";
|
||||
};
|
||||
const afterRead = (file, lists, name) => {
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1308", lists);
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1309", name);
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1321", lists);
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1322", name);
|
||||
handleUpload(file);
|
||||
};
|
||||
const delImg = (index) => {
|
||||
@ -733,72 +733,85 @@ const _sfc_main = {
|
||||
o: common_vendor.t(info.exchange_title)
|
||||
}, {
|
||||
m: type.value == "article",
|
||||
p: common_vendor.f(info.author, (item, k0, i0) => {
|
||||
p: type.value == "video" || type.value == "article"
|
||||
}, type.value == "video" || type.value == "article" ? {
|
||||
q: common_vendor.f(info.author, (item, k0, i0) => {
|
||||
return {
|
||||
a: "eca06f3c-6-" + i0 + ",eca06f3c-0",
|
||||
b: common_vendor.t(item.doctor_name),
|
||||
c: common_vendor.t(item.hospital_name)
|
||||
};
|
||||
}),
|
||||
q: common_vendor.p({
|
||||
r: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.headImg),
|
||||
mode: "widthFix",
|
||||
width: "46rpx",
|
||||
height: "46rpx",
|
||||
radius: "50%"
|
||||
})
|
||||
} : {
|
||||
s: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.headImg),
|
||||
mode: "widthFix",
|
||||
width: "46rpx",
|
||||
height: "46rpx",
|
||||
radius: "50%"
|
||||
}),
|
||||
r: common_vendor.p({
|
||||
t: common_vendor.t(info.user_name),
|
||||
v: common_vendor.t(info.hospital_name)
|
||||
}, {
|
||||
w: common_vendor.p({
|
||||
name: "eye",
|
||||
color: "#6B7280",
|
||||
size: "28rpx"
|
||||
}),
|
||||
s: common_vendor.t(info.read_num),
|
||||
t: common_vendor.p({
|
||||
x: common_vendor.t(info.read_num),
|
||||
y: common_vendor.p({
|
||||
name: info.is_collect ? "heart-fill" : "heart",
|
||||
color: info.is_collect ? "red" : "#6B7280",
|
||||
size: "28rpx"
|
||||
}),
|
||||
v: common_vendor.t(info.collect_num),
|
||||
w: common_vendor.p({
|
||||
z: common_vendor.t(info.collect_num),
|
||||
A: common_vendor.p({
|
||||
name: "clock",
|
||||
color: "#6B7280",
|
||||
size: "28rpx"
|
||||
}),
|
||||
x: common_vendor.t(formatDay(info.push_date)),
|
||||
y: showCanvas.value
|
||||
B: common_vendor.t(formatDay(info.push_date)),
|
||||
C: showCanvas.value
|
||||
}, showCanvas.value ? {} : {}, {
|
||||
z: type.value == "video" && !isH5.value
|
||||
D: type.value == "video" && !isH5.value
|
||||
}, type.value == "video" && !isH5.value ? {
|
||||
A: "playerContext" + info.video_no,
|
||||
B: "playerId" + info.video_no,
|
||||
C: info.video_no
|
||||
E: "playerContext" + info.video_no,
|
||||
F: "playerId" + info.video_no,
|
||||
G: info.video_no
|
||||
} : {}, {
|
||||
D: type.value == "video" && isH5.value
|
||||
H: type.value == "video" && isH5.value
|
||||
}, type.value == "video" && isH5.value ? {} : type.value == "article" ? {
|
||||
F: common_vendor.p({
|
||||
J: common_vendor.p({
|
||||
content: fromatImg(info.article_content)
|
||||
})
|
||||
} : common_vendor.e({
|
||||
G: info.exchange_content
|
||||
K: info.exchange_content
|
||||
}, info.exchange_content ? {
|
||||
H: common_vendor.p({
|
||||
L: common_vendor.p({
|
||||
content: fromatImg(info.exchange_content)
|
||||
})
|
||||
} : {}, {
|
||||
I: info.exchange_summary
|
||||
M: info.exchange_summary
|
||||
}, info.exchange_summary ? {
|
||||
J: common_vendor.p({
|
||||
N: common_vendor.p({
|
||||
content: fromatImg(info.exchange_summary)
|
||||
})
|
||||
} : {}, {
|
||||
K: info.case_exchange_vote && info.case_exchange_vote.vote_title
|
||||
O: info.case_exchange_vote && info.case_exchange_vote.vote_title
|
||||
}, info.case_exchange_vote && info.case_exchange_vote.vote_title ? common_vendor.e({
|
||||
L: info.case_exchange_vote.is_have_voted != 1
|
||||
P: info.case_exchange_vote.is_have_voted != 1
|
||||
}, info.case_exchange_vote.is_have_voted != 1 ? {
|
||||
M: common_vendor.t(info.case_exchange_vote.vote_title),
|
||||
N: common_vendor.f(info.case_exchange_vote.case_exchange_vote_option, (item, k0, i0) => {
|
||||
Q: common_vendor.t(info.case_exchange_vote.vote_title),
|
||||
R: common_vendor.f(info.case_exchange_vote.case_exchange_vote_option, (item, k0, i0) => {
|
||||
return {
|
||||
a: "eca06f3c-15-" + i0 + ",eca06f3c-14",
|
||||
a: "eca06f3c-16-" + i0 + ",eca06f3c-15",
|
||||
b: common_vendor.p({
|
||||
activeColor: "#3CC7C0",
|
||||
label: item.option_value,
|
||||
@ -807,38 +820,38 @@ const _sfc_main = {
|
||||
c: item.option_id
|
||||
};
|
||||
}),
|
||||
O: common_vendor.o(($event) => option_id.value = $event),
|
||||
P: common_vendor.p({
|
||||
S: common_vendor.o(($event) => option_id.value = $event),
|
||||
T: common_vendor.p({
|
||||
placement: "column",
|
||||
modelValue: option_id.value
|
||||
}),
|
||||
Q: common_vendor.o(addVote)
|
||||
U: common_vendor.o(addVote)
|
||||
} : {
|
||||
R: common_vendor.t(info.case_exchange_vote.vote_title),
|
||||
S: common_vendor.f(info.case_exchange_vote.case_exchange_vote_option, (item, k0, i0) => {
|
||||
V: common_vendor.t(info.case_exchange_vote.vote_title),
|
||||
W: common_vendor.f(info.case_exchange_vote.case_exchange_vote_option, (item, k0, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.option_value),
|
||||
b: common_vendor.t(item.proportion),
|
||||
c: item.option_id
|
||||
};
|
||||
}),
|
||||
T: _ctx.proportion / 100
|
||||
X: _ctx.proportion / 100
|
||||
}) : {}), {
|
||||
E: type.value == "article",
|
||||
U: common_vendor.p({
|
||||
I: type.value == "article",
|
||||
Y: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.commentImg),
|
||||
mode: "widthFix",
|
||||
width: "50rpx",
|
||||
height: "50rpx"
|
||||
}),
|
||||
V: common_vendor.t(total.value),
|
||||
W: common_vendor.f(dataList.value, (item, index, i0) => {
|
||||
Z: common_vendor.t(total.value),
|
||||
aa: common_vendor.f(dataList.value, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: "eca06f3c-17-" + i0 + ",eca06f3c-0",
|
||||
a: "eca06f3c-18-" + i0 + ",eca06f3c-0",
|
||||
b: common_vendor.t(item.user_name),
|
||||
c: user_id.value == item.user_id
|
||||
}, user_id.value == item.user_id ? {
|
||||
d: "eca06f3c-18-" + i0 + ",eca06f3c-0",
|
||||
d: "eca06f3c-19-" + i0 + ",eca06f3c-0",
|
||||
e: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.selfImg),
|
||||
width: "69rpx",
|
||||
@ -850,7 +863,7 @@ const _sfc_main = {
|
||||
h: item.comment_image
|
||||
}, item.comment_image ? {
|
||||
i: common_vendor.o(($event) => previewImg(item.comment_image), item.comment_id),
|
||||
j: "eca06f3c-19-" + i0 + ",eca06f3c-0",
|
||||
j: "eca06f3c-20-" + i0 + ",eca06f3c-0",
|
||||
k: common_vendor.p({
|
||||
src: item.comment_image,
|
||||
radius: "16rpx",
|
||||
@ -863,11 +876,11 @@ const _sfc_main = {
|
||||
}, item.sub_comment && item.sub_comment.length > 0 ? {
|
||||
n: common_vendor.f(item.sub_comment.slice(0, 3), (cell, index2, i1) => {
|
||||
return common_vendor.e({
|
||||
a: "eca06f3c-20-" + i0 + "-" + i1 + ",eca06f3c-0",
|
||||
a: "eca06f3c-21-" + i0 + "-" + i1 + ",eca06f3c-0",
|
||||
b: common_vendor.t(cell.user_name),
|
||||
c: user_id.value == cell.user_id
|
||||
}, user_id.value == cell.user_id ? {
|
||||
d: "eca06f3c-21-" + i0 + "-" + i1 + ",eca06f3c-0",
|
||||
d: "eca06f3c-22-" + i0 + "-" + i1 + ",eca06f3c-0",
|
||||
e: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.selfImg),
|
||||
width: "69rpx",
|
||||
@ -879,7 +892,7 @@ const _sfc_main = {
|
||||
h: cell.comment_image
|
||||
}, cell.comment_image ? {
|
||||
i: common_vendor.o(($event) => previewImg(cell.comment_image), cell.comment_id),
|
||||
j: "eca06f3c-22-" + i0 + "-" + i1 + ",eca06f3c-0",
|
||||
j: "eca06f3c-23-" + i0 + "-" + i1 + ",eca06f3c-0",
|
||||
k: common_vendor.p({
|
||||
src: cell.comment_image,
|
||||
radius: "16rpx",
|
||||
@ -905,18 +918,18 @@ const _sfc_main = {
|
||||
r: item.comment_id
|
||||
});
|
||||
}),
|
||||
X: common_vendor.p({
|
||||
ab: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.headImg),
|
||||
width: "86rpx",
|
||||
height: "86rpx",
|
||||
radius: "50%"
|
||||
}),
|
||||
Y: common_vendor.sr(paging, "eca06f3c-0", {
|
||||
ac: common_vendor.sr(paging, "eca06f3c-0", {
|
||||
"k": "paging"
|
||||
}),
|
||||
Z: common_vendor.o(queryList),
|
||||
aa: common_vendor.o(($event) => dataList.value = $event),
|
||||
ab: common_vendor.p({
|
||||
ad: common_vendor.o(queryList),
|
||||
ae: common_vendor.o(($event) => dataList.value = $event),
|
||||
af: common_vendor.p({
|
||||
["inside-more"]: true,
|
||||
["loading-more-no-more-text"]: "咱也是有底线的!",
|
||||
["auto-show-back-to-top"]: false,
|
||||
@ -933,40 +946,40 @@ const _sfc_main = {
|
||||
},
|
||||
modelValue: dataList.value
|
||||
}),
|
||||
ac: common_vendor.sr(commentTextarea, "eca06f3c-24,eca06f3c-23", {
|
||||
ag: common_vendor.sr(commentTextarea, "eca06f3c-25,eca06f3c-24", {
|
||||
"k": "commentTextarea"
|
||||
}),
|
||||
ad: common_vendor.o(($event) => content.value = $event),
|
||||
ae: common_vendor.p({
|
||||
ah: common_vendor.o(($event) => content.value = $event),
|
||||
ai: common_vendor.p({
|
||||
focus: false,
|
||||
height: "200",
|
||||
placeholder: placeholder.value,
|
||||
modelValue: content.value
|
||||
}),
|
||||
af: imgList.value.length > 0
|
||||
aj: imgList.value.length > 0
|
||||
}, imgList.value.length > 0 ? {
|
||||
ag: common_vendor.o(($event) => previewImg(imgList.value[0])),
|
||||
ah: common_vendor.p({
|
||||
ak: common_vendor.o(($event) => previewImg(imgList.value[0])),
|
||||
al: common_vendor.p({
|
||||
src: imgList.value[0],
|
||||
radius: "6",
|
||||
width: "150rpx",
|
||||
height: "150rpx"
|
||||
}),
|
||||
ai: common_vendor.p({
|
||||
am: common_vendor.p({
|
||||
name: "close-circle",
|
||||
color: "#666",
|
||||
size: "16"
|
||||
}),
|
||||
aj: common_vendor.o(delImg)
|
||||
an: common_vendor.o(delImg)
|
||||
} : {}, {
|
||||
ak: common_vendor.p({
|
||||
ao: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.uploadImg),
|
||||
mode: "widthFix",
|
||||
width: "40rpx",
|
||||
height: "77rpx"
|
||||
}),
|
||||
al: common_vendor.o(afterRead),
|
||||
am: common_vendor.p({
|
||||
ap: common_vendor.o(afterRead),
|
||||
aq: common_vendor.p({
|
||||
["show-upload-list"]: false,
|
||||
name: "imgupload",
|
||||
multiple: true,
|
||||
@ -974,10 +987,10 @@ const _sfc_main = {
|
||||
width: "40rpx",
|
||||
height: "77rpx"
|
||||
}),
|
||||
an: common_vendor.o(sendComment),
|
||||
ao: common_vendor.o(close),
|
||||
ap: common_vendor.o(open),
|
||||
aq: common_vendor.p({
|
||||
ar: common_vendor.o(sendComment),
|
||||
as: common_vendor.o(close),
|
||||
at: common_vendor.o(open),
|
||||
av: common_vendor.p({
|
||||
zIndex: 99,
|
||||
overlayStyle: {
|
||||
zIndex: 98
|
||||
@ -988,20 +1001,20 @@ const _sfc_main = {
|
||||
closeable: true,
|
||||
mode: "bottom"
|
||||
}),
|
||||
ar: level.value == 2 && is_author.value
|
||||
aw: level.value == 2 && is_author.value
|
||||
}, level.value == 2 && is_author.value ? {
|
||||
as: common_vendor.t(is_top.value ? "取消置顶" : "置顶"),
|
||||
at: common_vendor.o(toggleTop)
|
||||
ax: common_vendor.t(is_top.value ? "取消置顶" : "置顶"),
|
||||
ay: common_vendor.o(toggleTop)
|
||||
} : {}, {
|
||||
av: common_vendor.o(openCommentDialog),
|
||||
aw: is_author.value || user_id.value == comment_userId.value
|
||||
az: common_vendor.o(openCommentDialog),
|
||||
aA: is_author.value || user_id.value == comment_userId.value
|
||||
}, is_author.value || user_id.value == comment_userId.value ? {
|
||||
ax: common_vendor.o(delComment)
|
||||
aB: common_vendor.o(delComment)
|
||||
} : {}, {
|
||||
ay: common_vendor.o(closeDealPop),
|
||||
az: common_vendor.o(closeDeal),
|
||||
aA: common_vendor.o(openDeal),
|
||||
aB: common_vendor.p({
|
||||
aC: common_vendor.o(closeDealPop),
|
||||
aD: common_vendor.o(closeDeal),
|
||||
aE: common_vendor.o(openDeal),
|
||||
aF: common_vendor.p({
|
||||
zIndex: 60,
|
||||
overlayStyle: {
|
||||
zIndex: 59
|
||||
@ -1011,47 +1024,47 @@ const _sfc_main = {
|
||||
round: 10,
|
||||
mode: "bottom"
|
||||
}),
|
||||
aC: common_vendor.p({
|
||||
aG: common_vendor.p({
|
||||
name: "close",
|
||||
color: "#666",
|
||||
size: "20"
|
||||
}),
|
||||
aD: common_vendor.o(closeMore),
|
||||
aE: common_vendor.p({
|
||||
aH: common_vendor.o(closeMore),
|
||||
aI: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.headImg),
|
||||
width: "86rpx",
|
||||
height: "86rpx",
|
||||
radius: "50%"
|
||||
}),
|
||||
aF: common_vendor.t(mainCommentObj.user_name),
|
||||
aG: user_id.value == mainCommentObj.user_id
|
||||
aJ: common_vendor.t(mainCommentObj.user_name),
|
||||
aK: user_id.value == mainCommentObj.user_id
|
||||
}, user_id.value == mainCommentObj.user_id ? {
|
||||
aH: common_vendor.p({
|
||||
aL: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.selfImg),
|
||||
width: "69rpx",
|
||||
height: "31rpx"
|
||||
})
|
||||
} : {}, {
|
||||
aI: common_vendor.o(($event) => alertDeal(mainCommentObj.comment_id, mainCommentObj.comment_id, mainCommentObj.user_name, mainCommentObj.is_top, 2, mainCommentObj.user_id)),
|
||||
aJ: common_vendor.t(mainCommentObj.content),
|
||||
aK: mainCommentObj.comment_image
|
||||
aM: common_vendor.o(($event) => alertDeal(mainCommentObj.comment_id, mainCommentObj.comment_id, mainCommentObj.user_name, mainCommentObj.is_top, 2, mainCommentObj.user_id)),
|
||||
aN: common_vendor.t(mainCommentObj.content),
|
||||
aO: mainCommentObj.comment_image
|
||||
}, mainCommentObj.comment_image ? {
|
||||
aL: common_vendor.o(($event) => previewImg(mainCommentObj.comment_image)),
|
||||
aM: common_vendor.p({
|
||||
aP: common_vendor.o(($event) => previewImg(mainCommentObj.comment_image)),
|
||||
aQ: common_vendor.p({
|
||||
src: mainCommentObj.comment_image,
|
||||
radius: "16rpx",
|
||||
width: "150rpx",
|
||||
height: "150rpx"
|
||||
})
|
||||
} : {}, {
|
||||
aN: common_vendor.t(formatDate(mainCommentObj.created_at)),
|
||||
aO: common_vendor.f(childList.value, (cell, index, i0) => {
|
||||
aR: common_vendor.t(formatDate(mainCommentObj.created_at)),
|
||||
aS: common_vendor.f(childList.value, (cell, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: "eca06f3c-35-" + i0 + ",eca06f3c-30",
|
||||
a: "eca06f3c-36-" + i0 + ",eca06f3c-31",
|
||||
b: common_vendor.t(cell.user_name),
|
||||
c: user_id.value == cell.user_id
|
||||
}, user_id.value == cell.user_id ? {
|
||||
d: "eca06f3c-36-" + i0 + ",eca06f3c-30",
|
||||
d: "eca06f3c-37-" + i0 + ",eca06f3c-31",
|
||||
e: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.selfImg),
|
||||
width: "69rpx",
|
||||
@ -1063,7 +1076,7 @@ const _sfc_main = {
|
||||
h: cell.comment_image
|
||||
}, cell.comment_image ? {
|
||||
i: common_vendor.o(($event) => previewImg(cell.comment_image), cell.comment_id),
|
||||
j: "eca06f3c-37-" + i0 + ",eca06f3c-30",
|
||||
j: "eca06f3c-38-" + i0 + ",eca06f3c-31",
|
||||
k: common_vendor.p({
|
||||
src: cell.comment_image,
|
||||
radius: "16rpx",
|
||||
@ -1075,23 +1088,23 @@ const _sfc_main = {
|
||||
m: cell.comment_id
|
||||
});
|
||||
}),
|
||||
aP: common_vendor.p({
|
||||
aT: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.headImg),
|
||||
width: "86rpx",
|
||||
height: "86rpx",
|
||||
radius: "50%"
|
||||
}),
|
||||
aQ: common_vendor.o(($event) => _ctx.value = $event),
|
||||
aR: common_vendor.p({
|
||||
aU: common_vendor.o(($event) => _ctx.value = $event),
|
||||
aV: common_vendor.p({
|
||||
readonly: true,
|
||||
placeholder: "@" + mainCommentObj.user_name + ":",
|
||||
border: "surround",
|
||||
modelValue: _ctx.value
|
||||
}),
|
||||
aS: common_vendor.o(showReplyPop),
|
||||
aT: common_vendor.o(closeMore),
|
||||
aU: common_vendor.o(openMore),
|
||||
aV: common_vendor.p({
|
||||
aW: common_vendor.o(showReplyPop),
|
||||
aX: common_vendor.o(closeMore),
|
||||
aY: common_vendor.o(openMore),
|
||||
aZ: common_vendor.p({
|
||||
zIndex: 10,
|
||||
overlayStyle: {
|
||||
zIndex: 9
|
||||
@ -1101,26 +1114,26 @@ const _sfc_main = {
|
||||
round: 10,
|
||||
mode: "bottom"
|
||||
}),
|
||||
aW: common_vendor.t(point.value),
|
||||
aX: common_vendor.o(($event) => changePoint("minus")),
|
||||
aY: common_vendor.o(inputPoint),
|
||||
aZ: common_vendor.o(($event) => givePointValue.value = $event),
|
||||
ba: common_vendor.p({
|
||||
ba: common_vendor.t(point.value),
|
||||
bb: common_vendor.o(($event) => changePoint("minus")),
|
||||
bc: common_vendor.o(inputPoint),
|
||||
bd: common_vendor.o(($event) => givePointValue.value = $event),
|
||||
be: common_vendor.p({
|
||||
placeholder: "请输入打赏积分",
|
||||
type: "number",
|
||||
border: "surround",
|
||||
modelValue: givePointValue.value
|
||||
}),
|
||||
bb: common_vendor.o(($event) => changePoint("add")),
|
||||
bc: common_vendor.o(($event) => showGive.value = false),
|
||||
bd: common_vendor.o(confirmGive),
|
||||
be: common_vendor.p({
|
||||
bf: common_vendor.o(($event) => changePoint("add")),
|
||||
bg: common_vendor.o(($event) => showGive.value = false),
|
||||
bh: common_vendor.o(confirmGive),
|
||||
bi: common_vendor.p({
|
||||
show: showGive.value,
|
||||
["mask-click-able"]: true
|
||||
}),
|
||||
bf: common_vendor.o(($event) => showModal.value = false),
|
||||
bg: common_vendor.o(confirmDel),
|
||||
bh: common_vendor.p({
|
||||
bj: common_vendor.o(($event) => showModal.value = false),
|
||||
bk: common_vendor.o(confirmDel),
|
||||
bl: common_vendor.p({
|
||||
show: showModal.value,
|
||||
["mask-click-able"]: true
|
||||
})
|
||||
|
||||
@ -15,6 +15,6 @@
|
||||
"up-upload": "../../node-modules/uview-plus/components/u-upload/u-upload",
|
||||
"up-popup": "../../node-modules/uview-plus/components/u-popup/u-popup",
|
||||
"up-overlay": "../../node-modules/uview-plus/components/u-overlay/u-overlay",
|
||||
"back-nav": "../../components/backNav/backNav"
|
||||
"back-detail-nav": "../../components/backDetailNav/backDetailNav"
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@ -27,6 +27,7 @@ const _sfc_main = {
|
||||
common_vendor.ref("");
|
||||
const keyWord = common_vendor.ref("");
|
||||
const isArticle = common_vendor.ref(true);
|
||||
const isSearch = common_vendor.ref(false);
|
||||
const navName = common_vendor.ref("肝胆相照临床病例库");
|
||||
const type1 = common_vendor.ref(0);
|
||||
const type2 = common_vendor.ref(1);
|
||||
@ -81,14 +82,15 @@ const _sfc_main = {
|
||||
return common_vendor.dayjs(date).format("YYYY-MM-DD");
|
||||
};
|
||||
const goDetail = (id) => {
|
||||
common_vendor.index.__f__("log", "at pages/myCollect/myCollect.vue:129", 11111);
|
||||
common_vendor.index.__f__("log", "at pages/myCollect/myCollect.vue:130", id);
|
||||
common_vendor.index.__f__("log", "at pages/myCollect/myCollect.vue:135", 11111);
|
||||
common_vendor.index.__f__("log", "at pages/myCollect/myCollect.vue:136", id);
|
||||
let type = isArticle.value ? "article" : "video";
|
||||
utils_navTo.navTo({
|
||||
url: `/pages/detail/detail?id=${id}&type=${type}`
|
||||
});
|
||||
};
|
||||
const changeWord = (val) => {
|
||||
isSearch.value = true;
|
||||
keyWord.value = val;
|
||||
paging.value.reload();
|
||||
};
|
||||
@ -130,30 +132,37 @@ const _sfc_main = {
|
||||
type1.value == 1 ? searchRead(params) : searchCollect(params);
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.o(changeWord),
|
||||
b: common_vendor.p({
|
||||
searchWord: keyWord.value,
|
||||
navName: navName.value
|
||||
}),
|
||||
c: common_vendor.o(changetype1),
|
||||
d: common_vendor.o(($event) => type1.value = $event),
|
||||
e: common_vendor.p({
|
||||
c: isSearch.value
|
||||
}, isSearch.value ? common_vendor.e({
|
||||
d: common_vendor.t(total.value),
|
||||
e: keyWord.value
|
||||
}, keyWord.value ? {
|
||||
f: common_vendor.t(keyWord.value)
|
||||
} : {}) : {}, {
|
||||
g: common_vendor.o(changetype1),
|
||||
h: common_vendor.o(($event) => type1.value = $event),
|
||||
i: common_vendor.p({
|
||||
title: type1.value == 0 ? "收藏" : "浏览",
|
||||
options: options.value,
|
||||
modelValue: type1.value
|
||||
}),
|
||||
f: common_vendor.o(changetype2),
|
||||
g: common_vendor.o(($event) => type2.value = $event),
|
||||
h: common_vendor.p({
|
||||
j: common_vendor.o(changetype2),
|
||||
k: common_vendor.o(($event) => type2.value = $event),
|
||||
l: common_vendor.p({
|
||||
title: title2.value,
|
||||
options: options1.value,
|
||||
modelValue: type2.value
|
||||
}),
|
||||
i: common_vendor.sr(uDropdownRef, "1cf734f5-2,1cf734f5-0", {
|
||||
m: common_vendor.sr(uDropdownRef, "1cf734f5-2,1cf734f5-0", {
|
||||
"k": "uDropdownRef"
|
||||
}),
|
||||
j: common_vendor.f(dataList.value, (item, index, i0) => {
|
||||
n: common_vendor.f(dataList.value, (item, index, i0) => {
|
||||
return {
|
||||
a: common_vendor.t(item.data.title),
|
||||
b: common_vendor.f(item.data.author, (tag, k1, i1) => {
|
||||
@ -172,33 +181,33 @@ const _sfc_main = {
|
||||
j: item.collect_id
|
||||
};
|
||||
}),
|
||||
k: common_vendor.p({
|
||||
o: common_vendor.p({
|
||||
name: "eye",
|
||||
color: "#6B7280",
|
||||
size: "28rpx"
|
||||
}),
|
||||
l: common_vendor.p({
|
||||
p: common_vendor.p({
|
||||
name: "heart",
|
||||
color: "#6B7280",
|
||||
size: "28rpx"
|
||||
}),
|
||||
m: common_vendor.p({
|
||||
q: common_vendor.p({
|
||||
name: "clock",
|
||||
color: "#6B7280",
|
||||
size: "28rpx"
|
||||
}),
|
||||
n: common_vendor.sr(paging, "1cf734f5-0", {
|
||||
r: common_vendor.sr(paging, "1cf734f5-0", {
|
||||
"k": "paging"
|
||||
}),
|
||||
o: common_vendor.o(queryList),
|
||||
p: common_vendor.o(($event) => dataList.value = $event),
|
||||
q: common_vendor.p({
|
||||
s: common_vendor.o(queryList),
|
||||
t: common_vendor.o(($event) => dataList.value = $event),
|
||||
v: common_vendor.p({
|
||||
["inside-more"]: true,
|
||||
["loading-more-no-more-text"]: "咱也是有底线的!",
|
||||
["auto-show-back-to-top"]: true,
|
||||
modelValue: dataList.value
|
||||
})
|
||||
};
|
||||
});
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
@ -1 +1 @@
|
||||
<view class="u-page data-v-1cf734f5"><z-paging wx:if="{{q}}" class="r data-v-1cf734f5" u-s="{{['top','d']}}" u-r="paging" bindquery="{{o}}" u-i="1cf734f5-0" bind:__l="__l" bindupdateModelValue="{{p}}" u-p="{{q}}"><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 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="{{e}}" class="data-v-1cf734f5" bindchange="{{c}}" u-i="1cf734f5-3,1cf734f5-2" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"></up-dropdown-item><up-dropdown-item wx:if="{{h}}" class="data-v-1cf734f5" bindchange="{{f}}" u-i="1cf734f5-4,1cf734f5-2" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"></up-dropdown-item></up-dropdown></view></view><view wx:for="{{j}}" 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="{{k}}" class="data-v-1cf734f5" u-i="{{item.c}}" bind:__l="__l" u-p="{{k}}"></up-icon><view class="num data-v-1cf734f5">{{item.d}}</view></view><view class="collect data-v-1cf734f5"><up-icon wx:if="{{l}}" class="data-v-1cf734f5" u-i="{{item.e}}" bind:__l="__l" u-p="{{l}}"></up-icon><view class="num data-v-1cf734f5">{{item.f}}</view></view></view><view class="time data-v-1cf734f5"><up-icon wx:if="{{m}}" class="data-v-1cf734f5" u-i="{{item.g}}" bind:__l="__l" u-p="{{m}}"></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>
|
||||
@ -90,7 +90,7 @@ const _sfc_main = {
|
||||
showCase.value = false;
|
||||
};
|
||||
const epaste = (e) => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:535", e);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:539", e);
|
||||
};
|
||||
const addOption = () => {
|
||||
voteData.case_exchange_vote_option.push({
|
||||
@ -168,7 +168,7 @@ const _sfc_main = {
|
||||
}
|
||||
};
|
||||
const ready = (e) => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:639", e);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:643", e);
|
||||
editorCtx.value = e;
|
||||
let html = "<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p><br/><br/>";
|
||||
editorCtx.value.initHtml(html);
|
||||
@ -183,7 +183,7 @@ const _sfc_main = {
|
||||
editorCtxResult.value = e;
|
||||
};
|
||||
const clearMuBan = () => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:659", "清空模板");
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:663", "清空模板");
|
||||
editorCtx.value.initHtml("");
|
||||
};
|
||||
const focusInfo = () => {
|
||||
@ -278,7 +278,7 @@ const _sfc_main = {
|
||||
};
|
||||
const confirmDel = () => {
|
||||
showModal.value = false;
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:776", delType.value);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:780", delType.value);
|
||||
if (delType.value == "delDraft") {
|
||||
delDraft(delId.value);
|
||||
} else if (delType.value == "saveDraft") {
|
||||
@ -389,7 +389,7 @@ const _sfc_main = {
|
||||
}
|
||||
},
|
||||
fail: (err) => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:905", err);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:909", err);
|
||||
}
|
||||
});
|
||||
});
|
||||
@ -419,7 +419,7 @@ const _sfc_main = {
|
||||
return randomNumber;
|
||||
};
|
||||
const getImageFormat = (imageUrl) => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:935", imageUrl);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:939", imageUrl);
|
||||
const lastDotIndex = imageUrl.lastIndexOf(".");
|
||||
if (lastDotIndex !== -1) {
|
||||
return imageUrl.substring(lastDotIndex + 1);
|
||||
@ -451,7 +451,7 @@ const _sfc_main = {
|
||||
//从相册选择
|
||||
extension: [".mp4", ".webm", ".ogg"],
|
||||
success: function(res) {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:962", res.tempFilePath);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:966", res.tempFilePath);
|
||||
HandleAddVideo(res.tempFilePath);
|
||||
}
|
||||
});
|
||||
@ -489,7 +489,7 @@ const _sfc_main = {
|
||||
async success(res2) {
|
||||
if (res2.statusCode === 204) {
|
||||
let url = host + "/" + dir + filename + imgType;
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1004", editorCtx2);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1008", editorCtx2);
|
||||
let imgUrl = "https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg";
|
||||
const fileThumbnail = await editorCtx2.createCoverThumbnail(
|
||||
imgUrl
|
||||
@ -503,7 +503,7 @@ const _sfc_main = {
|
||||
}
|
||||
},
|
||||
fail: (err) => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1019", err);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1023", err);
|
||||
}
|
||||
});
|
||||
});
|
||||
@ -553,7 +553,7 @@ const _sfc_main = {
|
||||
showCase.value = false;
|
||||
if (level.value == 1) {
|
||||
let label = labelObj.list1.find((item) => item.app_iden == caseValue1.value);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1069", label);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1073", label);
|
||||
labelList.value.push({
|
||||
app_iden: label.app_iden,
|
||||
label_name: label.label_name
|
||||
@ -601,6 +601,10 @@ const _sfc_main = {
|
||||
labelList.value.splice(index, 1);
|
||||
};
|
||||
const openLabelPop = () => {
|
||||
if (labelList.value.length >= 5) {
|
||||
common_vendor.index.showToast({ title: "最多添加5个标签", icon: "none" });
|
||||
return false;
|
||||
}
|
||||
showCase.value = true;
|
||||
getCaseLabel(1, 0);
|
||||
};
|
||||
@ -725,36 +729,48 @@ const _sfc_main = {
|
||||
size: "18"
|
||||
}),
|
||||
O: common_vendor.o(addOption),
|
||||
P: common_vendor.o(($event) => changeDay("minus")),
|
||||
Q: common_vendor.t(voteData.valid_day),
|
||||
R: common_vendor.o(($event) => changeDay("plus")),
|
||||
S: common_vendor.o(saveVote),
|
||||
T: common_vendor.o(clearVote),
|
||||
U: common_vendor.o(closeVote),
|
||||
V: common_vendor.o(openVote),
|
||||
W: common_vendor.p({
|
||||
P: common_vendor.p({
|
||||
name: "minus",
|
||||
color: "#4B5563",
|
||||
size: "30rpx",
|
||||
bold: true
|
||||
}),
|
||||
Q: common_vendor.o(($event) => changeDay("minus")),
|
||||
R: common_vendor.t(voteData.valid_day),
|
||||
S: common_vendor.p({
|
||||
name: "plus",
|
||||
color: "#4B5563",
|
||||
size: "30rpx",
|
||||
bold: true
|
||||
}),
|
||||
T: common_vendor.o(($event) => changeDay("plus")),
|
||||
U: common_vendor.o(saveVote),
|
||||
V: common_vendor.o(clearVote),
|
||||
W: common_vendor.o(closeVote),
|
||||
X: common_vendor.o(openVote),
|
||||
Y: common_vendor.p({
|
||||
round: 10,
|
||||
show: showVote.value,
|
||||
mode: "bottom"
|
||||
}),
|
||||
X: common_vendor.p({
|
||||
Z: common_vendor.p({
|
||||
name: "close",
|
||||
color: "#4B5563",
|
||||
size: "20"
|
||||
}),
|
||||
Y: common_vendor.o(closeDraft),
|
||||
Z: draftList.value.length == 0
|
||||
aa: common_vendor.o(closeDraft),
|
||||
ab: draftList.value.length == 0
|
||||
}, draftList.value.length == 0 ? {
|
||||
aa: common_vendor.p({
|
||||
ac: common_vendor.p({
|
||||
marginTop: "120rpx",
|
||||
text: "草稿箱为空",
|
||||
mode: "list",
|
||||
icon: common_vendor.unref(common_assets.draftImg)
|
||||
})
|
||||
} : {}, {
|
||||
ab: draftList.value.length > 0
|
||||
ad: draftList.value.length > 0
|
||||
}, draftList.value.length > 0 ? {
|
||||
ac: common_vendor.f(draftList.value, (item, index, i0) => {
|
||||
ae: common_vendor.f(draftList.value, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item.exchange_title ? item.exchange_title : "无标题"),
|
||||
b: item.exchange_content
|
||||
@ -780,91 +796,73 @@ const _sfc_main = {
|
||||
g: item.exchange_label && item.exchange_label.length > 0,
|
||||
j: item.exchange_vote,
|
||||
l: common_vendor.t(fromatDay(item.updated_at)),
|
||||
m: "bfce3555-19-" + i0 + ",bfce3555-16",
|
||||
m: "bfce3555-21-" + i0 + ",bfce3555-18",
|
||||
n: common_vendor.o(($event) => willDelDraft(item.draft_id), item.draft_id),
|
||||
o: "bfce3555-20-" + i0 + ",bfce3555-16",
|
||||
o: "bfce3555-22-" + i0 + ",bfce3555-18",
|
||||
p: common_vendor.o(($event) => editDraft(index), item.draft_id),
|
||||
q: item.draft_id
|
||||
});
|
||||
}),
|
||||
ad: common_vendor.p({
|
||||
af: common_vendor.p({
|
||||
name: "trash",
|
||||
color: "#4B5563",
|
||||
size: "16"
|
||||
}),
|
||||
ae: common_vendor.p({
|
||||
ag: common_vendor.p({
|
||||
name: "edit-pen",
|
||||
color: "#fff",
|
||||
size: "17"
|
||||
})
|
||||
} : {}, {
|
||||
af: common_vendor.o(closeDraft),
|
||||
ag: common_vendor.o(openDraft),
|
||||
ah: common_vendor.p({
|
||||
ah: common_vendor.o(closeDraft),
|
||||
ai: common_vendor.o(openDraft),
|
||||
aj: common_vendor.p({
|
||||
round: 10,
|
||||
zIndex: "9",
|
||||
show: showDraft.value,
|
||||
mode: "bottom"
|
||||
}),
|
||||
ai: common_vendor.p({
|
||||
ak: common_vendor.p({
|
||||
name: "close",
|
||||
color: "#4B5563",
|
||||
size: "20"
|
||||
}),
|
||||
aj: common_vendor.o(closeTitle),
|
||||
ak: common_vendor.o(insertAllWord),
|
||||
al: common_vendor.p({
|
||||
al: common_vendor.o(closeTitle),
|
||||
am: common_vendor.o(insertAllWord),
|
||||
an: common_vendor.p({
|
||||
name: "plus-circle",
|
||||
color: "#3CC7C0",
|
||||
size: "20"
|
||||
}),
|
||||
am: common_vendor.o(insertAllWord),
|
||||
an: common_vendor.o(($event) => insertWord("患者信息")),
|
||||
ao: common_vendor.o(($event) => insertWord("主诉")),
|
||||
ap: common_vendor.o(($event) => insertWord("现病史及既往史")),
|
||||
aq: common_vendor.o(($event) => insertWord("检查")),
|
||||
ar: common_vendor.o(($event) => insertWord("临床诊断")),
|
||||
as: common_vendor.o(($event) => insertWord("治疗经过及结果")),
|
||||
at: common_vendor.o(closeTitle),
|
||||
av: common_vendor.o(openTitle),
|
||||
aw: common_vendor.p({
|
||||
ao: common_vendor.o(insertAllWord),
|
||||
ap: common_vendor.o(($event) => insertWord("患者信息")),
|
||||
aq: common_vendor.o(($event) => insertWord("主诉")),
|
||||
ar: common_vendor.o(($event) => insertWord("现病史及既往史")),
|
||||
as: common_vendor.o(($event) => insertWord("检查")),
|
||||
at: common_vendor.o(($event) => insertWord("临床诊断")),
|
||||
av: common_vendor.o(($event) => insertWord("治疗经过及结果")),
|
||||
aw: common_vendor.o(closeTitle),
|
||||
ax: common_vendor.o(openTitle),
|
||||
ay: common_vendor.p({
|
||||
round: 10,
|
||||
zIndex: "9",
|
||||
show: showTitle.value,
|
||||
mode: "bottom"
|
||||
}),
|
||||
ax: delType.value == "delDraft"
|
||||
az: delType.value == "delDraft"
|
||||
}, delType.value == "delDraft" ? {} : delType.value == "saveDraft" ? {} : {}, {
|
||||
ay: delType.value == "saveDraft",
|
||||
az: common_vendor.o(cancelDel),
|
||||
aA: common_vendor.o(confirmDel),
|
||||
aB: common_vendor.p({
|
||||
aA: delType.value == "saveDraft",
|
||||
aB: common_vendor.o(cancelDel),
|
||||
aC: common_vendor.o(confirmDel),
|
||||
aD: common_vendor.p({
|
||||
show: showModal.value,
|
||||
["mask-click-able"]: true
|
||||
}),
|
||||
aC: common_vendor.o(($event) => showCase.value = false),
|
||||
aD: common_vendor.o(continueCase),
|
||||
aE: level.value != 3,
|
||||
aF: common_vendor.o(confirmCase),
|
||||
aG: common_vendor.f(labelObj.list1, (item, k0, i0) => {
|
||||
return {
|
||||
a: "bfce3555-27-" + i0 + ",bfce3555-26",
|
||||
b: common_vendor.p({
|
||||
activeColor: "#3CC7C0 ",
|
||||
label: item.label_name,
|
||||
name: item.app_iden
|
||||
}),
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
aH: common_vendor.o(($event) => caseValue1.value = $event),
|
||||
aI: common_vendor.p({
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue1.value
|
||||
}),
|
||||
aJ: level.value == 1,
|
||||
aK: common_vendor.f(labelObj.list2, (item, k0, i0) => {
|
||||
aE: common_vendor.o(($event) => showCase.value = false),
|
||||
aF: common_vendor.o(continueCase),
|
||||
aG: level.value != 3,
|
||||
aH: common_vendor.o(confirmCase),
|
||||
aI: common_vendor.f(labelObj.list1, (item, k0, i0) => {
|
||||
return {
|
||||
a: "bfce3555-29-" + i0 + ",bfce3555-28",
|
||||
b: common_vendor.p({
|
||||
@ -875,14 +873,14 @@ const _sfc_main = {
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
aL: common_vendor.o(($event) => caseValue2.value = $event),
|
||||
aM: common_vendor.p({
|
||||
aJ: common_vendor.o(($event) => caseValue1.value = $event),
|
||||
aK: common_vendor.p({
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue2.value
|
||||
modelValue: caseValue1.value
|
||||
}),
|
||||
aN: level.value == 2,
|
||||
aO: common_vendor.f(labelObj.list3, (item, k0, i0) => {
|
||||
aL: level.value == 1,
|
||||
aM: common_vendor.f(labelObj.list2, (item, k0, i0) => {
|
||||
return {
|
||||
a: "bfce3555-31-" + i0 + ",bfce3555-30",
|
||||
b: common_vendor.p({
|
||||
@ -893,15 +891,33 @@ const _sfc_main = {
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
aP: common_vendor.o(($event) => caseValue3.value = $event),
|
||||
aQ: common_vendor.p({
|
||||
aN: common_vendor.o(($event) => caseValue2.value = $event),
|
||||
aO: common_vendor.p({
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue2.value
|
||||
}),
|
||||
aP: level.value == 2,
|
||||
aQ: common_vendor.f(labelObj.list3, (item, k0, i0) => {
|
||||
return {
|
||||
a: "bfce3555-33-" + i0 + ",bfce3555-32",
|
||||
b: common_vendor.p({
|
||||
activeColor: "#3CC7C0 ",
|
||||
label: item.label_name,
|
||||
name: item.app_iden
|
||||
}),
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
aR: common_vendor.o(($event) => caseValue3.value = $event),
|
||||
aS: common_vendor.p({
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue3.value
|
||||
}),
|
||||
aR: level.value == 3,
|
||||
aS: common_vendor.o(closeCase),
|
||||
aT: common_vendor.p({
|
||||
aT: level.value == 3,
|
||||
aU: common_vendor.o(closeCase),
|
||||
aV: common_vendor.p({
|
||||
round: 10,
|
||||
zIndex: "9",
|
||||
show: showCase.value,
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -53,7 +53,7 @@ const _sfc_main = {
|
||||
value: "desc"
|
||||
}
|
||||
]);
|
||||
const isSearch = common_vendor.ref(false);
|
||||
const isSearch = common_vendor.ref(true);
|
||||
const order = common_vendor.reactive({
|
||||
read_num: "",
|
||||
push_date: ""
|
||||
@ -178,12 +178,12 @@ const _sfc_main = {
|
||||
(_a = paging.value) == null ? void 0 : _a.refresh();
|
||||
});
|
||||
const changeDate = (e) => {
|
||||
common_vendor.index.__f__("log", "at pages/search/search.vue:320", e);
|
||||
common_vendor.index.__f__("log", "at pages/search/search.vue:321", e);
|
||||
order.read_num = "";
|
||||
paging.value.reload();
|
||||
};
|
||||
const changeRead = (e) => {
|
||||
common_vendor.index.__f__("log", "at pages/search/search.vue:325", e);
|
||||
common_vendor.index.__f__("log", "at pages/search/search.vue:326", e);
|
||||
order.push_date = "";
|
||||
paging.value.reload();
|
||||
};
|
||||
@ -191,7 +191,7 @@ const _sfc_main = {
|
||||
return common_vendor.dayjs(date).format("YYYY-MM-DD");
|
||||
};
|
||||
const goDetail = (id, isLink, src) => {
|
||||
common_vendor.index.__f__("log", "at pages/search/search.vue:333", isLink);
|
||||
common_vendor.index.__f__("log", "at pages/search/search.vue:334", isLink);
|
||||
if (isLink == 1) {
|
||||
utils_navTo.navTo({
|
||||
url: `/pages/web/web?src=${src}`
|
||||
@ -329,7 +329,7 @@ const _sfc_main = {
|
||||
});
|
||||
};
|
||||
const queryList = (pageNo, pageSize) => {
|
||||
common_vendor.index.__f__("log", "at pages/search/search.vue:481", 666666);
|
||||
common_vendor.index.__f__("log", "at pages/search/search.vue:482", 666666);
|
||||
const params = {
|
||||
page: pageNo,
|
||||
page_size: pageSize
|
||||
|
||||
@ -23,6 +23,10 @@
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.stepbox.data-v-c10c040c {
|
||||
padding: 10rpx 30rpx;
|
||||
border-bottom: 2rpx dotted #f3f4f6;
|
||||
}
|
||||
.bar.data-v-c10c040c {
|
||||
width: 100%;
|
||||
background: #f9fafb;
|
||||
|
||||
@ -5,21 +5,27 @@ const api_api = require("../../api/api.js");
|
||||
const utils_navTo = require("../../utils/navTo.js");
|
||||
if (!Array) {
|
||||
const _easycom_navBarSearch2 = common_vendor.resolveComponent("navBarSearch");
|
||||
const _easycom_up__image2 = common_vendor.resolveComponent("up--image");
|
||||
const _easycom_up_dropdown_item2 = common_vendor.resolveComponent("up-dropdown-item");
|
||||
const _easycom_up_dropdown2 = common_vendor.resolveComponent("up-dropdown");
|
||||
const _easycom_up__image2 = common_vendor.resolveComponent("up--image");
|
||||
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
|
||||
const _easycom_z_paging2 = common_vendor.resolveComponent("z-paging");
|
||||
(_easycom_navBarSearch2 + _easycom_up_dropdown_item2 + _easycom_up_dropdown2 + _easycom_up__image2 + _easycom_up_icon2 + _easycom_z_paging2)();
|
||||
const _easycom_up_radio2 = common_vendor.resolveComponent("up-radio");
|
||||
const _easycom_up_radio_group2 = common_vendor.resolveComponent("up-radio-group");
|
||||
const _easycom_up_popup2 = common_vendor.resolveComponent("up-popup");
|
||||
(_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)();
|
||||
}
|
||||
const _easycom_navBarSearch = () => "../../components/navBarSearch/navBarSearch.js";
|
||||
const _easycom_up__image = () => "../../node-modules/uview-plus/components/u--image/u--image.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__image = () => "../../node-modules/uview-plus/components/u--image/u--image.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_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_popup = () => "../../node-modules/uview-plus/components/u-popup/u-popup.js";
|
||||
if (!Math) {
|
||||
(_easycom_navBarSearch + _easycom_up_dropdown_item + _easycom_up_dropdown + _easycom_up__image + _easycom_up_icon + _easycom_z_paging)();
|
||||
(_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)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "specialList",
|
||||
@ -30,7 +36,7 @@ const _sfc_main = {
|
||||
const dataList = common_vendor.ref([]);
|
||||
const total = common_vendor.ref(0);
|
||||
const keyWord = common_vendor.ref("");
|
||||
const showNum = common_vendor.ref(false);
|
||||
const showNum = common_vendor.ref(true);
|
||||
const options = common_vendor.ref([
|
||||
{
|
||||
label: "正序",
|
||||
@ -45,6 +51,84 @@ const _sfc_main = {
|
||||
read_num: "",
|
||||
push_date: ""
|
||||
});
|
||||
const label_iden = common_vendor.ref("");
|
||||
const showCase = common_vendor.ref(false);
|
||||
common_vendor.ref(false);
|
||||
const caseValue1 = common_vendor.ref("");
|
||||
const caseValue2 = common_vendor.ref("");
|
||||
const caseValue3 = common_vendor.ref("");
|
||||
const level = common_vendor.ref(1);
|
||||
const labelObj = common_vendor.reactive({
|
||||
list1: [],
|
||||
list2: [],
|
||||
list3: []
|
||||
});
|
||||
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) => {
|
||||
return common_vendor.dayjs(date).format("YYYY-MM-DD");
|
||||
};
|
||||
@ -64,12 +148,12 @@ const _sfc_main = {
|
||||
(_a = paging.value) == null ? void 0 : _a.refresh();
|
||||
});
|
||||
const changeDate = (e) => {
|
||||
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:205", e);
|
||||
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:368", e);
|
||||
order.read_num = "";
|
||||
paging.value.reload();
|
||||
};
|
||||
const changeRead = (e) => {
|
||||
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:210", e);
|
||||
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:373", e);
|
||||
order.push_date = "";
|
||||
paging.value.reload();
|
||||
};
|
||||
@ -92,7 +176,7 @@ const _sfc_main = {
|
||||
});
|
||||
};
|
||||
const queryList = (pageNo, pageSize) => {
|
||||
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:232", 666666);
|
||||
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:395", 666666);
|
||||
const params = {
|
||||
page: pageNo,
|
||||
page_size: pageSize
|
||||
@ -102,7 +186,8 @@ const _sfc_main = {
|
||||
const searchList = async (params) => {
|
||||
let searchForm = {
|
||||
keyword: keyWord.value,
|
||||
user_id: user_id.value
|
||||
user_id: user_id.value,
|
||||
label_iden: label_iden.value
|
||||
};
|
||||
if (Number(is_selected.value)) {
|
||||
searchForm.is_selected = Number(is_selected.value);
|
||||
@ -110,6 +195,9 @@ const _sfc_main = {
|
||||
if (!order.read_num) {
|
||||
delete order.read_num;
|
||||
}
|
||||
if (!label_iden.value) {
|
||||
delete searchForm.label_iden;
|
||||
}
|
||||
if (!order.push_date) {
|
||||
delete order.push_date;
|
||||
}
|
||||
@ -132,33 +220,39 @@ const _sfc_main = {
|
||||
b: common_vendor.p({
|
||||
navName: "肝胆相照精选病例交流"
|
||||
}),
|
||||
c: total.value > 0 && showNum.value
|
||||
}, total.value > 0 && showNum.value ? common_vendor.e({
|
||||
c: showNum.value
|
||||
}, showNum.value ? common_vendor.e({
|
||||
d: common_vendor.t(total.value),
|
||||
e: keyWord.value
|
||||
}, keyWord.value ? {
|
||||
f: common_vendor.t(keyWord.value)
|
||||
} : {}) : {}, {
|
||||
g: common_vendor.o(changeDate),
|
||||
h: common_vendor.o(($event) => order.push_date = $event),
|
||||
i: common_vendor.p({
|
||||
g: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.caseImg),
|
||||
width: "31rpx",
|
||||
height: "31rpx"
|
||||
}),
|
||||
h: common_vendor.o(openCase),
|
||||
i: common_vendor.o(changeDate),
|
||||
j: common_vendor.o(($event) => order.push_date = $event),
|
||||
k: common_vendor.p({
|
||||
title: "发布时间",
|
||||
options: options.value,
|
||||
modelValue: order.push_date
|
||||
}),
|
||||
j: common_vendor.o(changeRead),
|
||||
k: common_vendor.o(($event) => order.read_num = $event),
|
||||
l: common_vendor.p({
|
||||
l: common_vendor.o(changeRead),
|
||||
m: common_vendor.o(($event) => order.read_num = $event),
|
||||
n: common_vendor.p({
|
||||
title: "阅读量",
|
||||
options: options.value,
|
||||
modelValue: order.read_num
|
||||
}),
|
||||
m: common_vendor.sr("uDropdownRef", "b2cb78f4-2,b2cb78f4-0"),
|
||||
n: common_vendor.f(dataList.value, (item, k0, i0) => {
|
||||
o: common_vendor.sr("uDropdownRef", "b2cb78f4-3,b2cb78f4-0"),
|
||||
p: common_vendor.f(dataList.value, (item, k0, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item.exchange_title),
|
||||
b: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id),
|
||||
c: "b2cb78f4-5-" + i0 + ",b2cb78f4-0",
|
||||
c: "b2cb78f4-6-" + i0 + ",b2cb78f4-0",
|
||||
d: common_vendor.p({
|
||||
src: item.avatar ? item.avatar : common_vendor.unref(common_assets.headImg),
|
||||
width: "46rpx",
|
||||
@ -174,7 +268,7 @@ const _sfc_main = {
|
||||
}, item.exchange_content_image && item.exchange_content_image.length > 0 ? {
|
||||
k: common_vendor.f(item.exchange_content_image, (unit, k1, i1) => {
|
||||
return {
|
||||
a: "b2cb78f4-6-" + i0 + "-" + i1 + ",b2cb78f4-0",
|
||||
a: "b2cb78f4-7-" + i0 + "-" + i1 + ",b2cb78f4-0",
|
||||
b: common_vendor.p({
|
||||
src: unit,
|
||||
radius: "10",
|
||||
@ -205,48 +299,113 @@ const _sfc_main = {
|
||||
}),
|
||||
q: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id)
|
||||
} : {}, {
|
||||
r: "b2cb78f4-7-" + i0 + ",b2cb78f4-0",
|
||||
r: "b2cb78f4-8-" + i0 + ",b2cb78f4-0",
|
||||
s: common_vendor.t(item.read_num),
|
||||
t: "b2cb78f4-8-" + i0 + ",b2cb78f4-0",
|
||||
t: "b2cb78f4-9-" + i0 + ",b2cb78f4-0",
|
||||
v: common_vendor.t(item.collect_num),
|
||||
w: "b2cb78f4-9-" + i0 + ",b2cb78f4-0",
|
||||
w: "b2cb78f4-10-" + i0 + ",b2cb78f4-0",
|
||||
x: common_vendor.t(item.comment_num),
|
||||
y: "b2cb78f4-10-" + i0 + ",b2cb78f4-0",
|
||||
y: "b2cb78f4-11-" + i0 + ",b2cb78f4-0",
|
||||
z: common_vendor.t(formatdate(item.push_date)),
|
||||
A: common_vendor.o(($event) => goDetail(item.exchange_id), item.exchange_id),
|
||||
B: item.exchange_id
|
||||
});
|
||||
}),
|
||||
o: common_vendor.p({
|
||||
q: common_vendor.p({
|
||||
name: "eye",
|
||||
color: "#4B5563",
|
||||
size: "28rpx"
|
||||
}),
|
||||
p: common_vendor.p({
|
||||
r: common_vendor.p({
|
||||
name: "heart",
|
||||
color: "#4B5563",
|
||||
size: "28rpx"
|
||||
}),
|
||||
q: common_vendor.p({
|
||||
s: common_vendor.p({
|
||||
name: "chat",
|
||||
color: "#4B5563",
|
||||
size: "28rpx"
|
||||
}),
|
||||
r: common_vendor.p({
|
||||
t: common_vendor.p({
|
||||
name: "clock",
|
||||
color: "#4B5563",
|
||||
size: "28rpx"
|
||||
}),
|
||||
s: common_vendor.sr(paging, "b2cb78f4-0", {
|
||||
v: common_vendor.sr(paging, "b2cb78f4-0", {
|
||||
"k": "paging"
|
||||
}),
|
||||
t: common_vendor.o(queryList),
|
||||
v: common_vendor.o(($event) => dataList.value = $event),
|
||||
w: common_vendor.p({
|
||||
w: common_vendor.o(queryList),
|
||||
x: common_vendor.o(($event) => dataList.value = $event),
|
||||
y: common_vendor.p({
|
||||
["inside-more"]: true,
|
||||
["loading-more-no-more-text"]: "咱也是有底线的!",
|
||||
["auto-show-back-to-top"]: true,
|
||||
modelValue: dataList.value
|
||||
}),
|
||||
z: common_vendor.o(($event) => showCase.value = false),
|
||||
A: common_vendor.o(continueCase),
|
||||
B: level.value != 3,
|
||||
C: common_vendor.o(confirmCase),
|
||||
D: common_vendor.f(labelObj.list1, (item, k0, i0) => {
|
||||
return {
|
||||
a: "b2cb78f4-14-" + i0 + ",b2cb78f4-13",
|
||||
b: common_vendor.p({
|
||||
activeColor: "#3CC7C0 ",
|
||||
label: item.label_name,
|
||||
name: item.app_iden
|
||||
}),
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
E: common_vendor.o(($event) => caseValue1.value = $event),
|
||||
F: common_vendor.p({
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue1.value
|
||||
}),
|
||||
G: level.value == 1,
|
||||
H: common_vendor.f(labelObj.list2, (item, k0, i0) => {
|
||||
return {
|
||||
a: "b2cb78f4-16-" + i0 + ",b2cb78f4-15",
|
||||
b: common_vendor.p({
|
||||
activeColor: "#3CC7C0 ",
|
||||
label: item.label_name,
|
||||
name: item.app_iden
|
||||
}),
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
I: common_vendor.o(($event) => caseValue2.value = $event),
|
||||
J: common_vendor.p({
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue2.value
|
||||
}),
|
||||
K: level.value == 2,
|
||||
L: common_vendor.f(labelObj.list3, (item, k0, i0) => {
|
||||
return {
|
||||
a: "b2cb78f4-18-" + i0 + ",b2cb78f4-17",
|
||||
b: common_vendor.p({
|
||||
activeColor: "#3CC7C0 ",
|
||||
label: item.label_name,
|
||||
name: item.app_iden
|
||||
}),
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
M: common_vendor.o(($event) => caseValue3.value = $event),
|
||||
N: common_vendor.p({
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue3.value
|
||||
}),
|
||||
O: level.value == 3,
|
||||
P: common_vendor.o(closeCase),
|
||||
Q: common_vendor.p({
|
||||
round: 10,
|
||||
zIndex: "9",
|
||||
show: showCase.value,
|
||||
mode: "bottom"
|
||||
})
|
||||
});
|
||||
};
|
||||
|
||||
@ -3,10 +3,13 @@
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"nav-bar-search": "../../components/navBarSearch/navBarSearch",
|
||||
"up--image": "../../node-modules/uview-plus/components/u--image/u--image",
|
||||
"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--image": "../../node-modules/uview-plus/components/u--image/u--image",
|
||||
"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",
|
||||
"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-popup": "../../node-modules/uview-plus/components/u-popup/u-popup"
|
||||
}
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
@ -73,7 +73,7 @@
|
||||
.upage.data-v-b2cb78f4 .u-dropdown__menu {
|
||||
background: #fff;
|
||||
z-index: 1;
|
||||
margin-left: 0rpx;
|
||||
margin-left: 160rpx;
|
||||
}
|
||||
.upage.data-v-b2cb78f4 .u-dropdown__menu__item {
|
||||
height: 74rpx;
|
||||
@ -234,4 +234,127 @@
|
||||
margin-top: 18rpx;
|
||||
font-size: 28rpx;
|
||||
color: #4b5563;
|
||||
}
|
||||
.casesdown.data-v-b2cb78f4 {
|
||||
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;
|
||||
}
|
||||
.votepop .confirm.data-v-b2cb78f4 {
|
||||
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-b2cb78f4 {
|
||||
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-b2cb78f4 {
|
||||
margin-top: 30rpx;
|
||||
font-size: 27rpx;
|
||||
color: #9ca3af;
|
||||
line-height: 38rpx;
|
||||
padding: 0 30rpx;
|
||||
}
|
||||
.votepop .add.data-v-b2cb78f4 {
|
||||
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-b2cb78f4 {
|
||||
margin-left: 10rpx;
|
||||
}
|
||||
.votepop .titlebox.data-v-b2cb78f4 {
|
||||
padding: 0 30rpx;
|
||||
margin: 0 !important;
|
||||
height: 86rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
border-bottom: 2rpx solid #f3f4f6;
|
||||
}
|
||||
.votepop .titlebox .left.data-v-b2cb78f4 {
|
||||
font-size: 31rpx;
|
||||
color: #4b5563;
|
||||
}
|
||||
.votepop .titlebox .right.data-v-b2cb78f4 {
|
||||
font-size: 31rpx;
|
||||
color: #3cc7c0;
|
||||
}
|
||||
.votepop .votecon.data-v-b2cb78f4 {
|
||||
max-height: calc(100vh - 530rpx);
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.votepop .votecon .row.data-v-b2cb78f4 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.votepop .votecon .row .iconbox.data-v-b2cb78f4 {
|
||||
margin-left: 15rpx;
|
||||
align-items: center;
|
||||
}
|
||||
.votepop .votecon .titlebox.data-v-b2cb78f4 {
|
||||
border: none;
|
||||
margin: 30rpx 0 20rpx !important;
|
||||
}
|
||||
.votepop .votecon .titlebox .title.data-v-b2cb78f4 {
|
||||
font-size: 31rpx;
|
||||
color: #111827;
|
||||
}
|
||||
.votepop .votecon .titlebox .desc.data-v-b2cb78f4 {
|
||||
font-size: 27rpx;
|
||||
color: #9ca3af;
|
||||
}
|
||||
.casepop.data-v-b2cb78f4 {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
max-height: calc(100vh - 400rpx);
|
||||
}
|
||||
.casepop .continue.data-v-b2cb78f4 {
|
||||
color: #2878ff !important;
|
||||
}
|
||||
.casecon.data-v-b2cb78f4 {
|
||||
flex: 1;
|
||||
max-height: calc(100vh - 800rpx);
|
||||
overflow-y: scroll;
|
||||
padding-top: 22rpx;
|
||||
padding-bottom: 20rpx;
|
||||
min-height: 350rpx;
|
||||
}
|
||||
.casecon.data-v-b2cb78f4 .u-radio {
|
||||
margin-bottom: 10px !important;
|
||||
margin-top: 0px !important;
|
||||
}
|
||||
.casecon .column.data-v-b2cb78f4 {
|
||||
padding: 0 30rpx;
|
||||
border-bottom: 2rpx solid #e5e7eb;
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user