9.24上午提交

This commit is contained in:
zoujiandong
2025-09-24 11:37:39 +08:00
parent 70eeb19867
commit bdd2ba278e
11 changed files with 180 additions and 43 deletions
+8 -5
View File
@@ -445,12 +445,14 @@ onShow(() => {
//handleSendTextMsg('article', article);
});
uni.$on('videoItem', (video) => {
console.log('video', video);
videoInfo.value = video;
senCustomMsg('video');
//handleSendTextMsg('video', video);
});
uni.$on('quickReply', (reply) => {
inputText.value= reply;
uni.$emit(events.CLOSE_PANEL)
});
getListOutPatient();
getStopOutPatientList();
@@ -464,7 +466,8 @@ onUnload(() => {
let rawStr="{\"gdxz_content\":\"我已入驻肝胆相照互联网医院,复诊购药一站式服务,快来看看吧\",\"gdxz_ext_data\":\"[互联网医院]\",\"gdxz_id\":\"1681174885629431808\",\"gdxz_img\":\"https://img.applets.igandanyiyuan.com/applet/admin/avatar/2023071813261420200708181049.png\",\"gdxz_title\":\"肝胆相照互联网医院\",\"gdxz_type\":\"[互联网医院]\",\"gdxz_url\":\"\"}";
const sendMallMsg = () => {
showMallModal.value = false;
handleSendTextMsg('mall');
//handleSendTextMsg('mall');
senCustomMsg('mall');
}
@@ -644,7 +647,7 @@ const handleSendTextMsg = (type:string) => {
//let serverExtension={"gdxz_nickName":"测试","gdxz_sessionType":"general"};
if(props.isGroupSend){
emits('send',{
content:textMsg,
content:text,
msg_type:1,
})
inputText.value = ''
@@ -677,9 +680,9 @@ const handleSendTextMsg = (type:string) => {
isReplyMsg.value = false
replyMsg.value = undefined
selectedAtMembers.value = [];
if(type=='mall'){
senCustomMsg('mall');
}
// if(type=='mall'){
// senCustomMsg('mall');
// }
}
}
+44 -1
View File
@@ -43,6 +43,39 @@
</view>
</view>
</view>
<view class="line phone" v-else-if="item.msg_type==4" @click="onDetail(item)">
<view class="custom">
<view class="title">{{JSON.parse(item.msg_content).name }}</view>
<view class="row">
<view class="left">{{ docUrl+JSON.parse(item.msg_content).path }}</view>
<view class="right">
<image :src="docUrl+JSON.parse(item.msg_content).imgpath" ></image>
</view>
</view>
</view>
</view>
<view class="line phone" v-else-if="item.msg_type==5" @click="onDetail(item)">
<view class="custom">
<view class="title">{{JSON.parse(item.msg_content).topic }}</view>
<view class="row">
<view class="left">{{ docUrl+JSON.parse(item.msg_content).path }}</view>
<view class="right">
<image :src="JSON.parse(item.msg_content).imgPath" ></image>
</view>
</view>
</view>
</view>
<view class="line phone" v-else-if="item.msg_type==6" @click="onDetail(item)">
<view class="custom">
<view class="title">{{JSON.parse(item.msg_content).topic }}</view>
<view class="row">
<view class="left">{{JSON.parse(item.msg_content).path }}</view>
<view class="right">
<image :src="JSON.parse(item.msg_content).imgPath" ></image>
</view>
</view>
</view>
</view>
</view>
<view class="card-footer">
<view class="btn-outline" @click="onResend(item)">再发一条</view>
@@ -184,8 +217,18 @@ const onRefresh = async () => {
uni.showToast({ title: '刷新成功', icon: 'none' });
};
const onDetail = (item) => {
let path='';
if(item.msg_type==3){
path=docUrl+JSON.parse(item.msg_content).path;
}else if(item.msg_type==4){
path=docUrl+JSON.parse(item.msg_content).path;
}else if(item.msg_type==5){
path=JSON.parse(item.msg_content).path;
}else if(item.msg_type==6){
path=JSON.parse(item.msg_content).path;
}
navTo({
url: `/pages_app/webview/webview?url=${encodeURIComponent(docUrl+JSON.parse(item.msg_content).path)}`,
url: `/pages_app/webview/webview?url=${encodeURIComponent(path)}`,
})
}
// 上拉加载更多
+1 -1
View File
@@ -251,7 +251,7 @@ $red: #d32f2f;
.card-header {
position: relative;
padding: 28rpx 28rpx 12rpx 28rpx;
padding: 28rpx 28rpx 12rpx 0rpx;
.label {
font-size: 32rpx;
+2 -2
View File
@@ -88,10 +88,10 @@
// @ts-ignore
popupRef.value && popupRef.value.open('center')
}
onShow(() => {Confirm
onShow(() => {
getQuickReplyList()
})
onload(() => {
onLoad(() => {
getQuickReplyList()
})
const onSelect = (text) => {