正在显示
8 个修改的文件
包含
27 行增加
和
15 行删除
1 | <template> | 1 | <template> |
2 | - <view :class="['content content-' + message.flow]"> | ||
3 | - <view v-for="(item, index) in data.text" :key="index"> | ||
4 | - <view v-if="item.name === 'text'">{{ item.text }}</view> | 2 | + <view :class="['content content-' + message.flow]" > |
3 | + <view v-for="(item, index) in data.text" :key="index" > | ||
4 | + <view v-if="item.name === 'text' && !['[自定义消息]'].includes(item.text)">{{ item.text }}</view> | ||
5 | <img class="text-img" v-else-if="item.name === 'img'" :src="item.src" /> | 5 | <img class="text-img" v-else-if="item.name === 'img'" :src="item.src" /> |
6 | </view> | 6 | </view> |
7 | </view> | 7 | </view> |
@@ -71,7 +71,7 @@ | @@ -71,7 +71,7 @@ | ||
71 | <MessageVideo :id="item.flow + '-' + item.ID" v-if="item.type === types.MSG_VIDEO" :data="handleVideoMessageShowContext(item)" :messageData="item" @longpress="handleItem($event, item)" /> | 71 | <MessageVideo :id="item.flow + '-' + item.ID" v-if="item.type === types.MSG_VIDEO" :data="handleVideoMessageShowContext(item)" :messageData="item" @longpress="handleItem($event, item)" /> |
72 | <MessageAudio :id="item.flow + '-' + item.ID" v-if="item.type === types.MSG_AUDIO" :data="handleAudioMessageShowContext(item)" :messageData="item" @longpress="handleItem($event, item)" /> | 72 | <MessageAudio :id="item.flow + '-' + item.ID" v-if="item.type === types.MSG_AUDIO" :data="handleAudioMessageShowContext(item)" :messageData="item" @longpress="handleItem($event, item)" /> |
73 | <MessageFace :id="item.flow + '-' + item.ID" v-if="item.type === types.MSG_FACE" :data="handleFaceMessageShowContext(item)" :messageData="item" @longpress="handleItem($event, item)" /> | 73 | <MessageFace :id="item.flow + '-' + item.ID" v-if="item.type === types.MSG_FACE" :data="handleFaceMessageShowContext(item)" :messageData="item" @longpress="handleItem($event, item)" /> |
74 | - <MessageCustom :id="item.flow + '-' + item.ID" v-if="item.type === types.MSG_CUSTOM" :data="handleCustomMessageShowContext(item)" :messageData="item" @longpress="handleItem($event, item)" /> | 74 | + <!-- <MessageCustom :id="item.flow + '-' + item.ID" v-if="item.type === types.MSG_CUSTOM" :data="handleCustomMessageShowContext(item)" :messageData="item" @longpress="handleItem($event, item)" /> --> |
75 | </MessageBubble> | 75 | </MessageBubble> |
76 | <MessageRevoked v-if="item.isRevoked" :data="item" @edit="handleEdit(item)" /> | 76 | <MessageRevoked v-if="item.isRevoked" :data="item" @edit="handleEdit(item)" /> |
77 | </view> | 77 | </view> |
@@ -383,7 +383,7 @@ export default defineComponent({ | @@ -383,7 +383,7 @@ export default defineComponent({ | ||
383 | 383 | ||
384 | const scrollbottomHandler = () => { | 384 | const scrollbottomHandler = () => { |
385 | setTimeout(() => { | 385 | setTimeout(() => { |
386 | - data.scrollTop = 10000 | 386 | + data.scrollTop = 100000 |
387 | }, 500) | 387 | }, 500) |
388 | } | 388 | } |
389 | 389 | ||
@@ -396,9 +396,9 @@ export default defineComponent({ | @@ -396,9 +396,9 @@ export default defineComponent({ | ||
396 | 396 | ||
397 | const stateInterval = setInterval(async () => { | 397 | const stateInterval = setInterval(async () => { |
398 | if (data.history === 'err') { | 398 | if (data.history === 'err') { |
399 | - const { result }: { result: Consultation_information_detailType } = await getConsultation_information_detail({ id: data.Event.orderId }) | 399 | + // const { result }: { result: Consultation_information_detailType } = await getConsultation_information_detail({ id: data.Event.orderId }) |
400 | 400 | ||
401 | - if (result?.orderState !== 30) proxy.$h.timeCallBack('对方已结束问诊即将返回', 2000) | 401 | + // if (result?.orderState !== 30) proxy.$h.timeCallBack('对方已结束问诊即将返回', 2000) |
402 | } | 402 | } |
403 | }, 3000) | 403 | }, 3000) |
404 | 404 |
@@ -11,7 +11,7 @@ | @@ -11,7 +11,7 @@ | ||
11 | <image src="/static/images/mAvatar.png" class="mine-avatar" mode="aspectFill" @click.stop="proxy.$h.previewImage('/static/images/mAvatar.png')" /> | 11 | <image src="/static/images/mAvatar.png" class="mine-avatar" mode="aspectFill" @click.stop="proxy.$h.previewImage('/static/images/mAvatar.png')" /> |
12 | </view> | 12 | </view> |
13 | <view> | 13 | <view> |
14 | - <view class="flexA" style="margin-bottom: 10rpx"> | 14 | + <view class="flexA" style="margin-bottom: 10rpx;flex-wrap: wrap;"> |
15 | <view class="mine-username">{{ UserInfo?.nickname ?? '去登录' }}</view> | 15 | <view class="mine-username">{{ UserInfo?.nickname ?? '去登录' }}</view> |
16 | <view class="mine-toptag flexC" v-if="![null, undefined, ''].includes(UserInfo?.hospitalName)">{{ UserInfo?.hospitalName ?? '去登录' }}</view> | 16 | <view class="mine-toptag flexC" v-if="![null, undefined, ''].includes(UserInfo?.hospitalName)">{{ UserInfo?.hospitalName ?? '去登录' }}</view> |
17 | </view> | 17 | </view> |
@@ -12,7 +12,10 @@ | @@ -12,7 +12,10 @@ | ||
12 | </view> | 12 | </view> |
13 | <!-- <view class="subtitle flexC" style="margin-bottom: 244rpx">提现申请已提交。请耐心等待审核通过!</view> --> | 13 | <!-- <view class="subtitle flexC" style="margin-bottom: 244rpx">提现申请已提交。请耐心等待审核通过!</view> --> |
14 | <view class="subtitle flexC" style="margin-bottom: 244rpx">认证申请已提交。请耐心等待审核通过!</view> | 14 | <view class="subtitle flexC" style="margin-bottom: 244rpx">认证申请已提交。请耐心等待审核通过!</view> |
15 | - <up-button color="#05B8D2" shape="circle" text="完成" throttleTime="1500" @click="proxy.$h.relaunchUrl(`/pages/index/index`)"></up-button> | 15 | + <view class="fixBox"> |
16 | + <up-button color="#05B8D2" shape="circle" text="修改信息" :customStyle="{ marginBottom: '24rpx' }" throttleTime="1500" @click="reapplyAuthHandler"></up-button> | ||
17 | + <up-button type="info" shape="circle" text="返回" throttleTime="1500" @click="proxy.$h.relaunchUrl(`/pages/index/index`)"></up-button> | ||
18 | + </view> | ||
16 | </view> | 19 | </view> |
17 | </template> | 20 | </template> |
18 | <!-- 失败 --> | 21 | <!-- 失败 --> |
@@ -25,9 +28,11 @@ | @@ -25,9 +28,11 @@ | ||
25 | </view> | 28 | </view> |
26 | </view> | 29 | </view> |
27 | <view class="subtitle flexC" style="color: #ff3b2f; margin-bottom: 55%">驳回原因:{{ Event?.examineStateFailReason || '请联系管理员' }}</view> | 30 | <view class="subtitle flexC" style="color: #ff3b2f; margin-bottom: 55%">驳回原因:{{ Event?.examineStateFailReason || '请联系管理员' }}</view> |
31 | + <view class="fixBox"> | ||
28 | <up-button color="#05B8D2" shape="circle" text="重新申请" :customStyle="{ marginBottom: '24rpx' }" throttleTime="1500" @click="reapplyAuthHandler"></up-button> | 32 | <up-button color="#05B8D2" shape="circle" text="重新申请" :customStyle="{ marginBottom: '24rpx' }" throttleTime="1500" @click="reapplyAuthHandler"></up-button> |
29 | <up-button type="info" shape="circle" text="返回" throttleTime="1500" @click="proxy.$h.relaunchUrl(`/pages/index/index`)"></up-button> | 33 | <up-button type="info" shape="circle" text="返回" throttleTime="1500" @click="proxy.$h.relaunchUrl(`/pages/index/index`)"></up-button> |
30 | </view> | 34 | </view> |
35 | + </view> | ||
31 | </template> | 36 | </template> |
32 | <!-- 成功 --> | 37 | <!-- 成功 --> |
33 | <template v-if="Event?.authState === '20'"> | 38 | <template v-if="Event?.authState === '20'"> |
@@ -202,4 +207,10 @@ const reapplyAuthHandler = () => { | @@ -202,4 +207,10 @@ const reapplyAuthHandler = () => { | ||
202 | color: #666666; | 207 | color: #666666; |
203 | font-size: 28rpx; | 208 | font-size: 28rpx; |
204 | } | 209 | } |
210 | +.fixBox{ | ||
211 | + position: fixed; | ||
212 | + bottom: 20%; | ||
213 | + left: 84rpx; | ||
214 | + right: 84rpx; | ||
215 | +} | ||
205 | </style> | 216 | </style> |
@@ -34,7 +34,7 @@ | @@ -34,7 +34,7 @@ | ||
34 | <u-line margin="30rpx 0"></u-line> | 34 | <u-line margin="30rpx 0"></u-line> |
35 | <view class="flexD" style="width: 100%"> | 35 | <view class="flexD" style="width: 100%"> |
36 | <view style="width: 170rpx"> | 36 | <view style="width: 170rpx"> |
37 | - <up-button color="#05B8D2" shape="circle" text="回复" throttleTime="1500" @click="proxy.$h.jumpUrl(`/pages2/message/reply?id=${_?.id}&detailData=${JSON.stringify(_)}`)"></up-button> | 37 | + <up-button color="#05B8D2" shape="circle" text="回复" throttleTime="1500" @click="proxy.$h.jumpUrl(`/pages2/message/reply?id=${_?.id}&detailData=${JSON.stringify(_)}`)" :customStyle="{ height: '64rpx' }"></up-button> |
38 | </view> | 38 | </view> |
39 | </view> | 39 | </view> |
40 | </template> | 40 | </template> |
@@ -19,9 +19,9 @@ | @@ -19,9 +19,9 @@ | ||
19 | <view class="text mb24">{{ PrescriptionDetail?.renewRemark }}</view> | 19 | <view class="text mb24">{{ PrescriptionDetail?.renewRemark }}</view> |
20 | </template> | 20 | </template> |
21 | <view class="text mb24">处方药:</view> | 21 | <view class="text mb24">处方药:</view> |
22 | - <view class="list"> | 22 | + <view class="list br24"> |
23 | <view | 23 | <view |
24 | - class="flexJ" | 24 | + class="flexJ " |
25 | v-for="(_, index) in props.isRenew === 'err' ? PrescriptionDetail?.drugList : PrescriptionDetail?.renewDrugList" | 25 | v-for="(_, index) in props.isRenew === 'err' ? PrescriptionDetail?.drugList : PrescriptionDetail?.renewDrugList" |
26 | :key="index" | 26 | :key="index" |
27 | :style="index === (props.isRenew === 'err' ? PrescriptionDetail?.drugList : PrescriptionDetail?.renewDrugList)?.length ? 'margin-bottom: 42rpx' : 'margin-bottom: 0'" | 27 | :style="index === (props.isRenew === 'err' ? PrescriptionDetail?.drugList : PrescriptionDetail?.renewDrugList)?.length ? 'margin-bottom: 42rpx' : 'margin-bottom: 0'" |
@@ -61,10 +61,11 @@ | @@ -61,10 +61,11 @@ | ||
61 | </view> --> | 61 | </view> --> |
62 | </view> | 62 | </view> |
63 | <view style="height: 200rpx"></view> | 63 | <view style="height: 200rpx"></view> |
64 | - <view class="fixed-bottom" v-if="[30, '30', 20, '20', 40, '40'].includes(detailData?.orderState)"> | ||
65 | - <!-- <view> --> | 64 | + <!-- <view class="fixed-bottom" v-if="[30, '30', 20, '20', 40, '40'].includes(detailData?.orderState)"> --> |
65 | + <view> | ||
66 | <view class="form-btns"> | 66 | <view class="form-btns"> |
67 | <!-- <up-button type="info" v-if="[20, '20'].includes(detailData?.orderState)" shape="circle" text="返回" throttleTime="1500" @click="proxy.$h.backUrl()" :customStyle="{ width: '196rpx', marginRight: '16rpx' }"></up-button> --> | 67 | <!-- <up-button type="info" v-if="[20, '20'].includes(detailData?.orderState)" shape="circle" text="返回" throttleTime="1500" @click="proxy.$h.backUrl()" :customStyle="{ width: '196rpx', marginRight: '16rpx' }"></up-button> --> |
68 | + <up-button color="#05B8D2" shape="circle" :text="[20, '20'].includes(detailData?.orderState) ? '接诊' : '回复'" throttleTime="1500" @click="AcceptHandler('err')"></up-button> | ||
68 | <up-button color="#05B8D2" v-if="[20, '20', 30, '30'].includes(detailData?.orderState)" shape="circle" :text="[20, '20'].includes(detailData?.orderState) ? '接诊' : '回复'" throttleTime="1500" @click="AcceptHandler('err')"></up-button> | 69 | <up-button color="#05B8D2" v-if="[20, '20', 30, '30'].includes(detailData?.orderState)" shape="circle" :text="[20, '20'].includes(detailData?.orderState) ? '接诊' : '回复'" throttleTime="1500" @click="AcceptHandler('err')"></up-button> |
69 | <up-button color="#05B8D2" v-if="[40, '40'].includes(detailData?.orderState)" shape="circle" text="问诊记录" throttleTime="1500" @click="AcceptHandler('success')"></up-button> | 70 | <up-button color="#05B8D2" v-if="[40, '40'].includes(detailData?.orderState)" shape="circle" text="问诊记录" throttleTime="1500" @click="AcceptHandler('success')"></up-button> |
70 | </view> | 71 | </view> |
-
请 注册 或 登录 后发表评论