8.15提交
This commit is contained in:
parent
61584a5d20
commit
c7eb7ed879
3
App.vue
3
App.vue
@ -65,4 +65,7 @@
|
||||
.tagbox .tag{
|
||||
margin:5rpx 0 ;
|
||||
}
|
||||
.zp-paging-container{
|
||||
background-color: #fff!important;
|
||||
}
|
||||
</style>
|
||||
@ -92,7 +92,7 @@ onMounted(()=>{
|
||||
<style lang="scss" scoped>
|
||||
.navbox {
|
||||
padding-bottom: 20rpx;
|
||||
background-color: #f9fafb;
|
||||
background-color: #fff;
|
||||
position: relative;
|
||||
/* #ifdef H5 */
|
||||
height:120rpx;
|
||||
@ -104,7 +104,7 @@ onMounted(()=>{
|
||||
background: radial-gradient(
|
||||
60% 90% at 4% 2%,
|
||||
#43c9c3 0%,
|
||||
rgba(255, 255, 255, 0) 100%
|
||||
#fff 100%
|
||||
);
|
||||
}
|
||||
.bg {
|
||||
@ -113,11 +113,11 @@ onMounted(()=>{
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
background: radial-gradient(
|
||||
43% 90% at 84% 6%,
|
||||
#ffd6c9 0%,
|
||||
rgba(255, 255, 255, 0) 100%
|
||||
);
|
||||
// background: radial-gradient(
|
||||
// 43% 90% at 84% 6%,
|
||||
// #ffd6c9 0%,
|
||||
// rgba(255, 255, 255, 0) 100%
|
||||
// );
|
||||
}
|
||||
.namebox {
|
||||
/* #ifdef H5 */
|
||||
|
||||
4
main.js
4
main.js
@ -1,8 +1,8 @@
|
||||
import App from './App'
|
||||
import uviewPlus, { setConfig } from 'uview-plus'
|
||||
// #ifdef H5
|
||||
import VConsole from 'vconsole';
|
||||
const vConsole = new VConsole();
|
||||
//import VConsole from 'vconsole';
|
||||
// const vConsole = new VConsole();
|
||||
// #endif
|
||||
// #ifndef VUE3
|
||||
import Vue from 'vue'
|
||||
|
||||
@ -96,6 +96,7 @@
|
||||
item.exchange_content_video.length > 0
|
||||
"
|
||||
>
|
||||
<view class="videomask"></view>
|
||||
<video
|
||||
:key="index"
|
||||
v-for="(videoCell, index) in item.exchange_content_video.slice(0,1)"
|
||||
@ -160,12 +161,12 @@
|
||||
import navTo from "@/utils/navTo.js";
|
||||
import api from "@/api/api";
|
||||
import { reactive,ref } from 'vue';
|
||||
import { onShow } from "@dcloudio/uni-app";
|
||||
import { onShow,onLoad } from "@dcloudio/uni-app";
|
||||
const numInfo=reactive({})
|
||||
const most_read_articles=ref([]);
|
||||
const new_articles=ref([]);
|
||||
|
||||
|
||||
const hasUse=ref(false);
|
||||
const formatdate = (date) => {
|
||||
return dayjs(date).format('YYYY-MM-DD')
|
||||
};
|
||||
@ -206,7 +207,7 @@ const goDetail = (id) => {
|
||||
const searchList = async () => {
|
||||
let searchForm = {
|
||||
page: 1,
|
||||
page_size: 10,
|
||||
page_size: 20,
|
||||
order:{
|
||||
push_date:'desc'
|
||||
}
|
||||
@ -255,6 +256,21 @@ const goPublish=()=>{
|
||||
url:'/pages/publish/publish'
|
||||
})
|
||||
}
|
||||
onLoad((options)=>{
|
||||
console.log(options.from && !hasUse.value)
|
||||
if(options.from && !hasUse.value){
|
||||
|
||||
setTimeout(()=>{
|
||||
uni.showToast({
|
||||
duration:2000,
|
||||
title: "提交成功,请耐心等待审核",
|
||||
icon: "none",
|
||||
})
|
||||
hasUse.value=true;
|
||||
},300)
|
||||
}
|
||||
|
||||
})
|
||||
onShow(()=>{
|
||||
getStatic();
|
||||
goodList();
|
||||
@ -380,7 +396,13 @@ onShow(()=>{
|
||||
.imgbox {
|
||||
display: flex;
|
||||
margin-top: 24rpx;
|
||||
|
||||
position: relative;
|
||||
.videomask{
|
||||
position: absolute;
|
||||
width:100%;
|
||||
height:100%;
|
||||
z-index:2;
|
||||
}
|
||||
.imgcell {
|
||||
width: 220rpx;
|
||||
height: 220rpx;
|
||||
@ -396,6 +418,7 @@ onShow(()=>{
|
||||
}
|
||||
|
||||
.special {
|
||||
background-color: #fff;
|
||||
padding-top: 30rpx;
|
||||
|
||||
.list {
|
||||
|
||||
@ -159,7 +159,7 @@
|
||||
<up-parse :content="fromatImg(info.exchange_summary)"></up-parse>
|
||||
<!-- <view class="con" v-html="fromatImg(info.exchange_summary)"></view> -->
|
||||
</view>
|
||||
<view class="bar"></view>
|
||||
<view class="bar" v-if="info.exchange_vote && info.exchange_vote.vote_title"></view>
|
||||
<view class="detail" v-if="info.exchange_vote && info.exchange_vote.vote_title">
|
||||
<view class="votebox" v-if="info.exchange_vote.is_have_voted==0 ">
|
||||
<view class="name">在线投票</view>
|
||||
@ -2041,6 +2041,7 @@ const readRecord= async()=>{
|
||||
color: #3cc7c0;
|
||||
}
|
||||
.commentcon {
|
||||
background-color: #fff;
|
||||
.item {
|
||||
display: flex;
|
||||
padding: 30rpx 35rpx 16rpx;
|
||||
|
||||
@ -33,8 +33,8 @@
|
||||
</view>
|
||||
<view class="listbox">
|
||||
<!-- <view class="titlename">我的临床病例库</view> -->
|
||||
<view class="cell" @click="goDoctor(userInfo.doctor_id,userInfo.user_name)" v-if="numInfo.article_num+numInfo.video_num>=2"> <!-- 5 -->
|
||||
<view class="left">
|
||||
<view class="cell" :class="{on:isHarmonyos}" @click="goDoctor(userInfo.doctor_id,userInfo.user_name)" v-if="numInfo.article_num+numInfo.video_num>=2"> <!-- 5 -->
|
||||
<view class="left" >
|
||||
<up--image
|
||||
:src="myFile"
|
||||
width="34rpx"
|
||||
@ -45,8 +45,8 @@
|
||||
</view>
|
||||
<u-icon name="arrow-right" color="#9CA3AF" size="18"></u-icon>
|
||||
</view>
|
||||
<view class="cell" @click="goCert" v-if="numInfo.article_num+numInfo.video_num>=2">
|
||||
<view class="left">
|
||||
<view class="cell" :class="{on:isHarmonyos}" @click="goCert" v-if="numInfo.article_num+numInfo.video_num>=2">
|
||||
<view class="left" >
|
||||
<up--image
|
||||
:src="myDownload"
|
||||
width="42rpx"
|
||||
@ -57,8 +57,8 @@
|
||||
</view>
|
||||
<u-icon name="arrow-right" color="#9CA3AF" size="18"></u-icon>
|
||||
</view>
|
||||
<view class="cell" @click="goHospital(userInfo.hospital_id,userInfo.hospital_name)" v-if="hospitalInfo.video_num+hospitalInfo.article_num>=2">
|
||||
<view class="left">
|
||||
<view class="cell" :class="{on:isHarmonyos}" @click="goHospital(userInfo.hospital_id,userInfo.hospital_name)" v-if="hospitalInfo.video_num+hospitalInfo.article_num>=2">
|
||||
<view class="left" >
|
||||
<up--image
|
||||
:src="myHospital"
|
||||
width="39rpx"
|
||||
@ -69,8 +69,8 @@
|
||||
</view>
|
||||
<u-icon name="arrow-right" color="#9CA3AF" size="18"></u-icon>
|
||||
</view>
|
||||
<view class="cell" @click="mySpecial">
|
||||
<view class="left">
|
||||
<view class="cell" :class="{on:isHarmonyos}" @click="mySpecial">
|
||||
<view class="left" >
|
||||
<up--image
|
||||
:src="myTalk"
|
||||
width="39rpx"
|
||||
@ -81,8 +81,8 @@
|
||||
</view>
|
||||
<u-icon name="arrow-right" color="#9CA3AF" size="18"></u-icon>
|
||||
</view>
|
||||
<view class="cell" @click="goJoin">
|
||||
<view class="left">
|
||||
<view class="cell" @click="goJoin" :class="{on:isHarmonyos}">
|
||||
<view class="left" >
|
||||
<up--image
|
||||
:src="myJoin"
|
||||
width="39rpx"
|
||||
@ -93,8 +93,8 @@
|
||||
</view>
|
||||
<u-icon name="arrow-right" color="#9CA3AF" size="18"></u-icon>
|
||||
</view>
|
||||
<view class="cell" @click="goCollect">
|
||||
<view class="left">
|
||||
<view class="cell" @click="goCollect" :class="{on:isHarmonyos}">
|
||||
<view class="left" >
|
||||
<up--image
|
||||
:src="myCollect"
|
||||
width="39rpx"
|
||||
@ -129,6 +129,7 @@ import { onLoad } from "@dcloudio/uni-app";
|
||||
import navTo from "@/utils/navTo.js";
|
||||
import api from "@/api/api";
|
||||
import { ref,reactive} from "vue";
|
||||
const isHarmonyos=ref(false)
|
||||
const userInfo=reactive({})
|
||||
const numInfo=reactive({})
|
||||
const hospitalInfo=reactive({})
|
||||
@ -160,6 +161,15 @@ const getHospitalNum=(id)=>{
|
||||
}
|
||||
onLoad(()=>{
|
||||
getInfo()
|
||||
uni.getSystemInfo({
|
||||
success(res){
|
||||
console.log(res.platform);
|
||||
console.log(res.platform=="ohos")
|
||||
if(res.platform=="ohos"){
|
||||
isHarmonyos.value=true;
|
||||
}
|
||||
}
|
||||
})
|
||||
})
|
||||
const goCert = () => {
|
||||
navTo({
|
||||
@ -201,9 +211,11 @@ const goPublish=()=>{
|
||||
.upage{
|
||||
height:100vh;
|
||||
display: flex;
|
||||
background-color: #fff;
|
||||
flex-direction: column;
|
||||
}
|
||||
.con{
|
||||
background-color: #fff;
|
||||
height:calc(100vh - 100rpx);
|
||||
overflow-y: scroll;
|
||||
}
|
||||
@ -249,6 +261,12 @@ const goPublish=()=>{
|
||||
}
|
||||
|
||||
}
|
||||
.cell.on{
|
||||
:deep(.u-image){
|
||||
margin-top: 0rpx;
|
||||
background: none!important;
|
||||
}
|
||||
}
|
||||
}
|
||||
.databox {
|
||||
height: 162rpx;
|
||||
|
||||
@ -220,6 +220,7 @@ const queryList = (pageNo, pageSize) => {
|
||||
}
|
||||
}
|
||||
.filterbox{
|
||||
background-color: #fff;
|
||||
display: flex;
|
||||
height:128rpx;
|
||||
align-items: center;
|
||||
@ -294,6 +295,7 @@ const queryList = (pageNo, pageSize) => {
|
||||
}
|
||||
}
|
||||
.item {
|
||||
background-color: #fff;
|
||||
border-bottom: 1rpx solid #f3f4f6;
|
||||
padding: 30rpx;
|
||||
.title {
|
||||
|
||||
@ -438,6 +438,22 @@
|
||||
</view>
|
||||
</view>
|
||||
</up-overlay>
|
||||
|
||||
<up-overlay :show="isCheckModal" mask-click-able zIndex="99">
|
||||
<view class="zanboxpop">
|
||||
<view class="zanwraper">
|
||||
<view class="title">提示</view>
|
||||
<view class="content" >
|
||||
提交成功,请耐心等待审核
|
||||
</view>
|
||||
|
||||
<view class="btnbox" style="justify-content: center;">
|
||||
<!-- <view class="cancle" @click="cancelConfirmPublish">取消</view> -->
|
||||
<view class="ok" @click="goPrevPage">确定</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</up-overlay>
|
||||
<up-popup
|
||||
:round="10"
|
||||
zIndex="9"
|
||||
@ -564,11 +580,11 @@ import voteOnImg from "@/static/voteon.png";
|
||||
import draftImg from "@/static/draft.png";
|
||||
import api from "@/api/api";
|
||||
import dayjs from "dayjs";
|
||||
import { onLoad,onReady } from "@dcloudio/uni-app";
|
||||
import { onLoad,onReady,onShow } from "@dcloudio/uni-app";
|
||||
import throttle from "@/utils/throttle"
|
||||
import svEditor from "@/uni_modules/sv-editor/components/sv-editor/sv-editor.vue";
|
||||
import pEditor from "@/components/pEditor/pEditor"
|
||||
|
||||
const isCheckModal=ref(false);
|
||||
const uToast=ref(null);
|
||||
//import SvEditorToolbar from "@/uni_modules/sv-editor/components/sv-editor/sv-editor-toolbar.vue";
|
||||
import {
|
||||
@ -576,6 +592,7 @@ import {
|
||||
addVideo,
|
||||
addText,
|
||||
} from "@/uni_modules/sv-editor/components/common/utils.js";
|
||||
import navTo from "../../utils/navTo";
|
||||
const isLock = ref(false);
|
||||
const isFlag = ref(false);
|
||||
const delId = ref("");
|
||||
@ -1108,6 +1125,7 @@ const cancelDel = () => {
|
||||
}
|
||||
};
|
||||
const cancelConfirmPublish=()=>{
|
||||
console.log(1111111);
|
||||
isConfirmPublish.value=false;
|
||||
}
|
||||
|
||||
@ -1196,9 +1214,17 @@ const publish =throttle(async () => {
|
||||
});
|
||||
return false;
|
||||
}
|
||||
if (!(form.case_exchange_vote && form.case_exchange_vote.vote_title)) {
|
||||
delete form.case_exchange_vote;
|
||||
}
|
||||
|
||||
try{
|
||||
|
||||
if (!form.case_exchange_vote || !(form.case_exchange_vote.vote_title)) {
|
||||
|
||||
form.case_exchange_vote={};
|
||||
delete form.case_exchange_vote
|
||||
}
|
||||
} catch(e) {
|
||||
console.log(e);
|
||||
};
|
||||
if (
|
||||
!form.case_exchange_label ||
|
||||
(form.case_exchange_label && form.case_exchange_label.length == 0)
|
||||
@ -1226,22 +1252,38 @@ const publish =throttle(async () => {
|
||||
});
|
||||
isFlag.value = false;
|
||||
isPublish.value = true;
|
||||
uni.navigateBack()
|
||||
isConfirmPublish.value=false;
|
||||
uni.redirectTo({
|
||||
url:'/pages/caseTalk/caseTalk'
|
||||
})
|
||||
});
|
||||
}else{
|
||||
api.addExchange(form).then((res) => {
|
||||
uni.showToast({
|
||||
title: "发布成功",
|
||||
icon: "none",
|
||||
duration: 2000,
|
||||
});
|
||||
isFlag.value = false;
|
||||
isPublish.value = true;
|
||||
uni.navigateBack()
|
||||
//isCheckModal.value=true;
|
||||
uni.redirectTo({
|
||||
url:'/pages/caseTalk/caseTalk?from=publish',
|
||||
|
||||
})
|
||||
// uni.navigateBack({
|
||||
// success(){
|
||||
// uni.showToast({
|
||||
// duration:2500,
|
||||
// title: "提交成功,请耐心等待审核",
|
||||
// icon: "none",
|
||||
// })
|
||||
// }
|
||||
// });
|
||||
isFlag.value = false;
|
||||
isPublish.value = true;
|
||||
isConfirmPublish.value=false;
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
const goPrevPage=()=>{
|
||||
|
||||
uni.navigateBack()
|
||||
}
|
||||
const handleUpload = (file) => {
|
||||
api
|
||||
.getOss({
|
||||
@ -1595,6 +1637,9 @@ onReady(()=>{
|
||||
duration:1500
|
||||
})
|
||||
})
|
||||
onShow(()=>{
|
||||
isConfirmPublish.value=false;
|
||||
})
|
||||
onLoad((options) => {
|
||||
|
||||
if(options.exchange_id){
|
||||
@ -2189,6 +2234,7 @@ min-height: 600rpx;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100vh;
|
||||
background-color: #fff;
|
||||
position: relative;
|
||||
:deep(.u-image) {
|
||||
background: transparent !important;
|
||||
|
||||
@ -732,10 +732,11 @@ const clearMuBan = () => {
|
||||
};
|
||||
const focusInfo = () => {
|
||||
isFocusInfo.value = true;
|
||||
// uni.onKeyboardHeightChange(res => {
|
||||
// console.log(res.height);
|
||||
// bottomHeight.value=res.height*2;
|
||||
// })
|
||||
uni.onKeyboardHeightChange(res => {
|
||||
console.log(res.height);
|
||||
bottomHeight.value=res.height*2;
|
||||
editorCtx.value.s
|
||||
})
|
||||
|
||||
};
|
||||
const blurInfo = () => {
|
||||
|
||||
@ -813,6 +813,7 @@ const queryList = (pageNo, pageSize) => {
|
||||
}
|
||||
}
|
||||
.filterbox{
|
||||
background:#fff;
|
||||
:deep(.u-flex) {
|
||||
display: flex;
|
||||
flex-direction:row;
|
||||
@ -983,6 +984,7 @@ const queryList = (pageNo, pageSize) => {
|
||||
}
|
||||
.item {
|
||||
border-bottom: 1rpx solid #f3f4f6;
|
||||
background-color: #fff;
|
||||
padding: 30rpx;
|
||||
.title {
|
||||
font-size: 30rpx;
|
||||
|
||||
@ -118,6 +118,7 @@
|
||||
item.exchange_content_video.length > 0
|
||||
"
|
||||
>
|
||||
<view class="videomask"></view>
|
||||
<video
|
||||
:key="index"
|
||||
v-for="(videoCell, index) in item.exchange_content_video.slice(0,1)"
|
||||
@ -714,6 +715,7 @@ const searchList = async (params) => {
|
||||
}
|
||||
}
|
||||
.filterbox{
|
||||
background-color: #fff;
|
||||
display: flex;
|
||||
height:128rpx;
|
||||
align-items: center;
|
||||
@ -781,6 +783,7 @@ const searchList = async (params) => {
|
||||
}
|
||||
|
||||
.box {
|
||||
background-color: #fff;
|
||||
flex: 1;
|
||||
padding-bottom: 30rpx;
|
||||
overflow-y: scroll;
|
||||
@ -872,7 +875,13 @@ const searchList = async (params) => {
|
||||
.imgbox {
|
||||
display: flex;
|
||||
margin-top: 24rpx;
|
||||
|
||||
position: relative;
|
||||
.videomask{
|
||||
position: absolute;
|
||||
width:100%;
|
||||
height:100%;
|
||||
z-index:2;
|
||||
}
|
||||
.imgcell {
|
||||
width: 220rpx;
|
||||
height: 220rpx;
|
||||
|
||||
@ -69,7 +69,7 @@
|
||||
|
||||
</view>
|
||||
</template>
|
||||
<view class="item" v-for="(item, index) in dataList" :key="index" @click="isArticle?goDetail(item.article_id):goDetail(item.video_id)">
|
||||
<view class="item" v-for="(item, index) in dataList" :key="index" @click="goDetail(item.video_id,item.is_link,item.is_link_url)">
|
||||
<view class="title ellipsis-two-lines">{{isArticle?item.article_title:item.video_title }}</view>
|
||||
<view class="tagsbox">
|
||||
<view class="tag" v-for="tag in item.author" :key="tag.author_id">{{ tag.doctor_name }}</view>
|
||||
@ -450,13 +450,31 @@ const changeRead=(e)=>{
|
||||
const formatdate=(date)=>{
|
||||
return dayjs(date).format('YYYY-MM-DD')
|
||||
}
|
||||
const goDetail=(id)=>{
|
||||
console.log(11111)
|
||||
console.log(id)
|
||||
let type=isArticle.value?'article':'video'
|
||||
navTo({
|
||||
url: `/pages/detail/detail?id=${id}&type=${type}`
|
||||
})
|
||||
const goDetail=(id,isLink,src)=>{
|
||||
console.log(999999)
|
||||
console.log(isLink,src)
|
||||
if(isLink==1){
|
||||
api.readRecord({
|
||||
type:2,
|
||||
id:id
|
||||
}).then(res=>{
|
||||
|
||||
})
|
||||
// #ifdef MP-WEIXIN
|
||||
navTo({
|
||||
url: `/pages/web/web?src=${src}`,
|
||||
});
|
||||
// #endif
|
||||
// #ifdef H5
|
||||
window.location.href=`${src}`
|
||||
// #endif
|
||||
}else{
|
||||
let type=isArticle.value?'article':'video'
|
||||
navTo({
|
||||
url: `/pages/detail/detail?id=${id}&type=${type}`
|
||||
})
|
||||
}
|
||||
|
||||
}
|
||||
const getStatic=()=>{
|
||||
api.getHomeStatics().then((res) => {
|
||||
@ -612,6 +630,7 @@ const queryList = (pageNo, pageSize) => {
|
||||
}
|
||||
}
|
||||
.filterbox{
|
||||
background-color: #fff;
|
||||
display: flex;
|
||||
height:128rpx;
|
||||
align-items: center;
|
||||
@ -704,6 +723,7 @@ const queryList = (pageNo, pageSize) => {
|
||||
}
|
||||
}
|
||||
.item {
|
||||
background-color: #fff;
|
||||
border-bottom: 1rpx solid #f3f4f6;
|
||||
padding: 30rpx;
|
||||
.title {
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
import{_ as a,b as s,g as e,c as t,h as n,l as c,w as l,e as o,j as _,t as d,a3 as r,a4 as i,i as u}from"./index-yCJOKDQQ.js";/* empty css */const p=a({__name:"backNav",props:{navName:{type:String,default:"我的"}},setup(a){const p=()=>{r({delta:1,fail(){i({url:"/pages/index/index"})}})};return(r,i)=>{const m=u,v=s(t("u-icon"),e);return n(),c(m,{class:"navbox"},{default:l((()=>[o(m,{class:"bg"}),o(m,{class:"namebox"},{default:l((()=>[o(m,{class:"back",onClick:p},{default:l((()=>[o(v,{name:"arrow-left",color:"#000",size:"24"})])),_:1}),o(m,{class:"name"},{default:l((()=>[_(d(a.navName),1)])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-819e8c8e"]]);export{p as d};
|
||||
@ -1 +0,0 @@
|
||||
.publish[data-v-3a20b2bc]{width:2.875rem;height:2.875rem;background:#3cc7c0;border-radius:50%;position:fixed;right:.9375rem;bottom:5.625rem;display:flex;justify-content:center;align-items:center}.upage[data-v-3a20b2bc]{display:flex;flex-direction:column;height:calc(100vh - 3.75rem)}.mostread .cell[data-v-3a20b2bc]{padding:.6875rem 0!important;margin:0 .9375rem;display:flex}.box[data-v-3a20b2bc]{flex:1;padding-bottom:.9375rem;overflow-y:scroll}.myVideo[data-v-3a20b2bc]{width:100%;border-radius:.46875rem}.deal[data-v-3a20b2bc]{padding-top:.625rem;display:flex;color:#4b5563;font-size:.75rem;justify-content:space-between}.deal .left[data-v-3a20b2bc]{display:flex;align-items:center}.deal .left .item[data-v-3a20b2bc]{width:3.125rem}.deal .collect[data-v-3a20b2bc],.deal .eyebox[data-v-3a20b2bc],.deal .chat[data-v-3a20b2bc],.deal .time[data-v-3a20b2bc]{display:flex;align-items:center}.deal .num[data-v-3a20b2bc]{margin-left:.25rem}.tagbox[data-v-3a20b2bc]{margin-top:.75rem;display:flex}.tagbox .tag[data-v-3a20b2bc]{height:1.6875rem;padding:0 .875rem;background:#ecfaf9;border-radius:.9375rem;margin-right:.375rem;font-size:.84375rem;color:#3cc7c0;display:flex;align-items:center;justify-content:center}.doctor[data-v-3a20b2bc]{display:flex;align-items:center}.record[data-v-3a20b2bc]{padding-top:.9375rem}.record .list[data-v-3a20b2bc]{margin:.9375rem}.record .list .name[data-v-3a20b2bc]{padding:.625rem 0 .625rem .46875rem;font-size:.84375rem;color:#333}.record .list .content[data-v-3a20b2bc]{font-size:.84375rem;color:#666;line-height:1.1875rem}.record .list .imgbox[data-v-3a20b2bc]{display:flex;margin-top:.75rem}.record .list .imgbox .imgcell[data-v-3a20b2bc]{width:6.875rem;height:6.875rem;margin-right:.625rem}.record .list .imgbox .imgcell[data-v-3a20b2bc]:last-child{margin-right:0}.special[data-v-3a20b2bc]{padding-top:.9375rem}.special .list[data-v-3a20b2bc]{margin:.25rem 0 0}.special .list .cell[data-v-3a20b2bc]{padding:.6875rem .9375rem;border-bottom:.0625rem solid #f3f4f6}.special .list .cell .circle[data-v-3a20b2bc]{flex-shrink:0;margin-top:.46875rem;width:.46875rem;height:.46875rem;background:#3cc7c0;border-radius:50%}.special .list .cell .title[data-v-3a20b2bc]{margin-left:.3125rem;font-size:1rem;color:#000;line-height:1.4375rem}.special .list .cell[data-v-3a20b2bc]:last-child{border-bottom:none}.titlebox[data-v-3a20b2bc]{margin:0 .9375rem;display:flex;justify-content:space-between}.titlebox .more[data-v-3a20b2bc]{display:flex;align-items:center}.titlebox .more .morename[data-v-3a20b2bc]{margin-right:.3125rem;font-size:.875rem;color:#3cc7c0}.bar[data-v-3a20b2bc]{height:.5rem;background:#f3f4f6}.databox[data-v-3a20b2bc]{height:5.0625rem;background:#fff;display:flex;padding:0 .9375rem;justify-content:space-between}.databox .cell[data-v-3a20b2bc]{flex:1;padding:1.09375rem 0;text-align:center}.databox .cell .num[data-v-3a20b2bc]{font-size:1.1875rem;color:#3cc7c0}.databox .cell .name[data-v-3a20b2bc]{margin-top:.5625rem;font-size:.875rem;color:#4b5563}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
.upage[data-v-093187ec]{height:100vh;display:flex;flex-direction:column}.con[data-v-093187ec]{height:calc(100vh - 3.125rem);overflow-y:scroll}.publish[data-v-093187ec]{width:2.875rem;height:2.875rem;background:#3cc7c0;border-radius:50%;position:fixed;right:.9375rem;bottom:3.125rem;display:flex;justify-content:center;align-items:center}.listbox[data-v-093187ec]{margin:1.0625rem .9375rem 0}.listbox .titlename[data-v-093187ec]{margin-bottom:.9375rem}.listbox .cell[data-v-093187ec]{height:3.375rem;padding:0 .9375rem;margin-bottom:.9375rem;background:#f9fafb;border-radius:.46875rem;display:flex;justify-content:space-between;align-items:center}.listbox .cell[data-v-093187ec] .u-image{margin-top:.28125rem;background:none!important}.listbox .cell .left[data-v-093187ec]{display:flex;justify-content:space-between;font-size:1rem;color:#000}.listbox .cell .left .title[data-v-093187ec]{margin-top:.125rem;margin-left:.25rem}.databox[data-v-093187ec]{height:5.0625rem;background:#fff;display:flex;padding:.3125rem 0;justify-content:space-between;border-bottom:.0625rem solid rgba(0,0,0,.1)}.databox .cell[data-v-093187ec]{flex:1;padding:1.09375rem 0;text-align:center}.databox .cell .num[data-v-093187ec]{font-size:1.1875rem;color:#000}.databox .cell .name[data-v-093187ec]{margin-top:.5625rem;font-size:.875rem;color:#4b5563}.infobox[data-v-093187ec]{margin:0 .9375rem;display:flex}.infobox .info[data-v-093187ec]{margin-left:.625rem}.infobox .info .name[data-v-093187ec]{font-size:1rem;color:#000;line-height:1.4375rem}.infobox .info .hospital[data-v-093187ec]{font-size:.875rem;color:#4b5563;line-height:1.1875rem}
|
||||
@ -1 +0,0 @@
|
||||
.databox[data-v-8d6e05c0]{height:5.0625rem;background:#fff;display:flex;margin-bottom:.625rem;justify-content:space-between}.databox .cell[data-v-8d6e05c0]{flex:1;padding:1.09375rem 0;text-align:center}.databox .cell .num[data-v-8d6e05c0]{font-size:1.1875rem;color:#3cc7c0}.databox .cell .name[data-v-8d6e05c0]{margin-top:.5625rem;font-size:.875rem;color:#4b5563}.filterbox[data-v-8d6e05c0]{display:flex;height:4rem;align-items:center;position:relative}.filterbox .type[data-v-8d6e05c0]{position:absolute;left:.9375rem;top:.75rem;display:flex;justify-content:center;align-items:center;background:#f3f4f6;border-radius:.46875rem;height:2.3125rem;padding:0 .78125rem;z-index:2}.u-page[data-v-8d6e05c0] .u-flex{display:flex;flex-direction:row;overflow:hidden}.u-page[data-v-8d6e05c0] .u-dropdown__menu{background:#fff;z-index:1;margin-left:0}.u-page[data-v-8d6e05c0] .u-dropdown__menu__item{height:2.3125rem;padding:0 .625rem;background:#f3f4f6;border-radius:.46875rem;flex:none;margin-left:.9375rem}.u-page[data-v-8d6e05c0] .u-dropdown__menu__item__text{font-size:14px!important;color:#3cc7c0!important}.u-page .deal[data-v-8d6e05c0]{margin-top:.625rem;display:flex;color:#6b7280;font-size:.75rem;justify-content:space-between}.u-page .deal .left[data-v-8d6e05c0],.u-page .deal .collect[data-v-8d6e05c0]{display:flex;align-items:center}.u-page .deal .eyebox[data-v-8d6e05c0]{width:5rem;display:flex;align-items:center}.u-page .deal .time[data-v-8d6e05c0]{display:flex;align-items:center}.u-page .deal .num[data-v-8d6e05c0]{margin-left:.25rem}.u-page .item[data-v-8d6e05c0]{border-bottom:.03125rem solid #f3f4f6;padding:.9375rem}.u-page .item .title[data-v-8d6e05c0]{font-size:.9375rem;color:#111827;line-height:1.4375rem}.u-page .tagsbox[data-v-8d6e05c0]{margin-top:.625rem;display:flex;flex-wrap:wrap}.u-page .tagsbox .tag[data-v-8d6e05c0]{padding:0 .3125rem;margin-right:.5rem;height:1.4375rem;line-height:1.4375rem;text-align:center;background:rgba(60,199,192,.1);border-radius:.25rem;font-weight:400;font-size:.75rem;color:#3cc7c0}.detail[data-v-8d6e05c0]{background:#f9f9f9;padding:.375rem .9375rem}.detail .desc[data-v-8d6e05c0]{font-size:.8125rem;color:#4b5563;line-height:1.25rem}.detail .red[data-v-8d6e05c0]{color:red}
|
||||
@ -1 +0,0 @@
|
||||
import{_ as a,r as e,A as s,B as l,aj as r,b as t,f as o,c as u,g as c,h as p,l as n,w as d,e as i,u as m,j as h,t as v,i as f,al as _}from"./index-yCJOKDQQ.js";import{h as g}from"./headImg.D8PzAUux.js";import{l as y,n as x}from"./navbg.DtxIXihV.js";import{n as b}from"./navTo.dID5SXtY.js";/* empty css */const j=a({__name:"navBar",props:{searchWord:{type:String,default:""},type:{type:String,default:"home"},navName:{type:String,default:"肝胆相照临床病例库"}},emits:["changeWord"],setup(a,{emit:j}){const k=e(""),w=e(""),W=a,B=e("输入疾病名称、标题、作者搜索");s((()=>W.type),(a=>{}),{immediate:!0}),s((()=>W.searchWord),(a=>{w.value=a}));const I=()=>{b({url:"/pages/my/my"})},S=()=>{"home"==W.type?b({url:`/pages/search/search?keyWord=${w.value}&from=home`}):"caseTalk"==W.type&&b({url:`/pages/specialList/specialList?keyWord=${w.value}&from=talkHome`})};return l((()=>{let a=r("userInfo");a&&a.avatar?k.value=a.avatar:k.value=g})),(e,s)=>{const l=f,r=t(u("up--image"),o),g=_,b=t(u("up-icon"),c);return p(),n(l,{class:"navbox"},{default:d((()=>[i(l,{class:"bg"}),i(l,{class:"namebox"},{default:d((()=>[i(l,{class:"logo"},{default:d((()=>[i(r,{src:m(y),width:"62rpx",height:"62rpx",radius:"50%"},null,8,["src"])])),_:1}),i(l,{class:"name"},{default:d((()=>[h(v(a.navName)+" ",1),i(l,{class:"navbg"},{default:d((()=>[i(r,{src:m(x),width:"100rpx",height:"31rpx"},null,8,["src"])])),_:1})])),_:1})])),_:1}),i(l,{class:"search"},{default:d((()=>[i(l,{class:"searchwrap"},{default:d((()=>[i(g,{type:"text",class:"ipt",modelValue:w.value,"onUpdate:modelValue":s[0]||(s[0]=a=>w.value=a),placeholder:B.value},null,8,["modelValue","placeholder"]),i(b,{name:"search",size:"26",color:"#999",onClick:S})])),_:1}),i(r,{src:k.value,onClick:I,width:"62rpx",height:"62rpx",radius:"50%"},null,8,["src"])])),_:1})])),_:1})}}},[["__scopeId","data-v-f204508b"]]);export{j as n};
|
||||
@ -1 +0,0 @@
|
||||
import{_ as a,r as e,A as s,B as l,aj as r,b as t,g as o,c,f as u,h as n,l as d,w as i,e as p,u as m,j as v,t as h,a3 as f,a4 as g,i as x,al as _}from"./index-yCJOKDQQ.js";import{h as y}from"./headImg.D8PzAUux.js";import{l as b,n as j}from"./navbg.DtxIXihV.js";import{n as w}from"./navTo.dID5SXtY.js";const k=a({__name:"navBarSearch",props:{searchWord:{type:String,default:""},type:{type:String,default:""},navName:{type:String,default:"肝胆相照临床病例库"}},emits:["changeWord"],setup(a,{emit:k}){const C=e(""),S=e(""),W=a,I=e("输入疾病名称、标题、作者搜索");s((()=>W.type),(a=>{"doctor"===a?I.value="输入医生姓名":"hospital"===a?I.value="输入医院名称":"video"===a?I.value="输入疾病名称、标题、作者搜索":"article"===a?I.value="搜索疾病、症状、医院":"case"===a?I.value="输入疾病名称":("myCase"===a||"cert"===a)&&(I.value="输入疾病名称、标题搜索")}),{immediate:!0}),s((()=>W.searchWord),(a=>{C.value=a}));const V=k,z=()=>{w({url:"/pages/my/my"})},B=()=>{f({delta:1,fail(){g({url:"/pages/index/index"})}})};l((()=>{let a=r("userInfo");a&&a.avatar?S.value=a.avatar:S.value=y}));const N=()=>{V("changeWord",C.value)};return(e,s)=>{const l=x,r=t(c("u-icon"),o),f=t(c("up--image"),u),g=_,y=t(c("up-icon"),o);return n(),d(l,{class:"navbox"},{default:i((()=>[p(l,{class:"bg"}),p(l,{class:"namebox"},{default:i((()=>[p(l,{class:"back",onClick:B},{default:i((()=>[p(r,{name:"arrow-left",color:"#000",size:"24"})])),_:1}),p(l,{class:"logo"},{default:i((()=>[p(f,{src:m(b),width:"62rpx",height:"62rpx",radius:"50%"},null,8,["src"])])),_:1}),p(l,{class:"name"},{default:i((()=>[v(h(a.navName)+" ",1),p(l,{class:"navbg"},{default:i((()=>[p(f,{src:m(j),width:"100rpx",height:"31rpx"},null,8,["src"])])),_:1})])),_:1})])),_:1}),p(l,{class:"search"},{default:i((()=>[p(l,{class:"searchwrap"},{default:i((()=>[p(g,{type:"text",class:"ipt",modelValue:C.value,"onUpdate:modelValue":s[0]||(s[0]=a=>C.value=a),placeholder:I.value},null,8,["modelValue","placeholder"]),p(y,{name:"search",size:"26",color:"#999",onClick:N})])),_:1}),p(f,{src:S.value,onClick:z,width:"62rpx",height:"62rpx",radius:"50%"},null,8,["src"])])),_:1})])),_:1})}}},[["__scopeId","data-v-648dea7c"]]);export{k as n};
|
||||
@ -1 +0,0 @@
|
||||
import{aK as e,aj as n,ae as t,af as a}from"./index-yCJOKDQQ.js";function i(i){let o="";if(o=window.location.href.indexOf("//casedata.igandan.com")>-1?n("AUTH_TOKEN_CASEDATA"):n("DEV_AUTH_TOKEN_CASEDATA"),o)a(i);else{let n=function(){const n=e(),t=n[n.length-1],a=t.route,i=t.options;let o=a+"?";for(let e in i)o+=`${e}=${i[e]}&`;return o=o.substring(0,o.length-1),o}();t("redirectUrl",n),a({url:"/pages/login/login?redirectUrl=has"})}}export{i as n};
|
||||
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
import{_ as a,r as e,B as s,aj as t,l as o,w as n,i as r,h as _,e as c,at as l}from"./index-yCJOKDQQ.js";import{t as d}from"./tabBar.DvtXmny0.js";import"./navTo.dID5SXtY.js";/* empty css */const m=a({__name:"case",setup(a){const m=e("");return s((a=>{{let a="";window.location.href.indexOf("//casedata.igandan.com")>-1?(a=t("AUTH_TOKEN_CASEDATA"),m.value="https://caseplatform.igandan.com/web/home?token="+a):(a=t("DEV_AUTH_TOKEN_CASEDATA"),m.value="https://dev-caseplatform.igandan.com/web/home?token="+a)}})),(a,e)=>{const s=l,t=r;return _(),o(t,{class:"content"},{default:n((()=>[c(t,{class:"page"},{default:n((()=>[c(s,{src:m.value},null,8,["src"])])),_:1}),c(d,{value:1})])),_:1})}}},[["__scopeId","data-v-6f022902"]]);export{m as default};
|
||||
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
import{_ as a,r as s,B as e,b as t,c,d as o,e as r,w as _,F as i,a6 as d,i as n,h as u}from"./index-yCJOKDQQ.js";import{d as l}from"./backNav.B6XX4zX9.js";/* empty css */const p=a({__name:"certImg",setup(a){const p=s("");return e((a=>{a.src?p.value=a.src:p.value="https://cn.bing.com//th?id=OHR.SanMiguelAzores_ZH-CN2511982585_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp"})),(a,s)=>{const e=t(c("u--image"),d),m=n;return u(),o(i,null,[r(l,{navName:"病例收录证书"}),r(m,{class:"imgbox"},{default:_((()=>[r(m,{class:"box"},{default:_((()=>[r(e,{showLoading:!0,src:p.value,width:"100%",mode:"widthFix"},null,8,["src"])])),_:1})])),_:1})],64)}}},[["__scopeId","data-v-79a48ca6"]]);export{p as default};
|
||||
@ -1 +0,0 @@
|
||||
import{_ as a,r as e,a as l,B as t,aj as s,o as r,b as u,c as o,l as d,w as c,i,am as n,f as m,g as v,h as _,e as p,j as g,t as f,y as h,d as A,k as C,F as k,n as V,u as y}from"./index-yCJOKDQQ.js";import{_ as j}from"./z-paging.BSEuKFM7.js";import{n as x}from"./navBarSearch.DdBIst4i.js";import{a as D}from"./api.CJ1VE9se.js";import{d as O}from"./dayjs.min.5rMxRjw4.js";import{n as w}from"./navTo.dID5SXtY.js";import"./headImg.D8PzAUux.js";import"./navbg.DtxIXihV.js";const I=a({__name:"certList",setup(a){const I=e(null),z=e(!1),B=e([]),J=e(0);e("");const M=e(""),Q=e(0);e("");const b=e(""),E=l({}),F=e("肝胆相照临床病例库收录证书"),K=a=>O(a).format("YYYY-MM-DD"),N=e([{name:"文章病例库"},{name:"视频病例库"}]),S=a=>{Q.value=a.index,I.value.reload()};t((a=>{a.keyWord&&(M.value=a.keyWord),a.doctor_id&&(b.value=a.doctor_id);let e=s("userInfo");e.user_name&&(F.value=e.user_name+"临床病例库收录证书")})),r((()=>{var a;null==(a=I.value)||a.refresh()}));const T=a=>{M.value=a,z.value=!0,I.value.reload()},U=(a,e)=>{console.log(666666);const l={page:a,page_size:e};0==Q.value?(a=>{let e={keyword:M.value,doctor_id:b.value};z.value&&(K.is_need_num=1),D.searchArticle({...e,...a}).then((a=>{I.value.complete(a.data.data.data),J.value=a.data.data.total,E.search_article_num=a.data.data.search_article_num,E.search_video_num=a.data.data.search_video_num})).catch((a=>{I.value.complete(!1)}))})(l):(async a=>{let e={keyword:M.value,doctor_id:b.value};D.searchVideo({...e,...a}).then((a=>{I.value.complete(a.data.data.data),J.value=a.data.data.total,E.search_article_num=a.data.data.search_article_num,E.search_video_num=a.data.data.search_video_num})).catch((a=>{I.value.complete(!1)}))})(l)};return(a,e)=>{const l=V,t=i,s=u(o("up-tabs"),n),r=u(o("up--image"),m),D=u(o("up-icon"),v),O=u(o("z-paging"),j);return _(),d(t,{class:"u-page"},{default:c((()=>[p(O,{ref_key:"paging",ref:I,"inside-more":"","loading-more-no-more-text":"咱也是有底线的!","auto-show-back-to-top":!0,modelValue:B.value,"onUpdate:modelValue":e[0]||(e[0]=a=>B.value=a),onQuery:U},{top:c((()=>[p(x,{searchWord:M.value,navName:F.value,onChangeWord:T,type:"cert"},null,8,["searchWord","navName"]),z.value?(_(),d(t,{key:0,class:"detail"},{default:c((()=>[0==Q.value?(_(),d(t,{key:0,class:"desc"},{default:c((()=>[g("检索到:"),p(l,{class:"red"},{default:c((()=>[g(f(J.value)+"篇文章",1)])),_:1})])),_:1})):h("",!0),1==Q.value?(_(),d(t,{key:1,class:"desc"},{default:c((()=>[g("检索到:"),p(l,{class:"red"},{default:c((()=>[g(f(J.value)+"个视频",1)])),_:1})])),_:1})):h("",!0),M.value?(_(),d(t,{key:2,class:"desc"},{default:c((()=>[g("检索词:"),p(l,{class:"red"},{default:c((()=>[g(f(M.value),1)])),_:1})])),_:1})):h("",!0)])),_:1})):h("",!0),p(t,{class:"tabcon"},{default:c((()=>[p(s,{activeStyle:{color:"#3CC7C0"},inactiveStyle:{color:"#4B5563"},lineColor:"#3CC7C0",lineWidth:"155rpx",lineHeight:"2",list:N.value,onClick:S},null,8,["list"])])),_:1})])),default:c((()=>[(_(!0),A(k,null,C(B.value,((a,e)=>(_(),d(t,{class:"item",key:e,onClick:e=>{return l=a.cert_image,void w({url:`/pages/certImg/certImg?src=${l}`});var l}},{default:c((()=>[p(t,{class:"title ellipsis-two-lines"},{default:c((()=>[g(f(0==Q.value?a.article_title:a.video_title),1)])),_:2},1024),p(t,{class:"deal"},{default:c((()=>[p(t,{class:"left"},{default:c((()=>[p(t,{class:"recored"},{default:c((()=>[p(r,{src:y("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACcAAAAnCAYAAACMo1E1AAAAAXNSR0IArs4c6QAAAlhJREFUWEftmMFrE0EUxr9vsi1pQfCgiGhPFQTxVjHdZGN3QcRTQRTpsTeV/gd614MHb0q9lB5FFD206qFZ2uwmOehRENFD8Q+wN21D9kmqpRGT3c3sbgzavc57M7/55s3bN48Y4o9DzIZ/A8523fzOodET/L5thKlNCZrfxj5/eXfuRjPpqUQqZ7uu0RzjXQgXCBmPtaDIFsl7VdO+D0Bi+XQxioQr1dxHJG/qLCDkol+4cAukFmAoXKHhnjSEmwSUDlzbJwlgKJxVcy+DfKULtuenCxgKV6qvzxLyMimcroIDg9MBHChcv4ADh/sVIg89016ICpe/BYeWkiv1gvMiNKGHDaZ5If5Yh3jqTdvXhxMO8DzTLg8pnPie6Vj/FdxSQLVCkdhVByWYgOIdCI7vK5W2ciJrXtG5GJUCuo0XG+uXlMibzOB2/5HTM1oVStFfm1Qq9ykzOABfJWeU/fPW+37Um3q7OJJvnn5MYD5LuHbp2AKwCcSPOSgeg+Dw7xtKO+b6kSvS9gAuUqIeBmkrJ7LdAuZ2Rj+u9PO6apf7I8IlAB1pKGU4gSz7ptNx4+KrVm5snBEJOm55+nDPfNO5Fh9p39KqVgowVCOzVCJAQMjtIEB/v68cJ0T4gMTZzOB0FOvtk/hYK7OESuX11QUyWT1n1SsFoDNO0tNOgOe+aV/Vrud2+yR5fiAwmR7Wz5kEMuebzhNtuLajVa1MwVCvARxJETD562sPpryxejQwxucJnAIQ2gLruYF2M4fYClpYrZVmKnE2GtllijNJVjYHcLrKDrVyPwCuPTw3CmIhlQAAAABJRU5ErkJggg=="),width:"39rpx",height:"39rpx"},null,8,["src"]),g(" 收录证书 ")])),_:1})])),_:1}),p(t,{class:"time"},{default:c((()=>[p(D,{name:"clock",color:"#6B7280",size:"28rpx"}),p(t,{class:"num"},{default:c((()=>[g(f(K(a.push_date)),1)])),_:2},1024)])),_:2},1024)])),_:2},1024)])),_:2},1032,["onClick"])))),128))])),_:1},8,["modelValue"])])),_:1})}}},[["__scopeId","data-v-b9efb59e"]]);export{I as default};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
import{_ as a,r as e,a as l,B as t,o,b as s,c as u,l as d,w as n,i as r,a7 as c,a8 as v,g as i,h as m,e as p,j as _,t as f,y as g,d as y,k as h,F as k,n as b}from"./index-yCJOKDQQ.js";import{_ as j}from"./z-paging.BSEuKFM7.js";import{n as w}from"./navBarSearch.DdBIst4i.js";import{a as x}from"./api.CJ1VE9se.js";import{d as V}from"./dayjs.min.5rMxRjw4.js";import{n as z}from"./navTo.dID5SXtY.js";import"./headImg.D8PzAUux.js";import"./navbg.DtxIXihV.js";const C=a({__name:"myCollect",setup(a){const C=e(null),B=e(null),W=e([]),M=e(0);e("");const Y=e("");e(!0);const D=e(!1),U=e("肝胆相照临床病例库"),I=e(0),N=e(1),R=e("文章病例库"),$=e([{label:"收藏",value:0},{label:"浏览",value:1}]),q=e([{label:"文章病例库",value:1},{label:"视频病例库",value:2},{label:"病例交流",value:3}]);l({read_num:"",push_date:""}),t((a=>{a.keyWord&&(Y.value=a.keyWord)})),o((()=>{var a;null==(a=C.value)||a.refresh()}));const F=a=>{I.value=a,C.value.reload()},Q=a=>{N.value=a,R.value=q.value[a-1].label,C.value.reload()},S=a=>{D.value=!0,Y.value=a,C.value.reload()},T=(a,e)=>{const l={page:a,page_size:e};1==I.value?(async a=>{let e={keyword:Y.value,type:N.value};x.getMyRead({...e,...a}).then((a=>{C.value.complete(a.data.data.data),M.value=a.data.data.total})).catch((a=>{C.value.complete(!1)}))})(l):(a=>{let e={keyword:Y.value,type:N.value};x.getMyCollect({...e,...a}).then((a=>{C.value.complete(a.data.data.data),M.value=a.data.data.total})).catch((a=>{C.value.complete(!1)}))})(l)};return(a,e)=>{const l=b,t=r,o=s(u("up-dropdown-item"),c),x=s(u("up-dropdown"),v),A=s(u("up-icon"),i),E=s(u("z-paging"),j);return m(),d(t,{class:"u-page"},{default:n((()=>[p(E,{ref_key:"paging",ref:C,"inside-more":"","loading-more-no-more-text":"咱也是有底线的!","auto-show-back-to-top":!0,modelValue:W.value,"onUpdate:modelValue":e[2]||(e[2]=a=>W.value=a),onQuery:T},{top:n((()=>[p(w,{searchWord:Y.value,navName:U.value,onChangeWord:S},null,8,["searchWord","navName"]),D.value?(m(),d(t,{key:0,class:"detail"},{default:n((()=>[p(t,{class:"desc"},{default:n((()=>[_("检索到:"),p(l,{class:"red"},{default:n((()=>[_(f(M.value)+"篇",1)])),_:1})])),_:1}),Y.value?(m(),d(t,{key:0,class:"desc"},{default:n((()=>[_("检索词:"),p(l,{class:"red"},{default:n((()=>[_(f(Y.value),1)])),_:1})])),_:1})):g("",!0)])),_:1})):g("",!0),p(t,{class:"filterbox"},{default:n((()=>[p(x,{class:"u-dropdown",ref_key:"uDropdownRef",ref:B},{default:n((()=>[p(o,{modelValue:I.value,"onUpdate:modelValue":e[0]||(e[0]=a=>I.value=a),title:0==I.value?"收藏":"浏览",onChange:F,options:$.value},null,8,["modelValue","title","options"]),p(o,{modelValue:N.value,"onUpdate:modelValue":e[1]||(e[1]=a=>N.value=a),title:R.value,onChange:Q,options:q.value},null,8,["modelValue","title","options"])])),_:1},512)])),_:1})])),default:n((()=>[(m(!0),y(k,null,h(W.value,((a,e)=>(m(),d(t,{class:"item",onClick:e=>(a=>{console.log(I.value),console.log(a);let e="article";1==N.value?e="article":2==N.value?e="video":3==N.value&&(e="exchange"),z({url:`/pages/detail/detail?id=${a}&type=${e}`})})(a.data.id),key:a.collect_id},{default:n((()=>[p(t,{class:"title ellipsis-two-lines"},{default:n((()=>[_(f(a.data.title),1)])),_:2},1024),p(t,{class:"tagsbox"},{default:n((()=>[(m(!0),y(k,null,h(a.data.author,(a=>(m(),d(t,{class:"tag",key:a.author_id},{default:n((()=>[_(f(a.doctor_name),1)])),_:2},1024)))),128))])),_:2},1024),p(t,{class:"deal"},{default:n((()=>[p(t,{class:"left"},{default:n((()=>[p(t,{class:"eyebox"},{default:n((()=>[p(A,{name:"eye",color:"#6B7280",size:"28rpx"}),p(t,{class:"num"},{default:n((()=>[_(f(a.data.read_num),1)])),_:2},1024)])),_:2},1024),p(t,{class:"collect"},{default:n((()=>[p(A,{name:"heart",color:"#6B7280",size:"28rpx"}),p(t,{class:"num"},{default:n((()=>[_(f(a.data.collect_num),1)])),_:2},1024)])),_:2},1024)])),_:2},1024),p(t,{class:"time"},{default:n((()=>[p(A,{name:"clock",color:"#6B7280",size:"28rpx"}),p(t,{class:"num"},{default:n((()=>{return[_(f((e=a.data.push_date,V(e).format("YYYY-MM-DD"))),1)];var e})),_:2},1024)])),_:2},1024)])),_:2},1024)])),_:2},1032,["onClick"])))),128))])),_:1},8,["modelValue"])])),_:1})}}},[["__scopeId","data-v-8d6e05c0"]]);export{C as default};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
import{_ as e,r as o,a as t,B as s,l as n,w as a,i as r,h as c,e as i,at as p}from"./index-yCJOKDQQ.js";const l=e({__name:"register",setup(e){const l=o("https://dev-wx.igandan.com/hcp/toRegister?fromType=wx");return t({name:""}),o(!1),o(!0),t({height:"90rpx",fontSize:"36rpx"}),t({color:"#3ec7c0",height:"64rpx",fontSize:"28rpx",borderColor:"#e2e2e2",opcity:"1"}),o(""),o(10),o(null),s((e=>{const{envVersion:o}=uni.getAccountInfoSync().miniProgram;e.src?(console.log(decodeURIComponent(e.src)),l.value=decodeURIComponent(e.src)):l.value="release"==o?"https://wx.igandan.com/hcp/toRegister?fromType=weChat":"https://dev-wx.igandan.com/hcp/toRegister?fromType=weChat"})),(e,o)=>{const t=p,s=r;return c(),n(s,{class:"logincontent"},{default:a((()=>[i(t,{src:l.value},null,8,["src"])])),_:1})}}},[["__scopeId","data-v-3b8703cf"]]);export{l as default};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
import{_ as a,r as e,a as l,B as t,o as s,b as u,c as d,l as o,w as r,X as n,i as c,Y as m,a7 as i,a8 as _,f as p,h as v,e as f,d as b,k as h,F as g,G as j,j as w,t as k,u as y}from"./index-yCJOKDQQ.js";import{_ as C}from"./z-paging.BSEuKFM7.js";import{n as x}from"./navBarSearch.DdBIst4i.js";import{a as V}from"./api.CJ1VE9se.js";import{d as Y}from"./dayjs.min.5rMxRjw4.js";import{n as z}from"./navTo.dID5SXtY.js";import{a as D}from"./arrowright.BzSXc355.js";import"./headImg.D8PzAUux.js";import"./navbg.DtxIXihV.js";const W=a({__name:"sickList",setup(a){const W=e(null),B=e(null),I=e([]),L=e(0);e("");const M=e("");e(!0);const N=e("doctor"),S=e("更新时间"),U=e("疾病临床病例库"),$=e("1"),q=e([{label:"更新时间",value:"1"},{label:"疾病名称",value:"2"},{label:"病例数",value:"3"}]),A=l({updated_at:"desc"});t((a=>{"hospital"==a.type&&(N.value="hospital"),M.value=a.name,a.name&&(U.value=a.name+"临床病例库"),(a.name="医生")&&!a.id&&(M.value=""),"new"==a.order&&(A.push_date="asc"),"read"==a.order&&(A.article_num="desc")})),s((()=>{var a;null==(a=W.value)||a.refresh()}));const F=a=>{1==a?(A.updated_at="desc",A.label_name="",A.article_num="",S.value="更新时间"):2==a?(A.updated_at="",A.label_name="asc",A.article_num="",S.value="疾病名称"):3==a&&(A.updated_at="",A.label_name="",A.article_num="desc",S.value="病例数"),$.value=a,B.value.close(),W.value.reload()},G=(a,e)=>{(async a=>{let e={label_name:M.value};A.article_num||delete A.article_num,A.updated_at||delete A.updated_at,A.label_name||delete A.label_name,(A.article_num||A.updated_at||A.label_name)&&(e.order=A),V.getSearchLabel({...e,...a}).then((a=>{W.value.complete(a.data.data.data),L.value=a.data.data.total})).catch((a=>{W.value.complete(!1)}))})({page:a,page_size:e})},P=a=>{U.value="疾病临床病例库",M.value=a,I.value=[],A.updated_at="desc",A.article_num="",A.label_name="",W.value.reload()};return(a,e)=>{const l=u(d("up-radio"),n),t=c,s=u(d("up-radio-group"),m),V=u(d("up-dropdown-item"),i),L=u(d("up-dropdown"),_),N=u(d("up--image"),p),A=u(d("z-paging"),C);return v(),o(t,{class:"u-page"},{default:r((()=>[f(A,{ref_key:"paging",ref:W,"inside-more":"","loading-more-no-more-text":"咱也是有底线的!","auto-show-back-to-top":!0,modelValue:I.value,"onUpdate:modelValue":e[1]||(e[1]=a=>I.value=a),onQuery:G},{top:r((()=>[f(x,{searchWord:M.value,navName:U.value,type:"case",onChangeWord:P},null,8,["searchWord","navName"]),f(t,{class:"filterbox"},{default:r((()=>[f(L,{class:"u-dropdown",ref_key:"uDropdownRef",ref:B},{default:r((()=>[f(V,{title:S.value},{default:r((()=>[f(t,{class:"dropcontent"},{default:r((()=>[f(s,{onChange:F,modelValue:$.value,"onUpdate:modelValue":e[0]||(e[0]=a=>$.value=a),iconPlacement:"right",placement:"column"},{default:r((()=>[(v(!0),b(g,null,h(q.value,(a=>(v(),o(t,{class:j(["column",[$.value==a.value?"active":""]]),key:a.value},{default:r((()=>[f(l,{activeColor:"#3CC7C0",label:a.label,name:a.value},null,8,["label","name"])])),_:2},1032,["class"])))),128))])),_:1},8,["modelValue"])])),_:1})])),_:1},8,["title"])])),_:1},512)])),_:1})])),default:r((()=>[f(t,{class:"listbox"},{default:r((()=>[(v(!0),b(g,null,h(I.value,((a,e)=>(v(),o(t,{class:"item",key:e,onClick:e=>{return l=a.label_iden,t=a.label_name,void z({url:`/pages/search/search?case_id=${l}&case_name=${t}`});var l,t}},{default:r((()=>[f(t,{class:"title ellipsis"},{default:r((()=>[w(k(a.label_name),1)])),_:2},1024),f(t,{class:"deal"},{default:r((()=>[f(t,{class:"left"},{default:r((()=>[f(t,{class:"count"},{default:r((()=>[w(" 病例数:"+k(a.video_num+a.article_num),1),f(N,{src:y(D),width:"32rpx",height:"32rpx"},null,8,["src"])])),_:2},1024)])),_:2},1024),f(t,{class:"time"},{default:r((()=>[f(t,{class:"num"},{default:r((()=>{return[w("更新时间:"+k((e=a.last_push_date,Y(e).format("YYYY-MM-DD"))),1)];var e})),_:2},1024)])),_:2},1024)])),_:2},1024)])),_:2},1032,["onClick"])))),128))])),_:1})])),_:1},8,["modelValue"])])),_:1})}}},[["__scopeId","data-v-e040919e"]]);export{W as default};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
import{r as s,B as a,l as r,at as e,h as t}from"./index-yCJOKDQQ.js";const n={__name:"web",setup(n){const u=s("");return a((s=>{u.value=s.src})),(s,a)=>{const n=e;return t(),r(n,{src:u.value},null,8,["src"])}}};export{n as default};
|
||||
@ -1 +0,0 @@
|
||||
import{r as u,B as a,b as s,c as l,l as t,w as i,aQ as p,aR as e,aS as r,aT as m,i as n,h as o,e as g,d as c,k as j,F as h}from"./index-yCJOKDQQ.js";const v={__name:"index",setup(v){const w=u([]),y=["https://uview-plus.jiangruyi.com/album/1.jpg","https://uview-plus.jiangruyi.com/album/2.jpg","https://uview-plus.jiangruyi.com/album/3.jpg","https://uview-plus.jiangruyi.com/album/4.jpg","https://uview-plus.jiangruyi.com/album/5.jpg","https://uview-plus.jiangruyi.com/album/6.jpg","https://uview-plus.jiangruyi.com/album/7.jpg","https://uview-plus.jiangruyi.com/album/8.jpg","https://uview-plus.jiangruyi.com/album/9.jpg","https://uview-plus.jiangruyi.com/album/10.jpg"];a((()=>{d()}));const b=()=>{d()},d=()=>{for(let u=0;u<30;u++)w.value.push({url:y[uni.$u.random(0,y.length-1)]})};return(u,a)=>{const v=s(l("up-avatar"),p),y=s(l("up-cell"),e),d=s(l("up-list-item"),r),f=s(l("up-list"),m),x=n;return o(),t(x,{class:"u-page"},{default:i((()=>[g(f,{onScrolltolower:b},{default:i((()=>[(o(!0),c(h,null,j(w.value,((u,a)=>(o(),t(d,{key:a},{default:i((()=>[g(y,{title:`列表长度-${a+1}`},{icon:i((()=>[g(v,{shape:"square",size:"35",src:u.url,customStyle:"margin: -3px 5px -3px 0"},null,8,["src"])])),_:2},1032,["title"])])),_:2},1024)))),128))])),_:1})])),_:1})}}};export{v as default};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +0,0 @@
|
||||
import{a as t}from"./index-yCJOKDQQ.js";const n=function(t,n=1500){var r=!0;return function(){r&&(t.apply(this,arguments),r=!1,setTimeout((()=>{r=!0}),n))}};let r=null;r=t({curEID:"",formats:{},isReadOnly:!1,firstInstanceFlag:""});const s={state:r,actions:{getEditor:function(t){return r[`${t}-ctx`]},setEditor:function(t,n){r[`${t}-ctx`]=n},getEID:function(){return r.curEID},setEID:function(t){r.curEID=t},getFormats:function(){return r.formats},setFormats:function(t){r.formats=t},getReadOnly:function(){return r.isReadOnly},setReadOnly:function(t){r.isReadOnly=t},destroy:function(){r={},r.curEID="",r.formats={},r.isReadOnly=!1,r.firstInstanceFlag=""}}};export{s as o,n as t};
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
4
unpackage/dist/build/web/index.html
vendored
4
unpackage/dist/build/web/index.html
vendored
@ -14,8 +14,8 @@
|
||||
<title>肝胆相照临床病例库</title>
|
||||
<!--preload-links-->
|
||||
<!--app-context-->
|
||||
<script type="module" crossorigin src="/web/assets/index-yCJOKDQQ.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/web/assets/index-MsBK_HMS.css">
|
||||
<script type="module" crossorigin src="/web/assets/index-y8AadDM5.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/web/assets/index-G2QayuKB.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"><!--app-html--></div>
|
||||
|
||||
@ -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.back{\r\n\t/* margin-top: -8rpx; */\r\n\tpadding:0 20rpx 0rpx 20rpx;\r\n}\r\n.ellipsis-one-lines {\r\n\toverflow: hidden;\r\n\twhite-space: nowrap;\r\n\ttext-overflow: ellipsis;\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.u-steps-item__line{\r\n\theight:36px!important;\r\n}\r\n.casesdown.active{\r\n\tcolor:#3CC7C0!important;\r\n}\r\n.u-dropdown__menu__item__arrow--rotate .uicon-arrow-down{\r\n\tcolor: #3cc7c0 !important;\r\n}\r\n.tagbox{\r\n\tflex-wrap: wrap;\r\n}\r\n.tagbox .tag{\r\n\tmargin:5rpx 0 ;\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.back{\r\n\t/* margin-top: -8rpx; */\r\n\tpadding:0 20rpx 0rpx 20rpx;\r\n}\r\n.ellipsis-one-lines {\r\n\toverflow: hidden;\r\n\twhite-space: nowrap;\r\n\ttext-overflow: ellipsis;\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.u-steps-item__line{\r\n\theight:36px!important;\r\n}\r\n.casesdown.active{\r\n\tcolor:#3CC7C0!important;\r\n}\r\n.u-dropdown__menu__item__arrow--rotate .uicon-arrow-down{\r\n\tcolor: #3cc7c0 !important;\r\n}\r\n.tagbox{\r\n\tflex-wrap: wrap;\r\n}\r\n.tagbox .tag{\r\n\tmargin:5rpx 0 ;\r\n}\r\n.zp-paging-container{\r\n\tbackground-color: #fff!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;;;"}
|
||||
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
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
198
unpackage/dist/dev/mp-weixin/api/api.js
vendored
198
unpackage/dist/dev/mp-weixin/api/api.js
vendored
@ -1,198 +0,0 @@
|
||||
"use strict";
|
||||
const utils_request = require("../utils/request.js");
|
||||
const api = {
|
||||
wxLogin(data) {
|
||||
return utils_request.request("/login/wechat/mobile", data, "post", true);
|
||||
},
|
||||
mobileLogin(data) {
|
||||
return utils_request.request("/login/mobile", data, "post", true);
|
||||
},
|
||||
getCode(data) {
|
||||
return utils_request.request("/code/phone", data, "post", true);
|
||||
},
|
||||
getHomeData(data) {
|
||||
return utils_request.request("/index/clinical", data, "get", true);
|
||||
},
|
||||
getHomeStatics(data) {
|
||||
return utils_request.request("/clinical/stats", data, "get", true);
|
||||
},
|
||||
getArticleDetail(id) {
|
||||
return utils_request.request("/clinical/article/" + id, {}, "get", false);
|
||||
},
|
||||
getVideoDetail(id) {
|
||||
return utils_request.request("/clinical/video/" + id, {}, "get", false);
|
||||
},
|
||||
collectArticle(id) {
|
||||
return utils_request.request("/clinical/article/collect/" + id, {}, "post", false);
|
||||
},
|
||||
cancelCollectArticle(id) {
|
||||
return utils_request.request("/clinical/article/collect/" + id, {}, "delete", false);
|
||||
},
|
||||
collectVideo(id) {
|
||||
return utils_request.request("/clinical/video/collect/" + id, {}, "post", false);
|
||||
},
|
||||
cancelCollectVideo(id) {
|
||||
return utils_request.request("/clinical/video/collect/" + id, {}, "delete", false);
|
||||
},
|
||||
collectExchange(id) {
|
||||
return utils_request.request("/exchange/collect/" + id, {}, "post", false);
|
||||
},
|
||||
cancelCollectExchange(id) {
|
||||
return utils_request.request("/exchange/collect/" + id, {}, "delete", false);
|
||||
},
|
||||
addVideoComment(id, data) {
|
||||
return utils_request.request("/clinical/video/comment/" + id, data, "post", true, "application/json");
|
||||
},
|
||||
delVideoComment(id) {
|
||||
return utils_request.request("/clinical/video/comment/" + id, {}, "delete", false);
|
||||
},
|
||||
topVideoComment(id) {
|
||||
return utils_request.request("/clinical/video/comment/top/" + id, {}, "put", false);
|
||||
},
|
||||
cancelTopVideoComment(id) {
|
||||
return utils_request.request("/clinical/video/comment/top/" + id, {}, "delete", false);
|
||||
},
|
||||
addArticleComment(id, data) {
|
||||
return utils_request.request("/clinical/article/comment/" + id, data, "post", true, "application/json");
|
||||
},
|
||||
delArticleComment(id) {
|
||||
return utils_request.request("/clinical/article/comment/" + id, {}, "delete", false);
|
||||
},
|
||||
topArticleComment(id) {
|
||||
return utils_request.request("/clinical/article/comment/top/" + id, {}, "put", false);
|
||||
},
|
||||
cancelTopArticleComment(id) {
|
||||
return utils_request.request("/clinical/article/comment/top/" + id, {}, "delete", false);
|
||||
},
|
||||
getArticleComment(data) {
|
||||
return utils_request.request("/clinical/article/comment/page", data, "post", false, "application/json");
|
||||
},
|
||||
getVideoComment(data) {
|
||||
return utils_request.request("/clinical/video/comment/page", data, "post", false, "application/json");
|
||||
},
|
||||
searchArticle(data) {
|
||||
return utils_request.request("/clinical/article/search", data, "post", true, "application/json");
|
||||
},
|
||||
searchVideo(data) {
|
||||
return utils_request.request("/clinical/video/search", data, "post", true, "application/json");
|
||||
},
|
||||
searchDoctor(data) {
|
||||
return utils_request.request("/clinical/doctor/search", data, "post", true, "application/json");
|
||||
},
|
||||
searchHospital(data) {
|
||||
return utils_request.request("/clinical/hospital/search", data, "post", true, "application/json");
|
||||
},
|
||||
getStaticDoctor(id) {
|
||||
return utils_request.request("/clinical/stats/doctor/" + id, {}, "get", true);
|
||||
},
|
||||
getStaticSick(data) {
|
||||
return utils_request.request("/clinical/stats/label", data, "get", false);
|
||||
},
|
||||
getStaticHospital(id) {
|
||||
return utils_request.request("/clinical/stats/hospital/" + id, {}, "get", false);
|
||||
},
|
||||
getUserInfo() {
|
||||
return utils_request.request("/user", {}, "get", false);
|
||||
},
|
||||
getExchangeStatic() {
|
||||
return utils_request.request("/exchange/stats", {}, "get", false);
|
||||
},
|
||||
getExchangeStaticUser(id) {
|
||||
return utils_request.request("/exchange/stats/user/" + id, {}, "get", false);
|
||||
},
|
||||
searchExchage(data) {
|
||||
return utils_request.request("/exchange/search", data, "post", true, "application/json");
|
||||
},
|
||||
searchExchageGood(data) {
|
||||
return utils_request.request("/exchange/list", data, "post", true, "application/json");
|
||||
},
|
||||
getExchangeDetail(id) {
|
||||
return utils_request.request("/exchange/" + id, {}, "get", false);
|
||||
},
|
||||
getExchangeVote(id) {
|
||||
return utils_request.request("/exchange/vote/" + id, {}, "get", false);
|
||||
},
|
||||
exchangeCollect(id) {
|
||||
return utils_request.request("/exchange/collect/" + id, {}, "post", false);
|
||||
},
|
||||
cancelExchangeCollect(id) {
|
||||
return utils_request.request("/exchange/collect/" + id, {}, "delete", false);
|
||||
},
|
||||
addExchangeComment(id, data) {
|
||||
return utils_request.request("/exchange/comment/" + id, data, "post", true, "application/json");
|
||||
},
|
||||
delExchangeComment(id) {
|
||||
return utils_request.request("/exchange/comment/" + id, {}, "delete", false);
|
||||
},
|
||||
topExchangeComment(id) {
|
||||
return utils_request.request("/exchange/comment/top/" + id, {}, "put", false);
|
||||
},
|
||||
cancleTopExchangeComment(id) {
|
||||
return utils_request.request("/exchange/comment/top/" + id, {}, "delete", false);
|
||||
},
|
||||
getExchangeComment(data) {
|
||||
return utils_request.request("/exchange/comment/page", data, "post", false, "application/json");
|
||||
},
|
||||
getExchangeCommentUser(data) {
|
||||
return utils_request.request("/exchange/user/comment/page", data, "post", false, "application/json");
|
||||
},
|
||||
addExchange(data) {
|
||||
return utils_request.request("/exchange", data, "post", false, "application/json");
|
||||
},
|
||||
getDraftList(data) {
|
||||
return utils_request.request("/exchange/draft/search", data, "post", false, "application/json");
|
||||
},
|
||||
saveDraft(data) {
|
||||
return utils_request.request("/exchange/draft", data, "post", true, "application/json");
|
||||
},
|
||||
delDraft(id) {
|
||||
return utils_request.request("/exchange/draft/" + id, {}, "delete", false);
|
||||
},
|
||||
getVideoCommentUser(data) {
|
||||
return utils_request.request("/clinical/video/user/comment/page", data, "post", false, "application/json");
|
||||
},
|
||||
getArticleCommentUser(data) {
|
||||
return utils_request.request("/clinical/article/user/comment/page", data, "post", false, "application/json");
|
||||
},
|
||||
getMyCollect(data) {
|
||||
return utils_request.request("/user/collect/search", data, "post", false, "application/json");
|
||||
},
|
||||
getMyRead(data) {
|
||||
return utils_request.request("/user/case/read/search", data, "post", true, "application/json");
|
||||
},
|
||||
getOss(data) {
|
||||
return utils_request.request("/sign/oss", data, "get", false);
|
||||
},
|
||||
getCaseLabel(data) {
|
||||
return utils_request.request("/case/label", data, "get", false);
|
||||
},
|
||||
getSearchLabel(data) {
|
||||
return utils_request.request("/clinical/label/search", data, "post", true, "application/json");
|
||||
},
|
||||
addVote(id, data) {
|
||||
return utils_request.request("/exchange/vote/" + id, data, "post", true, "application/json");
|
||||
},
|
||||
ossUpload(url, data) {
|
||||
return utils_request.request(url, data, "post", "multipart/form-data");
|
||||
},
|
||||
getUserPoint(data) {
|
||||
return utils_request.request("/user/point", data, "get");
|
||||
},
|
||||
givePoint(data) {
|
||||
return utils_request.request("/reward", data, "post", true);
|
||||
},
|
||||
h5Login(data) {
|
||||
return utils_request.request("/login/hcp", data, "post", true);
|
||||
},
|
||||
readRecord(data) {
|
||||
return utils_request.request("/user/case/read", data, "post", false, "application/json");
|
||||
},
|
||||
updateExchange(id, data) {
|
||||
return utils_request.request("/exchange/" + id, data, "put", true, "application/json");
|
||||
},
|
||||
delExchange(id) {
|
||||
return utils_request.request("/exchange/" + id, {}, "delete", true);
|
||||
}
|
||||
};
|
||||
exports.api = api;
|
||||
//# sourceMappingURL=../../.sourcemap/mp-weixin/api/api.js.map
|
||||
61
unpackage/dist/dev/mp-weixin/app.js
vendored
61
unpackage/dist/dev/mp-weixin/app.js
vendored
@ -1,61 +0,0 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
||||
const common_vendor = require("./common/vendor.js");
|
||||
if (!Math) {
|
||||
"./pages/index/index.js";
|
||||
"./pages/publish/publish.js";
|
||||
"./pages/certImg/certImg.js";
|
||||
"./pages/sickList/sickList.js";
|
||||
"./pages/videoList/videoList.js";
|
||||
"./pages/login/login.js";
|
||||
"./pages/caseTalk/caseTalk.js";
|
||||
"./pages/specialList/specialList.js";
|
||||
"./pages/certList/certList.js";
|
||||
"./pages/my/my.js";
|
||||
"./pages/myJoin/myJoin.js";
|
||||
"./pages/myCollect/myCollect.js";
|
||||
"./pages/detail/detail.js";
|
||||
"./pages/search/search.js";
|
||||
"./pages/web/web.js";
|
||||
"./pages/searchList/searchList.js";
|
||||
"./pages/case/case.js";
|
||||
"./pages/apply/apply.js";
|
||||
"./pages/register/register.js";
|
||||
"./pages_case/index/index.js";
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "App",
|
||||
setup(__props) {
|
||||
common_vendor.onLaunch(() => {
|
||||
common_vendor.index.__f__("log", "at App.vue:4", "App Launch");
|
||||
});
|
||||
common_vendor.onShow(() => {
|
||||
common_vendor.index.__f__("log", "at App.vue:7", "App Show");
|
||||
});
|
||||
common_vendor.onHide(() => {
|
||||
common_vendor.index.__f__("log", "at App.vue:11", "App Hide");
|
||||
});
|
||||
return () => {
|
||||
};
|
||||
}
|
||||
};
|
||||
function createApp() {
|
||||
const app = common_vendor.createSSRApp(_sfc_main);
|
||||
app.use(common_vendor.uviewPlus, async () => {
|
||||
return {
|
||||
options: {
|
||||
// 修改$u.config对象的属性
|
||||
config: {
|
||||
// 修改默认单位为rpx,相当于执行 uni.$u.config.unit = 'rpx'
|
||||
unit: "rpx"
|
||||
}
|
||||
}
|
||||
};
|
||||
});
|
||||
return {
|
||||
app
|
||||
};
|
||||
}
|
||||
createApp().app.mount("#app");
|
||||
exports.createApp = createApp;
|
||||
//# sourceMappingURL=../.sourcemap/mp-weixin/app.js.map
|
||||
44
unpackage/dist/dev/mp-weixin/app.json
vendored
44
unpackage/dist/dev/mp-weixin/app.json
vendored
@ -1,44 +0,0 @@
|
||||
{
|
||||
"pages": [
|
||||
"pages/index/index",
|
||||
"pages/publish/publish",
|
||||
"pages/certImg/certImg",
|
||||
"pages/sickList/sickList",
|
||||
"pages/videoList/videoList",
|
||||
"pages/login/login",
|
||||
"pages/caseTalk/caseTalk",
|
||||
"pages/specialList/specialList",
|
||||
"pages/certList/certList",
|
||||
"pages/my/my",
|
||||
"pages/myJoin/myJoin",
|
||||
"pages/myCollect/myCollect",
|
||||
"pages/detail/detail",
|
||||
"pages/search/search",
|
||||
"pages/web/web",
|
||||
"pages/searchList/searchList",
|
||||
"pages/case/case",
|
||||
"pages/apply/apply",
|
||||
"pages/register/register"
|
||||
],
|
||||
"subPackages": [
|
||||
{
|
||||
"root": "pages_case",
|
||||
"pages": [
|
||||
"index/index"
|
||||
]
|
||||
}
|
||||
],
|
||||
"window": {
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "uni-app",
|
||||
"navigationBarBackgroundColor": "#F8F8F8",
|
||||
"backgroundColor": "#F8F8F8"
|
||||
},
|
||||
"plugins": {
|
||||
"polyv-player": {
|
||||
"version": "1.9.1",
|
||||
"provider": "wx4a350a258a6f7876"
|
||||
}
|
||||
},
|
||||
"usingComponents": {}
|
||||
}
|
||||
40
unpackage/dist/dev/mp-weixin/app.wxss
vendored
40
unpackage/dist/dev/mp-weixin/app.wxss
vendored
@ -1,40 +0,0 @@
|
||||
|
||||
|
||||
/*每个页面公共css */
|
||||
wx-button:after{
|
||||
border: none;
|
||||
}
|
||||
.ellipsis-two-lines {
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
overflow: hidden;
|
||||
}
|
||||
.back{
|
||||
/* margin-top: -8rpx; */
|
||||
padding:0 20rpx 0rpx 20rpx;
|
||||
}
|
||||
.ellipsis-one-lines {
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
.u-image{
|
||||
background: none!important;
|
||||
}
|
||||
.u-steps-item__line{
|
||||
height:36px!important;
|
||||
}
|
||||
.casesdown.active{
|
||||
color:#3CC7C0!important;
|
||||
}
|
||||
.u-dropdown__menu__item__arrow--rotate .uicon-arrow-down{
|
||||
color: #3cc7c0 !important;
|
||||
}
|
||||
.tagbox{
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
.tagbox .tag{
|
||||
margin:5rpx 0 ;
|
||||
}
|
||||
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;}
|
||||
76
unpackage/dist/dev/mp-weixin/common/assets.js
vendored
76
unpackage/dist/dev/mp-weixin/common/assets.js
vendored
@ -1,76 +0,0 @@
|
||||
"use strict";
|
||||
const videoImg$1 = "/static/video.png";
|
||||
const sickImg = "/static/sick.png";
|
||||
const hospitalImg = "/static/hospital.png";
|
||||
const doctorImg = "/static/doctor.png";
|
||||
const photoImg = "/static/photo.png";
|
||||
const addImg = "/static/add.png";
|
||||
const videoImg = "/static/videoicon.png";
|
||||
const voteImg = "/static/vote.png";
|
||||
const voteOnImg = "/static/voteon.png";
|
||||
const draftImg = "/static/draft.png";
|
||||
const switchImg = "/static/switch.png";
|
||||
const arrowrightImg = "/static/arrowright.png";
|
||||
const caseImg = "/static/caseIcon.png";
|
||||
const headImg = "/static/headImg.png";
|
||||
const certImg = "/static/cert.png";
|
||||
const myFile = "/static/myFile.png";
|
||||
const myDownload = "/static/myDownload.png";
|
||||
const myCollect = "/static/myCollect.png";
|
||||
const myHospital = "/static/myHospital.png";
|
||||
const myJoin = "/static/myJoin.png";
|
||||
const myTalk = "/static/myTalk.png";
|
||||
const collectonImg = "/static/collectOn.png";
|
||||
const collectImg = "/static/collect.png";
|
||||
const shangImg = "/static/shang.png";
|
||||
const chatImg = "/static/chat.png";
|
||||
const uploadImg = "/static/uploadImg.png";
|
||||
const commentImg = "/static/comment_icon.png";
|
||||
const selfImg = "/static/benren.png";
|
||||
const img = "/static/default.png";
|
||||
const group = "/static/group.png";
|
||||
const ku = "/static/ku.png";
|
||||
const ku_on = "/static/ku_on.png";
|
||||
const group_on = "/static/group_on.png";
|
||||
const talk = "/static/talk.png";
|
||||
const talk_on = "/static/talk_on.png";
|
||||
const logoImg = "/static/logo.png";
|
||||
const navbg = "/static/navbg.png";
|
||||
exports.addImg = addImg;
|
||||
exports.arrowrightImg = arrowrightImg;
|
||||
exports.caseImg = caseImg;
|
||||
exports.certImg = certImg;
|
||||
exports.chatImg = chatImg;
|
||||
exports.collectImg = collectImg;
|
||||
exports.collectonImg = collectonImg;
|
||||
exports.commentImg = commentImg;
|
||||
exports.doctorImg = doctorImg;
|
||||
exports.draftImg = draftImg;
|
||||
exports.group = group;
|
||||
exports.group_on = group_on;
|
||||
exports.headImg = headImg;
|
||||
exports.hospitalImg = hospitalImg;
|
||||
exports.img = img;
|
||||
exports.ku = ku;
|
||||
exports.ku_on = ku_on;
|
||||
exports.logoImg = logoImg;
|
||||
exports.myCollect = myCollect;
|
||||
exports.myDownload = myDownload;
|
||||
exports.myFile = myFile;
|
||||
exports.myHospital = myHospital;
|
||||
exports.myJoin = myJoin;
|
||||
exports.myTalk = myTalk;
|
||||
exports.navbg = navbg;
|
||||
exports.photoImg = photoImg;
|
||||
exports.selfImg = selfImg;
|
||||
exports.shangImg = shangImg;
|
||||
exports.sickImg = sickImg;
|
||||
exports.switchImg = switchImg;
|
||||
exports.talk = talk;
|
||||
exports.talk_on = talk_on;
|
||||
exports.uploadImg = uploadImg;
|
||||
exports.videoImg = videoImg$1;
|
||||
exports.videoImg$1 = videoImg;
|
||||
exports.voteImg = voteImg;
|
||||
exports.voteOnImg = voteOnImg;
|
||||
//# sourceMappingURL=../../.sourcemap/mp-weixin/common/assets.js.map
|
||||
16852
unpackage/dist/dev/mp-weixin/common/vendor.js
vendored
16852
unpackage/dist/dev/mp-weixin/common/vendor.js
vendored
File diff suppressed because one or more lines are too long
@ -1,94 +0,0 @@
|
||||
"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 props = __props;
|
||||
const useImg = common_vendor.ref("");
|
||||
const goBack = () => {
|
||||
common_vendor.index.navigateBack({
|
||||
delta: 1,
|
||||
fail() {
|
||||
common_vendor.index.redirectTo({
|
||||
url: "/pages/index/index"
|
||||
});
|
||||
}
|
||||
});
|
||||
};
|
||||
const goHome = () => {
|
||||
common_vendor.index.__f__("log", "at components/backDetailNav/backDetailNav.vue:67", props.navName);
|
||||
if (props.navName == "肝胆相照病例交流园地") {
|
||||
common_vendor.index.reLaunch({
|
||||
url: "/pages/caseTalk/caseTalk"
|
||||
});
|
||||
} else {
|
||||
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: useImg.value ? useImg.value : 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
|
||||
@ -1,7 +0,0 @@
|
||||
{
|
||||
"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 +0,0 @@
|
||||
<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>
|
||||
@ -1,91 +0,0 @@
|
||||
/**
|
||||
* 这里是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;
|
||||
}
|
||||
@ -1,59 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.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: "backLogoNav",
|
||||
props: {
|
||||
navName: {
|
||||
type: String,
|
||||
default: "我的"
|
||||
}
|
||||
},
|
||||
setup(__props) {
|
||||
const goBack = () => {
|
||||
common_vendor.index.navigateBack({
|
||||
delta: 1,
|
||||
fail() {
|
||||
common_vendor.index.redirectTo({
|
||||
url: "/pages/index/index"
|
||||
});
|
||||
}
|
||||
});
|
||||
};
|
||||
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.t(__props.navName),
|
||||
e: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.navbg),
|
||||
width: "100rpx",
|
||||
height: "31rpx"
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-8850a534"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/backLogoNav/backLogoNav.js.map
|
||||
@ -1,7 +0,0 @@
|
||||
{
|
||||
"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 +0,0 @@
|
||||
<view class="navbox data-v-8850a534"><view class="bg data-v-8850a534"></view><view class="namebox data-v-8850a534"><view class="back data-v-8850a534" bindtap="{{b}}"><u-icon wx:if="{{a}}" class="data-v-8850a534" u-i="8850a534-0" bind:__l="__l" u-p="{{a}}"></u-icon></view><view class="logo data-v-8850a534"><up--image wx:if="{{c}}" class="data-v-8850a534" u-i="8850a534-1" bind:__l="__l" u-p="{{c}}"></up--image></view><view class="name data-v-8850a534">{{d}} <view class="navbg data-v-8850a534"><up--image wx:if="{{e}}" class="data-v-8850a534" u-i="8850a534-2" bind:__l="__l" u-p="{{e}}"></up--image></view></view></view></view>
|
||||
@ -1,88 +0,0 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.navbox.data-v-8850a534 {
|
||||
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-8850a534 {
|
||||
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-8850a534 {
|
||||
padding-top: 102rpx;
|
||||
margin: 0rpx 30rpx 0rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.namebox .logo.data-v-8850a534 {
|
||||
margin-left: 35rpx;
|
||||
}
|
||||
.namebox .back.data-v-8850a534 {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
}
|
||||
.namebox .name.data-v-8850a534 {
|
||||
margin-left: 16rpx;
|
||||
font-size: 30rpx;
|
||||
color: #111827;
|
||||
position: relative;
|
||||
}
|
||||
.namebox .name .navbg.data-v-8850a534 {
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
top: 10rpx;
|
||||
left: 18rpx;
|
||||
}
|
||||
.search.data-v-8850a534 {
|
||||
margin: 40rpx 30rpx 0rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.search .searchwrap.data-v-8850a534 {
|
||||
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-8850a534 {
|
||||
margin-left: 15rpx;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
@ -1,45 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
if (!Array) {
|
||||
const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon");
|
||||
_easycom_u_icon2();
|
||||
}
|
||||
const _easycom_u_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
|
||||
if (!Math) {
|
||||
_easycom_u_icon();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "backNav",
|
||||
props: {
|
||||
navName: {
|
||||
type: String,
|
||||
default: "我的"
|
||||
}
|
||||
},
|
||||
setup(__props) {
|
||||
const goBack = () => {
|
||||
common_vendor.index.navigateBack({
|
||||
delta: 1,
|
||||
fail() {
|
||||
common_vendor.index.redirectTo({
|
||||
url: "/pages/index/index"
|
||||
});
|
||||
}
|
||||
});
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.p({
|
||||
name: "arrow-left",
|
||||
color: "#000",
|
||||
size: "24"
|
||||
}),
|
||||
b: common_vendor.o(goBack),
|
||||
c: common_vendor.t(__props.navName)
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-62c96af9"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/backNav/backNav.js.map
|
||||
@ -1,6 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"u-icon": "../../node-modules/uview-plus/components/u-icon/u-icon"
|
||||
}
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
<view class="navbox data-v-62c96af9"><view class="bg data-v-62c96af9"></view><view class="namebox data-v-62c96af9"><view class="back data-v-62c96af9" bindtap="{{b}}"><u-icon wx:if="{{a}}" class="data-v-62c96af9" u-i="62c96af9-0" bind:__l="__l" u-p="{{a}}"></u-icon></view><view class="name data-v-62c96af9">{{c}}</view></view></view>
|
||||
@ -1,77 +0,0 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.navbox.data-v-62c96af9 {
|
||||
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%);
|
||||
}
|
||||
.navbox .bg.data-v-62c96af9 {
|
||||
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%);
|
||||
}
|
||||
.navbox .namebox.data-v-62c96af9 {
|
||||
padding-top: 102rpx;
|
||||
justify-content: center;
|
||||
margin: 0rpx 30rpx 0rpx;
|
||||
position: relative;
|
||||
display: flex;
|
||||
}
|
||||
.navbox .namebox .back.data-v-62c96af9 {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
}
|
||||
.navbox .namebox .name.data-v-62c96af9 {
|
||||
margin-left: 16rpx;
|
||||
font-size: 30rpx;
|
||||
color: #111827;
|
||||
}
|
||||
.navbox .search.data-v-62c96af9 {
|
||||
margin: 40rpx 30rpx 0rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.navbox .search .searchwrap.data-v-62c96af9 {
|
||||
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;
|
||||
}
|
||||
.navbox .search .searchwrap .ipt.data-v-62c96af9 {
|
||||
margin-left: 15rpx;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
@ -1,102 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const utils_navTo = require("../../utils/navTo.js");
|
||||
if (!Array) {
|
||||
const _easycom_up__image2 = common_vendor.resolveComponent("up--image");
|
||||
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
|
||||
(_easycom_up__image2 + _easycom_up_icon2)();
|
||||
}
|
||||
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";
|
||||
if (!Math) {
|
||||
(_easycom_up__image + _easycom_up_icon)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "navBar",
|
||||
props: {
|
||||
searchWord: {
|
||||
type: String,
|
||||
default: ""
|
||||
},
|
||||
type: {
|
||||
type: String,
|
||||
default: "home"
|
||||
},
|
||||
navName: {
|
||||
type: String,
|
||||
default: "肝胆相照临床病例库"
|
||||
}
|
||||
},
|
||||
emits: ["changeWord"],
|
||||
setup(__props, { emit: __emit }) {
|
||||
const userHeadImg = common_vendor.ref("");
|
||||
const keyWord = common_vendor.ref("");
|
||||
const props = __props;
|
||||
const placeholder = common_vendor.ref("输入疾病名称、标题、作者搜索");
|
||||
common_vendor.watch(() => props.type, (newVal) => {
|
||||
}, { immediate: true });
|
||||
common_vendor.watch(() => props.searchWord, (newVal) => {
|
||||
keyWord.value = newVal;
|
||||
});
|
||||
const goMy = () => {
|
||||
utils_navTo.navTo({
|
||||
url: "/pages/my/my"
|
||||
});
|
||||
};
|
||||
const search = () => {
|
||||
if (props.type == "home") {
|
||||
utils_navTo.navTo({
|
||||
url: `/pages/search/search?keyWord=${keyWord.value}&from=home`
|
||||
});
|
||||
} else if (props.type == "caseTalk") {
|
||||
utils_navTo.navTo({
|
||||
url: `/pages/specialList/specialList?keyWord=${keyWord.value}&from=talkHome`
|
||||
});
|
||||
}
|
||||
};
|
||||
common_vendor.onLoad(() => {
|
||||
let userInfo = common_vendor.index.getStorageSync("userInfo");
|
||||
if (userInfo && userInfo.avatar) {
|
||||
userHeadImg.value = userInfo.avatar;
|
||||
} else {
|
||||
userHeadImg.value = common_assets.headImg;
|
||||
}
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.logoImg),
|
||||
width: "62rpx",
|
||||
height: "62rpx",
|
||||
radius: "50%"
|
||||
}),
|
||||
b: common_vendor.t(__props.navName),
|
||||
c: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.navbg),
|
||||
width: "100rpx",
|
||||
height: "31rpx"
|
||||
}),
|
||||
d: placeholder.value,
|
||||
e: keyWord.value,
|
||||
f: common_vendor.o(($event) => keyWord.value = $event.detail.value),
|
||||
g: common_vendor.o(search),
|
||||
h: common_vendor.p({
|
||||
name: "search",
|
||||
size: "26",
|
||||
color: "#999"
|
||||
}),
|
||||
i: common_vendor.o(goMy),
|
||||
j: common_vendor.p({
|
||||
src: userHeadImg.value,
|
||||
width: "62rpx",
|
||||
height: "62rpx",
|
||||
radius: "50%"
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-fba290dc"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/navBar/navBar.js.map
|
||||
@ -1,7 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"up--image": "../../node-modules/uview-plus/components/u--image/u--image",
|
||||
"up-icon": "../../node-modules/uview-plus/components/u-icon/u-icon"
|
||||
}
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
<view class="navbox data-v-fba290dc"><view class="bg data-v-fba290dc"></view><view class="namebox data-v-fba290dc"><view class="logo data-v-fba290dc"><up--image wx:if="{{a}}" class="data-v-fba290dc" u-i="fba290dc-0" bind:__l="__l" u-p="{{a}}"></up--image></view><view class="name data-v-fba290dc">{{b}} <view class="navbg data-v-fba290dc"><up--image wx:if="{{c}}" class="data-v-fba290dc" u-i="fba290dc-1" bind:__l="__l" u-p="{{c}}"></up--image></view></view></view><view class="search data-v-fba290dc"><view class="searchwrap data-v-fba290dc"><input type="text" class="ipt data-v-fba290dc" placeholder="{{d}}" value="{{e}}" bindinput="{{f}}"/><up-icon wx:if="{{h}}" class="data-v-fba290dc" bindclick="{{g}}" u-i="fba290dc-2" bind:__l="__l" u-p="{{h}}"></up-icon></view><up--image wx:if="{{j}}" class="data-v-fba290dc" bindclick="{{i}}" u-i="fba290dc-3" bind:__l="__l" u-p="{{j}}"></up--image></view></view>
|
||||
@ -1,80 +0,0 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.navbox.data-v-fba290dc {
|
||||
padding-bottom: 20rpx;
|
||||
background-color: #f9fafb;
|
||||
position: relative;
|
||||
background: radial-gradient(60% 90% at 4% 2%, #43c9c3 0%, rgba(255, 255, 255, 0) 100%);
|
||||
}
|
||||
.bg.data-v-fba290dc {
|
||||
z-index: -1;
|
||||
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-fba290dc {
|
||||
padding-top: 102rpx;
|
||||
margin: 0rpx 30rpx 0rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.namebox .name.data-v-fba290dc {
|
||||
margin-left: 16rpx;
|
||||
font-size: 30rpx;
|
||||
color: #111827;
|
||||
position: relative;
|
||||
}
|
||||
.namebox .name .navbg.data-v-fba290dc {
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
top: 10rpx;
|
||||
left: 18rpx;
|
||||
}
|
||||
.search.data-v-fba290dc {
|
||||
margin: 40rpx 30rpx 0rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.search .searchwrap.data-v-fba290dc {
|
||||
display: flex;
|
||||
padding-right: 35rpx;
|
||||
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-fba290dc {
|
||||
flex: 1;
|
||||
margin-left: 15rpx;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
@ -1,128 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const utils_navTo = require("../../utils/navTo.js");
|
||||
if (!Array) {
|
||||
const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon");
|
||||
const _easycom_up__image2 = common_vendor.resolveComponent("up--image");
|
||||
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
|
||||
(_easycom_u_icon2 + _easycom_up__image2 + _easycom_up_icon2)();
|
||||
}
|
||||
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";
|
||||
const _easycom_up_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
|
||||
if (!Math) {
|
||||
(_easycom_u_icon + _easycom_up__image + _easycom_up_icon)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "navBarSearch",
|
||||
props: {
|
||||
searchWord: {
|
||||
type: String,
|
||||
default: ""
|
||||
},
|
||||
type: {
|
||||
type: String,
|
||||
default: ""
|
||||
},
|
||||
navName: {
|
||||
type: String,
|
||||
default: "肝胆相照临床病例库"
|
||||
}
|
||||
},
|
||||
emits: ["changeWord"],
|
||||
setup(__props, { emit: __emit }) {
|
||||
const keyWord = common_vendor.ref("");
|
||||
const userHeadImg = common_vendor.ref("");
|
||||
const props = __props;
|
||||
const placeholder = common_vendor.ref("输入疾病名称、标题、作者搜索");
|
||||
common_vendor.watch(() => props.type, (newVal) => {
|
||||
if (newVal === "doctor") {
|
||||
placeholder.value = "输入医生姓名";
|
||||
} else if (newVal === "hospital") {
|
||||
placeholder.value = "输入医院名称";
|
||||
} else if (newVal === "video") {
|
||||
placeholder.value = "输入疾病名称、标题、作者搜索";
|
||||
} else if (newVal === "article") {
|
||||
placeholder.value = "搜索疾病、症状、医院";
|
||||
} else if (newVal === "case") {
|
||||
placeholder.value = "输入疾病名称";
|
||||
} else if (newVal === "myCase") {
|
||||
placeholder.value = "输入疾病名称、标题搜索";
|
||||
} else if (newVal === "cert") {
|
||||
placeholder.value = "输入疾病名称、标题搜索";
|
||||
}
|
||||
}, { immediate: true });
|
||||
common_vendor.watch(() => props.searchWord, (newVal) => {
|
||||
keyWord.value = newVal;
|
||||
});
|
||||
const emit = __emit;
|
||||
const goMy = () => {
|
||||
utils_navTo.navTo({
|
||||
url: "/pages/my/my"
|
||||
});
|
||||
};
|
||||
const goBack = () => {
|
||||
common_vendor.index.navigateBack({
|
||||
delta: 1,
|
||||
fail() {
|
||||
common_vendor.index.redirectTo({
|
||||
url: "/pages/index/index"
|
||||
});
|
||||
}
|
||||
});
|
||||
};
|
||||
common_vendor.onLoad(() => {
|
||||
let userInfo = common_vendor.index.getStorageSync("userInfo");
|
||||
if (userInfo && userInfo.avatar) {
|
||||
userHeadImg.value = userInfo.avatar;
|
||||
} else {
|
||||
userHeadImg.value = common_assets.headImg;
|
||||
}
|
||||
});
|
||||
const search = () => {
|
||||
emit("changeWord", keyWord.value);
|
||||
};
|
||||
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.t(__props.navName),
|
||||
e: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.navbg),
|
||||
width: "100rpx",
|
||||
height: "31rpx"
|
||||
}),
|
||||
f: placeholder.value,
|
||||
g: keyWord.value,
|
||||
h: common_vendor.o(($event) => keyWord.value = $event.detail.value),
|
||||
i: common_vendor.o(search),
|
||||
j: common_vendor.p({
|
||||
name: "search",
|
||||
size: "26",
|
||||
color: "#999"
|
||||
}),
|
||||
k: common_vendor.o(goMy),
|
||||
l: common_vendor.p({
|
||||
src: userHeadImg.value,
|
||||
width: "62rpx",
|
||||
height: "62rpx",
|
||||
radius: "50%"
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-4eb3cf28"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/navBarSearch/navBarSearch.js.map
|
||||
@ -1,8 +0,0 @@
|
||||
{
|
||||
"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",
|
||||
"up-icon": "../../node-modules/uview-plus/components/u-icon/u-icon"
|
||||
}
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
<view class="navbox data-v-4eb3cf28"><view class="bg data-v-4eb3cf28"></view><view class="namebox data-v-4eb3cf28"><view class="back data-v-4eb3cf28" bindtap="{{b}}"><u-icon wx:if="{{a}}" class="data-v-4eb3cf28" u-i="4eb3cf28-0" bind:__l="__l" u-p="{{a}}"></u-icon></view><view class="logo data-v-4eb3cf28"><up--image wx:if="{{c}}" class="data-v-4eb3cf28" u-i="4eb3cf28-1" bind:__l="__l" u-p="{{c}}"></up--image></view><view class="name data-v-4eb3cf28">{{d}} <view class="navbg data-v-4eb3cf28"><up--image wx:if="{{e}}" class="data-v-4eb3cf28" u-i="4eb3cf28-2" bind:__l="__l" u-p="{{e}}"></up--image></view></view></view><view class="search data-v-4eb3cf28"><view class="searchwrap data-v-4eb3cf28"><input type="text" class="ipt data-v-4eb3cf28" placeholder="{{f}}" value="{{g}}" bindinput="{{h}}"/><up-icon wx:if="{{j}}" class="data-v-4eb3cf28" bindclick="{{i}}" u-i="4eb3cf28-3" bind:__l="__l" u-p="{{j}}"></up-icon></view><up--image wx:if="{{l}}" class="data-v-4eb3cf28" bindclick="{{k}}" u-i="4eb3cf28-4" bind:__l="__l" u-p="{{l}}"></up--image></view></view>
|
||||
@ -1,87 +0,0 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.navbox.data-v-4eb3cf28 {
|
||||
padding-bottom: 20rpx;
|
||||
background-color: #f9fafb;
|
||||
position: relative;
|
||||
background: radial-gradient(60% 90% at 4% 2%, #43c9c3 0%, rgba(255, 255, 255, 0) 100%);
|
||||
}
|
||||
.bg.data-v-4eb3cf28 {
|
||||
z-index: -1;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
background: radial-gradient(43% 90% at 84% 6%, #ffd6c9 0%, rgba(255, 255, 255, 0) 100%);
|
||||
}
|
||||
.data-v-4eb3cf28 .u-image {
|
||||
background: none !important;
|
||||
}
|
||||
.namebox.data-v-4eb3cf28 {
|
||||
padding-top: 102rpx;
|
||||
margin: 0rpx 30rpx 0rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.namebox .logo.data-v-4eb3cf28 {
|
||||
margin-left: 35rpx;
|
||||
}
|
||||
.namebox .name.data-v-4eb3cf28 {
|
||||
margin-left: 16rpx;
|
||||
font-size: 30rpx;
|
||||
margin-right: 200rpx;
|
||||
color: #111827;
|
||||
position: relative;
|
||||
}
|
||||
.namebox .name .navbg.data-v-4eb3cf28 {
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
top: 10rpx;
|
||||
left: 18rpx;
|
||||
}
|
||||
.search.data-v-4eb3cf28 {
|
||||
margin: 40rpx 30rpx 0rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.search .searchwrap.data-v-4eb3cf28 {
|
||||
display: flex;
|
||||
padding-right: 35rpx;
|
||||
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-4eb3cf28 {
|
||||
flex: 1;
|
||||
margin-left: 15rpx;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
@ -1,514 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const utils_throttle = require("../../utils/throttle.js");
|
||||
const api_api = require("../../api/api.js");
|
||||
const uni_modules_svEditor_components_common_utils = require("../../uni_modules/sv-editor/components/common/utils.js");
|
||||
if (!Array) {
|
||||
const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon");
|
||||
const _easycom_up__image2 = common_vendor.resolveComponent("up--image");
|
||||
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
|
||||
const _easycom_up_popup2 = common_vendor.resolveComponent("up-popup");
|
||||
(_easycom_u_icon2 + _easycom_up__image2 + _easycom_up_icon2 + _easycom_up_popup2)();
|
||||
}
|
||||
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";
|
||||
const _easycom_up_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
|
||||
const _easycom_up_popup = () => "../../node-modules/uview-plus/components/u-popup/u-popup.js";
|
||||
if (!Math) {
|
||||
(_easycom_u_icon + svEditor + _easycom_up__image + _easycom_up_icon + _easycom_up_popup)();
|
||||
}
|
||||
const svEditor = () => "../../uni_modules/sv-editor/components/sv-editor/sv-editor.js";
|
||||
const _sfc_main = {
|
||||
__name: "pEditor",
|
||||
props: {
|
||||
editorType: {
|
||||
type: String,
|
||||
default: "info"
|
||||
},
|
||||
editorCotent: {
|
||||
type: String,
|
||||
default: ""
|
||||
}
|
||||
},
|
||||
emits: ["closeEditor", "changeEditor"],
|
||||
setup(__props, { expose: __expose, emit: __emit }) {
|
||||
const instace = common_vendor.getCurrentInstance();
|
||||
const PeditorCtx = common_vendor.ref(null);
|
||||
const htmlContent = common_vendor.ref("");
|
||||
const keyboardHeight = common_vendor.ref(0);
|
||||
const videoface = common_vendor.ref("https://caseplatform.oss-cn-beijing.aliyuncs.com/prod/static/shipinfengmian.jpg");
|
||||
const editorHeight = common_vendor.ref(300);
|
||||
common_vendor.ref("病例信息");
|
||||
const placeholder = common_vendor.ref("患者基本情况,检查结果,诊疗图片或视频");
|
||||
const showTitle = common_vendor.ref(false);
|
||||
const props = __props;
|
||||
const showCanvas = common_vendor.ref(false);
|
||||
common_vendor.watch(() => props.editorType, (newVal) => {
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:181", 11111111);
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:182", newVal);
|
||||
if (newVal == "info") {
|
||||
placeholder.value = "患者基本情况,检查结果,诊疗图片或视频";
|
||||
} else {
|
||||
placeholder.value = "分享经验和心得,如:诊断与鉴别诊断易错点,治疗过程难点,病例的相关知识总结及讨论等";
|
||||
}
|
||||
}, { immediate: true });
|
||||
const emits = __emit;
|
||||
const isIOS = common_vendor.ref(false);
|
||||
const insertWord = (word) => {
|
||||
uni_modules_svEditor_components_common_utils.addText(word);
|
||||
showTitle.value = false;
|
||||
};
|
||||
const insertAllWord = () => {
|
||||
let word = [
|
||||
"患者信息",
|
||||
"主诉",
|
||||
"现病史及既往史:",
|
||||
"检查",
|
||||
"临床诊断",
|
||||
"治疗经过及结果"
|
||||
];
|
||||
word.forEach((item) => {
|
||||
uni_modules_svEditor_components_common_utils.addText(item);
|
||||
});
|
||||
showTitle.value = false;
|
||||
};
|
||||
const ready = (e) => {
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:210", e);
|
||||
PeditorCtx.value = e;
|
||||
if (props.editorType == "info") {
|
||||
if (props.editorCotent) {
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:216", "peditor");
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:217", props.editorCotent);
|
||||
PeditorCtx.value.initHtml(props.editorCotent, async (videoUrl) => {
|
||||
let res = "";
|
||||
res = await PeditorCtx.value.createCoverThumbnail(videoface.value);
|
||||
return res;
|
||||
});
|
||||
setTimeout(async () => {
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:231", "qaz");
|
||||
let res = await PeditorCtx.value.getLastContent();
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:233", res);
|
||||
}, 6e3);
|
||||
} else {
|
||||
let html = "<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p><br/><br/>";
|
||||
PeditorCtx.value.initHtml(html);
|
||||
}
|
||||
} else {
|
||||
if (props.editorCotent) {
|
||||
PeditorCtx.value.initHtml(props.editorCotent, async (videoUrl) => {
|
||||
let res = "";
|
||||
res = await PeditorCtx.value.createCoverThumbnail(videoface.value);
|
||||
return res;
|
||||
});
|
||||
} else {
|
||||
let html = "";
|
||||
PeditorCtx.value.initHtml(html);
|
||||
}
|
||||
}
|
||||
common_vendor.index.hideLoading();
|
||||
};
|
||||
const closeSv = utils_throttle.throttle(() => {
|
||||
emits("closeEditor");
|
||||
});
|
||||
const confirm = async () => {
|
||||
const res = await PeditorCtx.value.getLastContent();
|
||||
let html = PeditorCtx.value.exportHtml(res.html.replace("undefined", ""));
|
||||
emits("changeEditor", {
|
||||
type: props.editorType,
|
||||
content: html
|
||||
});
|
||||
};
|
||||
const blur = () => {
|
||||
};
|
||||
const clearMuBan = () => {
|
||||
PeditorCtx.value.initHtml("");
|
||||
};
|
||||
const updatePosition = (c_keyboardHeight) => {
|
||||
const toolbarHeight = 50;
|
||||
const { windowHeight, platform } = common_vendor.index.getSystemInfoSync();
|
||||
let c_editorHeight = keyboardHeight > 0 ? windowHeight - keyboardHeight - toolbarHeight : windowHeight;
|
||||
editorHeight.value = c_editorHeight;
|
||||
keyboardHeight.value = c_keyboardHeight;
|
||||
};
|
||||
common_vendor.onLoad(() => {
|
||||
const platform = common_vendor.index.getSystemInfoSync().platform;
|
||||
isIOS.value = platform === "ios";
|
||||
updatePosition(0);
|
||||
let keyboardHeight2 = 0;
|
||||
common_vendor.index.onKeyboardHeightChange((res) => {
|
||||
if (res.height === keyboardHeight2)
|
||||
return;
|
||||
const duration = res.height > 0 ? res.duration * 1e3 : 0;
|
||||
keyboardHeight2 = res.height;
|
||||
setTimeout(() => {
|
||||
common_vendor.index.pageScrollTo({
|
||||
scrollTop: 0,
|
||||
success() {
|
||||
updatePosition(keyboardHeight2);
|
||||
PeditorCtx.value.scrollView();
|
||||
}
|
||||
});
|
||||
}, duration);
|
||||
});
|
||||
});
|
||||
const fillTextToImgWx = (base64) => {
|
||||
let maskText = "@肝胆相照临床病例库";
|
||||
return new Promise((resolve, reject) => {
|
||||
common_vendor.wx$1.createSelectorQuery().in(instace.proxy).select("#pwatermarkCanvas").fields({
|
||||
node: true,
|
||||
size: true
|
||||
}).exec((res) => {
|
||||
const canvas = res[0].node;
|
||||
const ctx = canvas.getContext("2d");
|
||||
let textMetrics = ctx.measureText(maskText);
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:334", textMetrics);
|
||||
let {
|
||||
width: textWidth,
|
||||
actualBoundingBoxAscent,
|
||||
actualBoundingBoxDescent
|
||||
} = textMetrics;
|
||||
let textHeight = actualBoundingBoxAscent ? actualBoundingBoxAscent + actualBoundingBoxDescent : textMetrics.fontBoundingBoxAscent + textMetrics.fontBoundingBoxDescent;
|
||||
let imgHeight, imgWidth;
|
||||
let font = "";
|
||||
let fontColor = "#fff";
|
||||
let strokeWidth = 10;
|
||||
common_vendor.index.getImageInfo({
|
||||
src: base64,
|
||||
success: (imageRes) => {
|
||||
let scale = imageRes.width / 800 * 30 > 12 ? imageRes.width / 800 * 30 : 12;
|
||||
font = scale + "px Arial";
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:360", imageRes);
|
||||
canvas.width = imageRes.width;
|
||||
canvas.height = imageRes.height;
|
||||
imgHeight = imageRes.height;
|
||||
imgWidth = imageRes.width;
|
||||
const image = canvas.createImage();
|
||||
image.src = "";
|
||||
image.src = base64;
|
||||
image.onload = () => {
|
||||
ctx.drawImage(image, 0, 0, canvas.width, canvas.height);
|
||||
let posXmargin = 20;
|
||||
let posYmargin = 20;
|
||||
let randomNumber = 3;
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:378", "randomNumber:" + randomNumber);
|
||||
switch (randomNumber) {
|
||||
case 0:
|
||||
let lt_x = posXmargin;
|
||||
let lt_y = posYmargin + textHeight;
|
||||
ctx.font = font;
|
||||
ctx.storkStyle = "#000";
|
||||
ctx.strokeWidth = strokeWidth;
|
||||
ctx.fillStyle = "#fff";
|
||||
ctx.fillText(maskText, lt_x, lt_y);
|
||||
break;
|
||||
case 1:
|
||||
let lb_x = posXmargin;
|
||||
let lb_y = imgHeight - posYmargin;
|
||||
ctx.font = font;
|
||||
ctx.fillStyle = fontColor;
|
||||
ctx.strokeStyle = "black";
|
||||
ctx.strokeWidth = strokeWidth;
|
||||
ctx.fillStyle = "#fff";
|
||||
ctx.fillText(maskText, lb_x, lb_y);
|
||||
break;
|
||||
case 2:
|
||||
let rt_x = imgWidth - textWidth * 2.9 - posXmargin <= 0 ? 10 : imgWidth - textWidth * 2.9 - posXmargin;
|
||||
let rt_y = posYmargin + textHeight * 2;
|
||||
ctx.font = font;
|
||||
ctx.fillStyle = fontColor;
|
||||
ctx.strokeStyle = "#000";
|
||||
ctx.strokeWidth = strokeWidth;
|
||||
ctx.fillStyle = "#fff";
|
||||
ctx.fillText(maskText, rt_x, rt_y);
|
||||
ctx.restore();
|
||||
ctx.save();
|
||||
break;
|
||||
case 3:
|
||||
let rb_x = imgWidth - scale * 10 - posXmargin <= 0 ? 10 : imgWidth - scale * 10 - posXmargin;
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:426", rb_x);
|
||||
let rb_y = imgHeight - posYmargin;
|
||||
ctx.font = font;
|
||||
ctx.fillStyle = fontColor;
|
||||
ctx.strokeStyle = "#000";
|
||||
ctx.fillStyle = "#fff";
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:433", "rb_x");
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:434", rb_x);
|
||||
ctx.strokeText(maskText, rb_x, rb_y);
|
||||
ctx.fillText(maskText, rb_x, rb_y);
|
||||
break;
|
||||
}
|
||||
common_vendor.wx$1.canvasToTempFilePath({
|
||||
canvas,
|
||||
success: function(res2) {
|
||||
resolve(res2.tempFilePath);
|
||||
},
|
||||
fail: function(res2) {
|
||||
common_vendor.index.__f__("error", "at components/pEditor/pEditor.vue:456", res2);
|
||||
}
|
||||
});
|
||||
};
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
};
|
||||
const generateRandomNumber = () => {
|
||||
let randomNumber = Math.floor(1e3 + Math.random() * 9e3);
|
||||
return randomNumber;
|
||||
};
|
||||
const getImageFormat = (imageUrl) => {
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:549", imageUrl);
|
||||
const lastDotIndex = imageUrl.lastIndexOf(".");
|
||||
if (lastDotIndex !== -1) {
|
||||
return imageUrl.substring(lastDotIndex + 1);
|
||||
}
|
||||
return "unknown";
|
||||
};
|
||||
const getOss = (temurl) => {
|
||||
api_api.api.getOss({
|
||||
scene: 1
|
||||
}).then((rep) => {
|
||||
let result = rep.data;
|
||||
if (result.code == 200) {
|
||||
let { access_id, dir, policy, signature, host } = result.data;
|
||||
let time = common_vendor.dayjs().format("YYYYMMDDHHmmss");
|
||||
let random = generateRandomNumber();
|
||||
let filename = time + random;
|
||||
let imgType = "." + getImageFormat(temurl);
|
||||
return new Promise((resolve, reject) => {
|
||||
common_vendor.index.uploadFile({
|
||||
url: host,
|
||||
// 仅为示例,非真实的接口地址
|
||||
filePath: temurl,
|
||||
name: "file",
|
||||
formData: {
|
||||
OSSAccessKeyId: access_id,
|
||||
policy,
|
||||
key: dir + time + random + imgType,
|
||||
signature
|
||||
},
|
||||
success(res) {
|
||||
if (res.statusCode === 204) {
|
||||
let url = host + "/" + dir + filename + imgType;
|
||||
uni_modules_svEditor_components_common_utils.addImage([url]);
|
||||
}
|
||||
},
|
||||
fail: (err) => {
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:589", err);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
};
|
||||
const readImages = async (localIds) => {
|
||||
common_vendor.index.showLoading({
|
||||
title: "正在上传图片...",
|
||||
mask: true
|
||||
});
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:602", localIds);
|
||||
let promiseFun = [];
|
||||
for (var i = 0; i < localIds.length; i++) {
|
||||
let img = null;
|
||||
img = await fillTextToImgWx(localIds[i]);
|
||||
promiseFun.push(getOss(img));
|
||||
}
|
||||
Promise.all(promiseFun).then((res) => {
|
||||
common_vendor.index.showToast({
|
||||
title: "上传成功",
|
||||
icon: "none"
|
||||
});
|
||||
});
|
||||
};
|
||||
const insertImage = (file) => {
|
||||
showCanvas.value = true;
|
||||
common_vendor.index.chooseImage({
|
||||
count: 9,
|
||||
//默认9
|
||||
sizeType: ["original", "compressed"],
|
||||
//可以指定是原图还是压缩图,默认二者都有
|
||||
sourceType: ["album"],
|
||||
//从相册选择
|
||||
extension: [".jpg", ".png", ".jpeg"],
|
||||
success: function(res) {
|
||||
readImages(res.tempFilePaths);
|
||||
}
|
||||
});
|
||||
};
|
||||
const HandleAddVideo = async (file) => {
|
||||
common_vendor.index.showLoading({
|
||||
title: "正在上传视频...",
|
||||
mask: true
|
||||
});
|
||||
const videos = await uni_modules_svEditor_components_common_utils.addVideo(async (PeditorCtx2) => {
|
||||
return new Promise((resolve) => {
|
||||
api_api.api.getOss({
|
||||
scene: 2
|
||||
}).then((rep) => {
|
||||
let result = rep.data;
|
||||
if (result.code == 200) {
|
||||
let { access_id, dir, policy, signature, host } = result.data;
|
||||
let time = common_vendor.dayjs().format("YYYYMMDDHHmmss");
|
||||
let random = generateRandomNumber();
|
||||
let filename = time + random;
|
||||
let imgType = "." + getImageFormat(file);
|
||||
return new Promise((res, reject) => {
|
||||
common_vendor.index.uploadFile({
|
||||
url: host,
|
||||
// 仅为示例,非真实的接口地址
|
||||
filePath: file,
|
||||
name: "file",
|
||||
formData: {
|
||||
OSSAccessKeyId: access_id,
|
||||
policy,
|
||||
key: dir + time + random + imgType,
|
||||
signature
|
||||
},
|
||||
async success(res2) {
|
||||
if (res2.statusCode === 204) {
|
||||
let url = host + "/" + dir + filename + imgType;
|
||||
const fileThumbnail = await PeditorCtx2.createCoverThumbnail(videoface.value);
|
||||
resolve([
|
||||
{
|
||||
videoUrl: url,
|
||||
videoImg: fileThumbnail
|
||||
}
|
||||
]);
|
||||
}
|
||||
},
|
||||
fail: (err) => {
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:682", err);
|
||||
}
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
if (videos) {
|
||||
common_vendor.index.hideLoading();
|
||||
common_vendor.index.showToast({ title: "添加视频成功", icon: "none" });
|
||||
} else {
|
||||
common_vendor.index.showToast({ title: "添加视频失败", icon: "none" });
|
||||
}
|
||||
};
|
||||
const insertVideo = (file) => {
|
||||
common_vendor.index.chooseVideo({
|
||||
count: 5,
|
||||
//默认9//可以指定是原图还是压缩图,默认二者都有
|
||||
sourceType: ["album"],
|
||||
//从相册选择
|
||||
extension: [".mp4", ".webm", ".ogg"],
|
||||
success: function(res) {
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:704", res.tempFilePath);
|
||||
HandleAddVideo(res.tempFilePath);
|
||||
}
|
||||
});
|
||||
};
|
||||
const closeTitle = () => {
|
||||
showTitle.value = false;
|
||||
};
|
||||
const openTitle = () => {
|
||||
showTitle.value = true;
|
||||
};
|
||||
const alertTitle = () => {
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:718", "qqqqqq");
|
||||
showTitle.value = true;
|
||||
};
|
||||
const initData = (data) => {
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:722", "init");
|
||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:723", data);
|
||||
htmlContent.value = data;
|
||||
};
|
||||
__expose({ initData });
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.p({
|
||||
name: "arrow-left",
|
||||
color: "#000",
|
||||
size: "24"
|
||||
}),
|
||||
b: common_vendor.o((...args) => common_vendor.unref(closeSv) && common_vendor.unref(closeSv)(...args)),
|
||||
c: common_vendor.t(__props.editorType == "info" ? "病例信息" : "总结与讨论"),
|
||||
d: common_vendor.t(__props.editorType == "info" ? "病例信息" : "总结与讨论"),
|
||||
e: __props.editorType == "result"
|
||||
}, __props.editorType == "result" ? {} : {}, {
|
||||
f: __props.editorType == "info"
|
||||
}, __props.editorType == "info" ? {
|
||||
g: common_vendor.p({
|
||||
name: "trash",
|
||||
color: "#6B7280",
|
||||
size: "18"
|
||||
}),
|
||||
h: common_vendor.o(clearMuBan)
|
||||
} : {}, {
|
||||
i: common_vendor.o(ready),
|
||||
j: common_vendor.o(_ctx.focus),
|
||||
k: common_vendor.o(blur),
|
||||
l: common_vendor.p({
|
||||
placeholder: placeholder.value,
|
||||
eid: "peditor",
|
||||
pasteMode: "origin"
|
||||
}),
|
||||
m: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.photoImg),
|
||||
width: "32rpx",
|
||||
height: "32rpx"
|
||||
}),
|
||||
n: !isIOS.value ? 1 : "",
|
||||
o: common_vendor.o(insertImage),
|
||||
p: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.videoImg$1),
|
||||
width: "32rpx",
|
||||
height: "32rpx"
|
||||
}),
|
||||
q: !isIOS.value ? 1 : "",
|
||||
r: common_vendor.o(insertVideo),
|
||||
s: __props.editorType == "info"
|
||||
}, __props.editorType == "info" ? {
|
||||
t: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.addImg),
|
||||
width: "32rpx",
|
||||
height: "32rpx"
|
||||
}),
|
||||
v: !isIOS.value ? 1 : "",
|
||||
w: common_vendor.o(alertTitle)
|
||||
} : {}, {
|
||||
x: common_vendor.o(confirm),
|
||||
y: showCanvas.value
|
||||
}, showCanvas.value ? {} : {}, {
|
||||
z: common_vendor.p({
|
||||
name: "close",
|
||||
color: "#4B5563",
|
||||
size: "20"
|
||||
}),
|
||||
A: common_vendor.o(closeTitle),
|
||||
B: common_vendor.o(insertAllWord),
|
||||
C: common_vendor.p({
|
||||
name: "plus-circle",
|
||||
color: "#3CC7C0",
|
||||
size: "20"
|
||||
}),
|
||||
D: common_vendor.o(insertAllWord),
|
||||
E: common_vendor.o(($event) => insertWord("患者信息")),
|
||||
F: common_vendor.o(($event) => insertWord("主诉")),
|
||||
G: common_vendor.o(($event) => insertWord("现病史及既往史")),
|
||||
H: common_vendor.o(($event) => insertWord("检查")),
|
||||
I: common_vendor.o(($event) => insertWord("临床诊断")),
|
||||
J: common_vendor.o(($event) => insertWord("治疗经过及结果")),
|
||||
K: common_vendor.o(closeTitle),
|
||||
L: common_vendor.o(openTitle),
|
||||
M: common_vendor.p({
|
||||
round: 10,
|
||||
zIndex: "999999",
|
||||
show: showTitle.value,
|
||||
mode: "bottom"
|
||||
})
|
||||
});
|
||||
};
|
||||
}
|
||||
};
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-a6a7913a"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/pEditor/pEditor.js.map
|
||||
@ -1,10 +0,0 @@
|
||||
{
|
||||
"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",
|
||||
"up-icon": "../../node-modules/uview-plus/components/u-icon/u-icon",
|
||||
"up-popup": "../../node-modules/uview-plus/components/u-popup/u-popup",
|
||||
"sv-editor": "../../uni_modules/sv-editor/components/sv-editor/sv-editor"
|
||||
}
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
<view class="page data-v-a6a7913a"><view class="navbox data-v-a6a7913a"><view class="bg data-v-a6a7913a"></view><view class="namebox data-v-a6a7913a"><view class="back data-v-a6a7913a" bindtap="{{b}}"><u-icon wx:if="{{a}}" class="data-v-a6a7913a" u-i="a6a7913a-0" bind:__l="__l" u-p="{{a}}"></u-icon></view><view class="name data-v-a6a7913a">{{c}}</view></view></view><view class="container data-v-a6a7913a"><view class="row data-v-a6a7913a"><view class="left data-v-a6a7913a">{{d}}<text wx:if="{{e}}" class="tip data-v-a6a7913a">(可不填)</text></view><view wx:if="{{f}}" class="right data-v-a6a7913a" bindtap="{{h}}"><u-icon wx:if="{{g}}" class="data-v-a6a7913a" u-i="a6a7913a-1" bind:__l="__l" u-p="{{g}}"></u-icon> 清除模板 </view></view><view class="editorbox data-v-a6a7913a"><sv-editor wx:if="{{l}}" class="data-v-a6a7913a" bindready="{{i}}" bindfocus="{{j}}" bindblur="{{k}}" u-i="a6a7913a-2" bind:__l="__l" u-p="{{l}}"></sv-editor></view></view><view class="toolbar data-v-a6a7913a"><view class="toolbox data-v-a6a7913a"><view class="cellbox data-v-a6a7913a"><view class="cell data-v-a6a7913a" bindtap="{{o}}"><view class="{{['imgbox', 'data-v-a6a7913a', n && 'active']}}"><up--image wx:if="{{m}}" class="headImg data-v-a6a7913a" u-i="a6a7913a-3" bind:__l="__l" u-p="{{m}}"></up--image></view><view class="name data-v-a6a7913a">添加图片</view></view><view class="cell data-v-a6a7913a" bindtap="{{r}}"><view class="{{['imgbox', 'data-v-a6a7913a', q && 'active']}}"><up--image wx:if="{{p}}" class="headImg data-v-a6a7913a" u-i="a6a7913a-4" bind:__l="__l" u-p="{{p}}"></up--image></view><view class="name data-v-a6a7913a">添加视频</view></view><view wx:if="{{s}}" class="cell data-v-a6a7913a" bindtap="{{w}}"><view class="{{['imgbox', 'data-v-a6a7913a', v && 'active']}}"><up--image wx:if="{{t}}" class="headImg data-v-a6a7913a" u-i="a6a7913a-5" bind:__l="__l" u-p="{{t}}"></up--image></view><view class="name data-v-a6a7913a">添加小标题</view></view></view><view class="btn data-v-a6a7913a" bindtap="{{x}}">确定</view></view><canvas wx:if="{{y}}" class="data-v-a6a7913a" type="2d" id="pwatermarkCanvas" style="width:200px;height:200px;position:fixed;top:-9999px"/></view><up-popup wx:if="{{M}}" class="data-v-a6a7913a" u-s="{{['d']}}" bindclose="{{K}}" bindopen="{{L}}" u-i="a6a7913a-6" bind:__l="__l" u-p="{{M}}"><view class="draftpop titlepop data-v-a6a7913a"><view class="titlebox data-v-a6a7913a">添加小标题 <view class="close data-v-a6a7913a" bindtap="{{A}}"><up-icon wx:if="{{z}}" class="data-v-a6a7913a" u-i="a6a7913a-7,a6a7913a-6" bind:__l="__l" u-p="{{z}}"></up-icon></view></view><view class="con data-v-a6a7913a"><view class="top data-v-a6a7913a"><up-icon wx:if="{{C}}" class="data-v-a6a7913a" bindclick="{{B}}" u-i="a6a7913a-8,a6a7913a-6" bind:__l="__l" u-p="{{C}}"></up-icon><view class="desc data-v-a6a7913a" bindtap="{{D}}">一键添加全部</view></view><view class="cellbox data-v-a6a7913a"><view class="cell data-v-a6a7913a" bindtap="{{E}}">患者信息</view><view class="cell data-v-a6a7913a" bindtap="{{F}}">主诉</view><view class="cell data-v-a6a7913a" bindtap="{{G}}">现病史及既往史</view></view><view class="cellbox data-v-a6a7913a"><view class="cell data-v-a6a7913a" bindtap="{{H}}">检查</view><view class="cell data-v-a6a7913a" bindtap="{{I}}">临床诊断</view><view class="cell data-v-a6a7913a" bindtap="{{J}}">治疗经过及结果</view></view></view></view></up-popup></view>
|
||||
@ -1,322 +0,0 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.row.data-v-a6a7913a {
|
||||
padding: 30rpx 30rpx 0;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.row .left.data-v-a6a7913a {
|
||||
font-size: 38rpx;
|
||||
color: #000000;
|
||||
}
|
||||
.row .tip.data-v-a6a7913a {
|
||||
color: #9ca3af;
|
||||
font-size: 32rpx;
|
||||
}
|
||||
.row .right.data-v-a6a7913a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: #6b7280;
|
||||
font-size: 31rpx;
|
||||
}
|
||||
.navbox.data-v-a6a7913a {
|
||||
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%);
|
||||
}
|
||||
.navbox .bg.data-v-a6a7913a {
|
||||
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%);
|
||||
}
|
||||
.navbox .namebox.data-v-a6a7913a {
|
||||
padding-top: 102rpx;
|
||||
justify-content: center;
|
||||
margin: 0rpx 30rpx 0rpx;
|
||||
position: relative;
|
||||
display: flex;
|
||||
}
|
||||
.navbox .namebox .back.data-v-a6a7913a {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
}
|
||||
.navbox .namebox .name.data-v-a6a7913a {
|
||||
margin-left: 16rpx;
|
||||
font-size: 30rpx;
|
||||
color: #111827;
|
||||
}
|
||||
.navbox .search.data-v-a6a7913a {
|
||||
margin: 40rpx 30rpx 0rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.navbox .search .searchwrap.data-v-a6a7913a {
|
||||
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;
|
||||
}
|
||||
.navbox .search .searchwrap .ipt.data-v-a6a7913a {
|
||||
margin-left: 15rpx;
|
||||
font-size: 28rpx;
|
||||
}
|
||||
.container.data-v-a6a7913a {
|
||||
position: absolute;
|
||||
top: 180rpx;
|
||||
left: 0;
|
||||
bottom: 200rpx;
|
||||
width: 100%;
|
||||
}
|
||||
.editorbox.data-v-a6a7913a {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
font-size: 16px;
|
||||
box-sizing: border-box;
|
||||
overflow-y: scroll;
|
||||
padding: 10rpx 30rpx 10rpx;
|
||||
}
|
||||
.ql-active.data-v-a6a7913a {
|
||||
color: #22C704;
|
||||
}
|
||||
.btn.data-v-a6a7913a {
|
||||
flex: 1;
|
||||
width: 180rpx;
|
||||
background: #3cc7c0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
font-size: 30rpx;
|
||||
color: #fff;
|
||||
height: 60rpx;
|
||||
border-radius: 8rpx;
|
||||
}
|
||||
.iconfont.data-v-a6a7913a {
|
||||
display: inline-block;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
cursor: pointer;
|
||||
font-size: 20px;
|
||||
}
|
||||
.toolbar.data-v-a6a7913a {
|
||||
box-sizing: border-box;
|
||||
padding: 0 10px;
|
||||
height: 50px;
|
||||
width: 100%;
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 100%;
|
||||
bottom: 0;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
border: 1px solid #ECECEC;
|
||||
border-left: none;
|
||||
border-right: none;
|
||||
}
|
||||
.page.data-v-a6a7913a {
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
height: 100vh;
|
||||
background-color: #fff;
|
||||
bottom: 0;
|
||||
z-index: 999;
|
||||
}
|
||||
.toolbox.data-v-a6a7913a {
|
||||
/* border-top: 2rpx solid #f3f4f6; */
|
||||
padding: 22rpx 30rpx;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.toolbox .cellbox.data-v-a6a7913a {
|
||||
width: 480rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
/* justify-content: space-between; */
|
||||
}
|
||||
.toolbox .imgbox.data-v-a6a7913a {
|
||||
width: 32rpx;
|
||||
height: 32rpx;
|
||||
}
|
||||
.toolbox .imgbox.active.data-v-a6a7913a {
|
||||
margin-top: -9rpx;
|
||||
}
|
||||
.toolbox .cell.data-v-a6a7913a {
|
||||
width: 134rpx;
|
||||
margin-right: 20rpx;
|
||||
display: flex;
|
||||
flex-wrap: nowrap;
|
||||
align-items: center;
|
||||
}
|
||||
.toolbox .cell .name.data-v-a6a7913a {
|
||||
font-size: 25rpx;
|
||||
margin-left: 4rpx;
|
||||
color: #4b5563;
|
||||
white-space: nowrap;
|
||||
}
|
||||
.toolbox .cell.data-v-a6a7913a:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
.toolbox .cell.active.data-v-a6a7913a {
|
||||
opacity: 0.65;
|
||||
}
|
||||
.draftpop .titlebox.data-v-a6a7913a {
|
||||
text-align: center;
|
||||
padding: 30rpx;
|
||||
font-size: 31rpx;
|
||||
color: #111827;
|
||||
position: relative;
|
||||
}
|
||||
.draftpop .titlebox .close.data-v-a6a7913a {
|
||||
position: absolute;
|
||||
top: 20rpx;
|
||||
right: 30rpx;
|
||||
}
|
||||
.draftpop .draftlist.data-v-a6a7913a {
|
||||
height: calc(100vh - 500rpx);
|
||||
overflow-y: scroll;
|
||||
}
|
||||
.draftpop .draftlist .cell.data-v-a6a7913a {
|
||||
padding-bottom: 34rpx;
|
||||
border-bottom: 2rpx solid #e5e7eb;
|
||||
}
|
||||
.draftpop .draftlist .cell .title.data-v-a6a7913a {
|
||||
margin: 15rpx 30rpx 0;
|
||||
font-size: 36rpx;
|
||||
color: #111827;
|
||||
line-height: 46rpx;
|
||||
}
|
||||
.draftpop .draftlist .cell .smalltitle.data-v-a6a7913a {
|
||||
margin: 4px 0rpx 0;
|
||||
font-size: 30rpx;
|
||||
color: #666666;
|
||||
line-height: 38rpx;
|
||||
}
|
||||
.draftpop .draftlist .cell .con.data-v-a6a7913a {
|
||||
font-size: 30rpx;
|
||||
color: #666666;
|
||||
line-height: 38rpx;
|
||||
font-size: 30rpx;
|
||||
color: #666666;
|
||||
line-height: 38rpx;
|
||||
}
|
||||
.draftpop .draftlist .cell .deal.data-v-a6a7913a {
|
||||
margin: 36rpx 30rpx 0;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
.draftpop .draftlist .cell .deal .time.data-v-a6a7913a {
|
||||
font-size: 26rpx;
|
||||
color: #9ca3af;
|
||||
}
|
||||
.draftpop .draftlist .cell .deal .right.data-v-a6a7913a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.draftpop .draftlist .cell .deal .del.data-v-a6a7913a {
|
||||
width: 138rpx;
|
||||
height: 62rpx;
|
||||
background: #f3f4f6;
|
||||
display: flex;
|
||||
border-radius: 20rpx;
|
||||
align-items: center;
|
||||
font-size: 27rpx;
|
||||
color: #4b5563;
|
||||
justify-content: center;
|
||||
}
|
||||
.draftpop .draftlist .cell .deal .edit.data-v-a6a7913a {
|
||||
margin-left: 23rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 192rpx;
|
||||
height: 62rpx;
|
||||
font-size: 27rpx;
|
||||
color: #ffffff;
|
||||
background: #3cc7c0;
|
||||
border-radius: 20rpx;
|
||||
}
|
||||
.titlepop .top.data-v-a6a7913a {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
margin: 0 30rpx;
|
||||
margin-bottom: 30rpx;
|
||||
font-size: 30rpx;
|
||||
color: #3cc7c0;
|
||||
}
|
||||
.titlepop .con.data-v-a6a7913a {
|
||||
padding-bottom: 50rpx;
|
||||
}
|
||||
.titlepop .cellbox.data-v-a6a7913a {
|
||||
margin: 20rpx 30rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.titlepop .cellbox .cell.data-v-a6a7913a {
|
||||
width: 200rpx;
|
||||
height: 60rpx;
|
||||
border-radius: 25rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background: #e5e7eb78;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
.upage.data-v-a6a7913a .ql-container {
|
||||
padding-bottom: 25rpx;
|
||||
height: calc(100vh - 600rpx) !important;
|
||||
}
|
||||
.upage.data-v-a6a7913a .ql-container {
|
||||
padding-bottom: 25rpx;
|
||||
height: calc(100vh - 700rpx);
|
||||
}
|
||||
.upage.data-v-a6a7913a .ql-container img {
|
||||
max-width: 100%;
|
||||
position: relative;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
.upage.data-v-a6a7913a .ql-container image {
|
||||
max-width: 100%;
|
||||
position: relative;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
@ -1,72 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../common/vendor.js");
|
||||
const common_assets = require("../../common/assets.js");
|
||||
const utils_navTo = require("../../utils/navTo.js");
|
||||
if (!Array) {
|
||||
const _easycom_up_tabbar_item2 = common_vendor.resolveComponent("up-tabbar-item");
|
||||
const _easycom_up_tabbar2 = common_vendor.resolveComponent("up-tabbar");
|
||||
(_easycom_up_tabbar_item2 + _easycom_up_tabbar2)();
|
||||
}
|
||||
const _easycom_up_tabbar_item = () => "../../node-modules/uview-plus/components/u-tabbar-item/u-tabbar-item.js";
|
||||
const _easycom_up_tabbar = () => "../../node-modules/uview-plus/components/u-tabbar/u-tabbar.js";
|
||||
if (!Math) {
|
||||
(_easycom_up_tabbar_item + _easycom_up_tabbar)();
|
||||
}
|
||||
const _sfc_main = {
|
||||
__name: "tabBar",
|
||||
props: {
|
||||
value: {
|
||||
type: Number,
|
||||
default: 0
|
||||
}
|
||||
},
|
||||
setup(__props) {
|
||||
const handleClick = (e) => {
|
||||
if (e == 0) {
|
||||
utils_navTo.navTo({
|
||||
url: "/pages/index/index"
|
||||
});
|
||||
} else if (e == 1) {
|
||||
utils_navTo.navTo({
|
||||
url: "/pages/case/case"
|
||||
});
|
||||
} else if (e == 2) {
|
||||
utils_navTo.navTo({
|
||||
url: "/pages/caseTalk/caseTalk"
|
||||
});
|
||||
}
|
||||
};
|
||||
return (_ctx, _cache) => {
|
||||
return {
|
||||
a: common_vendor.o(handleClick),
|
||||
b: common_vendor.p({
|
||||
text: "临床病例库",
|
||||
activeIcon: common_vendor.unref(common_assets.ku_on),
|
||||
inactiveIcon: common_vendor.unref(common_assets.ku)
|
||||
}),
|
||||
c: common_vendor.o(handleClick),
|
||||
d: common_vendor.p({
|
||||
text: "互动病例",
|
||||
activeIcon: common_vendor.unref(common_assets.group_on),
|
||||
inactiveIcon: common_vendor.unref(common_assets.group)
|
||||
}),
|
||||
e: common_vendor.o(handleClick),
|
||||
f: common_vendor.p({
|
||||
text: "病例交流",
|
||||
activeIcon: common_vendor.unref(common_assets.talk_on),
|
||||
inactiveIcon: common_vendor.unref(common_assets.talk)
|
||||
}),
|
||||
g: common_vendor.p({
|
||||
value: __props.value,
|
||||
fixed: true,
|
||||
zIndex: 99,
|
||||
placeholder: false,
|
||||
activeColor: "#3CC7C0",
|
||||
safeAreaInsetBottom: true
|
||||
})
|
||||
};
|
||||
};
|
||||
}
|
||||
};
|
||||
wx.createComponent(_sfc_main);
|
||||
//# sourceMappingURL=../../../.sourcemap/mp-weixin/components/tabBar/tabBar.js.map
|
||||
@ -1,7 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"up-tabbar-item": "../../node-modules/uview-plus/components/u-tabbar-item/u-tabbar-item",
|
||||
"up-tabbar": "../../node-modules/uview-plus/components/u-tabbar/u-tabbar"
|
||||
}
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
<up-tabbar wx:if="{{g}}" u-s="{{['d']}}" class="u-page" u-i="64ed1d6c-0" bind:__l="__l" u-p="{{g}}"><up-tabbar-item wx:if="{{b}}" bindclick="{{a}}" u-i="64ed1d6c-1,64ed1d6c-0" bind:__l="__l" u-p="{{b}}"></up-tabbar-item><up-tabbar-item wx:if="{{d}}" bindclick="{{c}}" u-i="64ed1d6c-2,64ed1d6c-0" bind:__l="__l" u-p="{{d}}"></up-tabbar-item><up-tabbar-item wx:if="{{f}}" bindclick="{{e}}" u-i="64ed1d6c-3,64ed1d6c-0" bind:__l="__l" u-p="{{f}}"></up-tabbar-item></up-tabbar>
|
||||
@ -1,35 +0,0 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.u-page__item__slot-icon {
|
||||
width: 47rpx;
|
||||
height: 47rpx;
|
||||
}
|
||||
.u-tabbar__content__item-wrapper {
|
||||
border-top: 2rpx solid #f3f4f6 !important;
|
||||
}
|
||||
.u-tabbar-item__text {
|
||||
margin-bottom: 20rpx !important;
|
||||
}
|
||||
@ -1,44 +0,0 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const uvImage = () => "../u-image/u-image.js";
|
||||
const _sfc_main = {
|
||||
name: "u--image",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.props, common_vendor.mixin],
|
||||
components: {
|
||||
uvImage
|
||||
},
|
||||
emits: ["click", "error", "load"]
|
||||
};
|
||||
if (!Array) {
|
||||
const _component_uvImage = common_vendor.resolveComponent("uvImage");
|
||||
_component_uvImage();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return {
|
||||
a: common_vendor.o(($event) => _ctx.$emit("click")),
|
||||
b: common_vendor.o(($event) => _ctx.$emit("error")),
|
||||
c: common_vendor.o(($event) => _ctx.$emit("load")),
|
||||
d: common_vendor.p({
|
||||
src: _ctx.src,
|
||||
mode: _ctx.mode,
|
||||
width: _ctx.width,
|
||||
height: _ctx.height,
|
||||
shape: _ctx.shape,
|
||||
radius: _ctx.radius,
|
||||
lazyLoad: _ctx.lazyLoad,
|
||||
showMenuByLongpress: _ctx.showMenuByLongpress,
|
||||
loadingIcon: _ctx.loadingIcon,
|
||||
errorIcon: _ctx.errorIcon,
|
||||
showLoading: _ctx.showLoading,
|
||||
showError: _ctx.showError,
|
||||
fade: _ctx.fade,
|
||||
webp: _ctx.webp,
|
||||
duration: _ctx.duration,
|
||||
bgColor: _ctx.bgColor,
|
||||
customStyle: _ctx.customStyle
|
||||
})
|
||||
};
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/node-modules/uview-plus/components/u--image/u--image.js.map
|
||||
@ -1,6 +0,0 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"uv-image": "../u-image/u-image"
|
||||
}
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
<uv-image wx:if="{{d}}" u-s="{{['loading','error']}}" bindclick="{{a}}" binderror="{{b}}" bindload="{{c}}" u-i="21f789b2-0" bind:__l="__l" u-p="{{d}}"><view slot="loading"><slot name="loading"></slot></view><view slot="error"><slot name="error"></slot></view></uv-image>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user