Compare commits
No commits in common. "43abd1f3d6bf38c8c4471af5e00cff3b193d3401" and "4ca1b9cf42e07bf09267eb1bed6d28bbc61f5b2a" have entirely different histories.
43abd1f3d6
...
4ca1b9cf42
3
App.vue
3
App.vue
@ -34,8 +34,7 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.back{
|
.back{
|
||||||
margin-top: -8rpx;
|
padding:15rpx;
|
||||||
padding:0 15rpx 15rpx 15rpx;
|
|
||||||
}
|
}
|
||||||
.ellipsis-one-lines {
|
.ellipsis-one-lines {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|||||||
@ -87,7 +87,7 @@ const api = {
|
|||||||
return request('/clinical/hospital/search', data, 'post',true,'application/json');
|
return request('/clinical/hospital/search', data, 'post',true,'application/json');
|
||||||
},
|
},
|
||||||
getStaticDoctor(id){
|
getStaticDoctor(id){
|
||||||
return request('/clinical/stats/doctor/'+id,{}, 'get',true);
|
return request('/clinical/stats/doctor/'+id,{}, 'get',false);
|
||||||
},
|
},
|
||||||
getStaticSick(data) { //首页统计数据
|
getStaticSick(data) { //首页统计数据
|
||||||
return request('/clinical/stats/label', data, 'get', false);
|
return request('/clinical/stats/label', data, 'get', false);
|
||||||
|
|||||||
@ -73,16 +73,12 @@ watch(()=>props.type,(newVal)=>{
|
|||||||
placeholder.value='输入医生姓名'
|
placeholder.value='输入医生姓名'
|
||||||
}else if(newVal==='hospital'){
|
}else if(newVal==='hospital'){
|
||||||
placeholder.value='输入医院名称'
|
placeholder.value='输入医院名称'
|
||||||
}else if(newVal==='video'){
|
}else if(newVal==='video' || newVal==='article' ){
|
||||||
placeholder.value='疾病名称、标题、作者搜索'
|
|
||||||
}else if(newVal==='article' ){
|
|
||||||
placeholder.value='搜索疾病、症状、医院'
|
placeholder.value='搜索疾病、症状、医院'
|
||||||
}else if(newVal==='case'){
|
}else if(newVal==='case'){
|
||||||
placeholder.value='输入疾病名称'
|
placeholder.value='请输入疾病名称'
|
||||||
}else if(newVal==='myCase'){
|
}else if(newVal==='myCase'){
|
||||||
placeholder.value='输入疾病名称、标题搜索'
|
placeholder.value='输入疾病名称、标题搜索'
|
||||||
}else if(newVal==='cert'){
|
|
||||||
placeholder.value='疾病名称、标题搜索'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
},{immediate: true })
|
},{immediate: true })
|
||||||
|
|||||||
@ -13,7 +13,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="container">
|
<view class="container">
|
||||||
<view class="row">
|
<view class="row">
|
||||||
<view class="left">{{editorType=='info'?'病例信息':'总结与讨论'}}<text class="tip" v-if="editorType=='result'">(可不填)</text></view>
|
<view class="left">{{editorType=='info'?'病例信息':'总结与讨论'}}</view>
|
||||||
<view class="right" @click="clearMuBan" v-if="editorType=='info'">
|
<view class="right" @click="clearMuBan" v-if="editorType=='info'">
|
||||||
<u-icon name="trash" color="#6B7280" size="18"></u-icon>
|
<u-icon name="trash" color="#6B7280" size="18"></u-icon>
|
||||||
清除模板
|
清除模板
|
||||||
@ -21,6 +21,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="editorbox">
|
<view class="editorbox">
|
||||||
<sv-editor
|
<sv-editor
|
||||||
|
class="ql-container"
|
||||||
:placeholder="placeholder"
|
:placeholder="placeholder"
|
||||||
eid="peditor"
|
eid="peditor"
|
||||||
@ready="ready"
|
@ready="ready"
|
||||||
@ -32,21 +33,19 @@
|
|||||||
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="toolbar" >
|
<view class="toolbar" v-show="keyboardHeight > 0" :style="{bottom: isIOS?keyboardHeight : 0+'px'}">
|
||||||
<view class="toolbox">
|
<view class="toolbox">
|
||||||
<view class="cellbox">
|
<view class="cellbox">
|
||||||
<view class="cell"
|
<view class="cell"
|
||||||
@click="insertImage"
|
@click="insertImage"
|
||||||
|
|
||||||
>
|
>
|
||||||
<view class="imgbox" :class="{active:!isIOS}">
|
|
||||||
<up--image
|
<up--image
|
||||||
:src="photoImg"
|
:src="photoImg"
|
||||||
class="headImg"
|
class="headImg"
|
||||||
width="32rpx"
|
width="32rpx"
|
||||||
height="32rpx"
|
height="32rpx"
|
||||||
></up--image>
|
></up--image>
|
||||||
</view>
|
|
||||||
<view class="name">添加图片</view>
|
<view class="name">添加图片</view>
|
||||||
</view>
|
</view>
|
||||||
<view
|
<view
|
||||||
@ -54,15 +53,12 @@
|
|||||||
@click="insertVideo"
|
@click="insertVideo"
|
||||||
|
|
||||||
>
|
>
|
||||||
<view class="imgbox" :class="{active:!isIOS}">
|
|
||||||
<up--image
|
<up--image
|
||||||
:src="videoImg"
|
:src="videoImg"
|
||||||
class="headImg"
|
class="headImg"
|
||||||
width="32rpx"
|
width="32rpx"
|
||||||
height="32rpx"
|
height="32rpx"
|
||||||
></up--image>
|
></up--image>
|
||||||
</view>
|
|
||||||
|
|
||||||
<view class="name">添加视频</view>
|
<view class="name">添加视频</view>
|
||||||
</view>
|
</view>
|
||||||
<view
|
<view
|
||||||
@ -71,15 +67,14 @@
|
|||||||
|
|
||||||
@click="alertTitle"
|
@click="alertTitle"
|
||||||
>
|
>
|
||||||
<view class="imgbox" :class="{active:!isIOS}">
|
|
||||||
<up--image
|
<up--image
|
||||||
:src="addImg"
|
:src="addImg"
|
||||||
class="headImg"
|
class="headImg"
|
||||||
width="32rpx"
|
width="32rpx"
|
||||||
height="32rpx"
|
height="32rpx"
|
||||||
></up--image>
|
></up--image>
|
||||||
</view>
|
|
||||||
<view class="name">添加小标题</view>
|
<view class="name">添加小标题</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
@ -139,7 +134,6 @@
|
|||||||
import videoImg from "@/static/videoicon.png";
|
import videoImg from "@/static/videoicon.png";
|
||||||
import { nextTick, reactive, ref,watch } from "vue";
|
import { nextTick, reactive, ref,watch } from "vue";
|
||||||
import { onLoad } from "@dcloudio/uni-app";
|
import { onLoad } from "@dcloudio/uni-app";
|
||||||
import videoface from "@/static/videoface.jpg";
|
|
||||||
import api from "@/api/api";
|
import api from "@/api/api";
|
||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
import {
|
import {
|
||||||
@ -206,7 +200,7 @@
|
|||||||
// res = await this.editorCtx.createVideoThumbnail(videoUrl)
|
// res = await this.editorCtx.createVideoThumbnail(videoUrl)
|
||||||
// #endif
|
// #endif
|
||||||
|
|
||||||
const fox = videoface
|
const fox = 'https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg'
|
||||||
res = await editorCtx.value.createCoverThumbnail(fox)
|
res = await editorCtx.value.createCoverThumbnail(fox)
|
||||||
showEditor.value=false;
|
showEditor.value=false;
|
||||||
return res
|
return res
|
||||||
@ -227,7 +221,7 @@
|
|||||||
// res = await this.editorCtx.createVideoThumbnail(videoUrl)
|
// res = await this.editorCtx.createVideoThumbnail(videoUrl)
|
||||||
// #endif
|
// #endif
|
||||||
|
|
||||||
const fox = videoface
|
const fox = 'https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg'
|
||||||
res = await editorCtx.value.createCoverThumbnail(fox)
|
res = await editorCtx.value.createCoverThumbnail(fox)
|
||||||
showEditor.value=false;
|
showEditor.value=false;
|
||||||
return res
|
return res
|
||||||
@ -413,8 +407,9 @@
|
|||||||
async success(res) {
|
async success(res) {
|
||||||
if (res.statusCode === 204) {
|
if (res.statusCode === 204) {
|
||||||
let url = host + "/" + dir + filename + imgType;
|
let url = host + "/" + dir + filename + imgType;
|
||||||
|
console.log(editorCtx);
|
||||||
let imgUrl =videoface;
|
let imgUrl =
|
||||||
|
"https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg";
|
||||||
const fileThumbnail = await editorCtx.createCoverThumbnail(
|
const fileThumbnail = await editorCtx.createCoverThumbnail(
|
||||||
imgUrl
|
imgUrl
|
||||||
);
|
);
|
||||||
@ -436,7 +431,7 @@
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
if (videos) {
|
if (videos) {
|
||||||
uni.hideLoading();
|
uni.showLoading();
|
||||||
uni.showToast({ title: "添加视频成功", icon: "none" });
|
uni.showToast({ title: "添加视频成功", icon: "none" });
|
||||||
} else {
|
} else {
|
||||||
uni.showToast({ title: "添加视频失败", icon: "none" });
|
uni.showToast({ title: "添加视频失败", icon: "none" });
|
||||||
@ -478,10 +473,6 @@
|
|||||||
font-size: 38rpx;
|
font-size: 38rpx;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
}
|
}
|
||||||
.tip {
|
|
||||||
color: #9ca3af;
|
|
||||||
font-size: 32rpx;
|
|
||||||
}
|
|
||||||
.right{
|
.right{
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -556,16 +547,20 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 180rpx;
|
top: 180rpx;
|
||||||
left: 0;
|
left: 0;
|
||||||
bottom:200rpx;
|
bottom:250rpx;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.editorbox{
|
.editorbox{
|
||||||
|
height:100%;
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
box-sizing:border-box;
|
box-sizing:border-box;
|
||||||
|
line-height: 1.5;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
|
|
||||||
padding: 10rpx 30rpx 10rpx ;
|
padding: 10rpx 30rpx 10rpx ;
|
||||||
|
|
||||||
}
|
}
|
||||||
@ -631,16 +626,8 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
/* justify-content: space-between; */
|
/* justify-content: space-between; */
|
||||||
}
|
}
|
||||||
.imgbox{
|
|
||||||
|
|
||||||
width:32rpx;
|
|
||||||
height:32rpx;
|
|
||||||
}
|
|
||||||
.imgbox.active{
|
|
||||||
margin-top: -9rpx;
|
|
||||||
}
|
|
||||||
.cell {
|
.cell {
|
||||||
width:134rpx;
|
width:132rpx;
|
||||||
margin-right: 20rpx;
|
margin-right: 20rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: nowrap;
|
flex-wrap: nowrap;
|
||||||
@ -769,26 +756,6 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.upage :deep(.ql-container) {
|
|
||||||
padding-bottom: 25rpx;
|
|
||||||
height: calc(100vh - 600rpx)!important;
|
|
||||||
}
|
|
||||||
.upage :deep(.ql-container){
|
|
||||||
padding-bottom: 25rpx;
|
|
||||||
height: calc(100vh - 700rpx);
|
|
||||||
}
|
|
||||||
.upage :deep(.ql-container) img{
|
|
||||||
max-width:100%;
|
|
||||||
position: relative;
|
|
||||||
left:50%;
|
|
||||||
transform: translateX(-50%);
|
|
||||||
}
|
|
||||||
.upage :deep(.ql-container) image{
|
|
||||||
max-width:100%;
|
|
||||||
position: relative;
|
|
||||||
left:50%;
|
|
||||||
transform: translateX(-50%);
|
|
||||||
}
|
|
||||||
/* #ifdef H5 */
|
/* #ifdef H5 */
|
||||||
:deep(.ql-editor){
|
:deep(.ql-editor){
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
@query="queryList"
|
@query="queryList"
|
||||||
>
|
>
|
||||||
<template #top>
|
<template #top>
|
||||||
<navBarSearch :searchWord="keyWord" :navName="navName" @changeWord="changeWord" :type="'cert'"></navBarSearch>
|
<navBarSearch :searchWord="keyWord" :navName="navName" @changeWord="changeWord"></navBarSearch>
|
||||||
<view class="detail" v-if="isSearch">
|
<view class="detail" v-if="isSearch">
|
||||||
<view class="desc" v-if="tab==0">检索到:<text class="red">{{total}}篇文章</text></view>
|
<view class="desc" v-if="tab==0">检索到:<text class="red">{{total}}篇文章</text></view>
|
||||||
<view class="desc" v-if="tab==1">检索到:<text class="red">{{total}}个视频</text></view>
|
<view class="desc" v-if="tab==1">检索到:<text class="red">{{total}}个视频</text></view>
|
||||||
@ -70,7 +70,7 @@ const tab=ref(0);
|
|||||||
const hospital_id=ref('');
|
const hospital_id=ref('');
|
||||||
const doctor_id=ref('');
|
const doctor_id=ref('');
|
||||||
const numInfo=reactive({});
|
const numInfo=reactive({});
|
||||||
const navName=ref('肝胆相照临床病例库收录证书')
|
const navName=ref('肝胆相照临床病例库')
|
||||||
|
|
||||||
const formatdate=(date)=>{
|
const formatdate=(date)=>{
|
||||||
return dayjs(date).format('YYYY-MM-DD')
|
return dayjs(date).format('YYYY-MM-DD')
|
||||||
@ -93,10 +93,6 @@ onLoad((options) => {
|
|||||||
if(options.doctor_id){
|
if(options.doctor_id){
|
||||||
doctor_id.value=options.doctor_id;
|
doctor_id.value=options.doctor_id;
|
||||||
}
|
}
|
||||||
let userInfo=uni.getStorageSync('userInfo');
|
|
||||||
if(userInfo.user_name){
|
|
||||||
navName.value=userInfo.user_name+"临床病例库收录证书"
|
|
||||||
}
|
|
||||||
})
|
})
|
||||||
onShow(()=>{
|
onShow(()=>{
|
||||||
paging.value?.refresh();
|
paging.value?.refresh();
|
||||||
|
|||||||
@ -1,5 +1,4 @@
|
|||||||
<template>
|
<template>
|
||||||
<up-toast ref="uToast"></up-toast>
|
|
||||||
<div class="upage">
|
<div class="upage">
|
||||||
<pEditor v-if="showEditor" :editorCotent="editorCotent" :editorType="editorType" @closeEditor="closeEditor" @changeEditor="changeEditor"></pEditor>
|
<pEditor v-if="showEditor" :editorCotent="editorCotent" :editorType="editorType" @closeEditor="closeEditor" @changeEditor="changeEditor"></pEditor>
|
||||||
<view class="navbox">
|
<view class="navbox">
|
||||||
@ -28,24 +27,18 @@
|
|||||||
清除模板
|
清除模板
|
||||||
</view> -->
|
</view> -->
|
||||||
</view>
|
</view>
|
||||||
<view class="textcon page-editor-container" id="editor" :style="{height:infoHeight+'px'}">
|
<view class="textcon page-editor-container" id="editor" >
|
||||||
<view class="mask" @click="focusInfo"></view>
|
<view class="mask" @click="focusInfo"></view>
|
||||||
<view class="infoContent" id="infoContent">
|
|
||||||
<rich-text :nodes="fromatImg(infoHtml)"></rich-text>
|
|
||||||
</view>
|
|
||||||
<view class="editorcon" :class="{active:showInfoOpacity}" >
|
|
||||||
<sv-editor
|
<sv-editor
|
||||||
|
|
||||||
placeholder="患者基本情况,检查结果,诊疗图片或视频"
|
placeholder="患者基本情况,检查结果,诊疗图片或视频"
|
||||||
eid="editor-id"
|
eid="editor-id"
|
||||||
@ready="ready"
|
@ready="ready"
|
||||||
pasteMode="origin"
|
pasteMode="origin"
|
||||||
@input="changeInfoEditor"
|
|
||||||
readOnly="true"
|
|
||||||
|
|
||||||
|
readOnly="true"
|
||||||
|
@changeInput="changeSv"
|
||||||
@epaste="epaste"
|
@epaste="epaste"
|
||||||
></sv-editor>
|
></sv-editor>
|
||||||
</view>
|
|
||||||
<!-- <editor
|
<!-- <editor
|
||||||
id="editor"
|
id="editor"
|
||||||
placeholder="写点什么吧~~"
|
placeholder="写点什么吧~~"
|
||||||
@ -64,24 +57,18 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="textcell">
|
<view class="textcell">
|
||||||
<view class="iptbox" id="editorRes" :style="{height:resultHeight+'px'}">
|
<view class="iptbox" id="editorRes">
|
||||||
<view class="mask" @click="focusResult"></view>
|
<view class="mask" @click="focusResult"></view>
|
||||||
<view class="resultContent" id="resultContent">
|
|
||||||
<rich-text :nodes="fromatImg(resultHtml)"></rich-text>
|
|
||||||
</view>
|
|
||||||
<view class="editorcon" :class="{active:showOpacity}">
|
|
||||||
<sv-editor
|
<sv-editor
|
||||||
placeholder="分享经验和心得,如:诊断与鉴别诊断易错点,治疗过程难点,病例的相关知识总结及讨论等"
|
placeholder="分享经验和心得,如:诊断与鉴别诊断易错点,治疗过程难点,病例的相关知识总结及讨论等"
|
||||||
eid="editorResult"
|
eid="editorResult"
|
||||||
@ready="readyResult"
|
@ready="readyResult"
|
||||||
@input="changeResEditor"
|
|
||||||
:readOnly="true"
|
:readOnly="true"
|
||||||
|
|
||||||
></sv-editor>
|
></sv-editor>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
|
||||||
<view class="textcon" style="border: none">
|
<view class="textcon" style="border: none">
|
||||||
<view class="sickbox">
|
<view class="sickbox">
|
||||||
<view class="sick" v-for="(item,index) in labelList" :key="item.app_iden">
|
<view class="sick" v-for="(item,index) in labelList" :key="item.app_iden">
|
||||||
@ -149,17 +136,9 @@
|
|||||||
<view class="bottombtn">
|
<view class="bottombtn">
|
||||||
<view class="left">
|
<view class="left">
|
||||||
<view class="draft" @click="openDraftList">草稿箱</view>
|
<view class="draft" @click="openDraftList">草稿箱</view>
|
||||||
<view class="vote" :class="{active:form.case_exchange_vote.vote_title}" @click="alertVote">
|
<view class="vote" @click="alertVote">
|
||||||
投票
|
投票
|
||||||
<up--image
|
<up--image
|
||||||
v-if="form.case_exchange_vote.vote_title"
|
|
||||||
:src="voteOnImg"
|
|
||||||
class="headImg"
|
|
||||||
width="47rpx"
|
|
||||||
height="47rpx"
|
|
||||||
></up--image>
|
|
||||||
<up--image
|
|
||||||
v-else
|
|
||||||
:src="voteImg"
|
:src="voteImg"
|
||||||
class="headImg"
|
class="headImg"
|
||||||
width="47rpx"
|
width="47rpx"
|
||||||
@ -167,7 +146,7 @@
|
|||||||
></up--image>
|
></up--image>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="right" @click="isConfirmPublish=true">发布</view>
|
<view class="right" @click="publish">发布</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
@ -405,23 +384,6 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</up-overlay>
|
</up-overlay>
|
||||||
<up-overlay :show="isConfirmPublish" mask-click-able zIndex="99">
|
|
||||||
<view class="zanboxpop">
|
|
||||||
<view class="zanwraper">
|
|
||||||
<view class="title">提示</view>
|
|
||||||
<view class="content" v-if="exchange_id">
|
|
||||||
是否确认发布?
|
|
||||||
</view>
|
|
||||||
<view class="content" v-else>
|
|
||||||
是否确认修改?
|
|
||||||
</view>
|
|
||||||
<view class="btnbox">
|
|
||||||
<view class="cancle" @click="cancelConfirmPublish">取消</view>
|
|
||||||
<view class="ok" @click="confirmConfirmPublish">确定</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</up-overlay>
|
|
||||||
<up-popup
|
<up-popup
|
||||||
:round="10"
|
:round="10"
|
||||||
zIndex="9"
|
zIndex="9"
|
||||||
@ -541,17 +503,13 @@ import photoImg from "@/static/photo.png";
|
|||||||
import addImg from "@/static/add.png";
|
import addImg from "@/static/add.png";
|
||||||
import videoImg from "@/static/videoicon.png";
|
import videoImg from "@/static/videoicon.png";
|
||||||
import voteImg from "@/static/vote.png";
|
import voteImg from "@/static/vote.png";
|
||||||
import voteOnImg from "@/static/voteon.png";
|
|
||||||
|
|
||||||
import draftImg from "@/static/draft.png";
|
import draftImg from "@/static/draft.png";
|
||||||
import api from "@/api/api";
|
import api from "@/api/api";
|
||||||
import dayjs from "dayjs";
|
import dayjs from "dayjs";
|
||||||
import { onLoad,onReady } from "@dcloudio/uni-app";
|
import { onLoad } from "@dcloudio/uni-app";
|
||||||
import throttle from "@/utils/throttle"
|
import throttle from "@/utils/throttle"
|
||||||
import svEditor from "@/uni_modules/sv-editor/components/sv-editor/sv-editor.vue";
|
import svEditor from "@/uni_modules/sv-editor/components/sv-editor/sv-editor.vue";
|
||||||
import pEditor from "@/components/pEditor/pEditor"
|
import pEditor from "@/components/pEditor/pEditor"
|
||||||
import videoface from "@/static/videoface.jpg";
|
|
||||||
const uToast=ref(null);
|
|
||||||
//import SvEditorToolbar from "@/uni_modules/sv-editor/components/sv-editor/sv-editor-toolbar.vue";
|
//import SvEditorToolbar from "@/uni_modules/sv-editor/components/sv-editor/sv-editor-toolbar.vue";
|
||||||
import {
|
import {
|
||||||
addImage,
|
addImage,
|
||||||
@ -566,7 +524,6 @@ const delType = ref("delDraft"); //delDraft saveDraft
|
|||||||
const isPublish = ref(false);
|
const isPublish = ref(false);
|
||||||
const exchange_id=ref('');
|
const exchange_id=ref('');
|
||||||
const showEditor=ref(false);
|
const showEditor=ref(false);
|
||||||
const showOpacity=ref(false);
|
|
||||||
const editorType=ref('info');
|
const editorType=ref('info');
|
||||||
const bottomHeight=ref(200);
|
const bottomHeight=ref(200);
|
||||||
const form = reactive({
|
const form = reactive({
|
||||||
@ -586,7 +543,7 @@ const voteData = reactive({
|
|||||||
],
|
],
|
||||||
});
|
});
|
||||||
const value = ref("");
|
const value = ref("");
|
||||||
const isConfirmPublish=ref(false)
|
|
||||||
const showVote = ref(false);
|
const showVote = ref(false);
|
||||||
const showDraft = ref(false);
|
const showDraft = ref(false);
|
||||||
const showTitle = ref(false);
|
const showTitle = ref(false);
|
||||||
@ -599,13 +556,7 @@ const isFocusInfo = ref(false);
|
|||||||
const isFocusResult = ref(false);
|
const isFocusResult = ref(false);
|
||||||
const labelList = ref([]);
|
const labelList = ref([]);
|
||||||
|
|
||||||
const infoHeight=ref(100);
|
|
||||||
let inithtmlString =
|
|
||||||
"<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p><br/><br/>";
|
|
||||||
const infoHtml=ref(inithtmlString);
|
|
||||||
const resultHtml=ref('');
|
|
||||||
const resultHeight=ref(100);
|
|
||||||
const showInfoOpacity=ref(true)
|
|
||||||
const level = ref(1);
|
const level = ref(1);
|
||||||
const freshKey=ref(0);
|
const freshKey=ref(0);
|
||||||
const showCase = ref(false);
|
const showCase = ref(false);
|
||||||
@ -638,8 +589,8 @@ const closeEditor=()=>{
|
|||||||
};
|
};
|
||||||
const changeEditor=(data)=>{
|
const changeEditor=(data)=>{
|
||||||
showEditor.value=false;
|
showEditor.value=false;
|
||||||
|
console.log(data)
|
||||||
if(data.type=="info"){
|
if(data.type=="info"){
|
||||||
infoHtml.value=data.content
|
|
||||||
editorCtx.value.initHtml(data.content,async (videoUrl) => {
|
editorCtx.value.initHtml(data.content,async (videoUrl) => {
|
||||||
let res='';
|
let res='';
|
||||||
|
|
||||||
@ -647,21 +598,13 @@ const changeEditor=(data)=>{
|
|||||||
// res = await this.editorCtx.createVideoThumbnail(videoUrl)
|
// res = await this.editorCtx.createVideoThumbnail(videoUrl)
|
||||||
// #endif
|
// #endif
|
||||||
|
|
||||||
const fox = videoface
|
const fox = 'https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg'
|
||||||
res = await editorCtx.value.createCoverThumbnail(fox)
|
res = await editorCtx.value.createCoverThumbnail(fox)
|
||||||
showEditor.value=false;
|
showEditor.value=false;
|
||||||
return res
|
return res
|
||||||
})
|
})
|
||||||
setTimeout(()=>{
|
|
||||||
const query = wx.createSelectorQuery();
|
|
||||||
query.select('#infoContent').boundingClientRect(function(rect){
|
|
||||||
console.log(rect.height);
|
|
||||||
infoHeight.value=rect.height+10
|
|
||||||
// 输出元素的高度
|
|
||||||
}).exec();
|
|
||||||
},0)
|
|
||||||
}else{
|
}else{
|
||||||
resultHtml.value=data.content
|
|
||||||
editorCtxResult.value.initHtml(data.content,async (videoUrl) => {
|
editorCtxResult.value.initHtml(data.content,async (videoUrl) => {
|
||||||
let res='';
|
let res='';
|
||||||
|
|
||||||
@ -669,25 +612,19 @@ const changeEditor=(data)=>{
|
|||||||
// res = await this.editorCtx.createVideoThumbnail(videoUrl)
|
// res = await this.editorCtx.createVideoThumbnail(videoUrl)
|
||||||
// #endif
|
// #endif
|
||||||
|
|
||||||
const fox = videoface
|
const fox = 'https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg'
|
||||||
res = await editorCtx.value.createCoverThumbnail(fox)
|
res = await editorCtx.value.createCoverThumbnail(fox)
|
||||||
showEditor.value=false;
|
showEditor.value=false;
|
||||||
return res
|
return res
|
||||||
})
|
})
|
||||||
setTimeout(()=>{
|
|
||||||
const query = wx.createSelectorQuery();
|
|
||||||
query.select('#resultContent').boundingClientRect(function(rect){
|
|
||||||
console.log(rect.height);
|
|
||||||
resultHeight.value=rect.height+10
|
|
||||||
// 输出元素的高度
|
|
||||||
}).exec();
|
|
||||||
},0)
|
|
||||||
}
|
}
|
||||||
// setTimeout(()=>{
|
// setTimeout(()=>{
|
||||||
// showEditor.value=false;
|
// showEditor.value=false;
|
||||||
// },1000)
|
// },1000)
|
||||||
};
|
};
|
||||||
const openDraftList=()=>{
|
const openDraftList=()=>{
|
||||||
|
|
||||||
getDraftList();
|
getDraftList();
|
||||||
showDraft.value=true;
|
showDraft.value=true;
|
||||||
}
|
}
|
||||||
@ -809,8 +746,6 @@ const fromatImg = (val) => {
|
|||||||
|
|
||||||
};
|
};
|
||||||
const ready = (e) => {
|
const ready = (e) => {
|
||||||
|
|
||||||
|
|
||||||
console.log(e);
|
console.log(e);
|
||||||
editorCtx.value = e;
|
editorCtx.value = e;
|
||||||
|
|
||||||
@ -825,6 +760,7 @@ const ready = (e) => {
|
|||||||
selector:"#form"
|
selector:"#form"
|
||||||
// })
|
// })
|
||||||
})
|
})
|
||||||
|
uni.hideLoading();
|
||||||
|
|
||||||
};
|
};
|
||||||
const readyResult = (e) => {
|
const readyResult = (e) => {
|
||||||
@ -832,9 +768,7 @@ const readyResult = (e) => {
|
|||||||
setTimeout(()=>{
|
setTimeout(()=>{
|
||||||
if(exchange_id.value){
|
if(exchange_id.value){
|
||||||
getExchangeDetail(exchange_id.value);
|
getExchangeDetail(exchange_id.value);
|
||||||
|
|
||||||
}
|
}
|
||||||
uni.hideLoading();
|
|
||||||
})
|
})
|
||||||
//editorCtxResult.value.initHtml("")
|
//editorCtxResult.value.initHtml("")
|
||||||
};
|
};
|
||||||
@ -843,7 +777,9 @@ const clearMuBan = () => {
|
|||||||
|
|
||||||
editorCtx.value.initHtml("");
|
editorCtx.value.initHtml("");
|
||||||
};
|
};
|
||||||
|
const changeSv=()=>{
|
||||||
|
showEditor.value=false;
|
||||||
|
}
|
||||||
const focusInfo = async() => {
|
const focusInfo = async() => {
|
||||||
isFocusInfo.value = true;
|
isFocusInfo.value = true;
|
||||||
const res= await editorCtx.value.getLastContent();
|
const res= await editorCtx.value.getLastContent();
|
||||||
@ -966,7 +902,7 @@ const getExchangeDetail = (id) => {
|
|||||||
// res = await this.editorCtx.createVideoThumbnail(videoUrl)
|
// res = await this.editorCtx.createVideoThumbnail(videoUrl)
|
||||||
// #endif
|
// #endif
|
||||||
|
|
||||||
const fox = videoface
|
const fox = 'https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg'
|
||||||
res = await editorCtx.value.createCoverThumbnail(fox)
|
res = await editorCtx.value.createCoverThumbnail(fox)
|
||||||
|
|
||||||
return res
|
return res
|
||||||
@ -984,7 +920,7 @@ const getExchangeDetail = (id) => {
|
|||||||
// res = await this.editorCtx.createVideoThumbnail(videoUrl)
|
// res = await this.editorCtx.createVideoThumbnail(videoUrl)
|
||||||
// #endif
|
// #endif
|
||||||
|
|
||||||
const fox = videoface
|
const fox = 'https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg'
|
||||||
res = await editorCtxResult.value.createCoverThumbnail(fox)
|
res = await editorCtxResult.value.createCoverThumbnail(fox)
|
||||||
|
|
||||||
return res
|
return res
|
||||||
@ -1034,19 +970,14 @@ const cancelDel = () => {
|
|||||||
console.log('wee')
|
console.log('wee')
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const cancelConfirmPublish=()=>{
|
|
||||||
isConfirmPublish.value=false;
|
|
||||||
}
|
|
||||||
|
|
||||||
const delDraft = (id) => {
|
const delDraft = (id) => {
|
||||||
api.delDraft(id).then((res) => {
|
api.delDraft(id).then((res) => {
|
||||||
uni.showToast({
|
uni.showToast({
|
||||||
title: "删除成功",
|
title: "删除成功",
|
||||||
icon: "none",
|
icon: "none",
|
||||||
});
|
});
|
||||||
getDraftList();
|
|
||||||
});
|
});
|
||||||
|
getDraftList();
|
||||||
};
|
};
|
||||||
const alertSave = async () => {
|
const alertSave = async () => {
|
||||||
if(isPublish.value || exchange_id.value){
|
if(isPublish.value || exchange_id.value){
|
||||||
@ -1076,10 +1007,7 @@ const alertSave = async () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
const cconfirmConfirmPublish=()=>{
|
|
||||||
confirmConfirmPublish.value=false;
|
|
||||||
publish();
|
|
||||||
}
|
|
||||||
const publish =throttle(async () => {
|
const publish =throttle(async () => {
|
||||||
console.log(3333);
|
console.log(3333);
|
||||||
const initInfo =
|
const initInfo =
|
||||||
@ -1281,7 +1209,8 @@ const HandleAddVideo = async (file) => {
|
|||||||
if (res.statusCode === 204) {
|
if (res.statusCode === 204) {
|
||||||
let url = host + "/" + dir + filename + imgType;
|
let url = host + "/" + dir + filename + imgType;
|
||||||
console.log(editorCtx);
|
console.log(editorCtx);
|
||||||
let imgUrl =videoface;
|
let imgUrl =
|
||||||
|
"https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg";
|
||||||
const fileThumbnail = await editorCtx.createCoverThumbnail(
|
const fileThumbnail = await editorCtx.createCoverThumbnail(
|
||||||
imgUrl
|
imgUrl
|
||||||
);
|
);
|
||||||
@ -1303,30 +1232,12 @@ const HandleAddVideo = async (file) => {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
if (videos) {
|
if (videos) {
|
||||||
uni.hideLoading();
|
uni.showLoading();
|
||||||
uni.showToast({ title: "添加视频成功", icon: "success" });
|
uni.showToast({ title: "添加视频成功", icon: "success" });
|
||||||
} else {
|
} else {
|
||||||
uni.showToast({ title: "添加视频失败", icon: "error" });
|
uni.showToast({ title: "添加视频失败", icon: "error" });
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const changeInfoEditor=async()=>{
|
|
||||||
const res=await editorCtx.value.getLastContent();
|
|
||||||
let str=res.text.replace(/\s/g, '')
|
|
||||||
if(str){
|
|
||||||
showInfoOpacity.value=true;
|
|
||||||
}else{
|
|
||||||
showInfoOpacity.value=false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
const changeResEditor=async()=>{
|
|
||||||
const res=await editorCtxResult.value.getLastContent();
|
|
||||||
let str=res.text.replace(/\s/g, '')
|
|
||||||
if(str){
|
|
||||||
showOpacity.value=true;
|
|
||||||
}else{
|
|
||||||
showOpacity.value=false;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
const getDraftList = () => {
|
const getDraftList = () => {
|
||||||
api.getDraftList().then((res) => {
|
api.getDraftList().then((res) => {
|
||||||
draftList.value = res.data.data.data;
|
draftList.value = res.data.data.data;
|
||||||
@ -1495,23 +1406,16 @@ const openLabelPop=()=>{
|
|||||||
showCase.value=true;
|
showCase.value=true;
|
||||||
getCaseLabel(1,0);
|
getCaseLabel(1,0);
|
||||||
}
|
}
|
||||||
|
|
||||||
onReady(()=>{
|
|
||||||
uToast.value.show( {
|
|
||||||
type: "loading",
|
|
||||||
title: "正在加载",
|
|
||||||
message: "正在加载",
|
|
||||||
duration:1000
|
|
||||||
})
|
|
||||||
})
|
|
||||||
onLoad((optoions) => {
|
onLoad((optoions) => {
|
||||||
|
uni.showLoading({
|
||||||
|
title: "正在加载中...",
|
||||||
|
mask: true,
|
||||||
|
});
|
||||||
if(optoions.exchange_id){
|
if(optoions.exchange_id){
|
||||||
exchange_id.value=optoions.exchange_id;
|
exchange_id.value=optoions.exchange_id;
|
||||||
console.log(1111)
|
console.log(1111)
|
||||||
console.log(exchange_id.value)
|
console.log(exchange_id.value)
|
||||||
}
|
}
|
||||||
|
|
||||||
//getDraftList();
|
//getDraftList();
|
||||||
|
|
||||||
});
|
});
|
||||||
@ -1787,26 +1691,7 @@ onLoad((optoions) => {
|
|||||||
#editor {
|
#editor {
|
||||||
position:relative;
|
position:relative;
|
||||||
padding: 0 10rpx;
|
padding: 0 10rpx;
|
||||||
min-height:600rpx;
|
height: calc(100vh - 700rpx);
|
||||||
.editorcon{
|
|
||||||
position: absolute;
|
|
||||||
top:0;
|
|
||||||
width:100%;
|
|
||||||
bottom:0;
|
|
||||||
z-index:1;
|
|
||||||
opacity:1
|
|
||||||
}
|
|
||||||
.editorcon.active{
|
|
||||||
opacity:0
|
|
||||||
}
|
|
||||||
.infoContent{
|
|
||||||
|
|
||||||
margin:0 32rpx;
|
|
||||||
word-break: break-all;
|
|
||||||
/* position: relative;
|
|
||||||
z-index:2; */
|
|
||||||
}
|
|
||||||
|
|
||||||
.mask{
|
.mask{
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -1818,22 +1703,7 @@ position:relative;
|
|||||||
}
|
}
|
||||||
#editorRes {
|
#editorRes {
|
||||||
position: relative;
|
position: relative;
|
||||||
min-height: 600rpx;
|
height: 600rpx;
|
||||||
.editorcon{
|
|
||||||
position: absolute;
|
|
||||||
top:0;
|
|
||||||
width:100%;
|
|
||||||
bottom:0;
|
|
||||||
z-index:1;
|
|
||||||
opacity:1
|
|
||||||
}
|
|
||||||
.editorcon.active{
|
|
||||||
opacity:0
|
|
||||||
}
|
|
||||||
.resultContent{
|
|
||||||
margin:0 32rpx;
|
|
||||||
word-break: break-all;
|
|
||||||
}
|
|
||||||
.mask{
|
.mask{
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
@ -1845,7 +1715,6 @@ min-height: 600rpx;
|
|||||||
:deep(.sv-editor-wrapper) {
|
:deep(.sv-editor-wrapper) {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
min-height: 300rpx;
|
min-height: 300rpx;
|
||||||
position: absolute!important;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.myVideo {
|
.myVideo {
|
||||||
@ -2171,10 +2040,6 @@ min-height: 600rpx;
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
.vote.active{
|
|
||||||
color:#3CC7C0;
|
|
||||||
border: 2rpx solid #3CC7C0;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.form {
|
.form {
|
||||||
@ -2264,7 +2129,6 @@ min-height: 600rpx;
|
|||||||
}
|
}
|
||||||
:deep(.ql-container){
|
:deep(.ql-container){
|
||||||
padding-bottom: 25rpx;
|
padding-bottom: 25rpx;
|
||||||
word-break: break-all;
|
|
||||||
height: calc(100vh - 700rpx);
|
height: calc(100vh - 700rpx);
|
||||||
}
|
}
|
||||||
:deep(.ql-container) img{
|
:deep(.ql-container) img{
|
||||||
@ -2284,9 +2148,6 @@ min-height: 600rpx;
|
|||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
:deep(.imgstyle){
|
|
||||||
max-width: 100%;
|
|
||||||
}
|
|
||||||
/* #ifdef H5 */
|
/* #ifdef H5 */
|
||||||
:deep(.ql-editor){
|
:deep(.ql-editor){
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 118 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 1.2 KiB |
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
|||||||
{"version":3,"file":"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\tmargin-top: -8rpx;\r\n\tpadding:0 15rpx 15rpx 15rpx;\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</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\tpadding:15rpx;\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</style>","import App from './App'\nimport uviewPlus, { setConfig } from 'uview-plus'\r\n// #ifdef H5\r\nimport VConsole from 'vconsole';\nconst vConsole = new VConsole();\r\n// #endif\n// #ifndef VUE3\nimport Vue from 'vue'\nimport './uni.promisify.adaptor'\nVue.config.productionTip = false\nApp.mpType = 'app'\nconst app = new Vue({\n ...App\n})\napp.$mount()\n// #endif\n// #ifdef VUE3\nimport { createSSRApp } from 'vue'\nexport function createApp() {\n const app = createSSRApp(App)\n \n app.use(uviewPlus, async() => {\t \n \t\treturn {\n \t\t\toptions: {\n \t\t\t\t// 修改$u.config对象的属性\n \t\t\t\tconfig: {\n \t\t\t\t\t// 修改默认单位为rpx,相当于执行 uni.$u.config.unit = 'rpx'\n \t\t\t\t\tunit: 'rpx'\n \t\t\t\t}\n \t\t\t}\n \t\t}\n \t})\n\t\n return {\n app\n }\n}\n// #endif\n"],"names":["onLaunch","uni","onShow","onHide","createSSRApp","App","uviewPlus"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAECA,kBAAAA,SAAS,MAAI;AACZC,oBAAAA,MAAA,MAAA,OAAA,gBAAY,YAAY;AAAA,IAC1B,CAAE;AACDC,kBAAAA,OAAO,MAAI;AACVD,oBAAAA,MAAA,MAAA,OAAA,gBAAY,UAAU;AAAA,IAExB,CAAE;AACDE,kBAAAA,OAAO,MAAI;AACVF,oBAAAA,MAAA,MAAA,OAAA,iBAAY,UAAU;AAAA,IACxB,CAAE;;;;;ACOK,SAAS,YAAY;AAC1B,QAAM,MAAMG,cAAY,aAACC,SAAG;AAE5B,MAAI,IAAIC,cAAAA,WAAW,YAAW;AAC5B,WAAO;AAAA,MACN,SAAS;AAAA;AAAA,QAER,QAAQ;AAAA;AAAA,UAEP,MAAM;AAAA,QACN;AAAA,MACD;AAAA,IACD;AAAA,EACL,CAAI;AAEF,SAAO;AAAA,IACL;AAAA,EACD;AACH;;;"}
|
||||||
@ -1 +1 @@
|
|||||||
{"version":3,"file":"assets.js","sources":["static/video.png","static/sick.png","static/hospital.png","static/doctor.png","static/photo.png","static/add.png","static/videoicon.png","static/vote.png","static/voteon.png","static/draft.png","static/videoface.jpg","static/switch.png","static/arrowright.png","static/caseIcon.png","static/headImg.png","static/cert.png","static/myFile.png","static/myDownload.png","static/myCollect.png","static/myHospital.png","static/myJoin.png","static/myTalk.png","static/collectOn.png","static/collect.png","static/shang.png","static/chat.png","static/uploadImg.png","static/comment_icon.png","static/benren.png","static/default.png","static/group.png","static/ku.png","static/ku_on.png","static/group_on.png","static/talk.png","static/talk_on.png","static/logo.png","static/navbg.png"],"sourcesContent":["export default \"__VITE_ASSET__e338fa6d__\"","export default \"__VITE_ASSET__33a3f11a__\"","export default \"__VITE_ASSET__99f8d6c7__\"","export default \"__VITE_ASSET__051e2535__\"","export default \"__VITE_ASSET__fd0b1873__\"","export default \"__VITE_ASSET__7afdfa25__\"","export default \"__VITE_ASSET__f335dad1__\"","export default \"__VITE_ASSET__bc53d6e9__\"","export default \"__VITE_ASSET__00e08abe__\"","export default \"__VITE_ASSET__8a9f1cf1__\"","export default \"__VITE_ASSET__f0d1582c__\"","export default \"__VITE_ASSET__34b6a406__\"","export default \"__VITE_ASSET__04d264d8__\"","export default \"__VITE_ASSET__3981e088__\"","export default \"__VITE_ASSET__2dc1225f__\"","export default \"__VITE_ASSET__968fe4e2__\"","export default \"__VITE_ASSET__2a791e4d__\"","export default \"__VITE_ASSET__02d8e89c__\"","export default \"__VITE_ASSET__018fc400__\"","export default \"__VITE_ASSET__f708625e__\"","export default \"__VITE_ASSET__219bc93e__\"","export default \"__VITE_ASSET__07ef65cb__\"","export default \"__VITE_ASSET__60605a3f__\"","export default \"__VITE_ASSET__1b1db7a1__\"","export default \"__VITE_ASSET__0d05d4c1__\"","export default \"__VITE_ASSET__b055dcc3__\"","export default \"__VITE_ASSET__66769c53__\"","export default \"__VITE_ASSET__27070269__\"","export default \"__VITE_ASSET__beb38987__\"","export default \"__VITE_ASSET__f5b8f828__\"","export default \"__VITE_ASSET__df35ad17__\"","export default \"__VITE_ASSET__c0792a8a__\"","export default \"__VITE_ASSET__514334a4__\"","export default \"__VITE_ASSET__40793151__\"","export default \"__VITE_ASSET__977b04a2__\"","export default \"__VITE_ASSET__e6204d41__\"","export default \"__VITE_ASSET__8ef1dcc4__\"","export default \"__VITE_ASSET__e0ede23c__\""],"names":[],"mappings":";AAAA,MAAe,aAAA;ACAf,MAAe,UAAA;ACAf,MAAe,cAAA;ACAf,MAAe,YAAA;ACAf,MAAe,WAAA;ACAf,MAAe,SAAA;ACAf,MAAe,WAAA;ACAf,MAAe,UAAA;ACAf,MAAe,YAAA;ACAf,MAAe,WAAA;ACAf,MAAe,YAAA;ACAf,MAAe,YAAA;ACAf,MAAe,gBAAA;ACAf,MAAe,UAAA;ACAf,MAAe,UAAA;ACAf,MAAe,UAAA;ACAf,MAAe,SAAA;ACAf,MAAe,aAAA;ACAf,MAAe,YAAA;ACAf,MAAe,aAAA;ACAf,MAAe,SAAA;ACAf,MAAe,SAAA;ACAf,MAAe,eAAA;ACAf,MAAe,aAAA;ACAf,MAAe,WAAA;ACAf,MAAe,UAAA;ACAf,MAAe,YAAA;ACAf,MAAe,aAAA;ACAf,MAAe,UAAA;ACAf,MAAe,MAAA;ACAf,MAAe,QAAA;ACAf,MAAe,KAAA;ACAf,MAAe,QAAA;ACAf,MAAe,WAAA;ACAf,MAAe,OAAA;ACAf,MAAe,UAAA;ACAf,MAAe,UAAA;ACAf,MAAe,QAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
{"version":3,"file":"assets.js","sources":["static/video.png","static/sick.png","static/hospital.png","static/doctor.png","static/photo.png","static/add.png","static/videoicon.png","static/vote.png","static/draft.png","static/switch.png","static/arrowright.png","static/caseIcon.png","static/headImg.png","static/cert.png","static/myFile.png","static/myDownload.png","static/myCollect.png","static/myHospital.png","static/myJoin.png","static/myTalk.png","static/collectOn.png","static/collect.png","static/shang.png","static/chat.png","static/uploadImg.png","static/comment_icon.png","static/benren.png","static/default.png","static/group.png","static/ku.png","static/ku_on.png","static/group_on.png","static/talk.png","static/talk_on.png","static/logo.png","static/navbg.png"],"sourcesContent":["export default \"__VITE_ASSET__e338fa6d__\"","export default \"__VITE_ASSET__33a3f11a__\"","export default \"__VITE_ASSET__99f8d6c7__\"","export default \"__VITE_ASSET__051e2535__\"","export default \"__VITE_ASSET__fd0b1873__\"","export default \"__VITE_ASSET__7afdfa25__\"","export default \"__VITE_ASSET__f335dad1__\"","export default \"__VITE_ASSET__bc53d6e9__\"","export default \"__VITE_ASSET__8a9f1cf1__\"","export default \"__VITE_ASSET__34b6a406__\"","export default \"__VITE_ASSET__04d264d8__\"","export default \"__VITE_ASSET__3981e088__\"","export default \"__VITE_ASSET__2dc1225f__\"","export default \"__VITE_ASSET__968fe4e2__\"","export default \"__VITE_ASSET__2a791e4d__\"","export default \"__VITE_ASSET__02d8e89c__\"","export default \"__VITE_ASSET__018fc400__\"","export default \"__VITE_ASSET__f708625e__\"","export default \"__VITE_ASSET__219bc93e__\"","export default \"__VITE_ASSET__07ef65cb__\"","export default \"__VITE_ASSET__60605a3f__\"","export default \"__VITE_ASSET__1b1db7a1__\"","export default \"__VITE_ASSET__0d05d4c1__\"","export default \"__VITE_ASSET__b055dcc3__\"","export default \"__VITE_ASSET__66769c53__\"","export default \"__VITE_ASSET__27070269__\"","export default \"__VITE_ASSET__beb38987__\"","export default \"__VITE_ASSET__f5b8f828__\"","export default \"__VITE_ASSET__df35ad17__\"","export default \"__VITE_ASSET__c0792a8a__\"","export default \"__VITE_ASSET__514334a4__\"","export default \"__VITE_ASSET__40793151__\"","export default \"__VITE_ASSET__977b04a2__\"","export default \"__VITE_ASSET__e6204d41__\"","export default \"__VITE_ASSET__8ef1dcc4__\"","export default \"__VITE_ASSET__e0ede23c__\""],"names":[],"mappings":";AAAA,MAAe,aAAA;ACAf,MAAe,UAAA;ACAf,MAAe,cAAA;ACAf,MAAe,YAAA;ACAf,MAAe,WAAA;ACAf,MAAe,SAAA;ACAf,MAAe,WAAA;ACAf,MAAe,UAAA;ACAf,MAAe,WAAA;ACAf,MAAe,YAAA;ACAf,MAAe,gBAAA;ACAf,MAAe,UAAA;ACAf,MAAe,UAAA;ACAf,MAAe,UAAA;ACAf,MAAe,SAAA;ACAf,MAAe,aAAA;ACAf,MAAe,YAAA;ACAf,MAAe,aAAA;ACAf,MAAe,SAAA;ACAf,MAAe,SAAA;ACAf,MAAe,eAAA;ACAf,MAAe,aAAA;ACAf,MAAe,WAAA;ACAf,MAAe,UAAA;ACAf,MAAe,YAAA;ACAf,MAAe,aAAA;ACAf,MAAe,UAAA;ACAf,MAAe,MAAA;ACAf,MAAe,QAAA;ACAf,MAAe,KAAA;ACAf,MAAe,QAAA;ACAf,MAAe,WAAA;ACAf,MAAe,OAAA;ACAf,MAAe,UAAA;ACAf,MAAe,UAAA;ACAf,MAAe,QAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -1 +1 @@
|
|||||||
{"version":3,"file":"throttle.js","sources":["utils/throttle.js"],"sourcesContent":[" const throttle=function(fn,wait=1500){\n var flag = true;\n var timer = null;\n return function(){\n if(flag) {\n fn.apply(this,arguments);\n flag = false;\n timer = setTimeout(() => {\n flag = true\n },wait)\n }\n }\n}\r\nexport default throttle"],"names":[],"mappings":";AAAM,MAAC,WAAS,SAAS,IAAG,OAAK,MAAK;AACpC,MAAI,OAAO;AAEX,SAAO,WAAU;AACf,QAAG,MAAM;AACP,SAAG,MAAM,MAAK,SAAS;AACvB,aAAO;AACC,iBAAW,MAAM;AACvB,eAAO;AAAA,MACR,GAAC,IAAI;AAAA,IACP;AAAA,EACF;AACH;;"}
|
{"version":3,"file":"throttle.js","sources":["utils/throttle.js"],"sourcesContent":[" const throttle=function(fn,wait=1000){\n var flag = true;\n var timer = null;\n return function(){\n if(flag) {\n fn.apply(this,arguments);\n flag = false;\n timer = setTimeout(() => {\n flag = true\n },wait)\n }\n }\n}\r\nexport default throttle"],"names":[],"mappings":";AAAM,MAAC,WAAS,SAAS,IAAG,OAAK,KAAK;AACpC,MAAI,OAAO;AAEX,SAAO,WAAU;AACf,QAAG,MAAM;AACP,SAAG,MAAM,MAAK,SAAS;AACvB,aAAO;AACC,iBAAW,MAAM;AACvB,eAAO;AAAA,MACR,GAAC,IAAI;AAAA,IACP;AAAA,EACF;AACH;;"}
|
||||||
2
unpackage/dist/dev/mp-weixin/api/api.js
vendored
2
unpackage/dist/dev/mp-weixin/api/api.js
vendored
@ -83,7 +83,7 @@ const api = {
|
|||||||
return utils_request.request("/clinical/hospital/search", data, "post", true, "application/json");
|
return utils_request.request("/clinical/hospital/search", data, "post", true, "application/json");
|
||||||
},
|
},
|
||||||
getStaticDoctor(id) {
|
getStaticDoctor(id) {
|
||||||
return utils_request.request("/clinical/stats/doctor/" + id, {}, "get", true);
|
return utils_request.request("/clinical/stats/doctor/" + id, {}, "get", false);
|
||||||
},
|
},
|
||||||
getStaticSick(data) {
|
getStaticSick(data) {
|
||||||
return utils_request.request("/clinical/stats/label", data, "get", false);
|
return utils_request.request("/clinical/stats/label", data, "get", false);
|
||||||
|
|||||||
3
unpackage/dist/dev/mp-weixin/app.wxss
vendored
3
unpackage/dist/dev/mp-weixin/app.wxss
vendored
@ -11,8 +11,7 @@ wx-button:after{
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
.back{
|
.back{
|
||||||
margin-top: -8rpx;
|
padding:15rpx;
|
||||||
padding:0 15rpx 15rpx 15rpx;
|
|
||||||
}
|
}
|
||||||
.ellipsis-one-lines {
|
.ellipsis-one-lines {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|||||||
@ -7,9 +7,7 @@ const photoImg = "/static/photo.png";
|
|||||||
const addImg = "/static/add.png";
|
const addImg = "/static/add.png";
|
||||||
const videoImg = "/static/videoicon.png";
|
const videoImg = "/static/videoicon.png";
|
||||||
const voteImg = "/static/vote.png";
|
const voteImg = "/static/vote.png";
|
||||||
const voteOnImg = "/static/voteon.png";
|
|
||||||
const draftImg = "/static/draft.png";
|
const draftImg = "/static/draft.png";
|
||||||
const videoface = "/static/videoface.jpg";
|
|
||||||
const switchImg = "/static/switch.png";
|
const switchImg = "/static/switch.png";
|
||||||
const arrowrightImg = "/static/arrowright.png";
|
const arrowrightImg = "/static/arrowright.png";
|
||||||
const caseImg = "/static/caseIcon.png";
|
const caseImg = "/static/caseIcon.png";
|
||||||
@ -72,7 +70,5 @@ exports.talk_on = talk_on;
|
|||||||
exports.uploadImg = uploadImg;
|
exports.uploadImg = uploadImg;
|
||||||
exports.videoImg = videoImg$1;
|
exports.videoImg = videoImg$1;
|
||||||
exports.videoImg$1 = videoImg;
|
exports.videoImg$1 = videoImg;
|
||||||
exports.videoface = videoface;
|
|
||||||
exports.voteImg = voteImg;
|
exports.voteImg = voteImg;
|
||||||
exports.voteOnImg = voteOnImg;
|
|
||||||
//# sourceMappingURL=../../.sourcemap/mp-weixin/common/assets.js.map
|
//# sourceMappingURL=../../.sourcemap/mp-weixin/common/assets.js.map
|
||||||
|
|||||||
184
unpackage/dist/dev/mp-weixin/common/vendor.js
vendored
184
unpackage/dist/dev/mp-weixin/common/vendor.js
vendored
@ -7319,7 +7319,7 @@ function isConsoleWritable() {
|
|||||||
function initRuntimeSocketService() {
|
function initRuntimeSocketService() {
|
||||||
const hosts = "192.168.100.165,127.0.0.1";
|
const hosts = "192.168.100.165,127.0.0.1";
|
||||||
const port = "8090";
|
const port = "8090";
|
||||||
const id = "mp-weixin_PmN5zi";
|
const id = "mp-weixin_i5is0s";
|
||||||
const lazy = typeof swan !== "undefined";
|
const lazy = typeof swan !== "undefined";
|
||||||
let restoreError = lazy ? () => {
|
let restoreError = lazy ? () => {
|
||||||
} : initOnError();
|
} : initOnError();
|
||||||
@ -8288,11 +8288,6 @@ const onLoad = /* @__PURE__ */ createLifeCycleHook(
|
|||||||
2
|
2
|
||||||
/* HookFlags.PAGE */
|
/* HookFlags.PAGE */
|
||||||
);
|
);
|
||||||
const onReady = /* @__PURE__ */ createLifeCycleHook(
|
|
||||||
ON_READY,
|
|
||||||
2
|
|
||||||
/* HookFlags.PAGE */
|
|
||||||
);
|
|
||||||
const defineMixin = (options) => {
|
const defineMixin = (options) => {
|
||||||
return options;
|
return options;
|
||||||
};
|
};
|
||||||
@ -16183,89 +16178,6 @@ const props$b = defineMixin({
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
const props$a = defineMixin({
|
const props$a = defineMixin({
|
||||||
props: {
|
|
||||||
// 是否显示组件
|
|
||||||
show: {
|
|
||||||
type: Boolean,
|
|
||||||
default: () => props$B.loadingIcon.show
|
|
||||||
},
|
|
||||||
// 颜色
|
|
||||||
color: {
|
|
||||||
type: String,
|
|
||||||
default: () => props$B.loadingIcon.color
|
|
||||||
},
|
|
||||||
// 提示文字颜色
|
|
||||||
textColor: {
|
|
||||||
type: String,
|
|
||||||
default: () => props$B.loadingIcon.textColor
|
|
||||||
},
|
|
||||||
// 文字和图标是否垂直排列
|
|
||||||
vertical: {
|
|
||||||
type: Boolean,
|
|
||||||
default: () => props$B.loadingIcon.vertical
|
|
||||||
},
|
|
||||||
// 模式选择,circle-圆形,spinner-花朵形,semicircle-半圆形
|
|
||||||
mode: {
|
|
||||||
type: String,
|
|
||||||
default: () => props$B.loadingIcon.mode
|
|
||||||
},
|
|
||||||
// 图标大小,单位默认px
|
|
||||||
size: {
|
|
||||||
type: [String, Number],
|
|
||||||
default: () => props$B.loadingIcon.size
|
|
||||||
},
|
|
||||||
// 文字大小
|
|
||||||
textSize: {
|
|
||||||
type: [String, Number],
|
|
||||||
default: () => props$B.loadingIcon.textSize
|
|
||||||
},
|
|
||||||
// 文字内容
|
|
||||||
text: {
|
|
||||||
type: [String, Number],
|
|
||||||
default: () => props$B.loadingIcon.text
|
|
||||||
},
|
|
||||||
// 动画模式
|
|
||||||
timingFunction: {
|
|
||||||
type: String,
|
|
||||||
default: () => props$B.loadingIcon.timingFunction
|
|
||||||
},
|
|
||||||
// 动画执行周期时间
|
|
||||||
duration: {
|
|
||||||
type: [String, Number],
|
|
||||||
default: () => props$B.loadingIcon.duration
|
|
||||||
},
|
|
||||||
// mode=circle时的暗边颜色
|
|
||||||
inactiveColor: {
|
|
||||||
type: String,
|
|
||||||
default: () => props$B.loadingIcon.inactiveColor
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
const props$9 = defineMixin({
|
|
||||||
props: {
|
|
||||||
// 背景颜色(默认transparent)
|
|
||||||
bgColor: {
|
|
||||||
type: String,
|
|
||||||
default: () => props$B.gap.bgColor
|
|
||||||
},
|
|
||||||
// 分割槽高度,单位px(默认30)
|
|
||||||
height: {
|
|
||||||
type: [String, Number],
|
|
||||||
default: () => props$B.gap.height
|
|
||||||
},
|
|
||||||
// 与上一个组件的距离
|
|
||||||
marginTop: {
|
|
||||||
type: [String, Number],
|
|
||||||
default: () => props$B.gap.marginTop
|
|
||||||
},
|
|
||||||
// 与下一个组件的距离
|
|
||||||
marginBottom: {
|
|
||||||
type: [String, Number],
|
|
||||||
default: () => props$B.gap.marginBottom
|
|
||||||
}
|
|
||||||
}
|
|
||||||
});
|
|
||||||
const props$8 = defineMixin({
|
|
||||||
props: {
|
props: {
|
||||||
bgColor: {
|
bgColor: {
|
||||||
type: String,
|
type: String,
|
||||||
@ -16273,10 +16185,10 @@ const props$8 = defineMixin({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
const props$7 = defineMixin({
|
const props$9 = defineMixin({
|
||||||
props: {}
|
props: {}
|
||||||
});
|
});
|
||||||
const props$6 = defineMixin({
|
const props$8 = defineMixin({
|
||||||
props: {
|
props: {
|
||||||
// 是否展示组件
|
// 是否展示组件
|
||||||
show: {
|
show: {
|
||||||
@ -16358,7 +16270,7 @@ const transitionMixin = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const props$5 = defineMixin({
|
const props$7 = defineMixin({
|
||||||
props: {
|
props: {
|
||||||
// 主题颜色
|
// 主题颜色
|
||||||
type: {
|
type: {
|
||||||
@ -16547,7 +16459,7 @@ const value = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const props$4 = defineMixin({
|
const props$6 = defineMixin({
|
||||||
props: {
|
props: {
|
||||||
// 分组标题
|
// 分组标题
|
||||||
title: {
|
title: {
|
||||||
@ -16561,7 +16473,7 @@ const props$4 = defineMixin({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
const props$3 = defineMixin({
|
const props$5 = defineMixin({
|
||||||
props: {
|
props: {
|
||||||
color: {
|
color: {
|
||||||
type: String,
|
type: String,
|
||||||
@ -16594,6 +16506,89 @@ const props$3 = defineMixin({
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
const props$4 = defineMixin({
|
||||||
|
props: {
|
||||||
|
// 是否显示组件
|
||||||
|
show: {
|
||||||
|
type: Boolean,
|
||||||
|
default: () => props$B.loadingIcon.show
|
||||||
|
},
|
||||||
|
// 颜色
|
||||||
|
color: {
|
||||||
|
type: String,
|
||||||
|
default: () => props$B.loadingIcon.color
|
||||||
|
},
|
||||||
|
// 提示文字颜色
|
||||||
|
textColor: {
|
||||||
|
type: String,
|
||||||
|
default: () => props$B.loadingIcon.textColor
|
||||||
|
},
|
||||||
|
// 文字和图标是否垂直排列
|
||||||
|
vertical: {
|
||||||
|
type: Boolean,
|
||||||
|
default: () => props$B.loadingIcon.vertical
|
||||||
|
},
|
||||||
|
// 模式选择,circle-圆形,spinner-花朵形,semicircle-半圆形
|
||||||
|
mode: {
|
||||||
|
type: String,
|
||||||
|
default: () => props$B.loadingIcon.mode
|
||||||
|
},
|
||||||
|
// 图标大小,单位默认px
|
||||||
|
size: {
|
||||||
|
type: [String, Number],
|
||||||
|
default: () => props$B.loadingIcon.size
|
||||||
|
},
|
||||||
|
// 文字大小
|
||||||
|
textSize: {
|
||||||
|
type: [String, Number],
|
||||||
|
default: () => props$B.loadingIcon.textSize
|
||||||
|
},
|
||||||
|
// 文字内容
|
||||||
|
text: {
|
||||||
|
type: [String, Number],
|
||||||
|
default: () => props$B.loadingIcon.text
|
||||||
|
},
|
||||||
|
// 动画模式
|
||||||
|
timingFunction: {
|
||||||
|
type: String,
|
||||||
|
default: () => props$B.loadingIcon.timingFunction
|
||||||
|
},
|
||||||
|
// 动画执行周期时间
|
||||||
|
duration: {
|
||||||
|
type: [String, Number],
|
||||||
|
default: () => props$B.loadingIcon.duration
|
||||||
|
},
|
||||||
|
// mode=circle时的暗边颜色
|
||||||
|
inactiveColor: {
|
||||||
|
type: String,
|
||||||
|
default: () => props$B.loadingIcon.inactiveColor
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
|
const props$3 = defineMixin({
|
||||||
|
props: {
|
||||||
|
// 背景颜色(默认transparent)
|
||||||
|
bgColor: {
|
||||||
|
type: String,
|
||||||
|
default: () => props$B.gap.bgColor
|
||||||
|
},
|
||||||
|
// 分割槽高度,单位px(默认30)
|
||||||
|
height: {
|
||||||
|
type: [String, Number],
|
||||||
|
default: () => props$B.gap.height
|
||||||
|
},
|
||||||
|
// 与上一个组件的距离
|
||||||
|
marginTop: {
|
||||||
|
type: [String, Number],
|
||||||
|
default: () => props$B.gap.marginTop
|
||||||
|
},
|
||||||
|
// 与下一个组件的距离
|
||||||
|
marginBottom: {
|
||||||
|
type: [String, Number],
|
||||||
|
default: () => props$B.gap.marginBottom
|
||||||
|
}
|
||||||
|
}
|
||||||
|
});
|
||||||
const props$2 = defineMixin({
|
const props$2 = defineMixin({
|
||||||
props: {
|
props: {
|
||||||
// 是否显示圆点
|
// 是否显示圆点
|
||||||
@ -16784,7 +16779,6 @@ exports.onHide = onHide;
|
|||||||
exports.onLaunch = onLaunch;
|
exports.onLaunch = onLaunch;
|
||||||
exports.onLoad = onLoad;
|
exports.onLoad = onLoad;
|
||||||
exports.onMounted = onMounted;
|
exports.onMounted = onMounted;
|
||||||
exports.onReady = onReady;
|
|
||||||
exports.onShow = onShow;
|
exports.onShow = onShow;
|
||||||
exports.openType = openType;
|
exports.openType = openType;
|
||||||
exports.os = os;
|
exports.os = os;
|
||||||
|
|||||||
@ -41,16 +41,12 @@ const _sfc_main = {
|
|||||||
placeholder.value = "输入医生姓名";
|
placeholder.value = "输入医生姓名";
|
||||||
} else if (newVal === "hospital") {
|
} else if (newVal === "hospital") {
|
||||||
placeholder.value = "输入医院名称";
|
placeholder.value = "输入医院名称";
|
||||||
} else if (newVal === "video") {
|
} else if (newVal === "video" || newVal === "article") {
|
||||||
placeholder.value = "疾病名称、标题、作者搜索";
|
|
||||||
} else if (newVal === "article") {
|
|
||||||
placeholder.value = "搜索疾病、症状、医院";
|
placeholder.value = "搜索疾病、症状、医院";
|
||||||
} else if (newVal === "case") {
|
} else if (newVal === "case") {
|
||||||
placeholder.value = "输入疾病名称";
|
placeholder.value = "请输入疾病名称";
|
||||||
} else if (newVal === "myCase") {
|
} else if (newVal === "myCase") {
|
||||||
placeholder.value = "输入疾病名称、标题搜索";
|
placeholder.value = "输入疾病名称、标题搜索";
|
||||||
} else if (newVal === "cert") {
|
|
||||||
placeholder.value = "疾病名称、标题搜索";
|
|
||||||
}
|
}
|
||||||
}, { immediate: true });
|
}, { immediate: true });
|
||||||
common_vendor.watch(() => props.searchWord, (newVal) => {
|
common_vendor.watch(() => props.searchWord, (newVal) => {
|
||||||
|
|||||||
@ -41,8 +41,8 @@ const _sfc_main = {
|
|||||||
const showTitle = common_vendor.ref(false);
|
const showTitle = common_vendor.ref(false);
|
||||||
const props = __props;
|
const props = __props;
|
||||||
common_vendor.watch(() => props.editorType, (newVal) => {
|
common_vendor.watch(() => props.editorType, (newVal) => {
|
||||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:168", 11111111);
|
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:162", 11111111);
|
||||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:169", newVal);
|
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:163", newVal);
|
||||||
if (newVal == "info") {
|
if (newVal == "info") {
|
||||||
placeholder.value = "患者基本情况,检查结果,诊疗图片或视频";
|
placeholder.value = "患者基本情况,检查结果,诊疗图片或视频";
|
||||||
} else {
|
} else {
|
||||||
@ -70,13 +70,13 @@ const _sfc_main = {
|
|||||||
showTitle.value = false;
|
showTitle.value = false;
|
||||||
};
|
};
|
||||||
const ready = (e) => {
|
const ready = (e) => {
|
||||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:197", e);
|
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:191", e);
|
||||||
editorCtx.value = e;
|
editorCtx.value = e;
|
||||||
if (props.editorType == "info") {
|
if (props.editorType == "info") {
|
||||||
if (props.editorCotent) {
|
if (props.editorCotent) {
|
||||||
editorCtx.value.initHtml(props.editorCotent, async (videoUrl) => {
|
editorCtx.value.initHtml(props.editorCotent, async (videoUrl) => {
|
||||||
let res = "";
|
let res = "";
|
||||||
const fox = common_assets.videoface;
|
const fox = "https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg";
|
||||||
res = await editorCtx.value.createCoverThumbnail(fox);
|
res = await editorCtx.value.createCoverThumbnail(fox);
|
||||||
showEditor.value = false;
|
showEditor.value = false;
|
||||||
return res;
|
return res;
|
||||||
@ -89,7 +89,7 @@ const _sfc_main = {
|
|||||||
if (props.editorCotent) {
|
if (props.editorCotent) {
|
||||||
editorCtx.value.initHtml(props.editorCotent, async (videoUrl) => {
|
editorCtx.value.initHtml(props.editorCotent, async (videoUrl) => {
|
||||||
let res = "";
|
let res = "";
|
||||||
const fox = common_assets.videoface;
|
const fox = "https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg";
|
||||||
res = await editorCtx.value.createCoverThumbnail(fox);
|
res = await editorCtx.value.createCoverThumbnail(fox);
|
||||||
showEditor.value = false;
|
showEditor.value = false;
|
||||||
return res;
|
return res;
|
||||||
@ -105,7 +105,7 @@ const _sfc_main = {
|
|||||||
emits("closeEditor");
|
emits("closeEditor");
|
||||||
});
|
});
|
||||||
const confirm = async () => {
|
const confirm = async () => {
|
||||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:252", "qqq");
|
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:246", "qqq");
|
||||||
const res = await editorCtx.value.getLastContent();
|
const res = await editorCtx.value.getLastContent();
|
||||||
emits("changeEditor", {
|
emits("changeEditor", {
|
||||||
type: props.editorType,
|
type: props.editorType,
|
||||||
@ -150,7 +150,7 @@ const _sfc_main = {
|
|||||||
return randomNumber;
|
return randomNumber;
|
||||||
};
|
};
|
||||||
const getImageFormat = (imageUrl) => {
|
const getImageFormat = (imageUrl) => {
|
||||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:303", imageUrl);
|
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:297", imageUrl);
|
||||||
const lastDotIndex = imageUrl.lastIndexOf(".");
|
const lastDotIndex = imageUrl.lastIndexOf(".");
|
||||||
if (lastDotIndex !== -1) {
|
if (lastDotIndex !== -1) {
|
||||||
return imageUrl.substring(lastDotIndex + 1);
|
return imageUrl.substring(lastDotIndex + 1);
|
||||||
@ -187,7 +187,7 @@ const _sfc_main = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
fail: (err) => {
|
fail: (err) => {
|
||||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:343", err);
|
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:337", err);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@ -253,7 +253,8 @@ const _sfc_main = {
|
|||||||
async success(res2) {
|
async success(res2) {
|
||||||
if (res2.statusCode === 204) {
|
if (res2.statusCode === 204) {
|
||||||
let url = host + "/" + dir + filename + imgType;
|
let url = host + "/" + dir + filename + imgType;
|
||||||
let imgUrl = common_assets.videoface;
|
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:410", editorCtx2);
|
||||||
|
let imgUrl = "https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg";
|
||||||
const fileThumbnail = await editorCtx2.createCoverThumbnail(
|
const fileThumbnail = await editorCtx2.createCoverThumbnail(
|
||||||
imgUrl
|
imgUrl
|
||||||
);
|
);
|
||||||
@ -266,7 +267,7 @@ const _sfc_main = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
fail: (err) => {
|
fail: (err) => {
|
||||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:430", err);
|
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:425", err);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
@ -275,7 +276,7 @@ const _sfc_main = {
|
|||||||
});
|
});
|
||||||
});
|
});
|
||||||
if (videos) {
|
if (videos) {
|
||||||
common_vendor.index.hideLoading();
|
common_vendor.index.showLoading();
|
||||||
common_vendor.index.showToast({ title: "添加视频成功", icon: "none" });
|
common_vendor.index.showToast({ title: "添加视频成功", icon: "none" });
|
||||||
} else {
|
} else {
|
||||||
common_vendor.index.showToast({ title: "添加视频失败", icon: "none" });
|
common_vendor.index.showToast({ title: "添加视频失败", icon: "none" });
|
||||||
@ -289,7 +290,7 @@ const _sfc_main = {
|
|||||||
//从相册选择
|
//从相册选择
|
||||||
extension: [".mp4", ".webm", ".ogg"],
|
extension: [".mp4", ".webm", ".ogg"],
|
||||||
success: function(res) {
|
success: function(res) {
|
||||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:452", res.tempFilePath);
|
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:447", res.tempFilePath);
|
||||||
HandleAddVideo(res.tempFilePath);
|
HandleAddVideo(res.tempFilePath);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -301,7 +302,7 @@ const _sfc_main = {
|
|||||||
showTitle.value = true;
|
showTitle.value = true;
|
||||||
};
|
};
|
||||||
const alertTitle = () => {
|
const alertTitle = () => {
|
||||||
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:466", "qqqqqq");
|
common_vendor.index.__f__("log", "at components/pEditor/pEditor.vue:461", "qqqqqq");
|
||||||
showTitle.value = true;
|
showTitle.value = true;
|
||||||
};
|
};
|
||||||
return (_ctx, _cache) => {
|
return (_ctx, _cache) => {
|
||||||
@ -314,72 +315,69 @@ const _sfc_main = {
|
|||||||
b: common_vendor.o((...args) => common_vendor.unref(closeSv) && common_vendor.unref(closeSv)(...args)),
|
b: common_vendor.o((...args) => common_vendor.unref(closeSv) && common_vendor.unref(closeSv)(...args)),
|
||||||
c: common_vendor.t(__props.editorType == "info" ? "病例信息" : "总结与讨论"),
|
c: common_vendor.t(__props.editorType == "info" ? "病例信息" : "总结与讨论"),
|
||||||
d: common_vendor.t(__props.editorType == "info" ? "病例信息" : "总结与讨论"),
|
d: common_vendor.t(__props.editorType == "info" ? "病例信息" : "总结与讨论"),
|
||||||
e: __props.editorType == "result"
|
e: __props.editorType == "info"
|
||||||
}, __props.editorType == "result" ? {} : {}, {
|
|
||||||
f: __props.editorType == "info"
|
|
||||||
}, __props.editorType == "info" ? {
|
}, __props.editorType == "info" ? {
|
||||||
g: common_vendor.p({
|
f: common_vendor.p({
|
||||||
name: "trash",
|
name: "trash",
|
||||||
color: "#6B7280",
|
color: "#6B7280",
|
||||||
size: "18"
|
size: "18"
|
||||||
}),
|
}),
|
||||||
h: common_vendor.o(clearMuBan)
|
g: common_vendor.o(clearMuBan)
|
||||||
} : {}, {
|
} : {}, {
|
||||||
i: common_vendor.o(ready),
|
h: common_vendor.o(ready),
|
||||||
j: common_vendor.o(_ctx.focus),
|
i: common_vendor.o(_ctx.focus),
|
||||||
k: common_vendor.o(blur),
|
j: common_vendor.o(blur),
|
||||||
l: common_vendor.p({
|
k: common_vendor.p({
|
||||||
placeholder: placeholder.value,
|
placeholder: placeholder.value,
|
||||||
eid: "peditor",
|
eid: "peditor",
|
||||||
pasteMode: "origin"
|
pasteMode: "origin"
|
||||||
}),
|
}),
|
||||||
m: common_vendor.p({
|
l: common_vendor.p({
|
||||||
src: common_vendor.unref(common_assets.photoImg),
|
src: common_vendor.unref(common_assets.photoImg),
|
||||||
width: "32rpx",
|
width: "32rpx",
|
||||||
height: "32rpx"
|
height: "32rpx"
|
||||||
}),
|
}),
|
||||||
n: !isIOS.value ? 1 : "",
|
m: common_vendor.o(insertImage),
|
||||||
o: common_vendor.o(insertImage),
|
n: common_vendor.p({
|
||||||
p: common_vendor.p({
|
|
||||||
src: common_vendor.unref(common_assets.videoImg$1),
|
src: common_vendor.unref(common_assets.videoImg$1),
|
||||||
width: "32rpx",
|
width: "32rpx",
|
||||||
height: "32rpx"
|
height: "32rpx"
|
||||||
}),
|
}),
|
||||||
q: !isIOS.value ? 1 : "",
|
o: common_vendor.o(insertVideo),
|
||||||
r: common_vendor.o(insertVideo),
|
p: __props.editorType == "info"
|
||||||
s: __props.editorType == "info"
|
|
||||||
}, __props.editorType == "info" ? {
|
}, __props.editorType == "info" ? {
|
||||||
t: common_vendor.p({
|
q: common_vendor.p({
|
||||||
src: common_vendor.unref(common_assets.addImg),
|
src: common_vendor.unref(common_assets.addImg),
|
||||||
width: "32rpx",
|
width: "32rpx",
|
||||||
height: "32rpx"
|
height: "32rpx"
|
||||||
}),
|
}),
|
||||||
v: !isIOS.value ? 1 : "",
|
r: common_vendor.o(alertTitle)
|
||||||
w: common_vendor.o(alertTitle)
|
|
||||||
} : {}, {
|
} : {}, {
|
||||||
x: common_vendor.o(confirm),
|
s: common_vendor.o(confirm),
|
||||||
y: common_vendor.p({
|
t: keyboardHeight.value > 0,
|
||||||
|
v: isIOS.value ? keyboardHeight.value : "0px",
|
||||||
|
w: common_vendor.p({
|
||||||
name: "close",
|
name: "close",
|
||||||
color: "#4B5563",
|
color: "#4B5563",
|
||||||
size: "20"
|
size: "20"
|
||||||
}),
|
}),
|
||||||
z: common_vendor.o(closeTitle),
|
x: common_vendor.o(closeTitle),
|
||||||
A: common_vendor.o(insertAllWord),
|
y: common_vendor.o(insertAllWord),
|
||||||
B: common_vendor.p({
|
z: common_vendor.p({
|
||||||
name: "plus-circle",
|
name: "plus-circle",
|
||||||
color: "#3CC7C0",
|
color: "#3CC7C0",
|
||||||
size: "20"
|
size: "20"
|
||||||
}),
|
}),
|
||||||
C: common_vendor.o(insertAllWord),
|
A: common_vendor.o(insertAllWord),
|
||||||
D: common_vendor.o(($event) => insertWord("患者信息")),
|
B: common_vendor.o(($event) => insertWord("患者信息")),
|
||||||
E: common_vendor.o(($event) => insertWord("主诉")),
|
C: common_vendor.o(($event) => insertWord("主诉")),
|
||||||
F: common_vendor.o(($event) => insertWord("现病史及既往史")),
|
D: common_vendor.o(($event) => insertWord("现病史及既往史")),
|
||||||
G: common_vendor.o(($event) => insertWord("检查")),
|
E: common_vendor.o(($event) => insertWord("检查")),
|
||||||
H: common_vendor.o(($event) => insertWord("临床诊断")),
|
F: common_vendor.o(($event) => insertWord("临床诊断")),
|
||||||
I: common_vendor.o(($event) => insertWord("治疗经过及结果")),
|
G: common_vendor.o(($event) => insertWord("治疗经过及结果")),
|
||||||
J: common_vendor.o(closeTitle),
|
H: common_vendor.o(closeTitle),
|
||||||
K: common_vendor.o(openTitle),
|
I: common_vendor.o(openTitle),
|
||||||
L: common_vendor.p({
|
J: common_vendor.p({
|
||||||
round: 10,
|
round: 10,
|
||||||
zIndex: "999999",
|
zIndex: "999999",
|
||||||
show: showTitle.value,
|
show: showTitle.value,
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
<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></view><up-popup wx:if="{{L}}" class="data-v-a6a7913a" u-s="{{['d']}}" bindclose="{{J}}" bindopen="{{K}}" u-i="a6a7913a-6" bind:__l="__l" u-p="{{L}}"><view class="draftpop titlepop data-v-a6a7913a"><view class="titlebox data-v-a6a7913a">添加小标题 <view class="close data-v-a6a7913a" bindtap="{{z}}"><up-icon wx:if="{{y}}" class="data-v-a6a7913a" u-i="a6a7913a-7,a6a7913a-6" bind:__l="__l" u-p="{{y}}"></up-icon></view></view><view class="con data-v-a6a7913a"><view class="top data-v-a6a7913a"><up-icon wx:if="{{B}}" class="data-v-a6a7913a" bindclick="{{A}}" u-i="a6a7913a-8,a6a7913a-6" bind:__l="__l" u-p="{{B}}"></up-icon><view class="desc data-v-a6a7913a" bindtap="{{C}}">一键添加全部</view></view><view class="cellbox data-v-a6a7913a"><view class="cell data-v-a6a7913a" bindtap="{{D}}">患者信息</view><view class="cell data-v-a6a7913a" bindtap="{{E}}">主诉</view><view class="cell data-v-a6a7913a" bindtap="{{F}}">现病史及既往史</view></view><view class="cellbox data-v-a6a7913a"><view class="cell data-v-a6a7913a" bindtap="{{G}}">检查</view><view class="cell data-v-a6a7913a" bindtap="{{H}}">临床诊断</view><view class="cell data-v-a6a7913a" bindtap="{{I}}">治疗经过及结果</view></view></view></view></up-popup></view>
|
<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}}</view><view wx:if="{{e}}" class="right data-v-a6a7913a" bindtap="{{g}}"><u-icon wx:if="{{f}}" class="data-v-a6a7913a" u-i="a6a7913a-1" bind:__l="__l" u-p="{{f}}"></u-icon> 清除模板 </view></view><view class="editorbox data-v-a6a7913a"><sv-editor wx:if="{{k}}" class="ql-container data-v-a6a7913a" bindready="{{h}}" bindfocus="{{i}}" bindblur="{{j}}" u-i="a6a7913a-2" bind:__l="__l" u-p="{{k}}"></sv-editor></view></view><view class="toolbar data-v-a6a7913a" hidden="{{!t}}" style="{{'bottom:' + v}}"><view class="toolbox data-v-a6a7913a"><view class="cellbox data-v-a6a7913a"><view class="cell data-v-a6a7913a" bindtap="{{m}}"><up--image wx:if="{{l}}" class="headImg data-v-a6a7913a" u-i="a6a7913a-3" bind:__l="__l" u-p="{{l}}"></up--image><view class="name data-v-a6a7913a">添加图片</view></view><view class="cell data-v-a6a7913a" bindtap="{{o}}"><up--image wx:if="{{n}}" class="headImg data-v-a6a7913a" u-i="a6a7913a-4" bind:__l="__l" u-p="{{n}}"></up--image><view class="name data-v-a6a7913a">添加视频</view></view><view wx:if="{{p}}" class="cell data-v-a6a7913a" bindtap="{{r}}"><up--image wx:if="{{q}}" class="headImg data-v-a6a7913a" u-i="a6a7913a-5" bind:__l="__l" u-p="{{q}}"></up--image><view class="name data-v-a6a7913a">添加小标题</view></view></view><view class="btn data-v-a6a7913a" bindtap="{{s}}">确定</view></view></view><up-popup wx:if="{{J}}" class="data-v-a6a7913a" u-s="{{['d']}}" bindclose="{{H}}" bindopen="{{I}}" u-i="a6a7913a-6" bind:__l="__l" u-p="{{J}}"><view class="draftpop titlepop data-v-a6a7913a"><view class="titlebox data-v-a6a7913a">添加小标题 <view class="close data-v-a6a7913a" bindtap="{{x}}"><up-icon wx:if="{{w}}" class="data-v-a6a7913a" u-i="a6a7913a-7,a6a7913a-6" bind:__l="__l" u-p="{{w}}"></up-icon></view></view><view class="con data-v-a6a7913a"><view class="top data-v-a6a7913a"><up-icon wx:if="{{z}}" class="data-v-a6a7913a" bindclick="{{y}}" u-i="a6a7913a-8,a6a7913a-6" bind:__l="__l" u-p="{{z}}"></up-icon><view class="desc data-v-a6a7913a" bindtap="{{A}}">一键添加全部</view></view><view class="cellbox data-v-a6a7913a"><view class="cell data-v-a6a7913a" bindtap="{{B}}">患者信息</view><view class="cell data-v-a6a7913a" bindtap="{{C}}">主诉</view><view class="cell 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></view></up-popup></view>
|
||||||
@ -33,10 +33,6 @@
|
|||||||
font-size: 38rpx;
|
font-size: 38rpx;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
}
|
}
|
||||||
.row .tip.data-v-a6a7913a {
|
|
||||||
color: #9ca3af;
|
|
||||||
font-size: 32rpx;
|
|
||||||
}
|
|
||||||
.row .right.data-v-a6a7913a {
|
.row .right.data-v-a6a7913a {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
@ -99,14 +95,16 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 180rpx;
|
top: 180rpx;
|
||||||
left: 0;
|
left: 0;
|
||||||
bottom: 200rpx;
|
bottom: 250rpx;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
.editorbox.data-v-a6a7913a {
|
.editorbox.data-v-a6a7913a {
|
||||||
|
height: 100%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
line-height: 1.5;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
padding: 10rpx 30rpx 10rpx;
|
padding: 10rpx 30rpx 10rpx;
|
||||||
}
|
}
|
||||||
@ -170,15 +168,8 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
/* justify-content: space-between; */
|
/* 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 {
|
.toolbox .cell.data-v-a6a7913a {
|
||||||
width: 134rpx;
|
width: 132rpx;
|
||||||
margin-right: 20rpx;
|
margin-right: 20rpx;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: nowrap;
|
flex-wrap: nowrap;
|
||||||
@ -300,23 +291,3 @@
|
|||||||
background: #e5e7eb78;
|
background: #e5e7eb78;
|
||||||
font-size: 24rpx;
|
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%);
|
|
||||||
}
|
|
||||||
@ -2,7 +2,7 @@
|
|||||||
const common_vendor = require("../../../../common/vendor.js");
|
const common_vendor = require("../../../../common/vendor.js");
|
||||||
const _sfc_main = {
|
const _sfc_main = {
|
||||||
name: "u-cell-group",
|
name: "u-cell-group",
|
||||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$33],
|
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$31],
|
||||||
methods: {
|
methods: {
|
||||||
addStyle: common_vendor.addStyle
|
addStyle: common_vendor.addStyle
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
const common_vendor = require("../../../../common/vendor.js");
|
const common_vendor = require("../../../../common/vendor.js");
|
||||||
const _sfc_main = {
|
const _sfc_main = {
|
||||||
name: "u-gap",
|
name: "u-gap",
|
||||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$28],
|
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$34],
|
||||||
computed: {
|
computed: {
|
||||||
gapStyle() {
|
gapStyle() {
|
||||||
const style = {
|
const style = {
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
const common_vendor = require("../../../../common/vendor.js");
|
const common_vendor = require("../../../../common/vendor.js");
|
||||||
const _sfc_main = {
|
const _sfc_main = {
|
||||||
name: "u-line",
|
name: "u-line",
|
||||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$34],
|
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$32],
|
||||||
computed: {
|
computed: {
|
||||||
lineStyle() {
|
lineStyle() {
|
||||||
const style = {};
|
const style = {};
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
const common_vendor = require("../../../../common/vendor.js");
|
const common_vendor = require("../../../../common/vendor.js");
|
||||||
const _sfc_main = {
|
const _sfc_main = {
|
||||||
name: "u-loading-icon",
|
name: "u-loading-icon",
|
||||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$27],
|
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$33],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
// Array.form可以通过一个伪数组对象创建指定长度的数组
|
// Array.form可以通过一个伪数组对象创建指定长度的数组
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
const common_vendor = require("../../../../common/vendor.js");
|
const common_vendor = require("../../../../common/vendor.js");
|
||||||
const _sfc_main = {
|
const _sfc_main = {
|
||||||
name: "u-safe-bottom",
|
name: "u-safe-bottom",
|
||||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$30],
|
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$28],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
safeAreaBottomHeight: 0,
|
safeAreaBottomHeight: 0,
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
const common_vendor = require("../../../../common/vendor.js");
|
const common_vendor = require("../../../../common/vendor.js");
|
||||||
const _sfc_main = {
|
const _sfc_main = {
|
||||||
name: "u-status-bar",
|
name: "u-status-bar",
|
||||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$29],
|
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$27],
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
isH5: false
|
isH5: false
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
const common_vendor = require("../../../../common/vendor.js");
|
const common_vendor = require("../../../../common/vendor.js");
|
||||||
const _sfc_main = {
|
const _sfc_main = {
|
||||||
name: "up-text",
|
name: "up-text",
|
||||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.value, common_vendor.buttonMixin, common_vendor.openType, common_vendor.props$32],
|
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.value, common_vendor.buttonMixin, common_vendor.openType, common_vendor.props$30],
|
||||||
emits: ["click"],
|
emits: ["click"],
|
||||||
computed: {
|
computed: {
|
||||||
wrapStyle() {
|
wrapStyle() {
|
||||||
|
|||||||
@ -33,7 +33,7 @@ const _sfc_main = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 将mixin挂在到组件中,实际上为一个vue格式对象。
|
// 将mixin挂在到组件中,实际上为一个vue格式对象。
|
||||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.transitionMixin, common_vendor.props$31],
|
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.transitionMixin, common_vendor.props$29],
|
||||||
watch: {
|
watch: {
|
||||||
show: {
|
show: {
|
||||||
handler(newVal) {
|
handler(newVal) {
|
||||||
|
|||||||
@ -31,7 +31,7 @@ const _sfc_main = {
|
|||||||
common_vendor.ref("");
|
common_vendor.ref("");
|
||||||
const doctor_id = common_vendor.ref("");
|
const doctor_id = common_vendor.ref("");
|
||||||
const numInfo = common_vendor.reactive({});
|
const numInfo = common_vendor.reactive({});
|
||||||
const navName = common_vendor.ref("肝胆相照临床病例库收录证书");
|
const navName = common_vendor.ref("肝胆相照临床病例库");
|
||||||
const formatdate = (date) => {
|
const formatdate = (date) => {
|
||||||
return common_vendor.dayjs(date).format("YYYY-MM-DD");
|
return common_vendor.dayjs(date).format("YYYY-MM-DD");
|
||||||
};
|
};
|
||||||
@ -51,10 +51,6 @@ const _sfc_main = {
|
|||||||
if (options.doctor_id) {
|
if (options.doctor_id) {
|
||||||
doctor_id.value = options.doctor_id;
|
doctor_id.value = options.doctor_id;
|
||||||
}
|
}
|
||||||
let userInfo = common_vendor.index.getStorageSync("userInfo");
|
|
||||||
if (userInfo.user_name) {
|
|
||||||
navName.value = userInfo.user_name + "临床病例库收录证书";
|
|
||||||
}
|
|
||||||
});
|
});
|
||||||
common_vendor.onShow(() => {
|
common_vendor.onShow(() => {
|
||||||
var _a;
|
var _a;
|
||||||
@ -108,7 +104,7 @@ const _sfc_main = {
|
|||||||
});
|
});
|
||||||
};
|
};
|
||||||
const queryList = (pageNo, pageSize) => {
|
const queryList = (pageNo, pageSize) => {
|
||||||
common_vendor.index.__f__("log", "at pages/certList/certList.vue:169", 666666);
|
common_vendor.index.__f__("log", "at pages/certList/certList.vue:165", 666666);
|
||||||
const params = {
|
const params = {
|
||||||
page: pageNo,
|
page: pageNo,
|
||||||
page_size: pageSize
|
page_size: pageSize
|
||||||
@ -120,8 +116,7 @@ const _sfc_main = {
|
|||||||
a: common_vendor.o(changeWord),
|
a: common_vendor.o(changeWord),
|
||||||
b: common_vendor.p({
|
b: common_vendor.p({
|
||||||
searchWord: keyWord.value,
|
searchWord: keyWord.value,
|
||||||
navName: navName.value,
|
navName: navName.value
|
||||||
type: "cert"
|
|
||||||
}),
|
}),
|
||||||
c: isSearch.value
|
c: isSearch.value
|
||||||
}, isSearch.value ? common_vendor.e({
|
}, isSearch.value ? common_vendor.e({
|
||||||
|
|||||||
@ -2,9 +2,9 @@
|
|||||||
const common_vendor = require("../../common/vendor.js");
|
const common_vendor = require("../../common/vendor.js");
|
||||||
const common_assets = require("../../common/assets.js");
|
const common_assets = require("../../common/assets.js");
|
||||||
const api_api = require("../../api/api.js");
|
const api_api = require("../../api/api.js");
|
||||||
|
const utils_throttle = require("../../utils/throttle.js");
|
||||||
const uni_modules_svEditor_components_common_utils = require("../../uni_modules/sv-editor/components/common/utils.js");
|
const uni_modules_svEditor_components_common_utils = require("../../uni_modules/sv-editor/components/common/utils.js");
|
||||||
if (!Array) {
|
if (!Array) {
|
||||||
const _easycom_up_toast2 = common_vendor.resolveComponent("up-toast");
|
|
||||||
const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon");
|
const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon");
|
||||||
const _easycom_up__textarea2 = common_vendor.resolveComponent("up--textarea");
|
const _easycom_up__textarea2 = common_vendor.resolveComponent("up--textarea");
|
||||||
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
|
const _easycom_up_icon2 = common_vendor.resolveComponent("up-icon");
|
||||||
@ -17,9 +17,8 @@ if (!Array) {
|
|||||||
const _easycom_up_steps2 = common_vendor.resolveComponent("up-steps");
|
const _easycom_up_steps2 = common_vendor.resolveComponent("up-steps");
|
||||||
const _easycom_up_radio2 = common_vendor.resolveComponent("up-radio");
|
const _easycom_up_radio2 = common_vendor.resolveComponent("up-radio");
|
||||||
const _easycom_up_radio_group2 = common_vendor.resolveComponent("up-radio-group");
|
const _easycom_up_radio_group2 = common_vendor.resolveComponent("up-radio-group");
|
||||||
(_easycom_up_toast2 + _easycom_u_icon2 + _easycom_up__textarea2 + _easycom_up_icon2 + _easycom_up__image2 + _easycom_up_input2 + _easycom_up_popup2 + _easycom_up_empty2 + _easycom_up_overlay2 + _easycom_up_steps_item2 + _easycom_up_steps2 + _easycom_up_radio2 + _easycom_up_radio_group2)();
|
(_easycom_u_icon2 + _easycom_up__textarea2 + _easycom_up_icon2 + _easycom_up__image2 + _easycom_up_input2 + _easycom_up_popup2 + _easycom_up_empty2 + _easycom_up_overlay2 + _easycom_up_steps_item2 + _easycom_up_steps2 + _easycom_up_radio2 + _easycom_up_radio_group2)();
|
||||||
}
|
}
|
||||||
const _easycom_up_toast = () => "../../node-modules/uview-plus/components/u-toast/u-toast.js";
|
|
||||||
const _easycom_u_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
|
const _easycom_u_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
|
||||||
const _easycom_up__textarea = () => "../../node-modules/uview-plus/components/u--textarea/u--textarea.js";
|
const _easycom_up__textarea = () => "../../node-modules/uview-plus/components/u--textarea/u--textarea.js";
|
||||||
const _easycom_up_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
|
const _easycom_up_icon = () => "../../node-modules/uview-plus/components/u-icon/u-icon.js";
|
||||||
@ -33,23 +32,21 @@ const _easycom_up_steps = () => "../../node-modules/uview-plus/components/u-step
|
|||||||
const _easycom_up_radio = () => "../../node-modules/uview-plus/components/u-radio/u-radio.js";
|
const _easycom_up_radio = () => "../../node-modules/uview-plus/components/u-radio/u-radio.js";
|
||||||
const _easycom_up_radio_group = () => "../../node-modules/uview-plus/components/u-radio-group/u-radio-group.js";
|
const _easycom_up_radio_group = () => "../../node-modules/uview-plus/components/u-radio-group/u-radio-group.js";
|
||||||
if (!Math) {
|
if (!Math) {
|
||||||
(_easycom_up_toast + common_vendor.unref(pEditor) + _easycom_u_icon + _easycom_up__textarea + svEditor + _easycom_up_icon + _easycom_up__image + _easycom_up_input + _easycom_up_popup + _easycom_up_empty + _easycom_up_overlay + _easycom_up_steps_item + _easycom_up_steps + _easycom_up_radio + _easycom_up_radio_group)();
|
(common_vendor.unref(pEditor) + _easycom_u_icon + _easycom_up__textarea + svEditor + _easycom_up_icon + _easycom_up__image + _easycom_up_input + _easycom_up_popup + _easycom_up_empty + _easycom_up_overlay + _easycom_up_steps_item + _easycom_up_steps + _easycom_up_radio + _easycom_up_radio_group)();
|
||||||
}
|
}
|
||||||
const svEditor = () => "../../uni_modules/sv-editor/components/sv-editor/sv-editor.js";
|
const svEditor = () => "../../uni_modules/sv-editor/components/sv-editor/sv-editor.js";
|
||||||
const pEditor = () => "../../components/pEditor/pEditor.js";
|
const pEditor = () => "../../components/pEditor/pEditor.js";
|
||||||
const _sfc_main = {
|
const _sfc_main = {
|
||||||
__name: "publish",
|
__name: "publish",
|
||||||
setup(__props) {
|
setup(__props) {
|
||||||
const uToast = common_vendor.ref(null);
|
|
||||||
const isLock = common_vendor.ref(false);
|
const isLock = common_vendor.ref(false);
|
||||||
common_vendor.ref(false);
|
const isFlag = common_vendor.ref(false);
|
||||||
const delId = common_vendor.ref("");
|
const delId = common_vendor.ref("");
|
||||||
const showModal = common_vendor.ref(false);
|
const showModal = common_vendor.ref(false);
|
||||||
const delType = common_vendor.ref("delDraft");
|
const delType = common_vendor.ref("delDraft");
|
||||||
const isPublish = common_vendor.ref(false);
|
const isPublish = common_vendor.ref(false);
|
||||||
const exchange_id = common_vendor.ref("");
|
const exchange_id = common_vendor.ref("");
|
||||||
const showEditor = common_vendor.ref(false);
|
const showEditor = common_vendor.ref(false);
|
||||||
const showOpacity = common_vendor.ref(false);
|
|
||||||
const editorType = common_vendor.ref("info");
|
const editorType = common_vendor.ref("info");
|
||||||
common_vendor.ref(200);
|
common_vendor.ref(200);
|
||||||
const form = common_vendor.reactive({
|
const form = common_vendor.reactive({
|
||||||
@ -69,7 +66,6 @@ const _sfc_main = {
|
|||||||
]
|
]
|
||||||
});
|
});
|
||||||
common_vendor.ref("");
|
common_vendor.ref("");
|
||||||
const isConfirmPublish = common_vendor.ref(false);
|
|
||||||
const showVote = common_vendor.ref(false);
|
const showVote = common_vendor.ref(false);
|
||||||
const showDraft = common_vendor.ref(false);
|
const showDraft = common_vendor.ref(false);
|
||||||
const showTitle = common_vendor.ref(false);
|
const showTitle = common_vendor.ref(false);
|
||||||
@ -81,12 +77,6 @@ const _sfc_main = {
|
|||||||
const isFocusInfo = common_vendor.ref(false);
|
const isFocusInfo = common_vendor.ref(false);
|
||||||
const isFocusResult = common_vendor.ref(false);
|
const isFocusResult = common_vendor.ref(false);
|
||||||
const labelList = common_vendor.ref([]);
|
const labelList = common_vendor.ref([]);
|
||||||
const infoHeight = common_vendor.ref(100);
|
|
||||||
let inithtmlString = "<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p><br/><br/>";
|
|
||||||
const infoHtml = common_vendor.ref(inithtmlString);
|
|
||||||
const resultHtml = common_vendor.ref("");
|
|
||||||
const resultHeight = common_vendor.ref(100);
|
|
||||||
const showInfoOpacity = common_vendor.ref(true);
|
|
||||||
const level = common_vendor.ref(1);
|
const level = common_vendor.ref(1);
|
||||||
const freshKey = common_vendor.ref(0);
|
const freshKey = common_vendor.ref(0);
|
||||||
const showCase = common_vendor.ref(false);
|
const showCase = common_vendor.ref(false);
|
||||||
@ -119,38 +109,23 @@ const _sfc_main = {
|
|||||||
};
|
};
|
||||||
const changeEditor = (data) => {
|
const changeEditor = (data) => {
|
||||||
showEditor.value = false;
|
showEditor.value = false;
|
||||||
|
common_vendor.index.__f__("log", "at pages/publish/publish.vue:592", data);
|
||||||
if (data.type == "info") {
|
if (data.type == "info") {
|
||||||
infoHtml.value = data.content;
|
|
||||||
editorCtx.value.initHtml(data.content, async (videoUrl) => {
|
editorCtx.value.initHtml(data.content, async (videoUrl) => {
|
||||||
let res = "";
|
let res = "";
|
||||||
const fox = common_assets.videoface;
|
const fox = "https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg";
|
||||||
res = await editorCtx.value.createCoverThumbnail(fox);
|
res = await editorCtx.value.createCoverThumbnail(fox);
|
||||||
showEditor.value = false;
|
showEditor.value = false;
|
||||||
return res;
|
return res;
|
||||||
});
|
});
|
||||||
setTimeout(() => {
|
|
||||||
const query = common_vendor.wx$1.createSelectorQuery();
|
|
||||||
query.select("#infoContent").boundingClientRect(function(rect) {
|
|
||||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:658", rect.height);
|
|
||||||
infoHeight.value = rect.height + 10;
|
|
||||||
}).exec();
|
|
||||||
}, 0);
|
|
||||||
} else {
|
} else {
|
||||||
resultHtml.value = data.content;
|
|
||||||
editorCtxResult.value.initHtml(data.content, async (videoUrl) => {
|
editorCtxResult.value.initHtml(data.content, async (videoUrl) => {
|
||||||
let res = "";
|
let res = "";
|
||||||
const fox = common_assets.videoface;
|
const fox = "https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg";
|
||||||
res = await editorCtx.value.createCoverThumbnail(fox);
|
res = await editorCtx.value.createCoverThumbnail(fox);
|
||||||
showEditor.value = false;
|
showEditor.value = false;
|
||||||
return res;
|
return res;
|
||||||
});
|
});
|
||||||
setTimeout(() => {
|
|
||||||
const query = common_vendor.wx$1.createSelectorQuery();
|
|
||||||
query.select("#resultContent").boundingClientRect(function(rect) {
|
|
||||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:680", rect.height);
|
|
||||||
resultHeight.value = rect.height + 10;
|
|
||||||
}).exec();
|
|
||||||
}, 0);
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const openDraftList = () => {
|
const openDraftList = () => {
|
||||||
@ -158,7 +133,7 @@ const _sfc_main = {
|
|||||||
showDraft.value = true;
|
showDraft.value = true;
|
||||||
};
|
};
|
||||||
const epaste = (e) => {
|
const epaste = (e) => {
|
||||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:696", e);
|
common_vendor.index.__f__("log", "at pages/publish/publish.vue:633", e);
|
||||||
};
|
};
|
||||||
const alertVote = () => {
|
const alertVote = () => {
|
||||||
if (exchange_id.value) {
|
if (exchange_id.value) {
|
||||||
@ -247,7 +222,7 @@ const _sfc_main = {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
const ready = (e) => {
|
const ready = (e) => {
|
||||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:814", e);
|
common_vendor.index.__f__("log", "at pages/publish/publish.vue:749", e);
|
||||||
editorCtx.value = e;
|
editorCtx.value = e;
|
||||||
let html = "<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p><br/><br/>";
|
let html = "<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p><br/><br/>";
|
||||||
editorCtx.value.initHtml(html);
|
editorCtx.value.initHtml(html);
|
||||||
@ -257,6 +232,7 @@ const _sfc_main = {
|
|||||||
selector: "#form"
|
selector: "#form"
|
||||||
// })
|
// })
|
||||||
});
|
});
|
||||||
|
common_vendor.index.hideLoading();
|
||||||
};
|
};
|
||||||
const readyResult = (e) => {
|
const readyResult = (e) => {
|
||||||
editorCtxResult.value = e;
|
editorCtxResult.value = e;
|
||||||
@ -264,9 +240,11 @@ const _sfc_main = {
|
|||||||
if (exchange_id.value) {
|
if (exchange_id.value) {
|
||||||
getExchangeDetail(exchange_id.value);
|
getExchangeDetail(exchange_id.value);
|
||||||
}
|
}
|
||||||
common_vendor.index.hideLoading();
|
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
const changeSv = () => {
|
||||||
|
showEditor.value = false;
|
||||||
|
};
|
||||||
const focusInfo = async () => {
|
const focusInfo = async () => {
|
||||||
isFocusInfo.value = true;
|
isFocusInfo.value = true;
|
||||||
const res = await editorCtx.value.getLastContent();
|
const res = await editorCtx.value.getLastContent();
|
||||||
@ -321,7 +299,7 @@ const _sfc_main = {
|
|||||||
};
|
};
|
||||||
const getExchangeDetail = (id) => {
|
const getExchangeDetail = (id) => {
|
||||||
api_api.api.getExchangeDetail(id).then((res) => {
|
api_api.api.getExchangeDetail(id).then((res) => {
|
||||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:954", res.data.data);
|
common_vendor.index.__f__("log", "at pages/publish/publish.vue:890", res.data.data);
|
||||||
let {
|
let {
|
||||||
exchange_content,
|
exchange_content,
|
||||||
exchange_title,
|
exchange_title,
|
||||||
@ -331,7 +309,7 @@ const _sfc_main = {
|
|||||||
} = res.data.data;
|
} = res.data.data;
|
||||||
editorCtx.value.initHtml(exchange_content, async (videoUrl) => {
|
editorCtx.value.initHtml(exchange_content, async (videoUrl) => {
|
||||||
let res2;
|
let res2;
|
||||||
const fox = common_assets.videoface;
|
const fox = "https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg";
|
||||||
res2 = await editorCtx.value.createCoverThumbnail(fox);
|
res2 = await editorCtx.value.createCoverThumbnail(fox);
|
||||||
return res2;
|
return res2;
|
||||||
});
|
});
|
||||||
@ -343,7 +321,7 @@ const _sfc_main = {
|
|||||||
form.case_exchange_vote = exchange_vote;
|
form.case_exchange_vote = exchange_vote;
|
||||||
editorCtxResult.value.initHtml(exchange_summary, async (videoUrl) => {
|
editorCtxResult.value.initHtml(exchange_summary, async (videoUrl) => {
|
||||||
let res2;
|
let res2;
|
||||||
const fox = common_assets.videoface;
|
const fox = "https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg";
|
||||||
res2 = await editorCtxResult.value.createCoverThumbnail(fox);
|
res2 = await editorCtxResult.value.createCoverThumbnail(fox);
|
||||||
return res2;
|
return res2;
|
||||||
});
|
});
|
||||||
@ -377,7 +355,7 @@ const _sfc_main = {
|
|||||||
};
|
};
|
||||||
const confirmDel = () => {
|
const confirmDel = () => {
|
||||||
showModal.value = false;
|
showModal.value = false;
|
||||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1022", delType.value);
|
common_vendor.index.__f__("log", "at pages/publish/publish.vue:958", delType.value);
|
||||||
if (delType.value == "delDraft") {
|
if (delType.value == "delDraft") {
|
||||||
delDraft(delId.value);
|
delDraft(delId.value);
|
||||||
} else if (delType.value == "saveDraft") {
|
} else if (delType.value == "saveDraft") {
|
||||||
@ -388,20 +366,17 @@ const _sfc_main = {
|
|||||||
showModal.value = false;
|
showModal.value = false;
|
||||||
if (delType.value == "saveDraft") {
|
if (delType.value == "saveDraft") {
|
||||||
goBack();
|
goBack();
|
||||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1034", "wee");
|
common_vendor.index.__f__("log", "at pages/publish/publish.vue:970", "wee");
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
const cancelConfirmPublish = () => {
|
|
||||||
isConfirmPublish.value = false;
|
|
||||||
};
|
|
||||||
const delDraft = (id) => {
|
const delDraft = (id) => {
|
||||||
api_api.api.delDraft(id).then((res) => {
|
api_api.api.delDraft(id).then((res) => {
|
||||||
common_vendor.index.showToast({
|
common_vendor.index.showToast({
|
||||||
title: "删除成功",
|
title: "删除成功",
|
||||||
icon: "none"
|
icon: "none"
|
||||||
});
|
});
|
||||||
getDraftList();
|
|
||||||
});
|
});
|
||||||
|
getDraftList();
|
||||||
};
|
};
|
||||||
const alertSave = async () => {
|
const alertSave = async () => {
|
||||||
if (isPublish.value || exchange_id.value) {
|
if (isPublish.value || exchange_id.value) {
|
||||||
@ -418,6 +393,70 @@ const _sfc_main = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
const publish = utils_throttle.throttle(async () => {
|
||||||
|
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1012", 3333);
|
||||||
|
const initInfo = "<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p>";
|
||||||
|
if (form.exchange_title == "") {
|
||||||
|
common_vendor.index.showToast({
|
||||||
|
title: "请输入标题",
|
||||||
|
icon: "none"
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (form.exchange_title.length > 40) {
|
||||||
|
common_vendor.index.showToast({
|
||||||
|
title: "标题不超过40个字",
|
||||||
|
icon: "none"
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
const res = await editorCtx.value.getLastContent();
|
||||||
|
let html = editorCtx.value.exportHtml(res.html);
|
||||||
|
if (html == initInfo) {
|
||||||
|
common_vendor.index.showToast({
|
||||||
|
title: "请编辑病例信息",
|
||||||
|
icon: "none"
|
||||||
|
});
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
if (!(form.case_exchange_vote && form.case_exchange_vote.vote_title)) {
|
||||||
|
delete form.case_exchange_vote;
|
||||||
|
}
|
||||||
|
if (!form.case_exchange_label || form.case_exchange_label && form.case_exchange_label.length == 0) {
|
||||||
|
delete form.case_exchange_label;
|
||||||
|
}
|
||||||
|
form.case_exchange_label = labelList.value;
|
||||||
|
if (isLock.value)
|
||||||
|
return false;
|
||||||
|
isFlag.value = true;
|
||||||
|
form.exchange_content = html;
|
||||||
|
const resContent = await editorCtxResult.value.getLastContent();
|
||||||
|
let reshtml = editorCtxResult.value.exportHtml(resContent.html);
|
||||||
|
form.exchange_summary = reshtml == "<p><br></p>" ? "" : reshtml;
|
||||||
|
if (exchange_id.value) {
|
||||||
|
api_api.api.updateExchange(exchange_id.value, form).then((res2) => {
|
||||||
|
common_vendor.index.showToast({
|
||||||
|
title: "修改成功",
|
||||||
|
icon: "none",
|
||||||
|
duration: 2e3
|
||||||
|
});
|
||||||
|
isFlag.value = false;
|
||||||
|
isPublish.value = true;
|
||||||
|
common_vendor.index.navigateBack();
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
api_api.api.addExchange(form).then((res2) => {
|
||||||
|
common_vendor.index.showToast({
|
||||||
|
title: "发布成功",
|
||||||
|
icon: "none",
|
||||||
|
duration: 2e3
|
||||||
|
});
|
||||||
|
isFlag.value = false;
|
||||||
|
isPublish.value = true;
|
||||||
|
common_vendor.index.navigateBack();
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
const insertWord = (word) => {
|
const insertWord = (word) => {
|
||||||
uni_modules_svEditor_components_common_utils.addText(word);
|
uni_modules_svEditor_components_common_utils.addText(word);
|
||||||
showTitle.value = false;
|
showTitle.value = false;
|
||||||
@ -436,24 +475,6 @@ const _sfc_main = {
|
|||||||
});
|
});
|
||||||
showTitle.value = false;
|
showTitle.value = false;
|
||||||
};
|
};
|
||||||
const changeInfoEditor = async () => {
|
|
||||||
const res = await editorCtx.value.getLastContent();
|
|
||||||
let str = res.text.replace(/\s/g, "");
|
|
||||||
if (str) {
|
|
||||||
showInfoOpacity.value = true;
|
|
||||||
} else {
|
|
||||||
showInfoOpacity.value = false;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
const changeResEditor = async () => {
|
|
||||||
const res = await editorCtxResult.value.getLastContent();
|
|
||||||
let str = res.text.replace(/\s/g, "");
|
|
||||||
if (str) {
|
|
||||||
showOpacity.value = true;
|
|
||||||
} else {
|
|
||||||
showOpacity.value = false;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
const getDraftList = () => {
|
const getDraftList = () => {
|
||||||
api_api.api.getDraftList().then((res) => {
|
api_api.api.getDraftList().then((res) => {
|
||||||
draftList.value = res.data.data.data;
|
draftList.value = res.data.data.data;
|
||||||
@ -480,7 +501,7 @@ const _sfc_main = {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1360", caseValue1);
|
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1271", caseValue1);
|
||||||
getCaseLabel(2, e);
|
getCaseLabel(2, e);
|
||||||
};
|
};
|
||||||
const groupChange2 = (e) => {
|
const groupChange2 = (e) => {
|
||||||
@ -579,7 +600,7 @@ const _sfc_main = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
labelList.value = labelList.value.filter((item, index) => labelList.value.findIndex((i) => i.app_iden === item.app_iden) === index);
|
labelList.value = labelList.value.filter((item, index) => labelList.value.findIndex((i) => i.app_iden === item.app_iden) === index);
|
||||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1478", labelList.value);
|
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1389", labelList.value);
|
||||||
showCase.value = false;
|
showCase.value = false;
|
||||||
};
|
};
|
||||||
const closeCase = () => {
|
const closeCase = () => {
|
||||||
@ -597,120 +618,96 @@ const _sfc_main = {
|
|||||||
showCase.value = true;
|
showCase.value = true;
|
||||||
getCaseLabel(1, 0);
|
getCaseLabel(1, 0);
|
||||||
};
|
};
|
||||||
common_vendor.onReady(() => {
|
|
||||||
uToast.value.show({
|
|
||||||
type: "loading",
|
|
||||||
title: "正在加载",
|
|
||||||
message: "正在加载",
|
|
||||||
duration: 1e3
|
|
||||||
});
|
|
||||||
});
|
|
||||||
common_vendor.onLoad((optoions) => {
|
common_vendor.onLoad((optoions) => {
|
||||||
|
common_vendor.index.showLoading({
|
||||||
|
title: "正在加载中...",
|
||||||
|
mask: true
|
||||||
|
});
|
||||||
if (optoions.exchange_id) {
|
if (optoions.exchange_id) {
|
||||||
exchange_id.value = optoions.exchange_id;
|
exchange_id.value = optoions.exchange_id;
|
||||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1511", 1111);
|
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1416", 1111);
|
||||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1512", exchange_id.value);
|
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1417", exchange_id.value);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return (_ctx, _cache) => {
|
return (_ctx, _cache) => {
|
||||||
return common_vendor.e({
|
return common_vendor.e({
|
||||||
a: common_vendor.sr(uToast, "bfce3555-0", {
|
a: showEditor.value
|
||||||
"k": "uToast"
|
|
||||||
}),
|
|
||||||
b: showEditor.value
|
|
||||||
}, showEditor.value ? {
|
}, showEditor.value ? {
|
||||||
c: common_vendor.o(closeEditor),
|
b: common_vendor.o(closeEditor),
|
||||||
d: common_vendor.o(changeEditor),
|
c: common_vendor.o(changeEditor),
|
||||||
e: common_vendor.p({
|
d: common_vendor.p({
|
||||||
editorCotent: editorCotent.value,
|
editorCotent: editorCotent.value,
|
||||||
editorType: editorType.value
|
editorType: editorType.value
|
||||||
})
|
})
|
||||||
} : {}, {
|
} : {}, {
|
||||||
f: common_vendor.p({
|
e: common_vendor.p({
|
||||||
name: "arrow-left",
|
name: "arrow-left",
|
||||||
color: "#000",
|
color: "#000",
|
||||||
size: "24"
|
size: "24"
|
||||||
}),
|
}),
|
||||||
g: common_vendor.o(alertSave),
|
f: common_vendor.o(alertSave),
|
||||||
h: common_vendor.o(($event) => form.exchange_title = $event),
|
g: common_vendor.o(($event) => form.exchange_title = $event),
|
||||||
i: common_vendor.p({
|
h: common_vendor.p({
|
||||||
autoHeight: true,
|
autoHeight: true,
|
||||||
placeholder: "输入标题,可包含患者信息、主诉",
|
placeholder: "输入标题,可包含患者信息、主诉",
|
||||||
modelValue: form.exchange_title
|
modelValue: form.exchange_title
|
||||||
}),
|
}),
|
||||||
j: common_vendor.o(focusInfo),
|
i: common_vendor.o(focusInfo),
|
||||||
k: fromatImg(infoHtml.value),
|
j: common_vendor.o(ready),
|
||||||
l: common_vendor.o(ready),
|
k: common_vendor.o(changeSv),
|
||||||
m: common_vendor.o(changeInfoEditor),
|
l: common_vendor.o(epaste),
|
||||||
n: common_vendor.o(epaste),
|
m: common_vendor.p({
|
||||||
o: common_vendor.p({
|
|
||||||
placeholder: "患者基本情况,检查结果,诊疗图片或视频",
|
placeholder: "患者基本情况,检查结果,诊疗图片或视频",
|
||||||
eid: "editor-id",
|
eid: "editor-id",
|
||||||
pasteMode: "origin",
|
pasteMode: "origin",
|
||||||
readOnly: "true"
|
readOnly: "true"
|
||||||
}),
|
}),
|
||||||
p: showInfoOpacity.value ? 1 : "",
|
n: common_vendor.o(focusResult),
|
||||||
q: infoHeight.value + "px",
|
o: common_vendor.o(readyResult),
|
||||||
r: common_vendor.o(focusResult),
|
p: common_vendor.p({
|
||||||
s: fromatImg(resultHtml.value),
|
|
||||||
t: common_vendor.o(readyResult),
|
|
||||||
v: common_vendor.o(changeResEditor),
|
|
||||||
w: common_vendor.p({
|
|
||||||
placeholder: "分享经验和心得,如:诊断与鉴别诊断易错点,治疗过程难点,病例的相关知识总结及讨论等",
|
placeholder: "分享经验和心得,如:诊断与鉴别诊断易错点,治疗过程难点,病例的相关知识总结及讨论等",
|
||||||
eid: "editorResult",
|
eid: "editorResult",
|
||||||
readOnly: true
|
readOnly: true
|
||||||
}),
|
}),
|
||||||
x: showOpacity.value ? 1 : "",
|
q: common_vendor.f(labelList.value, (item, index, i0) => {
|
||||||
y: resultHeight.value + "px",
|
|
||||||
z: common_vendor.f(labelList.value, (item, index, i0) => {
|
|
||||||
return {
|
return {
|
||||||
a: common_vendor.t(item.label_name),
|
a: common_vendor.t(item.label_name),
|
||||||
b: "bfce3555-6-" + i0,
|
b: "bfce3555-5-" + i0,
|
||||||
c: common_vendor.o(($event) => delLabel(index), item.app_iden),
|
c: common_vendor.o(($event) => delLabel(index), item.app_iden),
|
||||||
d: item.app_iden
|
d: item.app_iden
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
A: common_vendor.p({
|
r: common_vendor.p({
|
||||||
name: "close-circle",
|
name: "close-circle",
|
||||||
color: "#3CC7C0",
|
color: "#3CC7C0",
|
||||||
size: "20"
|
size: "20"
|
||||||
}),
|
}),
|
||||||
B: common_vendor.p({
|
s: common_vendor.p({
|
||||||
name: "plus",
|
name: "plus",
|
||||||
color: "#3CC7C0",
|
color: "#3CC7C0",
|
||||||
size: "16"
|
size: "16"
|
||||||
}),
|
}),
|
||||||
C: common_vendor.o(openLabelPop),
|
t: common_vendor.o(openLabelPop),
|
||||||
D: common_vendor.o(openDraftList),
|
v: common_vendor.o(openDraftList),
|
||||||
E: form.case_exchange_vote.vote_title
|
w: common_vendor.p({
|
||||||
}, form.case_exchange_vote.vote_title ? {
|
|
||||||
F: common_vendor.p({
|
|
||||||
src: common_vendor.unref(common_assets.voteOnImg),
|
|
||||||
width: "47rpx",
|
|
||||||
height: "47rpx"
|
|
||||||
})
|
|
||||||
} : {
|
|
||||||
G: common_vendor.p({
|
|
||||||
src: common_vendor.unref(common_assets.voteImg),
|
src: common_vendor.unref(common_assets.voteImg),
|
||||||
width: "47rpx",
|
width: "47rpx",
|
||||||
height: "47rpx"
|
height: "47rpx"
|
||||||
})
|
}),
|
||||||
}, {
|
x: common_vendor.o(alertVote),
|
||||||
H: form.case_exchange_vote.vote_title ? 1 : "",
|
y: common_vendor.o((...args) => common_vendor.unref(publish) && common_vendor.unref(publish)(...args)),
|
||||||
I: common_vendor.o(alertVote),
|
z: common_vendor.o(closeVote),
|
||||||
J: common_vendor.o(($event) => isConfirmPublish.value = true),
|
A: common_vendor.o(saveVote),
|
||||||
K: common_vendor.o(closeVote),
|
B: common_vendor.o(($event) => voteData.vote_title = $event),
|
||||||
L: common_vendor.o(saveVote),
|
C: common_vendor.p({
|
||||||
M: common_vendor.o(($event) => voteData.vote_title = $event),
|
|
||||||
N: common_vendor.p({
|
|
||||||
placeholder: "请输入投票标题",
|
placeholder: "请输入投票标题",
|
||||||
border: "surround",
|
border: "surround",
|
||||||
clearable: true,
|
clearable: true,
|
||||||
modelValue: voteData.vote_title
|
modelValue: voteData.vote_title
|
||||||
}),
|
}),
|
||||||
O: common_vendor.f(voteData.case_exchange_vote_option, (item, index, i0) => {
|
D: common_vendor.f(voteData.case_exchange_vote_option, (item, index, i0) => {
|
||||||
return {
|
return {
|
||||||
a: "bfce3555-12-" + i0 + ",bfce3555-10",
|
a: "bfce3555-10-" + i0 + ",bfce3555-8",
|
||||||
b: common_vendor.o(($event) => item.option_value = $event, index),
|
b: common_vendor.o(($event) => item.option_value = $event, index),
|
||||||
c: common_vendor.p({
|
c: common_vendor.p({
|
||||||
placeholder: "输入选项,建议少于16个字",
|
placeholder: "输入选项,建议少于16个字",
|
||||||
@ -718,64 +715,64 @@ const _sfc_main = {
|
|||||||
clearable: true,
|
clearable: true,
|
||||||
modelValue: item.option_value
|
modelValue: item.option_value
|
||||||
}),
|
}),
|
||||||
d: "bfce3555-13-" + i0 + ",bfce3555-10",
|
d: "bfce3555-11-" + i0 + ",bfce3555-8",
|
||||||
e: common_vendor.o(($event) => delOption(index), index),
|
e: common_vendor.o(($event) => delOption(index), index),
|
||||||
f: index
|
f: index
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
P: common_vendor.p({
|
E: common_vendor.p({
|
||||||
name: "minus-circle",
|
name: "minus-circle",
|
||||||
color: "red",
|
color: "red",
|
||||||
size: "28"
|
size: "28"
|
||||||
}),
|
}),
|
||||||
Q: common_vendor.p({
|
F: common_vendor.p({
|
||||||
name: "plus",
|
name: "plus",
|
||||||
color: "#4B5563",
|
color: "#4B5563",
|
||||||
size: "18"
|
size: "18"
|
||||||
}),
|
}),
|
||||||
R: common_vendor.o(addOption),
|
G: common_vendor.o(addOption),
|
||||||
S: common_vendor.p({
|
H: common_vendor.p({
|
||||||
name: "minus",
|
name: "minus",
|
||||||
color: "#4B5563",
|
color: "#4B5563",
|
||||||
size: "30rpx",
|
size: "30rpx",
|
||||||
bold: true
|
bold: true
|
||||||
}),
|
}),
|
||||||
T: common_vendor.o(($event) => changeDay("minus")),
|
I: common_vendor.o(($event) => changeDay("minus")),
|
||||||
U: common_vendor.t(voteData.valid_day),
|
J: common_vendor.t(voteData.valid_day),
|
||||||
V: common_vendor.p({
|
K: common_vendor.p({
|
||||||
name: "plus",
|
name: "plus",
|
||||||
color: "#4B5563",
|
color: "#4B5563",
|
||||||
size: "30rpx",
|
size: "30rpx",
|
||||||
bold: true
|
bold: true
|
||||||
}),
|
}),
|
||||||
W: common_vendor.o(($event) => changeDay("plus")),
|
L: common_vendor.o(($event) => changeDay("plus")),
|
||||||
X: common_vendor.o(saveVote),
|
M: common_vendor.o(saveVote),
|
||||||
Y: common_vendor.o(clearVote),
|
N: common_vendor.o(clearVote),
|
||||||
Z: common_vendor.o(closeVote),
|
O: common_vendor.o(closeVote),
|
||||||
aa: common_vendor.o(openVote),
|
P: common_vendor.o(openVote),
|
||||||
ab: common_vendor.p({
|
Q: common_vendor.p({
|
||||||
round: 10,
|
round: 10,
|
||||||
show: showVote.value,
|
show: showVote.value,
|
||||||
mode: "bottom"
|
mode: "bottom"
|
||||||
}),
|
}),
|
||||||
ac: common_vendor.p({
|
R: common_vendor.p({
|
||||||
name: "close",
|
name: "close",
|
||||||
color: "#4B5563",
|
color: "#4B5563",
|
||||||
size: "20"
|
size: "20"
|
||||||
}),
|
}),
|
||||||
ad: common_vendor.o(closeDraft),
|
S: common_vendor.o(closeDraft),
|
||||||
ae: draftList.value.length == 0
|
T: draftList.value.length == 0
|
||||||
}, draftList.value.length == 0 ? {
|
}, draftList.value.length == 0 ? {
|
||||||
af: common_vendor.p({
|
U: common_vendor.p({
|
||||||
marginTop: "120rpx",
|
marginTop: "120rpx",
|
||||||
text: "草稿箱为空",
|
text: "草稿箱为空",
|
||||||
mode: "list",
|
mode: "list",
|
||||||
icon: common_vendor.unref(common_assets.draftImg)
|
icon: common_vendor.unref(common_assets.draftImg)
|
||||||
})
|
})
|
||||||
} : {}, {
|
} : {}, {
|
||||||
ag: draftList.value.length > 0
|
V: draftList.value.length > 0
|
||||||
}, draftList.value.length > 0 ? {
|
}, draftList.value.length > 0 ? {
|
||||||
ah: common_vendor.f(draftList.value, (item, index, i0) => {
|
W: common_vendor.f(draftList.value, (item, index, i0) => {
|
||||||
return common_vendor.e({
|
return common_vendor.e({
|
||||||
a: common_vendor.t(item.exchange_title ? item.exchange_title : "无标题"),
|
a: common_vendor.t(item.exchange_title ? item.exchange_title : "无标题"),
|
||||||
b: item.exchange_content
|
b: item.exchange_content
|
||||||
@ -801,109 +798,100 @@ const _sfc_main = {
|
|||||||
g: item.exchange_label && item.exchange_label.length > 0,
|
g: item.exchange_label && item.exchange_label.length > 0,
|
||||||
j: item.exchange_vote,
|
j: item.exchange_vote,
|
||||||
l: common_vendor.t(fromatDay(item.updated_at)),
|
l: common_vendor.t(fromatDay(item.updated_at)),
|
||||||
m: "bfce3555-20-" + i0 + ",bfce3555-17",
|
m: "bfce3555-18-" + i0 + ",bfce3555-15",
|
||||||
n: common_vendor.o(($event) => willDelDraft(item.draft_id), item.draft_id),
|
n: common_vendor.o(($event) => willDelDraft(item.draft_id), item.draft_id),
|
||||||
o: "bfce3555-21-" + i0 + ",bfce3555-17",
|
o: "bfce3555-19-" + i0 + ",bfce3555-15",
|
||||||
p: common_vendor.o(($event) => editDraft(index), item.draft_id),
|
p: common_vendor.o(($event) => editDraft(index), item.draft_id),
|
||||||
q: item.draft_id
|
q: item.draft_id
|
||||||
});
|
});
|
||||||
}),
|
}),
|
||||||
ai: common_vendor.p({
|
X: common_vendor.p({
|
||||||
name: "trash",
|
name: "trash",
|
||||||
color: "#4B5563",
|
color: "#4B5563",
|
||||||
size: "16"
|
size: "16"
|
||||||
}),
|
}),
|
||||||
aj: common_vendor.p({
|
Y: common_vendor.p({
|
||||||
name: "edit-pen",
|
name: "edit-pen",
|
||||||
color: "#fff",
|
color: "#fff",
|
||||||
size: "17"
|
size: "17"
|
||||||
})
|
})
|
||||||
} : {}, {
|
} : {}, {
|
||||||
ak: common_vendor.o(closeDraft),
|
Z: common_vendor.o(closeDraft),
|
||||||
al: common_vendor.o(openDraft),
|
aa: common_vendor.o(openDraft),
|
||||||
am: common_vendor.p({
|
ab: common_vendor.p({
|
||||||
round: 10,
|
round: 10,
|
||||||
zIndex: "9",
|
zIndex: "9",
|
||||||
show: showDraft.value,
|
show: showDraft.value,
|
||||||
mode: "bottom"
|
mode: "bottom"
|
||||||
}),
|
}),
|
||||||
an: common_vendor.p({
|
ac: common_vendor.p({
|
||||||
name: "close",
|
name: "close",
|
||||||
color: "#4B5563",
|
color: "#4B5563",
|
||||||
size: "20"
|
size: "20"
|
||||||
}),
|
}),
|
||||||
ao: common_vendor.o(closeTitle),
|
ad: common_vendor.o(closeTitle),
|
||||||
ap: common_vendor.o(insertAllWord),
|
ae: common_vendor.o(insertAllWord),
|
||||||
aq: common_vendor.p({
|
af: common_vendor.p({
|
||||||
name: "plus-circle",
|
name: "plus-circle",
|
||||||
color: "#3CC7C0",
|
color: "#3CC7C0",
|
||||||
size: "20"
|
size: "20"
|
||||||
}),
|
}),
|
||||||
ar: common_vendor.o(insertAllWord),
|
ag: common_vendor.o(insertAllWord),
|
||||||
as: common_vendor.o(($event) => insertWord("患者信息")),
|
ah: common_vendor.o(($event) => insertWord("患者信息")),
|
||||||
at: common_vendor.o(($event) => insertWord("主诉")),
|
ai: common_vendor.o(($event) => insertWord("主诉")),
|
||||||
av: common_vendor.o(($event) => insertWord("现病史及既往史")),
|
aj: common_vendor.o(($event) => insertWord("现病史及既往史")),
|
||||||
aw: common_vendor.o(($event) => insertWord("检查")),
|
ak: common_vendor.o(($event) => insertWord("检查")),
|
||||||
ax: common_vendor.o(($event) => insertWord("临床诊断")),
|
al: common_vendor.o(($event) => insertWord("临床诊断")),
|
||||||
ay: common_vendor.o(($event) => insertWord("治疗经过及结果")),
|
am: common_vendor.o(($event) => insertWord("治疗经过及结果")),
|
||||||
az: common_vendor.o(closeTitle),
|
an: common_vendor.o(closeTitle),
|
||||||
aA: common_vendor.o(openTitle),
|
ao: common_vendor.o(openTitle),
|
||||||
aB: common_vendor.p({
|
ap: common_vendor.p({
|
||||||
round: 10,
|
round: 10,
|
||||||
zIndex: "9",
|
zIndex: "9",
|
||||||
show: showTitle.value,
|
show: showTitle.value,
|
||||||
mode: "bottom"
|
mode: "bottom"
|
||||||
}),
|
}),
|
||||||
aC: delType.value == "delDraft"
|
aq: delType.value == "delDraft"
|
||||||
}, delType.value == "delDraft" ? {} : delType.value == "saveDraft" ? {} : {}, {
|
}, delType.value == "delDraft" ? {} : delType.value == "saveDraft" ? {} : {}, {
|
||||||
aD: delType.value == "saveDraft",
|
ar: delType.value == "saveDraft",
|
||||||
aE: common_vendor.o(cancelDel),
|
as: common_vendor.o(cancelDel),
|
||||||
aF: common_vendor.o(confirmDel),
|
at: common_vendor.o(confirmDel),
|
||||||
aG: common_vendor.p({
|
av: common_vendor.p({
|
||||||
show: showModal.value,
|
show: showModal.value,
|
||||||
["mask-click-able"]: true,
|
["mask-click-able"]: true,
|
||||||
zIndex: "99"
|
zIndex: "99"
|
||||||
}),
|
}),
|
||||||
aH: exchange_id.value
|
aw: common_vendor.o(cancelCase),
|
||||||
}, exchange_id.value ? {} : {}, {
|
ax: common_vendor.o(confirmCase),
|
||||||
aI: common_vendor.o(cancelConfirmPublish),
|
ay: common_vendor.t(!caseValue1.label_name ? "请选择选项" : caseValue1.label_name),
|
||||||
aJ: common_vendor.o((...args) => _ctx.confirmConfirmPublish && _ctx.confirmConfirmPublish(...args)),
|
az: common_vendor.p({
|
||||||
aK: common_vendor.p({
|
|
||||||
show: isConfirmPublish.value,
|
|
||||||
["mask-click-able"]: true,
|
|
||||||
zIndex: "99"
|
|
||||||
}),
|
|
||||||
aL: common_vendor.o(cancelCase),
|
|
||||||
aM: common_vendor.o(confirmCase),
|
|
||||||
aN: common_vendor.t(!caseValue1.label_name ? "请选择选项" : caseValue1.label_name),
|
|
||||||
aO: common_vendor.p({
|
|
||||||
name: "arrow-right"
|
name: "arrow-right"
|
||||||
}),
|
}),
|
||||||
aP: common_vendor.o(($event) => openCaseLevel("1")),
|
aA: common_vendor.o(($event) => openCaseLevel("1")),
|
||||||
aQ: caseValue1.label_name && labelObj.list2.length > 0
|
aB: caseValue1.label_name && labelObj.list2.length > 0
|
||||||
}, caseValue1.label_name && labelObj.list2.length > 0 ? {
|
}, caseValue1.label_name && labelObj.list2.length > 0 ? {
|
||||||
aR: common_vendor.t(!caseValue2.label_name ? "请选择选项" : caseValue2.label_name),
|
aC: common_vendor.t(!caseValue2.label_name ? "请选择选项" : caseValue2.label_name),
|
||||||
aS: common_vendor.p({
|
aD: common_vendor.p({
|
||||||
name: "arrow-right"
|
name: "arrow-right"
|
||||||
}),
|
}),
|
||||||
aT: common_vendor.o(($event) => openCaseLevel("2"))
|
aE: common_vendor.o(($event) => openCaseLevel("2"))
|
||||||
} : {}, {
|
} : {}, {
|
||||||
aU: caseValue2.label_name && labelObj.list3.length > 0
|
aF: caseValue2.label_name && labelObj.list3.length > 0
|
||||||
}, caseValue2.label_name && labelObj.list3.length > 0 ? {
|
}, caseValue2.label_name && labelObj.list3.length > 0 ? {
|
||||||
aV: common_vendor.t(!caseValue3.label_name ? "请选择选项" : caseValue3.label_name),
|
aG: common_vendor.t(!caseValue3.label_name ? "请选择选项" : caseValue3.label_name),
|
||||||
aW: common_vendor.p({
|
aH: common_vendor.p({
|
||||||
name: "arrow-right"
|
name: "arrow-right"
|
||||||
}),
|
}),
|
||||||
aX: common_vendor.o(($event) => openCaseLevel("3"))
|
aI: common_vendor.o(($event) => openCaseLevel("3"))
|
||||||
} : {}, {
|
} : {}, {
|
||||||
aY: freshKey.value,
|
aJ: freshKey.value,
|
||||||
aZ: common_vendor.p({
|
aK: common_vendor.p({
|
||||||
current: level.value - 1,
|
current: level.value - 1,
|
||||||
direction: "column"
|
direction: "column"
|
||||||
}),
|
}),
|
||||||
ba: common_vendor.f(labelObj.list1, (item, k0, i0) => {
|
aL: common_vendor.f(labelObj.list1, (item, k0, i0) => {
|
||||||
return {
|
return {
|
||||||
a: "bfce3555-36-" + i0 + ",bfce3555-35",
|
a: "bfce3555-33-" + i0 + ",bfce3555-32",
|
||||||
b: common_vendor.p({
|
b: common_vendor.p({
|
||||||
activeColor: "#3CC7C0 ",
|
activeColor: "#3CC7C0 ",
|
||||||
label: item.label_name,
|
label: item.label_name,
|
||||||
@ -912,18 +900,18 @@ const _sfc_main = {
|
|||||||
c: item.app_iden
|
c: item.app_iden
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
bb: common_vendor.o(groupChange1),
|
aM: common_vendor.o(groupChange1),
|
||||||
bc: common_vendor.o(($event) => caseValue1.app_iden = $event),
|
aN: common_vendor.o(($event) => caseValue1.app_iden = $event),
|
||||||
bd: common_vendor.p({
|
aO: common_vendor.p({
|
||||||
name: "group1",
|
name: "group1",
|
||||||
iconPlacement: "right",
|
iconPlacement: "right",
|
||||||
placement: "column",
|
placement: "column",
|
||||||
modelValue: caseValue1.app_iden
|
modelValue: caseValue1.app_iden
|
||||||
}),
|
}),
|
||||||
be: level.value == 1,
|
aP: level.value == 1,
|
||||||
bf: common_vendor.f(labelObj.list2, (item, k0, i0) => {
|
aQ: common_vendor.f(labelObj.list2, (item, k0, i0) => {
|
||||||
return {
|
return {
|
||||||
a: "bfce3555-38-" + i0 + ",bfce3555-37",
|
a: "bfce3555-35-" + i0 + ",bfce3555-34",
|
||||||
b: common_vendor.p({
|
b: common_vendor.p({
|
||||||
activeColor: "#3CC7C0 ",
|
activeColor: "#3CC7C0 ",
|
||||||
label: item.label_name,
|
label: item.label_name,
|
||||||
@ -932,18 +920,18 @@ const _sfc_main = {
|
|||||||
c: item.app_iden
|
c: item.app_iden
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
bg: common_vendor.o(groupChange2),
|
aR: common_vendor.o(groupChange2),
|
||||||
bh: common_vendor.o(($event) => caseValue2.app_iden = $event),
|
aS: common_vendor.o(($event) => caseValue2.app_iden = $event),
|
||||||
bi: common_vendor.p({
|
aT: common_vendor.p({
|
||||||
name: "group2",
|
name: "group2",
|
||||||
iconPlacement: "right",
|
iconPlacement: "right",
|
||||||
placement: "column",
|
placement: "column",
|
||||||
modelValue: caseValue2.app_iden
|
modelValue: caseValue2.app_iden
|
||||||
}),
|
}),
|
||||||
bj: level.value == 2,
|
aU: level.value == 2,
|
||||||
bk: common_vendor.f(labelObj.list3, (item, k0, i0) => {
|
aV: common_vendor.f(labelObj.list3, (item, k0, i0) => {
|
||||||
return {
|
return {
|
||||||
a: "bfce3555-40-" + i0 + ",bfce3555-39",
|
a: "bfce3555-37-" + i0 + ",bfce3555-36",
|
||||||
b: common_vendor.p({
|
b: common_vendor.p({
|
||||||
activeColor: "#3CC7C0 ",
|
activeColor: "#3CC7C0 ",
|
||||||
label: item.label_name,
|
label: item.label_name,
|
||||||
@ -952,17 +940,17 @@ const _sfc_main = {
|
|||||||
c: item.app_iden
|
c: item.app_iden
|
||||||
};
|
};
|
||||||
}),
|
}),
|
||||||
bl: common_vendor.o(groupChange3),
|
aW: common_vendor.o(groupChange3),
|
||||||
bm: common_vendor.o(($event) => caseValue3.app_iden = $event),
|
aX: common_vendor.o(($event) => caseValue3.app_iden = $event),
|
||||||
bn: common_vendor.p({
|
aY: common_vendor.p({
|
||||||
name: "group3",
|
name: "group3",
|
||||||
iconPlacement: "right",
|
iconPlacement: "right",
|
||||||
placement: "column",
|
placement: "column",
|
||||||
modelValue: caseValue3.app_iden
|
modelValue: caseValue3.app_iden
|
||||||
}),
|
}),
|
||||||
bo: level.value == 3,
|
aZ: level.value == 3,
|
||||||
bp: common_vendor.o(closeCase),
|
ba: common_vendor.o(closeCase),
|
||||||
bq: common_vendor.p({
|
bb: common_vendor.p({
|
||||||
round: 10,
|
round: 10,
|
||||||
zIndex: "9",
|
zIndex: "9",
|
||||||
closeOnClickOverlay: false,
|
closeOnClickOverlay: false,
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
"navigationBarTitleText": "肝胆相照临床病例库",
|
"navigationBarTitleText": "肝胆相照临床病例库",
|
||||||
"navigationStyle": "custom",
|
"navigationStyle": "custom",
|
||||||
"usingComponents": {
|
"usingComponents": {
|
||||||
"up-toast": "../../node-modules/uview-plus/components/u-toast/u-toast",
|
|
||||||
"u-icon": "../../node-modules/uview-plus/components/u-icon/u-icon",
|
"u-icon": "../../node-modules/uview-plus/components/u-icon/u-icon",
|
||||||
"up--textarea": "../../node-modules/uview-plus/components/u--textarea/u--textarea",
|
"up--textarea": "../../node-modules/uview-plus/components/u--textarea/u--textarea",
|
||||||
"up-icon": "../../node-modules/uview-plus/components/u-icon/u-icon",
|
"up-icon": "../../node-modules/uview-plus/components/u-icon/u-icon",
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -271,24 +271,7 @@
|
|||||||
#editor.data-v-bfce3555 {
|
#editor.data-v-bfce3555 {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 0 10rpx;
|
padding: 0 10rpx;
|
||||||
min-height: 600rpx;
|
height: calc(100vh - 700rpx);
|
||||||
}
|
|
||||||
#editor .editorcon.data-v-bfce3555 {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
width: 100%;
|
|
||||||
bottom: 0;
|
|
||||||
z-index: 1;
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
#editor .editorcon.active.data-v-bfce3555 {
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
#editor .infoContent.data-v-bfce3555 {
|
|
||||||
margin: 0 32rpx;
|
|
||||||
word-break: break-all;
|
|
||||||
/* position: relative;
|
|
||||||
z-index:2; */
|
|
||||||
}
|
}
|
||||||
#editor .mask.data-v-bfce3555 {
|
#editor .mask.data-v-bfce3555 {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
@ -300,22 +283,7 @@
|
|||||||
}
|
}
|
||||||
#editorRes.data-v-bfce3555 {
|
#editorRes.data-v-bfce3555 {
|
||||||
position: relative;
|
position: relative;
|
||||||
min-height: 600rpx;
|
height: 600rpx;
|
||||||
}
|
|
||||||
#editorRes .editorcon.data-v-bfce3555 {
|
|
||||||
position: absolute;
|
|
||||||
top: 0;
|
|
||||||
width: 100%;
|
|
||||||
bottom: 0;
|
|
||||||
z-index: 1;
|
|
||||||
opacity: 1;
|
|
||||||
}
|
|
||||||
#editorRes .editorcon.active.data-v-bfce3555 {
|
|
||||||
opacity: 0;
|
|
||||||
}
|
|
||||||
#editorRes .resultContent.data-v-bfce3555 {
|
|
||||||
margin: 0 32rpx;
|
|
||||||
word-break: break-all;
|
|
||||||
}
|
}
|
||||||
#editorRes .mask.data-v-bfce3555 {
|
#editorRes .mask.data-v-bfce3555 {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
@ -328,7 +296,6 @@
|
|||||||
#editorRes.data-v-bfce3555 .sv-editor-wrapper {
|
#editorRes.data-v-bfce3555 .sv-editor-wrapper {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
min-height: 300rpx;
|
min-height: 300rpx;
|
||||||
position: absolute !important;
|
|
||||||
}
|
}
|
||||||
.myVideo.data-v-bfce3555 {
|
.myVideo.data-v-bfce3555 {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
@ -648,10 +615,6 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
}
|
}
|
||||||
.bottom .left .vote.active.data-v-bfce3555 {
|
|
||||||
color: #3CC7C0;
|
|
||||||
border: 2rpx solid #3CC7C0;
|
|
||||||
}
|
|
||||||
.form.data-v-bfce3555 {
|
.form.data-v-bfce3555 {
|
||||||
height: calc(100vh - 133rpx);
|
height: calc(100vh - 133rpx);
|
||||||
margin: -20rpx 0rpx 0rpx;
|
margin: -20rpx 0rpx 0rpx;
|
||||||
@ -733,7 +696,6 @@
|
|||||||
}
|
}
|
||||||
.data-v-bfce3555 .ql-container {
|
.data-v-bfce3555 .ql-container {
|
||||||
padding-bottom: 25rpx;
|
padding-bottom: 25rpx;
|
||||||
word-break: break-all;
|
|
||||||
height: calc(100vh - 700rpx);
|
height: calc(100vh - 700rpx);
|
||||||
}
|
}
|
||||||
.data-v-bfce3555 .ql-container img {
|
.data-v-bfce3555 .ql-container img {
|
||||||
@ -751,6 +713,3 @@
|
|||||||
.con.data-v-bfce3555 .imgstyle {
|
.con.data-v-bfce3555 .imgstyle {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
.data-v-bfce3555 .imgstyle {
|
|
||||||
max-width: 100%;
|
|
||||||
}
|
|
||||||
BIN
unpackage/dist/dev/mp-weixin/static/videoface.jpg
vendored
BIN
unpackage/dist/dev/mp-weixin/static/videoface.jpg
vendored
Binary file not shown.
|
Before Width: | Height: | Size: 118 KiB |
BIN
unpackage/dist/dev/mp-weixin/static/voteon.png
vendored
BIN
unpackage/dist/dev/mp-weixin/static/voteon.png
vendored
Binary file not shown.
|
Before Width: | Height: | Size: 1.2 KiB |
File diff suppressed because one or more lines are too long
@ -1,5 +1,5 @@
|
|||||||
"use strict";
|
"use strict";
|
||||||
const throttle = function(fn, wait = 1500) {
|
const throttle = function(fn, wait = 1e3) {
|
||||||
var flag = true;
|
var flag = true;
|
||||||
return function() {
|
return function() {
|
||||||
if (flag) {
|
if (flag) {
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
const throttle=function(fn,wait=1500){
|
const throttle=function(fn,wait=1000){
|
||||||
var flag = true;
|
var flag = true;
|
||||||
var timer = null;
|
var timer = null;
|
||||||
return function(){
|
return function(){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user