7.17
This commit is contained in:
parent
dc39275e6e
commit
75d515fbc6
@ -55,7 +55,7 @@ import { ref, reactive } from "vue";
|
||||
import navBarSearch from "@/components/navBarSearch/navBarSearch.vue";
|
||||
import list from "@/uni_modules/z-paging/components/z-paging/z-paging";
|
||||
import api from "@/api/api";
|
||||
import { onLoad } from "@dcloudio/uni-app";
|
||||
import { onLoad,onShow } from "@dcloudio/uni-app";
|
||||
import dayjs from "dayjs";
|
||||
import switchImg from "@/static/switch.png";
|
||||
import navTo from "@/utils/navTo.js";
|
||||
@ -94,6 +94,9 @@ onLoad((options) => {
|
||||
doctor_id.value=options.doctor_id;
|
||||
}
|
||||
})
|
||||
onShow(()=>{
|
||||
paging.value?.refresh();
|
||||
})
|
||||
const goDetail=(url)=>{
|
||||
|
||||
navTo({
|
||||
|
||||
@ -28,7 +28,8 @@
|
||||
<view class="iptcon" @click="open">
|
||||
<up-input
|
||||
@click="open"
|
||||
:disabled="isH5?false:true"
|
||||
disabled
|
||||
:focus="false"
|
||||
type="text"
|
||||
placeholderClass="placeholderClass"
|
||||
placeholder="对病例发表您的看法"
|
||||
@ -341,7 +342,7 @@
|
||||
<view class="poptitle"></view>
|
||||
<view class="wraper">
|
||||
<up--textarea
|
||||
focus="true"
|
||||
:focus="false"
|
||||
ref="commentTextarea"
|
||||
height="200"
|
||||
v-model="content"
|
||||
@ -1378,6 +1379,7 @@ const toggleCollect = () => {
|
||||
: collectExchange(id.value);
|
||||
}
|
||||
};
|
||||
|
||||
const addArticleComment = (id, data) => {
|
||||
api.addArticleComment(id, data).then((res) => {
|
||||
uni.showToast({
|
||||
@ -1431,7 +1433,7 @@ const delVideoComment = (id) => {
|
||||
};
|
||||
const fromatImg = (val) => {
|
||||
if(val){
|
||||
return val.replace(/\<img/gi, '<img class="imgstyle"');
|
||||
return val.replace(/\<img|\<\s+img/gi, '<img class="imgstyle"');
|
||||
}else{
|
||||
return '';
|
||||
}
|
||||
@ -2018,6 +2020,12 @@ const readRecord=()=>{
|
||||
}
|
||||
.desc {
|
||||
padding-bottom: 80rpx;
|
||||
:deep(.imgstyle){
|
||||
max-width:100%;
|
||||
position: relative;
|
||||
left:50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
}
|
||||
|
||||
.bottom {
|
||||
|
||||
@ -127,6 +127,9 @@
|
||||
</view>
|
||||
|
||||
<tabBar></tabBar>
|
||||
<view class="publish" @click="goPublish">
|
||||
<u-icon name="plus" color="#fff" size="18"></u-icon>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script setup>
|
||||
@ -220,6 +223,11 @@ const goHospital=()=>{
|
||||
url:'/pages/searchList/searchList?type=hospital&name=医院&id='
|
||||
})
|
||||
}
|
||||
const goPublish=()=>{
|
||||
navTo({
|
||||
url:'/pages/publish/publish'
|
||||
})
|
||||
}
|
||||
onShow(() => {
|
||||
getStatic();
|
||||
getData();
|
||||
@ -357,4 +365,16 @@ onShow(() => {
|
||||
}
|
||||
}
|
||||
}
|
||||
.publish{
|
||||
width: 92rpx;
|
||||
height: 92rpx;
|
||||
background: #3CC7C0;
|
||||
border-radius: 50%;
|
||||
position: fixed;
|
||||
right:30rpx;
|
||||
bottom:180rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
</style>
|
||||
@ -60,7 +60,7 @@ import { ref, reactive } from "vue";
|
||||
import navBarSearch from "@/components/navBarSearch/navBarSearch.vue";
|
||||
import list from "@/uni_modules/z-paging/components/z-paging/z-paging";
|
||||
import api from "@/api/api";
|
||||
import { onLoad } from "@dcloudio/uni-app";
|
||||
import { onLoad,onShow} from "@dcloudio/uni-app";
|
||||
import dayjs from "dayjs";
|
||||
import switchImg from "@/static/switch.png";
|
||||
import navTo from "@/utils/navTo.js";
|
||||
@ -110,6 +110,9 @@ onLoad((options) => {
|
||||
keyWord.value = options.keyWord;
|
||||
};
|
||||
});
|
||||
onShow(()=>{
|
||||
paging.value?.refresh();
|
||||
})
|
||||
const changetype1=(e)=>{
|
||||
type1.value=e;
|
||||
paging.value.reload();
|
||||
|
||||
@ -90,7 +90,7 @@ import { ref, reactive } from "vue";
|
||||
import backLogoNav from "@/components/backLogoNav/backLogoNav.vue";
|
||||
import list from "@/uni_modules/z-paging/components/z-paging/z-paging";
|
||||
import api from "@/api/api";
|
||||
import { onLoad } from "@dcloudio/uni-app";
|
||||
import { onLoad,onShow } from "@dcloudio/uni-app";
|
||||
import dayjs from "dayjs";
|
||||
import switchImg from "@/static/switch.png";
|
||||
import certImg from "@/static/cert.png";
|
||||
@ -193,7 +193,9 @@ const switchTab = (item) => {
|
||||
onLoad((options) => {
|
||||
|
||||
});
|
||||
|
||||
onShow(()=>{
|
||||
paging.value?.refresh();
|
||||
})
|
||||
const formatdate = (date) => {
|
||||
return dayjs(date).format("YYYY-MM-DD");
|
||||
};
|
||||
|
||||
@ -11,7 +11,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<!-- <backNav :navName="'发病例交流帖'"></backNav> -->
|
||||
<view class="form">
|
||||
<scroll-view class="form" id="form" scroll-y="true">
|
||||
<view class="textbox">
|
||||
<up--textarea
|
||||
autoHeight
|
||||
@ -86,7 +86,7 @@
|
||||
|
||||
</view> -->
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
<view class="bottom">
|
||||
<view class="toolbox">
|
||||
<view
|
||||
@ -131,7 +131,7 @@
|
||||
</view>
|
||||
<view class="bottombtn">
|
||||
<view class="left">
|
||||
<view class="draft" @click="showDraft = true">草稿箱</view>
|
||||
<view class="draft" @click="openDraftList">草稿箱</view>
|
||||
<view class="vote" @click="showVote = true">
|
||||
投票
|
||||
<up--image
|
||||
@ -240,7 +240,18 @@
|
||||
><up-icon name="close" color="#4B5563" size="20"></up-icon
|
||||
></view>
|
||||
</view>
|
||||
<view class="draftlist">
|
||||
<view class="draftlist" v-if="draftList.length==0">
|
||||
<div class="nodata">
|
||||
<up-empty
|
||||
marginTop="120rpx"
|
||||
text="草稿箱为空"
|
||||
mode="list"
|
||||
:icon="draftImg"
|
||||
>
|
||||
</up-empty>
|
||||
</div>
|
||||
</view>
|
||||
<view class="draftlist" v-if="draftList.length>0">
|
||||
<view
|
||||
class="cell"
|
||||
v-for="(item, index) in draftList"
|
||||
@ -254,7 +265,7 @@
|
||||
<view class="smalltitle">病例信息</view>
|
||||
<view
|
||||
class="con ellipsis-two-lines"
|
||||
v-html="item.exchange_content"
|
||||
v-html="fromatImg(item.exchange_content)"
|
||||
></view>
|
||||
</view>
|
||||
<view class="row" v-else-if="item.exchange_summary">
|
||||
@ -264,7 +275,7 @@
|
||||
<view
|
||||
class="con ellipsis-two-lines"
|
||||
v-if="item.exchange_summary"
|
||||
v-html="item.exchange_summary"
|
||||
v-html="fromatImg(item.exchange_summary)"
|
||||
></view>
|
||||
</view>
|
||||
|
||||
@ -380,8 +391,8 @@
|
||||
>
|
||||
<view class="right" @click="confirmCase">确定</view>
|
||||
</view>
|
||||
<view class="casecon">
|
||||
<view v-show="level == 1" >
|
||||
<scroll-view class="casecon" scroll-y="true">
|
||||
<view v-show="level == 1" calss="casePadding">
|
||||
<up-radio-group
|
||||
v-model="caseValue1"
|
||||
|
||||
@ -401,7 +412,7 @@
|
||||
</view>
|
||||
</up-radio-group>
|
||||
</view>
|
||||
<view v-show="level == 2" >
|
||||
<view v-show="level == 2" calss="casePadding">
|
||||
<up-radio-group
|
||||
v-model="caseValue2"
|
||||
iconPlacement="right"
|
||||
@ -420,7 +431,7 @@
|
||||
</view>
|
||||
</up-radio-group>
|
||||
</view>
|
||||
<view v-show="level == 3" >
|
||||
<view v-show="level == 3" calss="casePadding">
|
||||
<up-radio-group
|
||||
v-model="caseValue3"
|
||||
|
||||
@ -429,7 +440,7 @@
|
||||
>
|
||||
<view
|
||||
class="column"
|
||||
v-for="item in labelObj.list2"
|
||||
v-for="item in labelObj.list3"
|
||||
:key="item.app_iden"
|
||||
>
|
||||
<up-radio
|
||||
@ -440,7 +451,7 @@
|
||||
</view>
|
||||
</up-radio-group>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
</up-popup>
|
||||
</template>
|
||||
@ -451,6 +462,7 @@ import photoImg from "@/static/photo.png";
|
||||
import addImg from "@/static/add.png";
|
||||
import videoImg from "@/static/videoicon.png";
|
||||
import voteImg from "@/static/vote.png";
|
||||
import draftImg from "@/static/draft.png";
|
||||
import api from "@/api/api";
|
||||
import dayjs from "dayjs";
|
||||
import { onLoad } from "@dcloudio/uni-app";
|
||||
@ -503,7 +515,7 @@ const imgList = ref([]);
|
||||
const videoList = ref([]);
|
||||
const editorCtx = ref(null);
|
||||
const editorCtxResult = ref(null);
|
||||
const isFocusInfo = ref(true);
|
||||
const isFocusInfo = ref(false);
|
||||
const isFocusResult = ref(false);
|
||||
const labelList = ref([]);
|
||||
const goBack = () => {
|
||||
@ -511,6 +523,11 @@ const goBack = () => {
|
||||
delta: 1,
|
||||
});
|
||||
};
|
||||
const openDraftList=()=>{
|
||||
|
||||
getDraftList();
|
||||
showDraft.value=true;
|
||||
}
|
||||
const closeCase = () => {
|
||||
showCase.value = false;
|
||||
};
|
||||
@ -550,7 +567,7 @@ const clearVote = () => {
|
||||
form.case_exchange_vote.valid_day = 7;
|
||||
};
|
||||
const saveVote = () => {
|
||||
console.log(voteData);
|
||||
|
||||
if (voteData.vote_title == "") {
|
||||
uni.showToast({
|
||||
title: "请输入投票标题",
|
||||
@ -573,30 +590,31 @@ const saveVote = () => {
|
||||
return false;
|
||||
}
|
||||
|
||||
for (let i = 0; i < voteData.case_exchange_vote_option.length; i++) {
|
||||
if (voteData.case_exchange_vote_option[i].option_value == "") {
|
||||
uni.showToast({
|
||||
title: "投票选项不能为空",
|
||||
icon: "none",
|
||||
});
|
||||
return false;
|
||||
}
|
||||
if (voteData.case_exchange_vote_option[i].option_value.length > 16) {
|
||||
uni.showToast({
|
||||
title: "第" + (i + 1) + "个投票选项超过16个字符",
|
||||
icon: "none",
|
||||
});
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (voteData.case_exchange_vote_option.length < 2) {
|
||||
uni.showToast({
|
||||
title: "至少添加两个选项",
|
||||
icon: "none",
|
||||
});
|
||||
return false;
|
||||
}
|
||||
Object.assign(form.case_exchange_vote, voteData);
|
||||
// for (let i = 0; i < voteData.case_exchange_vote_option.length; i++) {
|
||||
// if (voteData.case_exchange_vote_option[i].option_value == "") {
|
||||
// uni.showToast({
|
||||
// title: "投票选项不能为空",
|
||||
// icon: "none",
|
||||
// });
|
||||
// return false;
|
||||
// }
|
||||
// if (voteData.case_exchange_vote_option[i].option_value.length > 16) {
|
||||
// uni.showToast({
|
||||
// title: "第" + (i + 1) + "个投票选项超过16个字符",
|
||||
// icon: "none",
|
||||
// });
|
||||
// return false;
|
||||
// }
|
||||
// }
|
||||
// if (voteData.case_exchange_vote_option.length < 2) {
|
||||
// uni.showToast({
|
||||
// title: "至少添加两个选项",
|
||||
// icon: "none",
|
||||
// });
|
||||
// return false;
|
||||
// }
|
||||
//Object.assign(form.case_exchange_vote, voteData);
|
||||
form.case_exchange_vote=voteData
|
||||
showVote.value = false;
|
||||
};
|
||||
const fromatDay = (value) => {
|
||||
@ -609,13 +627,29 @@ const fromatDay = (value) => {
|
||||
return dayjs(value).format("YYYY-MM-DD");
|
||||
}
|
||||
};
|
||||
|
||||
const fromatImg = (val) => {
|
||||
if(val){
|
||||
return val.replace(/\<img/gi, '<img class="imgstyle"');
|
||||
}else{
|
||||
return '';
|
||||
}
|
||||
|
||||
};
|
||||
const ready = (e) => {
|
||||
console.log(e);
|
||||
editorCtx.value = e;
|
||||
|
||||
let html =
|
||||
"<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p><br/><br/>";
|
||||
editorCtx.value.initHtml(html);
|
||||
|
||||
// setTimeout(()=>{
|
||||
uni.hideKeyboard();
|
||||
uni.pageScrollTo({
|
||||
scrollTop:0,
|
||||
selector:"#form"
|
||||
// })
|
||||
})
|
||||
};
|
||||
const readyResult = (e) => {
|
||||
editorCtxResult.value = e;
|
||||
@ -630,9 +664,16 @@ const focusInfo = () => {
|
||||
isFocusInfo.value = true;
|
||||
};
|
||||
const blurInfo = () => {
|
||||
setTimeout(() => {
|
||||
isFocusInfo.value = false;
|
||||
}, 2000)
|
||||
// #ifdef MP-WEIXIN
|
||||
isFocusInfo.value = false;
|
||||
// #endif
|
||||
|
||||
// #ifdef H5
|
||||
setTimeout(() => {
|
||||
isFocusInfo.value = false;
|
||||
}, 2000)
|
||||
|
||||
// #endif
|
||||
};
|
||||
const focusResult = () => {
|
||||
isFocusResult.value = true;
|
||||
@ -691,7 +732,7 @@ const saveDraft = async () => {
|
||||
const res = await editorCtx.value.getLastContent();
|
||||
form.exchange_content = res.html;
|
||||
|
||||
const resResult = await editorCtx.value.getLastContent();
|
||||
const resResult = await editorCtxResult.value.getLastContent();
|
||||
form.exchange_summary = resResult.html;
|
||||
if(labelList.value.length>0){
|
||||
form.case_exchange_label = labelList.value;
|
||||
@ -721,7 +762,7 @@ const editDraft = (index) => {
|
||||
labelList.value = exchange_label;
|
||||
form.exchange_summary = exchange_summary;
|
||||
form.case_exchange_vote = exchange_vote;
|
||||
editorCtxResult.value.initHtml(exchange_content);
|
||||
editorCtxResult.value.initHtml(exchange_summary);
|
||||
Object.assign(voteData, draft);
|
||||
showDraft.value = false;
|
||||
};
|
||||
@ -732,6 +773,7 @@ const willDelDraft = (id) => {
|
||||
};
|
||||
const confirmDel = () => {
|
||||
showModal.value = false;
|
||||
console.log(delType.value);
|
||||
if (delType.value == "delDraft") {
|
||||
delDraft(delId.value);
|
||||
} else if (delType.value == "saveDraft") {
|
||||
@ -758,14 +800,16 @@ const alertSave = async () => {
|
||||
goBack()
|
||||
}else{
|
||||
const res = await editorCtx.value.getLastContent();
|
||||
const initInfo =
|
||||
"<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p>";
|
||||
//let html = editorCtx.value.exportHtml(res.html);
|
||||
//const initInfo= "<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p><br/><br/>";
|
||||
const resContent = await editorCtxResult.value.getLastContent();
|
||||
//let reshtml = editorCtxResult.value.exportHtml(resContent.html);
|
||||
if (
|
||||
form.exchange_title ||
|
||||
res.html ||
|
||||
resContent.html ||
|
||||
res.html!=initInfo ||
|
||||
resContent.text ||
|
||||
(form.case_exchange_vote &&
|
||||
form.case_exchange_vote.vote_title &&
|
||||
form.case_exchange_label &&
|
||||
@ -781,7 +825,7 @@ const alertSave = async () => {
|
||||
};
|
||||
const publish = async () => {
|
||||
const initInfo =
|
||||
"<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p><br/><br/>";
|
||||
"<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p>";
|
||||
if (form.exchange_title == "") {
|
||||
uni.showToast({
|
||||
title: "请输入标题",
|
||||
@ -994,7 +1038,7 @@ const getDraftList = () => {
|
||||
};
|
||||
const getCaseLabel = (lev,pid=0) => {
|
||||
api.getCaseLabel({
|
||||
pid:pid
|
||||
pId:pid
|
||||
}).then((res) => {
|
||||
if (lev == 1) {
|
||||
labelObj.list1 = res.data.data;
|
||||
@ -1078,7 +1122,7 @@ const openLabelPop=()=>{
|
||||
getCaseLabel(1,0);
|
||||
}
|
||||
onLoad(() => {
|
||||
getDraftList();
|
||||
//getDraftList();
|
||||
|
||||
});
|
||||
|
||||
@ -1094,7 +1138,7 @@ onLoad(() => {
|
||||
.casepop{
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
max-height: calc(100vh - 750rpx);
|
||||
max-height: calc(100vh - 400rpx);
|
||||
.continue{
|
||||
color: #2878ff !important;
|
||||
}
|
||||
@ -1103,8 +1147,16 @@ onLoad(() => {
|
||||
flex:1;
|
||||
overflow-y: scroll;
|
||||
padding-top: 10rpx;
|
||||
max-height: calc(100vh - 700rpx);
|
||||
min-height: 350rpx;
|
||||
|
||||
padding-bottom: 20rpx;
|
||||
:deep(.u-radio){
|
||||
margin-bottom: 10px!important;
|
||||
margin-top: 0px!important;
|
||||
}
|
||||
.casePadding{
|
||||
padding-bottom: 0rpx;
|
||||
}
|
||||
.column {
|
||||
padding: 0 30rpx;
|
||||
border-bottom: 2rpx solid #e5e7eb;
|
||||
@ -1329,7 +1381,7 @@ onLoad(() => {
|
||||
}
|
||||
}
|
||||
#editor {
|
||||
padding: 0 30rpx;
|
||||
padding: 0 10rpx;
|
||||
height: calc(100vh - 700rpx);
|
||||
}
|
||||
#editorRes {
|
||||
@ -1671,7 +1723,7 @@ onLoad(() => {
|
||||
|
||||
.sickbox {
|
||||
display: flex;
|
||||
padding: 25rpx 25rpx 0;
|
||||
padding: 25rpx 25rpx 10rpx;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
.add {
|
||||
@ -1743,4 +1795,25 @@ onLoad(() => {
|
||||
}
|
||||
}
|
||||
}
|
||||
:deep(.ql-container){
|
||||
padding-bottom: 25rpx;
|
||||
height: calc(100vh - 700rpx);
|
||||
}
|
||||
:deep(.ql-container) img{
|
||||
max-width:100%;
|
||||
position: relative;
|
||||
left:50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
:deep(.ql-container) image{
|
||||
max-width:100%;
|
||||
position: relative;
|
||||
left:50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
.con {
|
||||
:deep(.imgstyle){
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@ -89,7 +89,7 @@
|
||||
>
|
||||
<view class="right" @click="confirmCase">确定</view>
|
||||
</view>
|
||||
<view class="casecon">
|
||||
<scroll-view class="casecon" scroll-y="true">
|
||||
<view v-show="level == 1" >
|
||||
<up-radio-group
|
||||
v-model="caseValue1"
|
||||
@ -138,7 +138,7 @@
|
||||
>
|
||||
<view
|
||||
class="column"
|
||||
v-for="item in labelObj.list2"
|
||||
v-for="item in labelObj.list3"
|
||||
:key="item.app_iden"
|
||||
>
|
||||
<up-radio
|
||||
@ -149,7 +149,7 @@
|
||||
</view>
|
||||
</up-radio-group>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
</up-popup>
|
||||
</template>
|
||||
@ -159,7 +159,7 @@ import { ref, reactive } from "vue";
|
||||
import navBarSearch from "@/components/navBarSearch/navBarSearch.vue";
|
||||
import list from "@/uni_modules/z-paging/components/z-paging/z-paging";
|
||||
import api from "@/api/api";
|
||||
import { onLoad } from "@dcloudio/uni-app";
|
||||
import { onLoad,onShow} from "@dcloudio/uni-app";
|
||||
import dayjs from "dayjs";
|
||||
import switchImg from "@/static/switch.png";
|
||||
import caseImg from "@/static/caseIcon.png";
|
||||
@ -188,7 +188,7 @@ const options= ref([
|
||||
value: 'desc',
|
||||
},
|
||||
]);
|
||||
const isSearch=ref(false);
|
||||
const isSearch=ref(true);
|
||||
const order=reactive({
|
||||
read_num:'',
|
||||
push_date:''
|
||||
@ -313,6 +313,9 @@ onLoad((options) => {
|
||||
canOpenCase.value = true;
|
||||
}
|
||||
});
|
||||
onShow(()=>{
|
||||
paging.value?.refresh();
|
||||
})
|
||||
const changeDate=(e)=>{
|
||||
console.log(e);
|
||||
order.read_num='';
|
||||
@ -585,9 +588,15 @@ const queryList = (pageNo, pageSize) => {
|
||||
}
|
||||
.casecon {
|
||||
flex:1;
|
||||
max-height: calc(100vh - 800rpx);
|
||||
overflow-y: scroll;
|
||||
padding-top: 10rpx;
|
||||
padding-top: 22rpx;
|
||||
padding-bottom: 20rpx;
|
||||
min-height: 350rpx;
|
||||
:deep(.u-radio){
|
||||
margin-bottom: 10px!important;
|
||||
margin-top: 0px!important;
|
||||
}
|
||||
.column {
|
||||
padding: 0 30rpx;
|
||||
border-bottom: 2rpx solid #e5e7eb;
|
||||
|
||||
@ -77,7 +77,7 @@ import { ref, reactive} from "vue";
|
||||
import navBarSearch from "@/components/navBarSearch/navBarSearch.vue";
|
||||
import list from "@/uni_modules/z-paging/components/z-paging/z-paging";
|
||||
import api from "@/api/api";
|
||||
import { onLoad } from "@dcloudio/uni-app";
|
||||
import { onLoad,onShow } from "@dcloudio/uni-app";
|
||||
import dayjs from "dayjs";
|
||||
import switchImg from "@/static/switch.png";
|
||||
import navTo from "@/utils/navTo.js";
|
||||
@ -125,6 +125,9 @@ onLoad((options) => {
|
||||
order.read_num='desc'
|
||||
};
|
||||
});
|
||||
onShow(()=>{
|
||||
paging.value?.refresh();
|
||||
})
|
||||
const change=(e)=>{
|
||||
paging.value.reload();
|
||||
}
|
||||
|
||||
@ -83,7 +83,7 @@ import { ref, reactive} from "vue";
|
||||
import navBarSearch from "@/components/navBarSearch/navBarSearch.vue";
|
||||
import list from "@/uni_modules/z-paging/components/z-paging/z-paging";
|
||||
import api from "@/api/api";
|
||||
import { onLoad } from "@dcloudio/uni-app";
|
||||
import { onLoad,onShow} from "@dcloudio/uni-app";
|
||||
import dayjs from "dayjs";
|
||||
import switchImg from "@/static/switch.png";
|
||||
import navTo from "@/utils/navTo.js";
|
||||
@ -132,9 +132,12 @@ onLoad((options) => {
|
||||
order.article_num='desc'
|
||||
};
|
||||
});
|
||||
onShow(()=>{
|
||||
paging.value?.refresh();
|
||||
})
|
||||
const changeDate=(e)=>{
|
||||
console.log(e);
|
||||
order.read_num='';
|
||||
order.article_num='';
|
||||
paging.value.reload();
|
||||
}
|
||||
const changeRead=(e)=>{
|
||||
|
||||
@ -159,7 +159,7 @@ import headImg from "@/static/headImg.png";
|
||||
import dayjs from "dayjs";
|
||||
import api from "@/api/api";
|
||||
import navTo from "@/utils/navTo.js";
|
||||
import { onLoad } from "@dcloudio/uni-app";
|
||||
import { onLoad,onShow} from "@dcloudio/uni-app";
|
||||
import list from "@/uni_modules/z-paging/components/z-paging/z-paging";
|
||||
const user_id = ref("");
|
||||
const is_selected = ref(0);
|
||||
@ -197,6 +197,10 @@ onLoad((options) => {
|
||||
is_selected.value = options.is_selected;
|
||||
}
|
||||
});
|
||||
onShow(()=>{
|
||||
|
||||
paging.value?.refresh();
|
||||
})
|
||||
const changeDate=(e)=>{
|
||||
console.log(e);
|
||||
order.read_num='';
|
||||
|
||||
@ -85,7 +85,7 @@ import navBarSearch from "@/components/navBarSearch/navBarSearch.vue";
|
||||
import list from "@/uni_modules/z-paging/components/z-paging/z-paging";
|
||||
import api from "@/api/api";
|
||||
import navTo from "@/utils/navTo.js";
|
||||
import { onLoad } from "@dcloudio/uni-app";
|
||||
import { onLoad,onShow} from "@dcloudio/uni-app";
|
||||
import dayjs from "dayjs";
|
||||
import switchImg from "@/static/switch.png";
|
||||
const paging = ref(null);
|
||||
@ -152,6 +152,9 @@ onLoad((options) => {
|
||||
|
||||
}
|
||||
});
|
||||
onShow(()=>{
|
||||
paging.value?.refresh();
|
||||
})
|
||||
const changeDate=(e)=>{
|
||||
console.log(e);
|
||||
order.read_num='';
|
||||
|
||||
BIN
static/draft.png
Normal file
BIN
static/draft.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.2 KiB |
@ -46,7 +46,7 @@ export function addImage(imgs, options = {}) {
|
||||
|
||||
// 取消键盘副作用
|
||||
noKeyboardEffect(() => {
|
||||
editorCtx.insertText({ text: '\n' })
|
||||
//editorCtx.insertText({ text: '\n' })
|
||||
upRes?.forEach((item) => {
|
||||
console.log('item')
|
||||
console.log(item)
|
||||
@ -56,7 +56,7 @@ export function addImage(imgs, options = {}) {
|
||||
})
|
||||
})
|
||||
// 建议加个换行,虽然会导致input回调再次触发,不过问题不大
|
||||
editorCtx.insertText({ text: '\n' })
|
||||
//editorCtx.insertText({ text: '\n' })
|
||||
})
|
||||
|
||||
return upRes
|
||||
@ -88,7 +88,7 @@ export async function addVideo(uploadFunc, options = {}) {
|
||||
|
||||
// 取消键盘副作用
|
||||
noKeyboardEffect(() => {
|
||||
editorCtx.insertText({ text: '\n' })
|
||||
//editorCtx.insertText({ text: '\n' })
|
||||
upRes?.forEach((item) => {
|
||||
editorCtx.insertImage({
|
||||
...options,
|
||||
@ -97,7 +97,7 @@ export async function addVideo(uploadFunc, options = {}) {
|
||||
})
|
||||
})
|
||||
// 建议加个换行,虽然会导致input回调再次触发,不过问题不大
|
||||
editorCtx.insertText({ text: '\n' })
|
||||
//editorCtx.insertText({ text: '\n' })
|
||||
})
|
||||
|
||||
return upRes
|
||||
|
||||
@ -182,7 +182,8 @@ export default {
|
||||
* 主动聚焦
|
||||
* @returns {void}
|
||||
*/
|
||||
this.editorCtx.focus = this.$refs.editorRenderRef.focus
|
||||
//this.editorCtx.focus = this.$refs.editorRenderRef.focus
|
||||
|
||||
|
||||
/**
|
||||
* 退格
|
||||
@ -209,7 +210,7 @@ export default {
|
||||
this.$refs.editorPluginRef.changePasteMode(type)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 生成视频封面图
|
||||
* @param {String} url 封面图片地址
|
||||
@ -270,6 +271,9 @@ export default {
|
||||
* 主动触发input回调事件
|
||||
* @returns {void}
|
||||
*/
|
||||
// this.editorCtx.blur = ()=>{
|
||||
// this.$refs.editorRenderRef.blur();
|
||||
// };
|
||||
this.editorCtx.changeInput = () => {
|
||||
this.editorCtx.getContents({
|
||||
success: (res) => {
|
||||
@ -314,6 +318,7 @@ export default {
|
||||
// #ifdef APP || H5
|
||||
if (this.pasteMode == 'origin') this.editorCtx.changePasteMode('origin')
|
||||
// #endif
|
||||
this.editorCtx.blur();
|
||||
}
|
||||
})
|
||||
})
|
||||
|
||||
14
unpackage/dist/cache/.vite/deps/_metadata.json
vendored
14
unpackage/dist/cache/.vite/deps/_metadata.json
vendored
@ -2,25 +2,31 @@
|
||||
"hash": "f02f8263",
|
||||
"configHash": "472db92a",
|
||||
"lockfileHash": "bca6ff8a",
|
||||
"browserHash": "c8a73f42",
|
||||
"browserHash": "e9b38ef5",
|
||||
"optimized": {
|
||||
"uview-plus": {
|
||||
"src": "../../../../../node_modules/uview-plus/index.js",
|
||||
"file": "uview-plus.js",
|
||||
"fileHash": "2413d73d",
|
||||
"fileHash": "ebca8704",
|
||||
"needsInterop": false
|
||||
},
|
||||
"vconsole": {
|
||||
"src": "../../../../../node_modules/vconsole/dist/vconsole.min.js",
|
||||
"file": "vconsole.js",
|
||||
"fileHash": "e9dfd7b2",
|
||||
"fileHash": "94152ede",
|
||||
"needsInterop": true
|
||||
},
|
||||
"uview-plus/libs/function/test": {
|
||||
"src": "../../../../../node_modules/uview-plus/libs/function/test.js",
|
||||
"file": "uview-plus_libs_function_test.js",
|
||||
"fileHash": "4a4cc52a",
|
||||
"fileHash": "4d092aa4",
|
||||
"needsInterop": false
|
||||
},
|
||||
"dayjs": {
|
||||
"src": "../../../../../node_modules/dayjs/dayjs.min.js",
|
||||
"file": "dayjs.js",
|
||||
"fileHash": "e60c7cff",
|
||||
"needsInterop": true
|
||||
}
|
||||
},
|
||||
"chunks": {
|
||||
|
||||
299
unpackage/dist/cache/.vite/deps/dayjs.js
vendored
Normal file
299
unpackage/dist/cache/.vite/deps/dayjs.js
vendored
Normal file
@ -0,0 +1,299 @@
|
||||
import {
|
||||
__commonJS
|
||||
} from "./chunk-Y2F7D3TJ.js";
|
||||
|
||||
// ../../../../../GitWorkPlace/caseDataBase/node_modules/dayjs/dayjs.min.js
|
||||
var require_dayjs_min = __commonJS({
|
||||
"../../../../../GitWorkPlace/caseDataBase/node_modules/dayjs/dayjs.min.js"(exports, module) {
|
||||
!function(t, e) {
|
||||
"object" == typeof exports && "undefined" != typeof module ? module.exports = e() : "function" == typeof define && define.amd ? define(e) : (t = "undefined" != typeof globalThis ? globalThis : t || self).dayjs = e();
|
||||
}(exports, function() {
|
||||
"use strict";
|
||||
var t = 1e3, e = 6e4, n = 36e5, r = "millisecond", i = "second", s = "minute", u = "hour", a = "day", o = "week", c = "month", f = "quarter", h = "year", d = "date", l = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(t2) {
|
||||
var e2 = ["th", "st", "nd", "rd"], n2 = t2 % 100;
|
||||
return "[" + t2 + (e2[(n2 - 20) % 10] || e2[n2] || e2[0]) + "]";
|
||||
} }, m = function(t2, e2, n2) {
|
||||
var r2 = String(t2);
|
||||
return !r2 || r2.length >= e2 ? t2 : "" + Array(e2 + 1 - r2.length).join(n2) + t2;
|
||||
}, v = { s: m, z: function(t2) {
|
||||
var e2 = -t2.utcOffset(), n2 = Math.abs(e2), r2 = Math.floor(n2 / 60), i2 = n2 % 60;
|
||||
return (e2 <= 0 ? "+" : "-") + m(r2, 2, "0") + ":" + m(i2, 2, "0");
|
||||
}, m: function t2(e2, n2) {
|
||||
if (e2.date() < n2.date())
|
||||
return -t2(n2, e2);
|
||||
var r2 = 12 * (n2.year() - e2.year()) + (n2.month() - e2.month()), i2 = e2.clone().add(r2, c), s2 = n2 - i2 < 0, u2 = e2.clone().add(r2 + (s2 ? -1 : 1), c);
|
||||
return +(-(r2 + (n2 - i2) / (s2 ? i2 - u2 : u2 - i2)) || 0);
|
||||
}, a: function(t2) {
|
||||
return t2 < 0 ? Math.ceil(t2) || 0 : Math.floor(t2);
|
||||
}, p: function(t2) {
|
||||
return { M: c, y: h, w: o, d: a, D: d, h: u, m: s, s: i, ms: r, Q: f }[t2] || String(t2 || "").toLowerCase().replace(/s$/, "");
|
||||
}, u: function(t2) {
|
||||
return void 0 === t2;
|
||||
} }, g = "en", D = {};
|
||||
D[g] = M;
|
||||
var p = "$isDayjsObject", S = function(t2) {
|
||||
return t2 instanceof _ || !(!t2 || !t2[p]);
|
||||
}, w = function t2(e2, n2, r2) {
|
||||
var i2;
|
||||
if (!e2)
|
||||
return g;
|
||||
if ("string" == typeof e2) {
|
||||
var s2 = e2.toLowerCase();
|
||||
D[s2] && (i2 = s2), n2 && (D[s2] = n2, i2 = s2);
|
||||
var u2 = e2.split("-");
|
||||
if (!i2 && u2.length > 1)
|
||||
return t2(u2[0]);
|
||||
} else {
|
||||
var a2 = e2.name;
|
||||
D[a2] = e2, i2 = a2;
|
||||
}
|
||||
return !r2 && i2 && (g = i2), i2 || !r2 && g;
|
||||
}, O = function(t2, e2) {
|
||||
if (S(t2))
|
||||
return t2.clone();
|
||||
var n2 = "object" == typeof e2 ? e2 : {};
|
||||
return n2.date = t2, n2.args = arguments, new _(n2);
|
||||
}, b = v;
|
||||
b.l = w, b.i = S, b.w = function(t2, e2) {
|
||||
return O(t2, { locale: e2.$L, utc: e2.$u, x: e2.$x, $offset: e2.$offset });
|
||||
};
|
||||
var _ = function() {
|
||||
function M2(t2) {
|
||||
this.$L = w(t2.locale, null, true), this.parse(t2), this.$x = this.$x || t2.x || {}, this[p] = true;
|
||||
}
|
||||
var m2 = M2.prototype;
|
||||
return m2.parse = function(t2) {
|
||||
this.$d = function(t3) {
|
||||
var e2 = t3.date, n2 = t3.utc;
|
||||
if (null === e2)
|
||||
return /* @__PURE__ */ new Date(NaN);
|
||||
if (b.u(e2))
|
||||
return /* @__PURE__ */ new Date();
|
||||
if (e2 instanceof Date)
|
||||
return new Date(e2);
|
||||
if ("string" == typeof e2 && !/Z$/i.test(e2)) {
|
||||
var r2 = e2.match($);
|
||||
if (r2) {
|
||||
var i2 = r2[2] - 1 || 0, s2 = (r2[7] || "0").substring(0, 3);
|
||||
return n2 ? new Date(Date.UTC(r2[1], i2, r2[3] || 1, r2[4] || 0, r2[5] || 0, r2[6] || 0, s2)) : new Date(r2[1], i2, r2[3] || 1, r2[4] || 0, r2[5] || 0, r2[6] || 0, s2);
|
||||
}
|
||||
}
|
||||
return new Date(e2);
|
||||
}(t2), this.init();
|
||||
}, m2.init = function() {
|
||||
var t2 = this.$d;
|
||||
this.$y = t2.getFullYear(), this.$M = t2.getMonth(), this.$D = t2.getDate(), this.$W = t2.getDay(), this.$H = t2.getHours(), this.$m = t2.getMinutes(), this.$s = t2.getSeconds(), this.$ms = t2.getMilliseconds();
|
||||
}, m2.$utils = function() {
|
||||
return b;
|
||||
}, m2.isValid = function() {
|
||||
return !(this.$d.toString() === l);
|
||||
}, m2.isSame = function(t2, e2) {
|
||||
var n2 = O(t2);
|
||||
return this.startOf(e2) <= n2 && n2 <= this.endOf(e2);
|
||||
}, m2.isAfter = function(t2, e2) {
|
||||
return O(t2) < this.startOf(e2);
|
||||
}, m2.isBefore = function(t2, e2) {
|
||||
return this.endOf(e2) < O(t2);
|
||||
}, m2.$g = function(t2, e2, n2) {
|
||||
return b.u(t2) ? this[e2] : this.set(n2, t2);
|
||||
}, m2.unix = function() {
|
||||
return Math.floor(this.valueOf() / 1e3);
|
||||
}, m2.valueOf = function() {
|
||||
return this.$d.getTime();
|
||||
}, m2.startOf = function(t2, e2) {
|
||||
var n2 = this, r2 = !!b.u(e2) || e2, f2 = b.p(t2), l2 = function(t3, e3) {
|
||||
var i2 = b.w(n2.$u ? Date.UTC(n2.$y, e3, t3) : new Date(n2.$y, e3, t3), n2);
|
||||
return r2 ? i2 : i2.endOf(a);
|
||||
}, $2 = function(t3, e3) {
|
||||
return b.w(n2.toDate()[t3].apply(n2.toDate("s"), (r2 ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e3)), n2);
|
||||
}, y2 = this.$W, M3 = this.$M, m3 = this.$D, v2 = "set" + (this.$u ? "UTC" : "");
|
||||
switch (f2) {
|
||||
case h:
|
||||
return r2 ? l2(1, 0) : l2(31, 11);
|
||||
case c:
|
||||
return r2 ? l2(1, M3) : l2(0, M3 + 1);
|
||||
case o:
|
||||
var g2 = this.$locale().weekStart || 0, D2 = (y2 < g2 ? y2 + 7 : y2) - g2;
|
||||
return l2(r2 ? m3 - D2 : m3 + (6 - D2), M3);
|
||||
case a:
|
||||
case d:
|
||||
return $2(v2 + "Hours", 0);
|
||||
case u:
|
||||
return $2(v2 + "Minutes", 1);
|
||||
case s:
|
||||
return $2(v2 + "Seconds", 2);
|
||||
case i:
|
||||
return $2(v2 + "Milliseconds", 3);
|
||||
default:
|
||||
return this.clone();
|
||||
}
|
||||
}, m2.endOf = function(t2) {
|
||||
return this.startOf(t2, false);
|
||||
}, m2.$set = function(t2, e2) {
|
||||
var n2, o2 = b.p(t2), f2 = "set" + (this.$u ? "UTC" : ""), l2 = (n2 = {}, n2[a] = f2 + "Date", n2[d] = f2 + "Date", n2[c] = f2 + "Month", n2[h] = f2 + "FullYear", n2[u] = f2 + "Hours", n2[s] = f2 + "Minutes", n2[i] = f2 + "Seconds", n2[r] = f2 + "Milliseconds", n2)[o2], $2 = o2 === a ? this.$D + (e2 - this.$W) : e2;
|
||||
if (o2 === c || o2 === h) {
|
||||
var y2 = this.clone().set(d, 1);
|
||||
y2.$d[l2]($2), y2.init(), this.$d = y2.set(d, Math.min(this.$D, y2.daysInMonth())).$d;
|
||||
} else
|
||||
l2 && this.$d[l2]($2);
|
||||
return this.init(), this;
|
||||
}, m2.set = function(t2, e2) {
|
||||
return this.clone().$set(t2, e2);
|
||||
}, m2.get = function(t2) {
|
||||
return this[b.p(t2)]();
|
||||
}, m2.add = function(r2, f2) {
|
||||
var d2, l2 = this;
|
||||
r2 = Number(r2);
|
||||
var $2 = b.p(f2), y2 = function(t2) {
|
||||
var e2 = O(l2);
|
||||
return b.w(e2.date(e2.date() + Math.round(t2 * r2)), l2);
|
||||
};
|
||||
if ($2 === c)
|
||||
return this.set(c, this.$M + r2);
|
||||
if ($2 === h)
|
||||
return this.set(h, this.$y + r2);
|
||||
if ($2 === a)
|
||||
return y2(1);
|
||||
if ($2 === o)
|
||||
return y2(7);
|
||||
var M3 = (d2 = {}, d2[s] = e, d2[u] = n, d2[i] = t, d2)[$2] || 1, m3 = this.$d.getTime() + r2 * M3;
|
||||
return b.w(m3, this);
|
||||
}, m2.subtract = function(t2, e2) {
|
||||
return this.add(-1 * t2, e2);
|
||||
}, m2.format = function(t2) {
|
||||
var e2 = this, n2 = this.$locale();
|
||||
if (!this.isValid())
|
||||
return n2.invalidDate || l;
|
||||
var r2 = t2 || "YYYY-MM-DDTHH:mm:ssZ", i2 = b.z(this), s2 = this.$H, u2 = this.$m, a2 = this.$M, o2 = n2.weekdays, c2 = n2.months, f2 = n2.meridiem, h2 = function(t3, n3, i3, s3) {
|
||||
return t3 && (t3[n3] || t3(e2, r2)) || i3[n3].slice(0, s3);
|
||||
}, d2 = function(t3) {
|
||||
return b.s(s2 % 12 || 12, t3, "0");
|
||||
}, $2 = f2 || function(t3, e3, n3) {
|
||||
var r3 = t3 < 12 ? "AM" : "PM";
|
||||
return n3 ? r3.toLowerCase() : r3;
|
||||
};
|
||||
return r2.replace(y, function(t3, r3) {
|
||||
return r3 || function(t4) {
|
||||
switch (t4) {
|
||||
case "YY":
|
||||
return String(e2.$y).slice(-2);
|
||||
case "YYYY":
|
||||
return b.s(e2.$y, 4, "0");
|
||||
case "M":
|
||||
return a2 + 1;
|
||||
case "MM":
|
||||
return b.s(a2 + 1, 2, "0");
|
||||
case "MMM":
|
||||
return h2(n2.monthsShort, a2, c2, 3);
|
||||
case "MMMM":
|
||||
return h2(c2, a2);
|
||||
case "D":
|
||||
return e2.$D;
|
||||
case "DD":
|
||||
return b.s(e2.$D, 2, "0");
|
||||
case "d":
|
||||
return String(e2.$W);
|
||||
case "dd":
|
||||
return h2(n2.weekdaysMin, e2.$W, o2, 2);
|
||||
case "ddd":
|
||||
return h2(n2.weekdaysShort, e2.$W, o2, 3);
|
||||
case "dddd":
|
||||
return o2[e2.$W];
|
||||
case "H":
|
||||
return String(s2);
|
||||
case "HH":
|
||||
return b.s(s2, 2, "0");
|
||||
case "h":
|
||||
return d2(1);
|
||||
case "hh":
|
||||
return d2(2);
|
||||
case "a":
|
||||
return $2(s2, u2, true);
|
||||
case "A":
|
||||
return $2(s2, u2, false);
|
||||
case "m":
|
||||
return String(u2);
|
||||
case "mm":
|
||||
return b.s(u2, 2, "0");
|
||||
case "s":
|
||||
return String(e2.$s);
|
||||
case "ss":
|
||||
return b.s(e2.$s, 2, "0");
|
||||
case "SSS":
|
||||
return b.s(e2.$ms, 3, "0");
|
||||
case "Z":
|
||||
return i2;
|
||||
}
|
||||
return null;
|
||||
}(t3) || i2.replace(":", "");
|
||||
});
|
||||
}, m2.utcOffset = function() {
|
||||
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
||||
}, m2.diff = function(r2, d2, l2) {
|
||||
var $2, y2 = this, M3 = b.p(d2), m3 = O(r2), v2 = (m3.utcOffset() - this.utcOffset()) * e, g2 = this - m3, D2 = function() {
|
||||
return b.m(y2, m3);
|
||||
};
|
||||
switch (M3) {
|
||||
case h:
|
||||
$2 = D2() / 12;
|
||||
break;
|
||||
case c:
|
||||
$2 = D2();
|
||||
break;
|
||||
case f:
|
||||
$2 = D2() / 3;
|
||||
break;
|
||||
case o:
|
||||
$2 = (g2 - v2) / 6048e5;
|
||||
break;
|
||||
case a:
|
||||
$2 = (g2 - v2) / 864e5;
|
||||
break;
|
||||
case u:
|
||||
$2 = g2 / n;
|
||||
break;
|
||||
case s:
|
||||
$2 = g2 / e;
|
||||
break;
|
||||
case i:
|
||||
$2 = g2 / t;
|
||||
break;
|
||||
default:
|
||||
$2 = g2;
|
||||
}
|
||||
return l2 ? $2 : b.a($2);
|
||||
}, m2.daysInMonth = function() {
|
||||
return this.endOf(c).$D;
|
||||
}, m2.$locale = function() {
|
||||
return D[this.$L];
|
||||
}, m2.locale = function(t2, e2) {
|
||||
if (!t2)
|
||||
return this.$L;
|
||||
var n2 = this.clone(), r2 = w(t2, e2, true);
|
||||
return r2 && (n2.$L = r2), n2;
|
||||
}, m2.clone = function() {
|
||||
return b.w(this.$d, this);
|
||||
}, m2.toDate = function() {
|
||||
return new Date(this.valueOf());
|
||||
}, m2.toJSON = function() {
|
||||
return this.isValid() ? this.toISOString() : null;
|
||||
}, m2.toISOString = function() {
|
||||
return this.$d.toISOString();
|
||||
}, m2.toString = function() {
|
||||
return this.$d.toUTCString();
|
||||
}, M2;
|
||||
}(), k = _.prototype;
|
||||
return O.prototype = k, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", c], ["$y", h], ["$D", d]].forEach(function(t2) {
|
||||
k[t2[1]] = function(e2) {
|
||||
return this.$g(e2, t2[0], t2[1]);
|
||||
};
|
||||
}), O.extend = function(t2, e2) {
|
||||
return t2.$i || (t2(e2, _, O), t2.$i = true), O;
|
||||
}, O.locale = w, O.isDayjs = S, O.unix = function(t2) {
|
||||
return O(1e3 * t2);
|
||||
}, O.en = D[g], O.Ls = D, O.p = {}, O;
|
||||
});
|
||||
}
|
||||
});
|
||||
export default require_dayjs_min();
|
||||
//# sourceMappingURL=dayjs.js.map
|
||||
7
unpackage/dist/cache/.vite/deps/dayjs.js.map
vendored
Normal file
7
unpackage/dist/cache/.vite/deps/dayjs.js.map
vendored
Normal file
File diff suppressed because one or more lines are too long
@ -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/switch.png","static/arrowright.png","static/headImg.png","static/cert.png","static/myFile.png","static/myDownload.png","static/myCollect.png","static/myHospital.png","static/myJoin.png","static/myTalk.png","static/collectOn.png","static/collect.png","static/shang.png","static/chat.png","static/uploadImg.png","static/comment_icon.png","static/benren.png","static/caseIcon.png","static/default.png","static/group.png","static/ku.png","static/ku_on.png","static/group_on.png","static/talk.png","static/talk_on.png","static/logo.png"],"sourcesContent":["export default \"__VITE_ASSET__f55d1656__\"","export default \"__VITE_ASSET__b8c46462__\"","export default \"__VITE_ASSET__d413868a__\"","export default \"__VITE_ASSET__b35aa4a8__\"","export default \"__VITE_ASSET__fd0b1873__\"","export default \"__VITE_ASSET__7afdfa25__\"","export default \"__VITE_ASSET__f335dad1__\"","export default \"__VITE_ASSET__bc53d6e9__\"","export default \"__VITE_ASSET__34b6a406__\"","export default \"__VITE_ASSET__04d264d8__\"","export default \"__VITE_ASSET__2dc1225f__\"","export default \"__VITE_ASSET__968fe4e2__\"","export default \"__VITE_ASSET__2a791e4d__\"","export default \"__VITE_ASSET__02d8e89c__\"","export default \"__VITE_ASSET__018fc400__\"","export default \"__VITE_ASSET__f708625e__\"","export default \"__VITE_ASSET__219bc93e__\"","export default \"__VITE_ASSET__07ef65cb__\"","export default \"__VITE_ASSET__60605a3f__\"","export default \"__VITE_ASSET__1b1db7a1__\"","export default \"__VITE_ASSET__0d05d4c1__\"","export default \"__VITE_ASSET__b055dcc3__\"","export default \"__VITE_ASSET__66769c53__\"","export default \"__VITE_ASSET__27070269__\"","export default \"__VITE_ASSET__beb38987__\"","export default \"__VITE_ASSET__3981e088__\"","export default \"__VITE_ASSET__f5b8f828__\"","export default \"__VITE_ASSET__df35ad17__\"","export default \"__VITE_ASSET__c0792a8a__\"","export default \"__VITE_ASSET__514334a4__\"","export default \"__VITE_ASSET__40793151__\"","export default \"__VITE_ASSET__977b04a2__\"","export default \"__VITE_ASSET__e6204d41__\"","export default \"__VITE_ASSET__8ef1dcc4__\""],"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,gBAAA;ACAf,MAAe,UAAA;ACAf,MAAe,UAAA;ACAf,MAAe,SAAA;ACAf,MAAe,aAAA;ACAf,MAAe,YAAA;ACAf,MAAe,aAAA;ACAf,MAAe,SAAA;ACAf,MAAe,SAAA;ACAf,MAAe,eAAA;ACAf,MAAe,aAAA;ACAf,MAAe,WAAA;ACAf,MAAe,UAAA;ACAf,MAAe,YAAA;ACAf,MAAe,aAAA;ACAf,MAAe,UAAA;ACAf,MAAe,UAAA;ACAf,MAAe,MAAA;ACAf,MAAe,QAAA;ACAf,MAAe,KAAA;ACAf,MAAe,QAAA;ACAf,MAAe,WAAA;ACAf,MAAe,OAAA;ACAf,MAAe,UAAA;ACAf,MAAe,UAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
||||
{"version":3,"file":"assets.js","sources":["static/video.png","static/sick.png","static/hospital.png","static/doctor.png","static/photo.png","static/add.png","static/videoicon.png","static/vote.png","static/draft.png","static/switch.png","static/arrowright.png","static/headImg.png","static/cert.png","static/myFile.png","static/myDownload.png","static/myCollect.png","static/myHospital.png","static/myJoin.png","static/myTalk.png","static/collectOn.png","static/collect.png","static/shang.png","static/chat.png","static/uploadImg.png","static/comment_icon.png","static/benren.png","static/caseIcon.png","static/default.png","static/group.png","static/ku.png","static/ku_on.png","static/group_on.png","static/talk.png","static/talk_on.png","static/logo.png"],"sourcesContent":["export default \"__VITE_ASSET__f55d1656__\"","export default \"__VITE_ASSET__b8c46462__\"","export default \"__VITE_ASSET__d413868a__\"","export default \"__VITE_ASSET__b35aa4a8__\"","export default \"__VITE_ASSET__fd0b1873__\"","export default \"__VITE_ASSET__7afdfa25__\"","export default \"__VITE_ASSET__f335dad1__\"","export default \"__VITE_ASSET__bc53d6e9__\"","export default \"__VITE_ASSET__8a9f1cf1__\"","export default \"__VITE_ASSET__34b6a406__\"","export default \"__VITE_ASSET__04d264d8__\"","export default \"__VITE_ASSET__2dc1225f__\"","export default \"__VITE_ASSET__968fe4e2__\"","export default \"__VITE_ASSET__2a791e4d__\"","export default \"__VITE_ASSET__02d8e89c__\"","export default \"__VITE_ASSET__018fc400__\"","export default \"__VITE_ASSET__f708625e__\"","export default \"__VITE_ASSET__219bc93e__\"","export default \"__VITE_ASSET__07ef65cb__\"","export default \"__VITE_ASSET__60605a3f__\"","export default \"__VITE_ASSET__1b1db7a1__\"","export default \"__VITE_ASSET__0d05d4c1__\"","export default \"__VITE_ASSET__b055dcc3__\"","export default \"__VITE_ASSET__66769c53__\"","export default \"__VITE_ASSET__27070269__\"","export default \"__VITE_ASSET__beb38987__\"","export default \"__VITE_ASSET__3981e088__\"","export default \"__VITE_ASSET__f5b8f828__\"","export default \"__VITE_ASSET__df35ad17__\"","export default \"__VITE_ASSET__c0792a8a__\"","export default \"__VITE_ASSET__514334a4__\"","export default \"__VITE_ASSET__40793151__\"","export default \"__VITE_ASSET__977b04a2__\"","export default \"__VITE_ASSET__e6204d41__\"","export default \"__VITE_ASSET__8ef1dcc4__\""],"names":[],"mappings":";AAAA,MAAe,aAAA;ACAf,MAAe,UAAA;ACAf,MAAe,cAAA;ACAf,MAAe,YAAA;ACAf,MAAe,WAAA;ACAf,MAAe,SAAA;ACAf,MAAe,WAAA;ACAf,MAAe,UAAA;ACAf,MAAe,WAAA;ACAf,MAAe,YAAA;ACAf,MAAe,gBAAA;ACAf,MAAe,UAAA;ACAf,MAAe,UAAA;ACAf,MAAe,SAAA;ACAf,MAAe,aAAA;ACAf,MAAe,YAAA;ACAf,MAAe,aAAA;ACAf,MAAe,SAAA;ACAf,MAAe,SAAA;ACAf,MAAe,eAAA;ACAf,MAAe,aAAA;ACAf,MAAe,WAAA;ACAf,MAAe,UAAA;ACAf,MAAe,YAAA;ACAf,MAAe,aAAA;ACAf,MAAe,UAAA;ACAf,MAAe,UAAA;ACAf,MAAe,MAAA;ACAf,MAAe,QAAA;ACAf,MAAe,KAAA;ACAf,MAAe,QAAA;ACAf,MAAe,WAAA;ACAf,MAAe,OAAA;ACAf,MAAe,UAAA;ACAf,MAAe,UAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -7,6 +7,7 @@ const photoImg = "/static/photo.png";
|
||||
const addImg = "/static/add.png";
|
||||
const videoImg = "/static/videoicon.png";
|
||||
const voteImg = "/static/vote.png";
|
||||
const draftImg = "/static/draft.png";
|
||||
const switchImg = "/static/switch.png";
|
||||
const arrowrightImg = "/static/arrowright.png";
|
||||
const headImg = "/static/headImg.png";
|
||||
@ -42,6 +43,7 @@ exports.collectImg = collectImg;
|
||||
exports.collectonImg = collectonImg;
|
||||
exports.commentImg = commentImg;
|
||||
exports.doctorImg = doctorImg;
|
||||
exports.draftImg = draftImg;
|
||||
exports.group = group;
|
||||
exports.group_on = group_on;
|
||||
exports.headImg = headImg;
|
||||
|
||||
1408
unpackage/dist/dev/mp-weixin/common/vendor.js
vendored
1408
unpackage/dist/dev/mp-weixin/common/vendor.js
vendored
File diff suppressed because it is too large
Load Diff
@ -3,7 +3,7 @@ const common_vendor = require("../../../../common/vendor.js");
|
||||
const base64Avatar = "data:image/jpg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAAA8AAD/4QMraHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjMtYzAxMSA2Ni4xNDU2NjEsIDIwMTIvMDIvMDYtMTQ6NTY6MjcgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcD0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bXA6Q3JlYXRvclRvb2w9IkFkb2JlIFBob3Rvc2hvcCBDUzYgKFdpbmRvd3MpIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOjREMEQwRkY0RjgwNDExRUE5OTY2RDgxODY3NkJFODMxIiB4bXBNTTpEb2N1bWVudElEPSJ4bXAuZGlkOjREMEQwRkY1RjgwNDExRUE5OTY2RDgxODY3NkJFODMxIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6NEQwRDBGRjJGODA0MTFFQTk5NjZEODE4Njc2QkU4MzEiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6NEQwRDBGRjNGODA0MTFFQTk5NjZEODE4Njc2QkU4MzEiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz7/7gAOQWRvYmUAZMAAAAAB/9sAhAAGBAQEBQQGBQUGCQYFBgkLCAYGCAsMCgoLCgoMEAwMDAwMDBAMDg8QDw4MExMUFBMTHBsbGxwfHx8fHx8fHx8fAQcHBw0MDRgQEBgaFREVGh8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx//wAARCADIAMgDAREAAhEBAxEB/8QAcQABAQEAAwEBAAAAAAAAAAAAAAUEAQMGAgcBAQAAAAAAAAAAAAAAAAAAAAAQAAIBAwICBgkDBQAAAAAAAAABAhEDBCEFMVFBYXGREiKBscHRMkJSEyOh4XLxYjNDFBEBAAAAAAAAAAAAAAAAAAAAAP/aAAwDAQACEQMRAD8A/fAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHbHFyZ/Dam+yLA+Z2L0Pjtyj2poD4AAAAAAAAAAAAAAAAAAAAAAAAKWFs9y6lcvvwQeqj8z9wFaziY1n/HbUX9XF97A7QAGXI23EvJ1goyfzR0YEfN269jeZ+a03pNe0DIAAAAAAAAAAAAAAAAAAAACvtO3RcVkXlWutuL9YFYAAAAAOJRjKLjJVi9GmB5/csH/mu1h/in8PU+QGMAAAAAAAAAAAAAAAAAAaMDG/6MmMH8C80+xAelSSVFolwQAAAAAAAHVlWI37ErUulaPk+hgeYnCUJuElSUXRrrQHAAAAAAAAAAAAAAAAABa2Oz4bM7r4zdF2ICmAAAAAAAAAg7zZ8GX41wuJP0rRgYAAAAAAAAAAAAAAAAAD0m2R8ODaXU33tsDSAAAAAAAAAlb9HyWZcnJd9PcBHAAAAAAAAAAAAAAAAAPS7e64Vn+KA0AAAAAAAAAJm+v8Ftf3ewCKAAAAAAAAAAAAAAAAAX9muqeGo9NttP06+0DcAAAAAAAAAjb7dTu2ra+VOT9P8AQCWAAAAAAAAAAAAAAAAAUNmyPt5Ltv4bui/kuAF0AAAAAAADiUlGLlJ0SVW+oDzOXfd/Ind6JPRdS0QHSAAAAAAAAAAAAAAAAAE2nVaNcGB6Lbs6OTao9LsF51z60BrAAAAAABJ3jOVHjW3r/sa9QEgAAAAAAAAAAAAAAAAAAAPu1duWriuW34ZR4MC9hbnZyEoy8l36XwfYBsAAADaSq9EuLAlZ+7xSdrGdW9Hc5dgEdtt1erfFgAAAAAAAAAAAAAAAAADVjbblX6NR8MH80tEBRs7HYivyzlN8lovaBPzduvY0m6eK10TXtAyAarO55lpJK54orolr+4GqO/Xaea1FvqbXvA+Z77kNeW3GPbV+4DJfzcm/pcm3H6Vou5AdAFLC2ed2Pjv1txa8sV8T6wOL+yZEKu1JXFy4MDBOE4ScZxcZLinoB8gAAAAAAAAAAAB242LeyJ+C3GvN9C7QLmJtePYpKS+5c+p8F2IDYAANJqj1T4oCfk7Nj3G5Wn9qXJax7gJ93Z82D8sVNc4v30A6Xg5i42Z+iLfqARwcyT0sz9MWvWBps7LlTf5Grce9/oBTxdtxseklHxT+uWr9AGoAB138ezfj4bsFJdD6V2MCPm7RdtJzs1uW1xXzL3gTgAAAAAAAAADRhYc8q74I6RWs5ckB6GxYtWLat21SK731sDsAAAAAAAAAAAAAAAASt021NO/YjrxuQXT1oCOAAAAAAABzGLlJRSq26JAelwsWONYjbXxcZvmwO8AAAAAAAAAAAAAAAAAAef3TEWPkVivx3NY9T6UBiAAAAAABo2+VmGXblddIJ8eivRUD0oAAAAAAAAAAAAAAAAAAAYt4tKeFKVNYNSXfRgefAAAAAAAAr7VuSSWPedKaW5v1MCsAAAAAAAAAAAAAAAAAAIe6bj96Ts2n+JPzSXzP3ATgAAAAAAAAFbbt1UUrOQ9FpC4/UwK6aaqtU+DAAAAAAAAAAAAAAA4lKMIuUmoxWrb4ARNx3R3q2rLpa4Sl0y/YCcAAAAAAAAAAANmFud7G8r89r6X0dgFvGzLGRGtuWvTF6NAdwAAAAAAAAAAAy5W442PVN+K59EePp5ARMvOv5MvO6QXCC4AZwAAAAAAAAAAAAAcxlKLUotprg1owN+PvORborq+7Hnwl3gUbO74VzRydt8pKn68ANcJwmqwkpLmnUDkAAAAfNy9atqtyagut0AxXt5xIV8Fbj6lRd7Am5G65V6qUvtwfyx94GMAAAAAAAAAAAAAAAAAAAOU2nVOj5gdsc3LiqRvTpyqwOxbnnrhdfpSfrQB7pnv/AGvuS9gHXPMy5/Fem1yq0v0A6W29XqwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAf//Z";
|
||||
const _sfc_main = {
|
||||
name: "u-avatar",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$18],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$19],
|
||||
data() {
|
||||
return {
|
||||
// 如果配置randomBgColor参数为true,在图标或者文字的模式下,会随机从中取出一个颜色值当做背景色
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-badge",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.props$31, common_vendor.mixin],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.props$32, common_vendor.mixin],
|
||||
computed: {
|
||||
// 是否将badge中心与父组件右上角重合
|
||||
boxStyle() {
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-button",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.buttonMixin, common_vendor.openType, common_vendor.props$13],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.buttonMixin, common_vendor.openType, common_vendor.props$14],
|
||||
data() {
|
||||
return {};
|
||||
},
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-cell-group",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$27],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$28],
|
||||
methods: {
|
||||
addStyle: common_vendor.addStyle
|
||||
}
|
||||
|
||||
@ -5,7 +5,7 @@ const _sfc_main = {
|
||||
data() {
|
||||
return {};
|
||||
},
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$19],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$20],
|
||||
computed: {
|
||||
titleTextStyle() {
|
||||
return common_vendor.addStyle(this.titleStyle);
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-code",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$12],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$13],
|
||||
data() {
|
||||
return {
|
||||
secNum: this.seconds,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-dropdown-item",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$8],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$9],
|
||||
options: {
|
||||
styleIsolation: "shared"
|
||||
},
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-dropdown",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$9],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$10],
|
||||
data() {
|
||||
return {
|
||||
showDropdown: true,
|
||||
|
||||
84
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-empty/u-empty.js
vendored
Normal file
84
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-empty/u-empty.js
vendored
Normal file
@ -0,0 +1,84 @@
|
||||
"use strict";
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-empty",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$5],
|
||||
data() {
|
||||
return {
|
||||
icons: {
|
||||
car: "购物车为空",
|
||||
page: "页面不存在",
|
||||
search: "没有搜索结果",
|
||||
address: "没有收货地址",
|
||||
wifi: "没有WiFi",
|
||||
order: "订单为空",
|
||||
coupon: "没有优惠券",
|
||||
favor: "暂无收藏",
|
||||
permission: "无权限",
|
||||
history: "无历史记录",
|
||||
news: "无新闻列表",
|
||||
message: "消息列表为空",
|
||||
list: "列表为空",
|
||||
data: "数据为空",
|
||||
comment: "暂无评论"
|
||||
}
|
||||
};
|
||||
},
|
||||
computed: {
|
||||
// 组件样式
|
||||
emptyStyle() {
|
||||
const style = {};
|
||||
style.marginTop = common_vendor.addUnit(this.marginTop);
|
||||
return common_vendor.deepMerge(common_vendor.addStyle(this.customStyle), style);
|
||||
},
|
||||
// 文本样式
|
||||
textStyle() {
|
||||
const style = {};
|
||||
style.color = this.textColor;
|
||||
style.fontSize = common_vendor.addUnit(this.textSize);
|
||||
return style;
|
||||
},
|
||||
// 判断icon是否图片路径
|
||||
isSrc() {
|
||||
return this.icon.indexOf("/") >= 0;
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
addUnit: common_vendor.addUnit
|
||||
}
|
||||
};
|
||||
if (!Array) {
|
||||
const _easycom_u_icon2 = common_vendor.resolveComponent("u-icon");
|
||||
_easycom_u_icon2();
|
||||
}
|
||||
const _easycom_u_icon = () => "../u-icon/u-icon.js";
|
||||
if (!Math) {
|
||||
_easycom_u_icon();
|
||||
}
|
||||
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
||||
return common_vendor.e({
|
||||
a: _ctx.show
|
||||
}, _ctx.show ? common_vendor.e({
|
||||
b: !$options.isSrc
|
||||
}, !$options.isSrc ? {
|
||||
c: common_vendor.p({
|
||||
name: _ctx.mode === "message" ? "chat" : `empty-${_ctx.mode}`,
|
||||
size: _ctx.iconSize,
|
||||
color: _ctx.iconColor,
|
||||
["margin-top"]: "14"
|
||||
})
|
||||
} : {
|
||||
d: $options.addUnit(_ctx.width),
|
||||
e: $options.addUnit(_ctx.height),
|
||||
f: _ctx.icon
|
||||
}, {
|
||||
g: common_vendor.t(_ctx.text ? _ctx.text : $data.icons[_ctx.mode]),
|
||||
h: common_vendor.s($options.textStyle),
|
||||
i: _ctx.$slots.default || _ctx.$slots.$default
|
||||
}, _ctx.$slots.default || _ctx.$slots.$default ? {} : {}, {
|
||||
j: common_vendor.s($options.emptyStyle)
|
||||
}) : {});
|
||||
}
|
||||
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-bd84101d"]]);
|
||||
wx.createComponent(Component);
|
||||
//# sourceMappingURL=../../../../../.sourcemap/mp-weixin/node-modules/uview-plus/components/u-empty/u-empty.js.map
|
||||
6
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-empty/u-empty.json
vendored
Normal file
6
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-empty/u-empty.json
vendored
Normal file
@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"u-icon": "../u-icon/u-icon"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-empty/u-empty.wxml
vendored
Normal file
1
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-empty/u-empty.wxml
vendored
Normal file
@ -0,0 +1 @@
|
||||
<view wx:if="{{a}}" class="u-empty data-v-bd84101d" style="{{j}}"><u-icon wx:if="{{b}}" class="data-v-bd84101d" u-i="bd84101d-0" bind:__l="__l" u-p="{{c}}"></u-icon><image wx:else class="data-v-bd84101d" style="{{'width:' + d + ';' + ('height:' + e)}}" src="{{f}}" mode="widthFix"></image><text class="u-empty__text data-v-bd84101d" style="{{h}}">{{g}}</text><view wx:if="{{i}}" class="u-empty__wrap data-v-bd84101d"><slot/></view></view>
|
||||
70
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-empty/u-empty.wxss
vendored
Normal file
70
unpackage/dist/dev/mp-weixin/node-modules/uview-plus/components/u-empty/u-empty.wxss
vendored
Normal file
@ -0,0 +1,70 @@
|
||||
/**
|
||||
* 这里是uni-app内置的常用样式变量
|
||||
*
|
||||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||||
*
|
||||
*/
|
||||
/**
|
||||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||||
*
|
||||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||||
*/
|
||||
/* 颜色变量 */
|
||||
/* 行为相关颜色 */
|
||||
/* 文字基本颜色 */
|
||||
/* 背景颜色 */
|
||||
/* 边框颜色 */
|
||||
/* 尺寸变量 */
|
||||
/* 文字尺寸 */
|
||||
/* 图片尺寸 */
|
||||
/* Border Radius */
|
||||
/* 水平间距 */
|
||||
/* 垂直间距 */
|
||||
/* 透明度 */
|
||||
/* 文章场景相关 */
|
||||
.u-empty.data-v-bd84101d,
|
||||
.u-empty__wrap.data-v-bd84101d,
|
||||
.u-tabs.data-v-bd84101d,
|
||||
.u-tabs__wrapper.data-v-bd84101d,
|
||||
.u-tabs__wrapper__scroll-view-wrapper.data-v-bd84101d,
|
||||
.u-tabs__wrapper__scroll-view.data-v-bd84101d,
|
||||
.u-tabs__wrapper__nav.data-v-bd84101d,
|
||||
.u-tabs__wrapper__nav__line.data-v-bd84101d,
|
||||
.up-empty.data-v-bd84101d,
|
||||
.up-empty__wrap.data-v-bd84101d,
|
||||
.up-tabs.data-v-bd84101d,
|
||||
.up-tabs__wrapper.data-v-bd84101d,
|
||||
.up-tabs__wrapper__scroll-view-wrapper.data-v-bd84101d,
|
||||
.up-tabs__wrapper__scroll-view.data-v-bd84101d,
|
||||
.up-tabs__wrapper__nav.data-v-bd84101d,
|
||||
.up-tabs__wrapper__nav__line.data-v-bd84101d {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex-shrink: 0;
|
||||
flex-grow: 0;
|
||||
flex-basis: auto;
|
||||
align-items: stretch;
|
||||
align-content: flex-start;
|
||||
}
|
||||
.u-empty.data-v-bd84101d {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
.u-empty__text.data-v-bd84101d {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
.u-slot-wrap.data-v-bd84101d {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
margin-top: 20rpx;
|
||||
}
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-form-item",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$10],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$11],
|
||||
data() {
|
||||
return {
|
||||
// 错误提示语
|
||||
@ -26,7 +26,7 @@ const _sfc_main = {
|
||||
// 组件创建完成时,将当前实例保存到u-form中
|
||||
computed: {
|
||||
propsLine() {
|
||||
return common_vendor.props$11.line;
|
||||
return common_vendor.props$12.line;
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
|
||||
@ -4,7 +4,7 @@ common_vendor.Schema.warning = function() {
|
||||
};
|
||||
const _sfc_main = {
|
||||
name: "u-form",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$14],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$15],
|
||||
provide() {
|
||||
return {
|
||||
uForm: this
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-gap",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$30],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$31],
|
||||
computed: {
|
||||
gapStyle() {
|
||||
const style = {
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-line",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$28],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$29],
|
||||
computed: {
|
||||
lineStyle() {
|
||||
const style = {};
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-link",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$34],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$35],
|
||||
computed: {
|
||||
linkStyle() {
|
||||
const style = {
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-list-item",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$20],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$21],
|
||||
data() {
|
||||
return {
|
||||
// 节点信息
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-list",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$21],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$22],
|
||||
watch: {
|
||||
scrollIntoView(n) {
|
||||
this.scrollIntoViewById(n);
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-loading-icon",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$29],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$30],
|
||||
data() {
|
||||
return {
|
||||
// Array.form可以通过一个伪数组对象创建指定长度的数组
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-overlay",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$5],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$6],
|
||||
computed: {
|
||||
overlayStyle() {
|
||||
const style = {
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-picker",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$17],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$18],
|
||||
data() {
|
||||
return {
|
||||
// 上一次选择的列索引
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-radio-group",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$7],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$8],
|
||||
computed: {
|
||||
// 这里computed的变量,都是子组件u-radio需要用到的,由于头条小程序的兼容性差异,子组件无法实时监听父组件参数的变化
|
||||
// 所以需要手动通知子组件,这里返回一个parentData变量,供watch监听,在其中去通知每一个子组件重新从父组件(u-radio-group)
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-radio",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$6],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$7],
|
||||
data() {
|
||||
return {
|
||||
checked: false,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-safe-bottom",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$25],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$26],
|
||||
data() {
|
||||
return {
|
||||
safeAreaBottomHeight: 0,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-status-bar",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$24],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$25],
|
||||
data() {
|
||||
return {
|
||||
isH5: false
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-tabbar-item",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$22],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$23],
|
||||
data() {
|
||||
return {
|
||||
isActive: false,
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-tabbar",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$23],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$24],
|
||||
data() {
|
||||
return {
|
||||
placeholderHeight: 0
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-tabs",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$15],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$16],
|
||||
data() {
|
||||
return {
|
||||
firstTime: true,
|
||||
@ -51,7 +51,7 @@ const _sfc_main = {
|
||||
};
|
||||
},
|
||||
propsBadge() {
|
||||
return common_vendor.props$11.badge;
|
||||
return common_vendor.props$12.badge;
|
||||
}
|
||||
},
|
||||
async mounted() {
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "up-text",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.value, common_vendor.buttonMixin, common_vendor.openType, common_vendor.props$33],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.value, common_vendor.buttonMixin, common_vendor.openType, common_vendor.props$34],
|
||||
emits: ["click"],
|
||||
computed: {
|
||||
wrapStyle() {
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-toolbar",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$32],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.props$33],
|
||||
emits: ["confirm", "cancel"],
|
||||
created() {
|
||||
},
|
||||
|
||||
@ -33,7 +33,7 @@ const _sfc_main = {
|
||||
}
|
||||
},
|
||||
// 将mixin挂在到组件中,实际上为一个vue格式对象。
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.transitionMixin, common_vendor.props$26],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.transitionMixin, common_vendor.props$27],
|
||||
watch: {
|
||||
show: {
|
||||
handler(newVal) {
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
const common_vendor = require("../../../../common/vendor.js");
|
||||
const _sfc_main = {
|
||||
name: "u-upload",
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.mixinUpload, common_vendor.props$16],
|
||||
mixins: [common_vendor.mpMixin, common_vendor.mixin, common_vendor.mixinUpload, common_vendor.props$17],
|
||||
data() {
|
||||
return {
|
||||
lists: [],
|
||||
|
||||
@ -52,6 +52,10 @@ const _sfc_main = {
|
||||
doctor_id.value = options.doctor_id;
|
||||
}
|
||||
});
|
||||
common_vendor.onShow(() => {
|
||||
var _a;
|
||||
(_a = paging.value) == null ? void 0 : _a.refresh();
|
||||
});
|
||||
const goDetail = (url) => {
|
||||
utils_navTo.navTo({
|
||||
url: `/pages/certImg/certImg?src=${url}`
|
||||
@ -100,7 +104,7 @@ const _sfc_main = {
|
||||
});
|
||||
};
|
||||
const queryList = (pageNo, pageSize) => {
|
||||
common_vendor.index.__f__("log", "at pages/certList/certList.vue:162", 666666);
|
||||
common_vendor.index.__f__("log", "at pages/certList/certList.vue:165", 666666);
|
||||
const params = {
|
||||
page: pageNo,
|
||||
page_size: pageSize
|
||||
|
||||
@ -147,7 +147,7 @@ const _sfc_main = {
|
||||
};
|
||||
const getUserPoint = () => {
|
||||
api_api.api.getUserPoint().then((res) => {
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:721", res.data.data);
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:722", res.data.data);
|
||||
point.value = res.data.data;
|
||||
});
|
||||
};
|
||||
@ -327,18 +327,18 @@ const _sfc_main = {
|
||||
};
|
||||
const close = () => {
|
||||
showCommentDialog.value = false;
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:919", "close");
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:920", "close");
|
||||
};
|
||||
const openDeal = () => {
|
||||
showDeal.value = true;
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:924", "open");
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:925", "open");
|
||||
};
|
||||
const closeDeal = () => {
|
||||
showDeal.value = false;
|
||||
};
|
||||
const openMore = () => {
|
||||
showMore.value = true;
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:932", "open");
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:933", "open");
|
||||
};
|
||||
const closeMore = () => {
|
||||
showMore.value = false;
|
||||
@ -376,12 +376,12 @@ const _sfc_main = {
|
||||
success(res) {
|
||||
if (res.statusCode === 204) {
|
||||
let url = host + "/" + dir + filename + imgType;
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1283", url);
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1284", url);
|
||||
imgList.value = [url];
|
||||
}
|
||||
},
|
||||
fail: (err) => {
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1288", err);
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1289", err);
|
||||
}
|
||||
});
|
||||
});
|
||||
@ -400,8 +400,8 @@ const _sfc_main = {
|
||||
return "unknown";
|
||||
};
|
||||
const afterRead = (file, lists, name) => {
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1307", lists);
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1308", name);
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1308", lists);
|
||||
common_vendor.index.__f__("log", "at pages/detail/detail.vue:1309", name);
|
||||
handleUpload(file);
|
||||
};
|
||||
const delImg = (index) => {
|
||||
@ -523,7 +523,7 @@ const _sfc_main = {
|
||||
};
|
||||
const fromatImg = (val) => {
|
||||
if (val) {
|
||||
return val.replace(/\<img/gi, '<img class="imgstyle"');
|
||||
return val.replace(/\<img|\<\s+img/gi, '<img class="imgstyle"');
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
@ -703,7 +703,8 @@ const _sfc_main = {
|
||||
}),
|
||||
c: common_vendor.o(open),
|
||||
d: common_vendor.p({
|
||||
disabled: isH5.value ? false : true,
|
||||
disabled: true,
|
||||
focus: false,
|
||||
type: "text",
|
||||
placeholderClass: "placeholderClass",
|
||||
placeholder: "对病例发表您的看法"
|
||||
@ -937,7 +938,7 @@ const _sfc_main = {
|
||||
}),
|
||||
ad: common_vendor.o(($event) => content.value = $event),
|
||||
ae: common_vendor.p({
|
||||
focus: "true",
|
||||
focus: false,
|
||||
height: "200",
|
||||
placeholder: placeholder.value,
|
||||
modelValue: content.value
|
||||
|
||||
@ -400,6 +400,12 @@
|
||||
.desc.data-v-eca06f3c {
|
||||
padding-bottom: 80rpx;
|
||||
}
|
||||
.desc.data-v-eca06f3c .imgstyle {
|
||||
max-width: 100%;
|
||||
position: relative;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
.bottom.data-v-eca06f3c {
|
||||
position: fixed;
|
||||
display: flex;
|
||||
|
||||
@ -87,6 +87,11 @@ const _sfc_main = {
|
||||
url: "/pages/searchList/searchList?type=hospital&name=医院&id="
|
||||
});
|
||||
};
|
||||
const goPublish = () => {
|
||||
utils_navTo.navTo({
|
||||
url: "/pages/publish/publish"
|
||||
});
|
||||
};
|
||||
common_vendor.onShow(() => {
|
||||
getStatic();
|
||||
getData();
|
||||
@ -190,7 +195,13 @@ const _sfc_main = {
|
||||
b: item.doctor_id,
|
||||
c: common_vendor.o(($event) => goListBy(item.doctor_id, item.doctor_name, "doctor"), item.doctor_id)
|
||||
};
|
||||
})
|
||||
}),
|
||||
z: common_vendor.p({
|
||||
name: "plus",
|
||||
color: "#fff",
|
||||
size: "18"
|
||||
}),
|
||||
A: common_vendor.o(goPublish)
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@ -1 +1 @@
|
||||
<nav-bar wx:if="{{a}}" class="data-v-1cf27b2a" u-i="1cf27b2a-0" bind:__l="__l" u-p="{{a}}"></nav-bar><view class="page data-v-1cf27b2a"><view class="databox data-v-1cf27b2a"><view class="cell data-v-1cf27b2a"><view class="num data-v-1cf27b2a">{{b}}</view><view class="name data-v-1cf27b2a">文章</view></view><view class="cell data-v-1cf27b2a"><view class="num data-v-1cf27b2a">{{c}}</view><view class="name data-v-1cf27b2a">视频</view></view><view class="cell data-v-1cf27b2a"><view class="num data-v-1cf27b2a">{{d}}</view><view class="name data-v-1cf27b2a">阅读量</view></view></view><view class="kubox data-v-1cf27b2a"><view class="row data-v-1cf27b2a"><up--image wx:if="{{f}}" class="data-v-1cf27b2a" bindclick="{{e}}" u-i="1cf27b2a-1" bind:__l="__l" u-p="{{f}}"></up--image><up--image wx:if="{{h}}" class="data-v-1cf27b2a" bindclick="{{g}}" u-i="1cf27b2a-2" bind:__l="__l" u-p="{{h}}"></up--image></view><view class="row data-v-1cf27b2a" style="margin-top:30rpx"><up--image wx:if="{{j}}" class="data-v-1cf27b2a" bindclick="{{i}}" u-i="1cf27b2a-3" bind:__l="__l" u-p="{{j}}"></up--image><up--image wx:if="{{l}}" class="data-v-1cf27b2a" bindclick="{{k}}" u-i="1cf27b2a-4" bind:__l="__l" u-p="{{l}}"></up--image></view></view><view class="newsbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">最新上线</view><view class="more data-v-1cf27b2a" bindtap="{{n}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{m}}" class="data-v-1cf27b2a" u-i="1cf27b2a-5" bind:__l="__l" u-p="{{m}}"></u-icon></view></view><view class="listbox data-v-1cf27b2a"><view wx:for="{{o}}" wx:for-item="item" wx:key="c" class="cell data-v-1cf27b2a" bindtap="{{item.d}}"><view class="circle data-v-1cf27b2a"></view><view class="info data-v-1cf27b2a"><view class="name data-v-1cf27b2a">{{item.a}}</view><view class="tagsbox data-v-1cf27b2a"><view wx:for="{{item.b}}" wx:for-item="tag" wx:key="b" class="tag data-v-1cf27b2a">{{tag.a}}</view></view></view></view></view></view><view class="newsbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">最多阅读</view><view class="more data-v-1cf27b2a" bindtap="{{q}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{p}}" class="data-v-1cf27b2a" u-i="1cf27b2a-6" bind:__l="__l" u-p="{{p}}"></u-icon></view></view><view class="listbox data-v-1cf27b2a"><view wx:for="{{r}}" wx:for-item="item" wx:key="c" class="cell data-v-1cf27b2a" bindtap="{{item.d}}"><view class="circle data-v-1cf27b2a"></view><view class="info data-v-1cf27b2a"><view class="name data-v-1cf27b2a">{{item.a}}</view><view class="tagsbox data-v-1cf27b2a"><view wx:for="{{item.b}}" wx:for-item="tag" wx:key="b" class="tag data-v-1cf27b2a">{{tag.a}}</view></view></view></view></view></view><view class="recbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">医院病例库推荐</view><view class="more data-v-1cf27b2a" bindtap="{{t}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{s}}" class="data-v-1cf27b2a" u-i="1cf27b2a-7" bind:__l="__l" u-p="{{s}}"></u-icon></view></view><view class="list data-v-1cf27b2a"><view wx:for="{{v}}" wx:for-item="item" wx:key="b" class="cell data-v-1cf27b2a" bindtap="{{item.c}}">{{item.a}}</view></view></view><view class="recbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">医生病例库推荐</view><view class="more data-v-1cf27b2a" bindtap="{{x}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{w}}" class="data-v-1cf27b2a" u-i="1cf27b2a-8" bind:__l="__l" u-p="{{w}}"></u-icon></view></view><view class="list data-v-1cf27b2a"><view wx:for="{{y}}" wx:for-item="item" wx:key="b" class="cell data-v-1cf27b2a" bindtap="{{item.c}}">{{item.a}}</view></view></view></view><tab-bar class="data-v-1cf27b2a" u-i="1cf27b2a-9" bind:__l="__l"></tab-bar>
|
||||
<nav-bar wx:if="{{a}}" class="data-v-1cf27b2a" u-i="1cf27b2a-0" bind:__l="__l" u-p="{{a}}"></nav-bar><view class="page data-v-1cf27b2a"><view class="databox data-v-1cf27b2a"><view class="cell data-v-1cf27b2a"><view class="num data-v-1cf27b2a">{{b}}</view><view class="name data-v-1cf27b2a">文章</view></view><view class="cell data-v-1cf27b2a"><view class="num data-v-1cf27b2a">{{c}}</view><view class="name data-v-1cf27b2a">视频</view></view><view class="cell data-v-1cf27b2a"><view class="num data-v-1cf27b2a">{{d}}</view><view class="name data-v-1cf27b2a">阅读量</view></view></view><view class="kubox data-v-1cf27b2a"><view class="row data-v-1cf27b2a"><up--image wx:if="{{f}}" class="data-v-1cf27b2a" bindclick="{{e}}" u-i="1cf27b2a-1" bind:__l="__l" u-p="{{f}}"></up--image><up--image wx:if="{{h}}" class="data-v-1cf27b2a" bindclick="{{g}}" u-i="1cf27b2a-2" bind:__l="__l" u-p="{{h}}"></up--image></view><view class="row data-v-1cf27b2a" style="margin-top:30rpx"><up--image wx:if="{{j}}" class="data-v-1cf27b2a" bindclick="{{i}}" u-i="1cf27b2a-3" bind:__l="__l" u-p="{{j}}"></up--image><up--image wx:if="{{l}}" class="data-v-1cf27b2a" bindclick="{{k}}" u-i="1cf27b2a-4" bind:__l="__l" u-p="{{l}}"></up--image></view></view><view class="newsbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">最新上线</view><view class="more data-v-1cf27b2a" bindtap="{{n}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{m}}" class="data-v-1cf27b2a" u-i="1cf27b2a-5" bind:__l="__l" u-p="{{m}}"></u-icon></view></view><view class="listbox data-v-1cf27b2a"><view wx:for="{{o}}" wx:for-item="item" wx:key="c" class="cell data-v-1cf27b2a" bindtap="{{item.d}}"><view class="circle data-v-1cf27b2a"></view><view class="info data-v-1cf27b2a"><view class="name data-v-1cf27b2a">{{item.a}}</view><view class="tagsbox data-v-1cf27b2a"><view wx:for="{{item.b}}" wx:for-item="tag" wx:key="b" class="tag data-v-1cf27b2a">{{tag.a}}</view></view></view></view></view></view><view class="newsbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">最多阅读</view><view class="more data-v-1cf27b2a" bindtap="{{q}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{p}}" class="data-v-1cf27b2a" u-i="1cf27b2a-6" bind:__l="__l" u-p="{{p}}"></u-icon></view></view><view class="listbox data-v-1cf27b2a"><view wx:for="{{r}}" wx:for-item="item" wx:key="c" class="cell data-v-1cf27b2a" bindtap="{{item.d}}"><view class="circle data-v-1cf27b2a"></view><view class="info data-v-1cf27b2a"><view class="name data-v-1cf27b2a">{{item.a}}</view><view class="tagsbox data-v-1cf27b2a"><view wx:for="{{item.b}}" wx:for-item="tag" wx:key="b" class="tag data-v-1cf27b2a">{{tag.a}}</view></view></view></view></view></view><view class="recbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">医院病例库推荐</view><view class="more data-v-1cf27b2a" bindtap="{{t}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{s}}" class="data-v-1cf27b2a" u-i="1cf27b2a-7" bind:__l="__l" u-p="{{s}}"></u-icon></view></view><view class="list data-v-1cf27b2a"><view wx:for="{{v}}" wx:for-item="item" wx:key="b" class="cell data-v-1cf27b2a" bindtap="{{item.c}}">{{item.a}}</view></view></view><view class="recbox data-v-1cf27b2a"><view class="titlebox data-v-1cf27b2a"><view class="title data-v-1cf27b2a">医生病例库推荐</view><view class="more data-v-1cf27b2a" bindtap="{{x}}"><view class="morename data-v-1cf27b2a">查看更多</view><u-icon wx:if="{{w}}" class="data-v-1cf27b2a" u-i="1cf27b2a-8" bind:__l="__l" u-p="{{w}}"></u-icon></view></view><view class="list data-v-1cf27b2a"><view wx:for="{{y}}" wx:for-item="item" wx:key="b" class="cell data-v-1cf27b2a" bindtap="{{item.c}}">{{item.a}}</view></view></view></view><tab-bar class="data-v-1cf27b2a" u-i="1cf27b2a-9" bind:__l="__l"></tab-bar><view class="publish data-v-1cf27b2a" bindtap="{{A}}"><u-icon wx:if="{{z}}" class="data-v-1cf27b2a" u-i="1cf27b2a-10" bind:__l="__l" u-p="{{z}}"></u-icon></view>
|
||||
@ -148,4 +148,16 @@
|
||||
margin-top: 18rpx;
|
||||
font-size: 28rpx;
|
||||
color: #4b5563;
|
||||
}
|
||||
.publish.data-v-1cf27b2a {
|
||||
width: 92rpx;
|
||||
height: 92rpx;
|
||||
background: #3CC7C0;
|
||||
border-radius: 50%;
|
||||
position: fixed;
|
||||
right: 30rpx;
|
||||
bottom: 180rpx;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
||||
@ -64,6 +64,10 @@ const _sfc_main = {
|
||||
keyWord.value = options2.keyWord;
|
||||
}
|
||||
});
|
||||
common_vendor.onShow(() => {
|
||||
var _a;
|
||||
(_a = paging.value) == null ? void 0 : _a.refresh();
|
||||
});
|
||||
const changetype1 = (e) => {
|
||||
type1.value = e;
|
||||
paging.value.reload();
|
||||
@ -77,8 +81,8 @@ const _sfc_main = {
|
||||
return common_vendor.dayjs(date).format("YYYY-MM-DD");
|
||||
};
|
||||
const goDetail = (id) => {
|
||||
common_vendor.index.__f__("log", "at pages/myCollect/myCollect.vue:126", 11111);
|
||||
common_vendor.index.__f__("log", "at pages/myCollect/myCollect.vue:127", id);
|
||||
common_vendor.index.__f__("log", "at pages/myCollect/myCollect.vue:129", 11111);
|
||||
common_vendor.index.__f__("log", "at pages/myCollect/myCollect.vue:130", id);
|
||||
let type = isArticle.value ? "article" : "video";
|
||||
utils_navTo.navTo({
|
||||
url: `/pages/detail/detail?id=${id}&type=${type}`
|
||||
|
||||
@ -110,6 +110,10 @@ const _sfc_main = {
|
||||
};
|
||||
common_vendor.onLoad((options) => {
|
||||
});
|
||||
common_vendor.onShow(() => {
|
||||
var _a;
|
||||
(_a = paging.value) == null ? void 0 : _a.refresh();
|
||||
});
|
||||
const formatdate = (date) => {
|
||||
return common_vendor.dayjs(date).format("YYYY-MM-DD");
|
||||
};
|
||||
|
||||
@ -10,10 +10,11 @@ if (!Array) {
|
||||
const _easycom_up__image2 = common_vendor.resolveComponent("up--image");
|
||||
const _easycom_up_input2 = common_vendor.resolveComponent("up-input");
|
||||
const _easycom_up_popup2 = common_vendor.resolveComponent("up-popup");
|
||||
const _easycom_up_empty2 = common_vendor.resolveComponent("up-empty");
|
||||
const _easycom_up_overlay2 = common_vendor.resolveComponent("up-overlay");
|
||||
const _easycom_up_radio2 = common_vendor.resolveComponent("up-radio");
|
||||
const _easycom_up_radio_group2 = common_vendor.resolveComponent("up-radio-group");
|
||||
(_easycom_u_icon2 + _easycom_up__textarea2 + _easycom_up_icon2 + _easycom_up__image2 + _easycom_up_input2 + _easycom_up_popup2 + _easycom_up_overlay2 + _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_radio2 + _easycom_up_radio_group2)();
|
||||
}
|
||||
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";
|
||||
@ -21,11 +22,12 @@ const _easycom_up_icon = () => "../../node-modules/uview-plus/components/u-icon/
|
||||
const _easycom_up__image = () => "../../node-modules/uview-plus/components/u--image/u--image.js";
|
||||
const _easycom_up_input = () => "../../node-modules/uview-plus/components/u-input/u-input.js";
|
||||
const _easycom_up_popup = () => "../../node-modules/uview-plus/components/u-popup/u-popup.js";
|
||||
const _easycom_up_empty = () => "../../node-modules/uview-plus/components/u-empty/u-empty.js";
|
||||
const _easycom_up_overlay = () => "../../node-modules/uview-plus/components/u-overlay/u-overlay.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";
|
||||
if (!Math) {
|
||||
(_easycom_u_icon + _easycom_up__textarea + svEditor + _easycom_up_icon + _easycom_up__image + _easycom_up_input + _easycom_up_popup + _easycom_up_overlay + _easycom_up_radio + _easycom_up_radio_group)();
|
||||
(_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_radio + _easycom_up_radio_group)();
|
||||
}
|
||||
const svEditor = () => "../../uni_modules/sv-editor/components/sv-editor/sv-editor.js";
|
||||
const _sfc_main = {
|
||||
@ -72,7 +74,7 @@ const _sfc_main = {
|
||||
common_vendor.ref([]);
|
||||
const editorCtx = common_vendor.ref(null);
|
||||
const editorCtxResult = common_vendor.ref(null);
|
||||
const isFocusInfo = common_vendor.ref(true);
|
||||
const isFocusInfo = common_vendor.ref(false);
|
||||
const isFocusResult = common_vendor.ref(false);
|
||||
const labelList = common_vendor.ref([]);
|
||||
const goBack = () => {
|
||||
@ -80,11 +82,15 @@ const _sfc_main = {
|
||||
delta: 1
|
||||
});
|
||||
};
|
||||
const openDraftList = () => {
|
||||
getDraftList();
|
||||
showDraft.value = true;
|
||||
};
|
||||
const closeCase = () => {
|
||||
showCase.value = false;
|
||||
};
|
||||
const epaste = (e) => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:518", e);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:535", e);
|
||||
};
|
||||
const addOption = () => {
|
||||
voteData.case_exchange_vote_option.push({
|
||||
@ -120,7 +126,6 @@ const _sfc_main = {
|
||||
form.case_exchange_vote.valid_day = 7;
|
||||
};
|
||||
const saveVote = () => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:553", voteData);
|
||||
if (voteData.vote_title == "") {
|
||||
common_vendor.index.showToast({
|
||||
title: "请输入投票标题",
|
||||
@ -142,30 +147,7 @@ const _sfc_main = {
|
||||
});
|
||||
return false;
|
||||
}
|
||||
for (let i = 0; i < voteData.case_exchange_vote_option.length; i++) {
|
||||
if (voteData.case_exchange_vote_option[i].option_value == "") {
|
||||
common_vendor.index.showToast({
|
||||
title: "投票选项不能为空",
|
||||
icon: "none"
|
||||
});
|
||||
return false;
|
||||
}
|
||||
if (voteData.case_exchange_vote_option[i].option_value.length > 16) {
|
||||
common_vendor.index.showToast({
|
||||
title: "第" + (i + 1) + "个投票选项超过16个字符",
|
||||
icon: "none"
|
||||
});
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (voteData.case_exchange_vote_option.length < 2) {
|
||||
common_vendor.index.showToast({
|
||||
title: "至少添加两个选项",
|
||||
icon: "none"
|
||||
});
|
||||
return false;
|
||||
}
|
||||
Object.assign(form.case_exchange_vote, voteData);
|
||||
form.case_exchange_vote = voteData;
|
||||
showVote.value = false;
|
||||
};
|
||||
const fromatDay = (value) => {
|
||||
@ -178,25 +160,37 @@ const _sfc_main = {
|
||||
return common_vendor.dayjs(value).format("YYYY-MM-DD");
|
||||
}
|
||||
};
|
||||
const fromatImg = (val) => {
|
||||
if (val) {
|
||||
return val.replace(/\<img/gi, '<img class="imgstyle"');
|
||||
} else {
|
||||
return "";
|
||||
}
|
||||
};
|
||||
const ready = (e) => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:639", e);
|
||||
editorCtx.value = e;
|
||||
let html = "<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p><br/><br/>";
|
||||
editorCtx.value.initHtml(html);
|
||||
common_vendor.index.hideKeyboard();
|
||||
common_vendor.index.pageScrollTo({
|
||||
scrollTop: 0,
|
||||
selector: "#form"
|
||||
// })
|
||||
});
|
||||
};
|
||||
const readyResult = (e) => {
|
||||
editorCtxResult.value = e;
|
||||
};
|
||||
const clearMuBan = () => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:625", "清空模板");
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:659", "清空模板");
|
||||
editorCtx.value.initHtml("");
|
||||
};
|
||||
const focusInfo = () => {
|
||||
isFocusInfo.value = true;
|
||||
};
|
||||
const blurInfo = () => {
|
||||
setTimeout(() => {
|
||||
isFocusInfo.value = false;
|
||||
}, 2e3);
|
||||
isFocusInfo.value = false;
|
||||
};
|
||||
const focusResult = () => {
|
||||
isFocusResult.value = true;
|
||||
@ -243,7 +237,7 @@ const _sfc_main = {
|
||||
isLock.value = true;
|
||||
const res = await editorCtx.value.getLastContent();
|
||||
form.exchange_content = res.html;
|
||||
const resResult = await editorCtx.value.getLastContent();
|
||||
const resResult = await editorCtxResult.value.getLastContent();
|
||||
form.exchange_summary = resResult.html;
|
||||
if (labelList.value.length > 0) {
|
||||
form.case_exchange_label = labelList.value;
|
||||
@ -273,7 +267,7 @@ const _sfc_main = {
|
||||
labelList.value = exchange_label;
|
||||
form.exchange_summary = exchange_summary;
|
||||
form.case_exchange_vote = exchange_vote;
|
||||
editorCtxResult.value.initHtml(exchange_content);
|
||||
editorCtxResult.value.initHtml(exchange_summary);
|
||||
Object.assign(voteData, draft);
|
||||
showDraft.value = false;
|
||||
};
|
||||
@ -284,6 +278,7 @@ const _sfc_main = {
|
||||
};
|
||||
const confirmDel = () => {
|
||||
showModal.value = false;
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:776", delType.value);
|
||||
if (delType.value == "delDraft") {
|
||||
delDraft(delId.value);
|
||||
} else if (delType.value == "saveDraft") {
|
||||
@ -310,8 +305,9 @@ const _sfc_main = {
|
||||
goBack();
|
||||
} else {
|
||||
const res = await editorCtx.value.getLastContent();
|
||||
const initInfo = "<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p>";
|
||||
const resContent = await editorCtxResult.value.getLastContent();
|
||||
if (form.exchange_title || res.html || resContent.html || form.case_exchange_vote && form.case_exchange_vote.vote_title && form.case_exchange_label && form.case_exchange_label.length > 0) {
|
||||
if (form.exchange_title || res.html != initInfo || resContent.text || form.case_exchange_vote && form.case_exchange_vote.vote_title && form.case_exchange_label && form.case_exchange_label.length > 0) {
|
||||
delType.value = "saveDraft";
|
||||
showModal.value = true;
|
||||
} else {
|
||||
@ -320,7 +316,7 @@ const _sfc_main = {
|
||||
}
|
||||
};
|
||||
const publish = async () => {
|
||||
const initInfo = "<p>【患者信息】:</p><br/><p>【主诉】:</p><br/><p>【现病史及既往史】:</p><br/><p>【检查】:</p><br/><p>【临床诊断】:</p><br/><p>【治疗经过及结果】:</p><br/><br/>";
|
||||
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: "请输入标题",
|
||||
@ -393,7 +389,7 @@ const _sfc_main = {
|
||||
}
|
||||
},
|
||||
fail: (err) => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:861", err);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:905", err);
|
||||
}
|
||||
});
|
||||
});
|
||||
@ -423,7 +419,7 @@ const _sfc_main = {
|
||||
return randomNumber;
|
||||
};
|
||||
const getImageFormat = (imageUrl) => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:891", imageUrl);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:935", imageUrl);
|
||||
const lastDotIndex = imageUrl.lastIndexOf(".");
|
||||
if (lastDotIndex !== -1) {
|
||||
return imageUrl.substring(lastDotIndex + 1);
|
||||
@ -455,7 +451,7 @@ const _sfc_main = {
|
||||
//从相册选择
|
||||
extension: [".mp4", ".webm", ".ogg"],
|
||||
success: function(res) {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:918", res.tempFilePath);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:962", res.tempFilePath);
|
||||
HandleAddVideo(res.tempFilePath);
|
||||
}
|
||||
});
|
||||
@ -493,7 +489,7 @@ const _sfc_main = {
|
||||
async success(res2) {
|
||||
if (res2.statusCode === 204) {
|
||||
let url = host + "/" + dir + filename + imgType;
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:960", editorCtx2);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1004", editorCtx2);
|
||||
let imgUrl = "https://cn.bing.com//th?id=OHR.FlamingosNamibia_ZH-CN3639748956_1920x1080.jpg";
|
||||
const fileThumbnail = await editorCtx2.createCoverThumbnail(
|
||||
imgUrl
|
||||
@ -507,7 +503,7 @@ const _sfc_main = {
|
||||
}
|
||||
},
|
||||
fail: (err) => {
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:975", err);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1019", err);
|
||||
}
|
||||
});
|
||||
});
|
||||
@ -529,7 +525,7 @@ const _sfc_main = {
|
||||
};
|
||||
const getCaseLabel = (lev, pid = 0) => {
|
||||
api_api.api.getCaseLabel({
|
||||
pid
|
||||
pId: pid
|
||||
}).then((res) => {
|
||||
if (lev == 1) {
|
||||
labelObj.list1 = res.data.data;
|
||||
@ -557,7 +553,7 @@ const _sfc_main = {
|
||||
showCase.value = false;
|
||||
if (level.value == 1) {
|
||||
let label = labelObj.list1.find((item) => item.app_iden == caseValue1.value);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1025", label);
|
||||
common_vendor.index.__f__("log", "at pages/publish/publish.vue:1069", label);
|
||||
labelList.value.push({
|
||||
app_iden: label.app_iden,
|
||||
label_name: label.label_name
|
||||
@ -609,7 +605,6 @@ const _sfc_main = {
|
||||
getCaseLabel(1, 0);
|
||||
};
|
||||
common_vendor.onLoad(() => {
|
||||
getDraftList();
|
||||
});
|
||||
return (_ctx, _cache) => {
|
||||
return common_vendor.e({
|
||||
@ -687,7 +682,7 @@ const _sfc_main = {
|
||||
}),
|
||||
B: !isFocusInfo.value ? 1 : "",
|
||||
C: common_vendor.o(alertTitle),
|
||||
D: common_vendor.o(($event) => showDraft.value = true),
|
||||
D: common_vendor.o(openDraftList),
|
||||
E: common_vendor.p({
|
||||
src: common_vendor.unref(common_assets.voteImg),
|
||||
width: "47rpx",
|
||||
@ -748,16 +743,27 @@ const _sfc_main = {
|
||||
size: "20"
|
||||
}),
|
||||
Y: common_vendor.o(closeDraft),
|
||||
Z: common_vendor.f(draftList.value, (item, index, i0) => {
|
||||
Z: draftList.value.length == 0
|
||||
}, draftList.value.length == 0 ? {
|
||||
aa: common_vendor.p({
|
||||
marginTop: "120rpx",
|
||||
text: "草稿箱为空",
|
||||
mode: "list",
|
||||
icon: common_vendor.unref(common_assets.draftImg)
|
||||
})
|
||||
} : {}, {
|
||||
ab: draftList.value.length > 0
|
||||
}, draftList.value.length > 0 ? {
|
||||
ac: common_vendor.f(draftList.value, (item, index, i0) => {
|
||||
return common_vendor.e({
|
||||
a: common_vendor.t(item.exchange_title ? item.exchange_title : "无标题"),
|
||||
b: item.exchange_content
|
||||
}, item.exchange_content ? {
|
||||
c: item.exchange_content
|
||||
c: fromatImg(item.exchange_content)
|
||||
} : item.exchange_summary ? common_vendor.e({
|
||||
e: item.exchange_summary
|
||||
}, item.exchange_summary ? {
|
||||
f: item.exchange_summary
|
||||
f: fromatImg(item.exchange_summary)
|
||||
} : {}) : item.exchange_label && item.exchange_label.length > 0 ? common_vendor.e({
|
||||
h: item.exchange_summary
|
||||
}, item.exchange_summary ? {} : {}, {
|
||||
@ -774,74 +780,75 @@ const _sfc_main = {
|
||||
g: item.exchange_label && item.exchange_label.length > 0,
|
||||
j: item.exchange_vote,
|
||||
l: common_vendor.t(fromatDay(item.updated_at)),
|
||||
m: "bfce3555-18-" + i0 + ",bfce3555-16",
|
||||
m: "bfce3555-19-" + i0 + ",bfce3555-16",
|
||||
n: common_vendor.o(($event) => willDelDraft(item.draft_id), item.draft_id),
|
||||
o: "bfce3555-19-" + i0 + ",bfce3555-16",
|
||||
o: "bfce3555-20-" + i0 + ",bfce3555-16",
|
||||
p: common_vendor.o(($event) => editDraft(index), item.draft_id),
|
||||
q: item.draft_id
|
||||
});
|
||||
}),
|
||||
aa: common_vendor.p({
|
||||
ad: common_vendor.p({
|
||||
name: "trash",
|
||||
color: "#4B5563",
|
||||
size: "16"
|
||||
}),
|
||||
ab: common_vendor.p({
|
||||
ae: common_vendor.p({
|
||||
name: "edit-pen",
|
||||
color: "#fff",
|
||||
size: "17"
|
||||
}),
|
||||
ac: common_vendor.o(closeDraft),
|
||||
ad: common_vendor.o(openDraft),
|
||||
ae: common_vendor.p({
|
||||
})
|
||||
} : {}, {
|
||||
af: common_vendor.o(closeDraft),
|
||||
ag: common_vendor.o(openDraft),
|
||||
ah: common_vendor.p({
|
||||
round: 10,
|
||||
zIndex: "9",
|
||||
show: showDraft.value,
|
||||
mode: "bottom"
|
||||
}),
|
||||
af: common_vendor.p({
|
||||
ai: common_vendor.p({
|
||||
name: "close",
|
||||
color: "#4B5563",
|
||||
size: "20"
|
||||
}),
|
||||
ag: common_vendor.o(closeTitle),
|
||||
ah: common_vendor.o(insertAllWord),
|
||||
ai: common_vendor.p({
|
||||
aj: common_vendor.o(closeTitle),
|
||||
ak: common_vendor.o(insertAllWord),
|
||||
al: common_vendor.p({
|
||||
name: "plus-circle",
|
||||
color: "#3CC7C0",
|
||||
size: "20"
|
||||
}),
|
||||
aj: common_vendor.o(insertAllWord),
|
||||
ak: common_vendor.o(($event) => insertWord("患者信息")),
|
||||
al: common_vendor.o(($event) => insertWord("主诉")),
|
||||
am: common_vendor.o(($event) => insertWord("现病史及既往史")),
|
||||
an: common_vendor.o(($event) => insertWord("检查")),
|
||||
ao: common_vendor.o(($event) => insertWord("临床诊断")),
|
||||
ap: common_vendor.o(($event) => insertWord("治疗经过及结果")),
|
||||
aq: common_vendor.o(closeTitle),
|
||||
ar: common_vendor.o(openTitle),
|
||||
as: common_vendor.p({
|
||||
am: common_vendor.o(insertAllWord),
|
||||
an: common_vendor.o(($event) => insertWord("患者信息")),
|
||||
ao: common_vendor.o(($event) => insertWord("主诉")),
|
||||
ap: common_vendor.o(($event) => insertWord("现病史及既往史")),
|
||||
aq: common_vendor.o(($event) => insertWord("检查")),
|
||||
ar: common_vendor.o(($event) => insertWord("临床诊断")),
|
||||
as: common_vendor.o(($event) => insertWord("治疗经过及结果")),
|
||||
at: common_vendor.o(closeTitle),
|
||||
av: common_vendor.o(openTitle),
|
||||
aw: common_vendor.p({
|
||||
round: 10,
|
||||
zIndex: "9",
|
||||
show: showTitle.value,
|
||||
mode: "bottom"
|
||||
}),
|
||||
at: delType.value == "delDraft"
|
||||
ax: delType.value == "delDraft"
|
||||
}, delType.value == "delDraft" ? {} : delType.value == "saveDraft" ? {} : {}, {
|
||||
av: delType.value == "saveDraft",
|
||||
aw: common_vendor.o(cancelDel),
|
||||
ax: common_vendor.o(confirmDel),
|
||||
ay: common_vendor.p({
|
||||
ay: delType.value == "saveDraft",
|
||||
az: common_vendor.o(cancelDel),
|
||||
aA: common_vendor.o(confirmDel),
|
||||
aB: common_vendor.p({
|
||||
show: showModal.value,
|
||||
["mask-click-able"]: true
|
||||
}),
|
||||
az: common_vendor.o(($event) => showCase.value = false),
|
||||
aA: common_vendor.o(continueCase),
|
||||
aB: level.value != 3,
|
||||
aC: common_vendor.o(confirmCase),
|
||||
aD: common_vendor.f(labelObj.list1, (item, k0, i0) => {
|
||||
aC: common_vendor.o(($event) => showCase.value = false),
|
||||
aD: common_vendor.o(continueCase),
|
||||
aE: level.value != 3,
|
||||
aF: common_vendor.o(confirmCase),
|
||||
aG: common_vendor.f(labelObj.list1, (item, k0, i0) => {
|
||||
return {
|
||||
a: "bfce3555-26-" + i0 + ",bfce3555-25",
|
||||
a: "bfce3555-27-" + i0 + ",bfce3555-26",
|
||||
b: common_vendor.p({
|
||||
activeColor: "#3CC7C0 ",
|
||||
label: item.label_name,
|
||||
@ -850,16 +857,16 @@ const _sfc_main = {
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
aE: common_vendor.o(($event) => caseValue1.value = $event),
|
||||
aF: common_vendor.p({
|
||||
aH: common_vendor.o(($event) => caseValue1.value = $event),
|
||||
aI: common_vendor.p({
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue1.value
|
||||
}),
|
||||
aG: level.value == 1,
|
||||
aH: common_vendor.f(labelObj.list2, (item, k0, i0) => {
|
||||
aJ: level.value == 1,
|
||||
aK: common_vendor.f(labelObj.list2, (item, k0, i0) => {
|
||||
return {
|
||||
a: "bfce3555-28-" + i0 + ",bfce3555-27",
|
||||
a: "bfce3555-29-" + i0 + ",bfce3555-28",
|
||||
b: common_vendor.p({
|
||||
activeColor: "#3CC7C0 ",
|
||||
label: item.label_name,
|
||||
@ -868,16 +875,16 @@ const _sfc_main = {
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
aI: common_vendor.o(($event) => caseValue2.value = $event),
|
||||
aJ: common_vendor.p({
|
||||
aL: common_vendor.o(($event) => caseValue2.value = $event),
|
||||
aM: common_vendor.p({
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue2.value
|
||||
}),
|
||||
aK: level.value == 2,
|
||||
aL: common_vendor.f(labelObj.list2, (item, k0, i0) => {
|
||||
aN: level.value == 2,
|
||||
aO: common_vendor.f(labelObj.list3, (item, k0, i0) => {
|
||||
return {
|
||||
a: "bfce3555-30-" + i0 + ",bfce3555-29",
|
||||
a: "bfce3555-31-" + i0 + ",bfce3555-30",
|
||||
b: common_vendor.p({
|
||||
activeColor: "#3CC7C0 ",
|
||||
label: item.label_name,
|
||||
@ -886,15 +893,15 @@ const _sfc_main = {
|
||||
c: item.app_iden
|
||||
};
|
||||
}),
|
||||
aM: common_vendor.o(($event) => caseValue3.value = $event),
|
||||
aN: common_vendor.p({
|
||||
aP: common_vendor.o(($event) => caseValue3.value = $event),
|
||||
aQ: common_vendor.p({
|
||||
iconPlacement: "right",
|
||||
placement: "column",
|
||||
modelValue: caseValue3.value
|
||||
}),
|
||||
aO: level.value == 3,
|
||||
aP: common_vendor.o(closeCase),
|
||||
aQ: common_vendor.p({
|
||||
aR: level.value == 3,
|
||||
aS: common_vendor.o(closeCase),
|
||||
aT: common_vendor.p({
|
||||
round: 10,
|
||||
zIndex: "9",
|
||||
show: showCase.value,
|
||||
|
||||
@ -8,6 +8,7 @@
|
||||
"up--image": "../../node-modules/uview-plus/components/u--image/u--image",
|
||||
"up-input": "../../node-modules/uview-plus/components/u-input/u-input",
|
||||
"up-popup": "../../node-modules/uview-plus/components/u-popup/u-popup",
|
||||
"up-empty": "../../node-modules/uview-plus/components/u-empty/u-empty",
|
||||
"up-overlay": "../../node-modules/uview-plus/components/u-overlay/u-overlay",
|
||||
"up-radio": "../../node-modules/uview-plus/components/u-radio/u-radio",
|
||||
"up-radio-group": "../../node-modules/uview-plus/components/u-radio-group/u-radio-group",
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -26,7 +26,7 @@
|
||||
.casepop.data-v-bfce3555 {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
max-height: calc(100vh - 750rpx);
|
||||
max-height: calc(100vh - 400rpx);
|
||||
}
|
||||
.casepop .continue.data-v-bfce3555 {
|
||||
color: #2878ff !important;
|
||||
@ -35,7 +35,16 @@
|
||||
flex: 1;
|
||||
overflow-y: scroll;
|
||||
padding-top: 10rpx;
|
||||
max-height: calc(100vh - 700rpx);
|
||||
min-height: 350rpx;
|
||||
padding-bottom: 20rpx;
|
||||
}
|
||||
.casecon.data-v-bfce3555 .u-radio {
|
||||
margin-bottom: 10px !important;
|
||||
margin-top: 0px !important;
|
||||
}
|
||||
.casecon .casePadding.data-v-bfce3555 {
|
||||
padding-bottom: 0rpx;
|
||||
}
|
||||
.casecon .column.data-v-bfce3555 {
|
||||
padding: 0 30rpx;
|
||||
@ -246,7 +255,7 @@
|
||||
font-size: 24rpx;
|
||||
}
|
||||
#editor.data-v-bfce3555 {
|
||||
padding: 0 30rpx;
|
||||
padding: 0 10rpx;
|
||||
height: calc(100vh - 700rpx);
|
||||
}
|
||||
#editorRes.data-v-bfce3555 {
|
||||
@ -581,7 +590,7 @@
|
||||
}
|
||||
.form .sickbox.data-v-bfce3555 {
|
||||
display: flex;
|
||||
padding: 25rpx 25rpx 0;
|
||||
padding: 25rpx 25rpx 10rpx;
|
||||
margin-bottom: 20rpx;
|
||||
}
|
||||
.form .add.data-v-bfce3555 {
|
||||
@ -646,4 +655,23 @@
|
||||
align-items: center;
|
||||
color: #6b7280;
|
||||
font-size: 31rpx;
|
||||
}
|
||||
.data-v-bfce3555 .ql-container {
|
||||
padding-bottom: 25rpx;
|
||||
height: calc(100vh - 700rpx);
|
||||
}
|
||||
.data-v-bfce3555 .ql-container img {
|
||||
max-width: 100%;
|
||||
position: relative;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
.data-v-bfce3555 .ql-container image {
|
||||
max-width: 100%;
|
||||
position: relative;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
}
|
||||
.con.data-v-bfce3555 .imgstyle {
|
||||
max-width: 100%;
|
||||
}
|
||||
@ -53,7 +53,7 @@ const _sfc_main = {
|
||||
value: "desc"
|
||||
}
|
||||
]);
|
||||
const isSearch = common_vendor.ref(false);
|
||||
const isSearch = common_vendor.ref(true);
|
||||
const order = common_vendor.reactive({
|
||||
read_num: "",
|
||||
push_date: ""
|
||||
@ -173,13 +173,17 @@ const _sfc_main = {
|
||||
canOpenCase.value = true;
|
||||
}
|
||||
});
|
||||
common_vendor.onShow(() => {
|
||||
var _a;
|
||||
(_a = paging.value) == null ? void 0 : _a.refresh();
|
||||
});
|
||||
const changeDate = (e) => {
|
||||
common_vendor.index.__f__("log", "at pages/search/search.vue:317", e);
|
||||
common_vendor.index.__f__("log", "at pages/search/search.vue:320", e);
|
||||
order.read_num = "";
|
||||
paging.value.reload();
|
||||
};
|
||||
const changeRead = (e) => {
|
||||
common_vendor.index.__f__("log", "at pages/search/search.vue:322", e);
|
||||
common_vendor.index.__f__("log", "at pages/search/search.vue:325", e);
|
||||
order.push_date = "";
|
||||
paging.value.reload();
|
||||
};
|
||||
@ -187,7 +191,7 @@ const _sfc_main = {
|
||||
return common_vendor.dayjs(date).format("YYYY-MM-DD");
|
||||
};
|
||||
const goDetail = (id, isLink, src) => {
|
||||
common_vendor.index.__f__("log", "at pages/search/search.vue:330", isLink);
|
||||
common_vendor.index.__f__("log", "at pages/search/search.vue:333", isLink);
|
||||
if (isLink == 1) {
|
||||
utils_navTo.navTo({
|
||||
url: `/pages/web/web?src=${src}`
|
||||
@ -325,7 +329,7 @@ const _sfc_main = {
|
||||
});
|
||||
};
|
||||
const queryList = (pageNo, pageSize) => {
|
||||
common_vendor.index.__f__("log", "at pages/search/search.vue:478", 666666);
|
||||
common_vendor.index.__f__("log", "at pages/search/search.vue:481", 666666);
|
||||
const params = {
|
||||
page: pageNo,
|
||||
page_size: pageSize
|
||||
@ -472,7 +476,7 @@ const _sfc_main = {
|
||||
modelValue: caseValue2.value
|
||||
}),
|
||||
T: level.value == 2,
|
||||
U: common_vendor.f(labelObj.list2, (item, k0, i0) => {
|
||||
U: common_vendor.f(labelObj.list3, (item, k0, i0) => {
|
||||
return {
|
||||
a: "c10c040c-16-" + i0 + ",c10c040c-15",
|
||||
b: common_vendor.p({
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -121,10 +121,16 @@
|
||||
}
|
||||
.casecon.data-v-c10c040c {
|
||||
flex: 1;
|
||||
max-height: calc(100vh - 800rpx);
|
||||
overflow-y: scroll;
|
||||
padding-top: 10rpx;
|
||||
padding-top: 22rpx;
|
||||
padding-bottom: 20rpx;
|
||||
min-height: 350rpx;
|
||||
}
|
||||
.casecon.data-v-c10c040c .u-radio {
|
||||
margin-bottom: 10px !important;
|
||||
margin-top: 0px !important;
|
||||
}
|
||||
.casecon .column.data-v-c10c040c {
|
||||
padding: 0 30rpx;
|
||||
border-bottom: 2rpx solid #e5e7eb;
|
||||
|
||||
@ -62,6 +62,10 @@ const _sfc_main = {
|
||||
order.read_num = "desc";
|
||||
}
|
||||
});
|
||||
common_vendor.onShow(() => {
|
||||
var _a;
|
||||
(_a = paging.value) == null ? void 0 : _a.refresh();
|
||||
});
|
||||
const change = (e) => {
|
||||
paging.value.reload();
|
||||
};
|
||||
@ -135,7 +139,7 @@ const _sfc_main = {
|
||||
});
|
||||
};
|
||||
const changeWord = (value) => {
|
||||
common_vendor.index.__f__("log", "at pages/searchList/searchList.vue:259", value);
|
||||
common_vendor.index.__f__("log", "at pages/searchList/searchList.vue:262", value);
|
||||
if (value) {
|
||||
navName.value = value + "临床病例库";
|
||||
keyWord.value = value;
|
||||
|
||||
@ -62,13 +62,17 @@ const _sfc_main = {
|
||||
order.article_num = "desc";
|
||||
}
|
||||
});
|
||||
common_vendor.onShow(() => {
|
||||
var _a;
|
||||
(_a = paging.value) == null ? void 0 : _a.refresh();
|
||||
});
|
||||
const changeDate = (e) => {
|
||||
common_vendor.index.__f__("log", "at pages/sickList/sickList.vue:136", e);
|
||||
order.read_num = "";
|
||||
common_vendor.index.__f__("log", "at pages/sickList/sickList.vue:139", e);
|
||||
order.article_num = "";
|
||||
paging.value.reload();
|
||||
};
|
||||
const changeRead = (e) => {
|
||||
common_vendor.index.__f__("log", "at pages/sickList/sickList.vue:141", e);
|
||||
common_vendor.index.__f__("log", "at pages/sickList/sickList.vue:144", e);
|
||||
order.push_date = "";
|
||||
paging.value.reload();
|
||||
};
|
||||
@ -112,7 +116,7 @@ const _sfc_main = {
|
||||
});
|
||||
};
|
||||
const changeWord = (value) => {
|
||||
common_vendor.index.__f__("log", "at pages/sickList/sickList.vue:191", value);
|
||||
common_vendor.index.__f__("log", "at pages/sickList/sickList.vue:194", value);
|
||||
if (value) {
|
||||
navName.value = value + "临床病例库";
|
||||
keyWord.value = value;
|
||||
|
||||
@ -59,13 +59,17 @@ const _sfc_main = {
|
||||
is_selected.value = options2.is_selected;
|
||||
}
|
||||
});
|
||||
common_vendor.onShow(() => {
|
||||
var _a;
|
||||
(_a = paging.value) == null ? void 0 : _a.refresh();
|
||||
});
|
||||
const changeDate = (e) => {
|
||||
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:201", e);
|
||||
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:205", e);
|
||||
order.read_num = "";
|
||||
paging.value.reload();
|
||||
};
|
||||
const changeRead = (e) => {
|
||||
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:206", e);
|
||||
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:210", e);
|
||||
order.push_date = "";
|
||||
paging.value.reload();
|
||||
};
|
||||
@ -88,7 +92,7 @@ const _sfc_main = {
|
||||
});
|
||||
};
|
||||
const queryList = (pageNo, pageSize) => {
|
||||
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:228", 666666);
|
||||
common_vendor.index.__f__("log", "at pages/specialList/specialList.vue:232", 666666);
|
||||
const params = {
|
||||
page: pageNo,
|
||||
page_size: pageSize
|
||||
|
||||
@ -80,13 +80,17 @@ const _sfc_main = {
|
||||
getStaticDoctor(hospital_id.value);
|
||||
}
|
||||
});
|
||||
common_vendor.onShow(() => {
|
||||
var _a;
|
||||
(_a = paging.value) == null ? void 0 : _a.refresh();
|
||||
});
|
||||
const changeDate = (e) => {
|
||||
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:156", e);
|
||||
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:159", e);
|
||||
order.read_num = "";
|
||||
paging.value.reload();
|
||||
};
|
||||
const changeRead = (e) => {
|
||||
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:161", e);
|
||||
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:164", e);
|
||||
order.push_date = "";
|
||||
paging.value.reload();
|
||||
};
|
||||
@ -94,8 +98,8 @@ const _sfc_main = {
|
||||
return common_vendor.dayjs(date).format("YYYY-MM-DD");
|
||||
};
|
||||
const goDetail = (id) => {
|
||||
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:169", 11111);
|
||||
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:170", id);
|
||||
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:172", 11111);
|
||||
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:173", id);
|
||||
let type = isArticle.value ? "article" : "video";
|
||||
utils_navTo.navTo({
|
||||
url: `/pages/detail/detail?id=${id}&type=${type}`
|
||||
@ -168,7 +172,7 @@ const _sfc_main = {
|
||||
});
|
||||
};
|
||||
const queryList = (pageNo, pageSize) => {
|
||||
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:245", 666666);
|
||||
common_vendor.index.__f__("log", "at pages/videoList/videoList.vue:248", 666666);
|
||||
const params = {
|
||||
page: pageNo,
|
||||
page_size: pageSize
|
||||
|
||||
BIN
unpackage/dist/dev/mp-weixin/static/draft.png
vendored
Normal file
BIN
unpackage/dist/dev/mp-weixin/static/draft.png
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 5.2 KiB |
@ -117,7 +117,6 @@ function addImage(imgs, options = {}) {
|
||||
if (!upRes || upRes.length == 0)
|
||||
return;
|
||||
noKeyboardEffect(() => {
|
||||
editorCtx.insertText({ text: "\n" });
|
||||
upRes == null ? void 0 : upRes.forEach((item) => {
|
||||
common_vendor.index.__f__("log", "at uni_modules/sv-editor/components/common/utils.js:51", "item");
|
||||
common_vendor.index.__f__("log", "at uni_modules/sv-editor/components/common/utils.js:52", item);
|
||||
@ -126,7 +125,6 @@ function addImage(imgs, options = {}) {
|
||||
src: options.srcFiled ? item[options.srcFiled] : item
|
||||
});
|
||||
});
|
||||
editorCtx.insertText({ text: "\n" });
|
||||
});
|
||||
return upRes;
|
||||
}
|
||||
@ -140,7 +138,6 @@ async function addVideo(uploadFunc, options = {}) {
|
||||
if (!upRes || !(upRes == null ? void 0 : upRes.length))
|
||||
return;
|
||||
noKeyboardEffect(() => {
|
||||
editorCtx.insertText({ text: "\n" });
|
||||
upRes == null ? void 0 : upRes.forEach((item) => {
|
||||
editorCtx.insertImage({
|
||||
...options,
|
||||
@ -149,7 +146,6 @@ async function addVideo(uploadFunc, options = {}) {
|
||||
data: { url: item.videoUrl }
|
||||
});
|
||||
});
|
||||
editorCtx.insertText({ text: "\n" });
|
||||
});
|
||||
return upRes;
|
||||
}
|
||||
|
||||
@ -141,6 +141,7 @@ const _sfc_main = {
|
||||
html: transHtml,
|
||||
success: () => {
|
||||
this.editorCtx.changeInput();
|
||||
this.editorCtx.blur();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user