hh-doctor-sdk 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/components/consultation/detail/consultation-detail-page.wxml +5 -69
  2. package/components/consultation/detail/consultation-detail-page.wxss +1 -72
  3. package/components/consultation/detail/widget/chat-base-cell/chat-base-cell.wxml +1 -17
  4. package/components/consultation/detail/widget/chat-base-cell/chat-base-cell.wxss +1 -9
  5. package/components/consultation/detail/widget/chat-bottom/chat-bottom.wxml +2 -23
  6. package/components/consultation/detail/widget/chat-bottom/chat-bottom.wxss +1 -54
  7. package/components/consultation/detail/widget/chat-cell-template/chat-cell-template.wxml +5 -169
  8. package/components/consultation/detail/widget/chat-cell.wxss +1 -394
  9. package/components/consultation/detail/widget/detail-media/detail-media.wxml +1 -12
  10. package/components/consultation/detail/widget/detail-media/detail-media.wxss +1 -57
  11. package/components/consultation/detail/widget/detail-text/detail-text.wxml +2 -6
  12. package/components/consultation/detail/widget/detail-text/detail-text.wxss +1 -14
  13. package/components/consultation/evaluate/evaluate-page.wxml +2 -41
  14. package/components/consultation/evaluate/evaluate-page.wxss +1 -103
  15. package/components/consultation/list/consultation-list-page.wxml +6 -53
  16. package/components/consultation/list/consultation-list-page.wxss +1 -114
  17. package/components/consultation/reply/consultation-reply-page.wxml +2 -102
  18. package/components/consultation/reply/consultation-reply-page.wxss +1 -169
  19. package/components/consultation/reply/widget/audio-record-view/audio-record-view.wxml +1 -27
  20. package/components/consultation/reply/widget/audio-record-view/audio-record-view.wxss +1 -197
  21. package/components/uikit/css/common.wxss +1 -28
  22. package/components/uikit/custom-bottom-pop/custom-bottom-pop.wxml +1 -9
  23. package/components/uikit/custom-bottom-pop/custom-bottom-pop.wxss +1 -79
  24. package/components/uikit/web-view-page/web-view-page.wxml +1 -6
  25. package/components/uikit/web-view-page/web-view-page.wxss +0 -1
  26. package/components/video-chat/agora-rtc/agora-player/agora-player.wxml +1 -26
  27. package/components/video-chat/agora-rtc/agora-player/agora-player.wxss +1 -1
  28. package/components/video-chat/agora-rtc/agora-pusher/agora-pusher.wxml +1 -22
  29. package/components/video-chat/agora-rtc/agora-pusher/agora-pusher.wxss +1 -1
  30. package/components/video-chat/agora-rtc/agora-rtc.wxml +1 -41
  31. package/components/video-chat/agora-rtc/agora-rtc.wxss +1 -1
  32. package/components/video-chat/callback/callback.wxml +1 -29
  33. package/components/video-chat/callback/callback.wxss +1 -26
  34. package/components/video-chat/calling/calling.wxml +2 -21
  35. package/components/video-chat/calling/calling.wxss +1 -38
  36. package/components/video-chat/controller/controller.wxml +2 -37
  37. package/components/video-chat/controller/controller.wxss +1 -71
  38. package/components/video-chat/remote-player/remote-player.wxml +1 -37
  39. package/components/video-chat/remote-player/remote-player.wxss +1 -1
  40. package/components/video-chat/video-chat.wxml +1 -56
  41. package/components/video-chat/video-chat.wxss +1 -99
  42. package/components/video-chat-page/case-group-view/case-group-view.wxml +1 -32
  43. package/components/video-chat-page/case-group-view/case-group-view.wxss +1 -44
  44. package/components/video-chat-page/video-chat-page.wxml +2 -86
  45. package/components/video-chat-page/video-chat-page.wxss +1 -45
  46. package/package.json +1 -1
@@ -1,72 +1,8 @@
1
- <import src="../detail/widget/chat-cell-template/chat-cell-template" />
2
- <view class="match-parent body-display">
3
- <view wx:if="{{notifySetVideoTime}}" class="set-time-tip">
4
- <image
5
- class="set-time-tip-image"
6
- src="https://image.hh-medic.com/icon/pacs/hh_warning_icon_fill.png"
7
- />
8
- 本咨询为视频咨询,请设置你方便的视频时间</view
9
- >
10
- <scroll-view class="scroll-view" scroll-y scroll-into-view="{{scrollTo}}">
11
- <view class="consultation-header" wx:if="{{order}}">
12
- <block wx:for="{{headerTexts}}" wx:key="text">
13
- <detail-text
14
- label="{{item.label}}"
15
- content="{{item.content || ''}}"
16
- />
17
- </block>
18
- <scroll-view
19
- wx:if="{{mediaInfo.length > 0}}"
20
- type="list"
21
- scroll-x
1
+ <import src="../detail/widget/chat-cell-template/chat-cell-template"/><view class="match-parent body-display"><view wx:if="{{notifySetVideoTime}}" class="set-time-tip"><image class="set-time-tip-image" src="https://image.hh-medic.com/icon/pacs/hh_warning_icon_fill.png"/>
2
+ 本咨询为视频咨询,请设置你方便的视频时间</view><scroll-view class="scroll-view" scroll-y scroll-into-view="{{scrollTo}}">
3
+ <view class="consultation-header" wx:if="{{order}}"><block wx:for="{{headerTexts}}" wx:key="text"><detail-text label="{{item.label}}" content="{{item.content || ''}}"/></block><scroll-view wx:if="{{mediaInfo.length > 0}}" type="list" scroll-x
22
4
  class="consultation-header-media-scroll-view"
23
5
  enable-flex="true"
24
6
  >
25
- <view class="consultation-header-media-box">
26
- <block wx:for="{{mediaInfo}}" wx:key="image">
27
- <detail-media
28
- index="{{item.index}}"
29
- label="{{item.label}}"
30
- url="{{item.icon}}"
31
- type="{{item.type}}"
32
- showNumber="{{item.showNumber}}"
33
- bind:clickMedia="clickMedia"
34
- />
35
- </block>
36
- </view>
37
- </scroll-view>
38
- <view class="doctor-info-container"
39
- ><text class="doctor-info">{{doctorInfo}}</text>
40
- </view>
41
- </view>
42
- <view class="chatting-body">
43
- <block wx:for="{{messages}}" wx:key="message">
44
- <block wx:if="{{item.custom}}">
45
- <template is="{{item.template}}" data="{{...item}}" />
46
- </block>
47
- <block wx:else>
48
- <chat-base-cell
49
- index="{{item.index}}"
50
- photo="{{item.photo}}"
51
- name="{{item.name}}"
52
- createtime="{{item.createtime}}"
53
- isSend="{{item.isSend}}"
54
- bind:clickCell="clickMessageCell"
55
- >
56
- <template is="{{item.template}}" data="{{...item}}" />
57
- </chat-base-cell>
58
- </block>
59
- </block>
60
- </view>
61
- <view id="message-bottom" class="message-bottom"></view>
62
- </scroll-view>
63
- <chat-bottom
64
- id="chat-bottom"
65
- wx:if="{{order}}"
66
- order="{{order}}"
67
- bind:changeDateTime="changeDateTimeControl"
68
- bind:changeDateTimeColumn="changeDateTimeColumnControl"
69
- dateTimeArray="{{dateTimeArray}}"
70
- dateTime="{{dateTime}}"
71
- ></chat-bottom>
72
- </view>
7
+ <view class="consultation-header-media-box"><block wx:for="{{mediaInfo}}" wx:key="image"><detail-media index="{{item.index}}" label="{{item.label}}" url="{{item.icon}}" type="{{item.type}}" showNumber="{{item.showNumber}}" bind:clickMedia="clickMedia"/></block></view></scroll-view><view class="doctor-info-container"><text class="doctor-info">{{doctorInfo}}</text></view></view><view class="chatting-body"><block wx:for="{{messages}}" wx:key="message"><block wx:if="{{item.custom}}"><template is="{{item.template}}" data="{{...item}}"/></block><block wx:else>
8
+ <chat-base-cell index="{{item.index}}" photo="{{item.photo}}" name="{{item.name}}" createtime="{{item.createtime}}" isSend="{{item.isSend}}" bind:clickCell="clickMessageCell"><template is="{{item.template}}" data="{{...item}}"/></chat-base-cell></block></block></view><view id="message-bottom" class="message-bottom"/></scroll-view><chat-bottom id="chat-bottom" wx:if="{{order}}" order="{{order}}" bind:changeDateTime="changeDateTimeControl" bind:changeDateTimeColumn="changeDateTimeColumnControl" dateTimeArray="{{dateTimeArray}}" dateTime="{{dateTime}}"/></view>
@@ -1,72 +1 @@
1
- @import "../detail/widget/chat-cell.wxss";
2
- @import "../../uikit/css/common.wxss";
3
- page {
4
- background-color: #f3f5fb;
5
- width: 100%;
6
- height: 100%;
7
- }
8
-
9
- .body-display {
10
- display: flex;
11
- flex-direction: column;
12
- }
13
-
14
- .message-bottom {
15
- width: 100%;
16
- height: 80rpx;
17
- padding-bottom: constant(safe-area-inset-bottom); /* 兼容 IOS<11.2 */
18
- padding-bottom: env(safe-area-inset-bottom); /* 兼容 IOS>11.2 */
19
- }
20
-
21
- .consultation-header {
22
- background-color: white;
23
- margin-top: 10rpx;
24
- padding-bottom: 20rpx;
25
- }
26
-
27
- .consultation-header-media-box {
28
- display: flex;
29
- flex-direction: row;
30
- margin-top: 30rpx;
31
- margin-right: 30rpx;
32
- }
33
-
34
- .consultation-header-media-scroll-view {
35
- white-space: nowrap;
36
- height: 215rpx;
37
- }
38
-
39
- .doctor-info-container {
40
- display: flex;
41
- border-top: 1rpx #dcdcdcff solid;
42
- margin-top: 30rpx;
43
- margin-left: 30rpx;
44
- }
45
-
46
- .doctor-info {
47
- font-size: 28rpx;
48
- color: #787878;
49
- margin-top: 14rpx;
50
- }
51
-
52
- .chatting-body {
53
- margin-top: 30rpx;
54
- display: flex;
55
- flex-direction: column;
56
- }
57
-
58
- .set-time-tip {
59
- display: flex;
60
- flex-direction: row;
61
- background-color: #fffae6;
62
- padding: 20rpx 30rpx;
63
- color: #f01414;
64
- align-items: center;
65
- font-size: 30rpx;
66
- }
67
-
68
- .set-time-tip-image {
69
- width: 30rpx;
70
- height: 30rpx;
71
- margin-right: 10rpx;
72
- }
1
+ .chat-triangle{height:0;width:0;border-width:12rpx;border-style:solid;border-color:transparent #fff transparent transparent;position:relative;left:-22rpx;float:left;top:5rpx}.chat-triangle.sender{border-color:transparent transparent transparent #c6e2fe;left:auto;float:right;right:-22rpx}.chat-cell{float:left;font-size:28rpx;margin-left:10rpx}.chat-cell.sender{float:right;margin-right:10rpx}.chat-cell-photo-image{width:80rpx;height:80rpx;border-radius:10rpx}.chat-cell-photo{float:left}.chat-cell-content{background-color:#fff;margin:0 50px 10px 50px;padding:10rpx 20rpx 10rpx 0;border-radius:7px;width:fit-content;min-height:30rpx}.chat-cell-sender-photo{float:right}.chat-cell-sender-content{background-color:#c6e2fe;margin:0 50px 10px 50px;padding:10rpx 0 10rpx 20rpx;border-radius:7px;width:fit-content;min-height:30rpx}.chat-time-container{display:flex;width:100%;justify-content:center;margin-top:30rpx}.chat-time{justify-content:center;font-size:20rpx;color:#fff;background-color:rgba(0,0,0,.3);padding:4rpx 8rpx 4rpx 8rpx;border-radius:10rpx;margin-bottom:20rpx}.chat-image-container{display:flex;position:relative;margin:10rpx 0 10rpx 0}.chat-image{max-width:150rpx;max-height:200rpx;background-color:#f3f5fb}.chat-video-play{width:60rpx;height:60rpx;position:absolute;top:calc(50% - 30rpx);left:calc(50% - 30rpx)}.chat-image-count{position:absolute;right:0;bottom:0;font-size:20rpx;color:#fff;background-color:rgba(0,0,0,.3);padding:2rpx 8rpx 2rpx 10rpx;border-radius:20rpx 0 0 0}.pdf-body{display:flex;padding:10rpx 0 0 0}.pdf-body-image{width:100rpx;height:100rpx;margin:auto}.pdf-content{display:flex;flex-direction:column;margin-left:10rpx}.pdf-name{font-size:24rpx;color:#333}.pdf-size{font-size:20rpx;color:grey;margin-top:10rpx}.chatting-text-container{display:flex;flex-direction:column;padding:0;line-height:1.5}.chatting-text{display:contents;font-size:24rpx;color:#333;word-break:break-all}.chatting-text.link{font-size:24rpx;color:#1482f0;text-decoration:underline;word-break:break-all}.msg-sound-container{width:200rpx;height:40rpx;position:relative;flex-direction:row}.msg-sound-text{margin-top:2rpx;position:absolute;font-size:26rpx;color:#333;left:40rpx}.msg-sound-text.sender{left:auto;right:60rpx}.sound-icon{border:2px solid #646464;border-left:2px solid transparent;border-bottom:2px solid transparent;border-top:2px solid transparent;border-radius:50%;margin-top:-5rpx}.sound-icon.sender{border:2px solid #646464;border-right:2px solid transparent;border-bottom:2px solid transparent;border-top:2px solid transparent}.sound-icon.arc1{width:0;height:0;border-width:3px;position:absolute;top:calc(50% - 1px)}.sound-icon.arc2{width:10px;height:10px;position:absolute;top:calc(50% - 5px);margin-left:-8rpx}.sound-icon.arc3{width:20px;height:20px;position:absolute;top:calc(50% - 10px);margin-left:-19rpx}.sound-icon.arc1.sender{left:auto;right:8px}.sound-icon.arc2.sender{left:auto;right:5px}.sound-icon.arc3.sender{left:auto;right:0}.sound-length{margin-left:10px;line-height:40px;height:40px;font-size:12px;color:#969696}.sound-length.sender{margin-left:auto;margin-right:10px}.notify-end-time-body{display:flex;justify-content:center;align-items:flex-start}.notify-end-time-icon{width:50rpx;height:50rpx;margin:auto}.notify-end-time-text{font-size:24rpx;color:#333;margin-left:10rpx;margin:auto 0 auto 10rpx}.notify-time-container{display:flex;flex-direction:column;align-items:flex-end}.notify-time-edit{font-size:24rpx;color:#0096f0;margin:0rpx 0 10rpx 0}.notify-time-join{width:100%;font-size:24rpx;color:#fff;background-color:#1482f0;padding:16rpx 0rpx;margin:10rpx 0;text-align:center;border-radius:10rpx}.update-notice-body{width:100%;display:flex;flex-direction:column;align-items:center;margin:20rpx 0}.update-notice-text{width:fit-content;background-color:#fff;padding:10rpx 20rpx;border-radius:10rpx;font-size:20rpx;color:#0592f5}.meesage-tip-container{flex-direction:column}.message-tip-box{background-color:#fff;margin:0 50rpx 0 50rpx;align-items:center;display:flex;flex-direction:column;border-radius:10rpx;overflow:hidden}.message-tip-title{width:100%;background-color:#c6e2fe;text-align:center;padding:10rpx 0;font-size:28rpx;font-weight:700;color:#333}.message-tip-content{width:100%;margin:20rpx 20rpx 0 20rpx;font-size:28rpx;color:#333;text-align:center;padding-bottom:20rpx}.message-tip-button-container{display:flex;flex-direction:column;width:100%;border-top:1rpx #dcdcdcff solid;align-items:center}.message-tip-button{width:30%;font-size:28rpx;text-align:center;color:#0096f0;border:#0096f0 1rpx solid;background-color:#fff;margin:20rpx 0rpx;padding:10rpx 20rpx;border-radius:10rpx}.evaluate-body{width:100%;display:flex;flex-direction:column;align-items:center;margin:20rpx 0}.evaluate-box{display:flex;flex-direction:row;align-items:center;background-color:#fff;padding:14rpx 20rpx;border-radius:8rpx}.evaluate-icon{width:40rpx;height:40rpx;margin:0 10rpx 0 10rpx}.evaluate-to{color:#0096f0;font-size:26rpx;margin-left:10rpx}.evaluate-did{color:#999;font-size:26rpx;margin-left:10rpx}.match-parent{width:100%;height:100%}.black-background{background-color:#000}.position-absolute{position:absolute}.position-relative{position:relative}.scroll-view{width:100%;height:100%;overflow:scroll;margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom)}.scroll-view.overflow-hidden{overflow:scroll}page{background-color:#f3f5fb;width:100%;height:100%}.body-display{display:flex;flex-direction:column}.message-bottom{width:100%;height:80rpx;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.consultation-header{background-color:#fff;margin-top:10rpx;padding-bottom:20rpx}.consultation-header-media-box{display:flex;flex-direction:row;margin-top:30rpx;margin-right:30rpx}.consultation-header-media-scroll-view{white-space:nowrap;height:215rpx}.doctor-info-container{display:flex;border-top:1rpx #dcdcdcff solid;margin-top:30rpx;margin-left:30rpx}.doctor-info{font-size:28rpx;color:#787878;margin-top:14rpx}.chatting-body{margin-top:30rpx;display:flex;flex-direction:column}.set-time-tip{display:flex;flex-direction:row;background-color:#fffae6;padding:20rpx 30rpx;color:#f01414;align-items:center;font-size:30rpx}.set-time-tip-image{width:30rpx;height:30rpx;margin-right:10rpx}
@@ -1,17 +1 @@
1
- <view class="chat-time-container">
2
- <text class="chat-time">{{createtime}}</text>
3
- </view>
4
-
5
- <view class="chat-cell {{isSend ? 'sender' : ''}}">
6
- <view class="{{isSend ? 'chat-cell-sender-photo' : 'chat-cell-photo'}}">
7
- <image class="chat-cell-photo-image" src="{{photo}}"></image>
8
- </view>
9
- <text wx:if="{{!isSend}}" class="chat-cell-name">{{name}}</text>
10
- <view
11
- class="{{isSend ? 'chat-cell-sender-content' : 'chat-cell-content'}}"
12
- catch:tap="clickCell"
13
- >
14
- <view class="chat-triangle {{isSend ? 'sender' : ''}}"></view>
15
- <slot></slot>
16
- </view>
17
- </view>
1
+ <view class="chat-time-container"><text class="chat-time">{{createtime}}</text></view><view class="chat-cell {{isSend ? 'sender' : ''}}"><view class="{{isSend ? 'chat-cell-sender-photo' : 'chat-cell-photo'}}"><image class="chat-cell-photo-image" src="{{photo}}"/></view><text wx:if="{{!isSend}}" class="chat-cell-name">{{name}}</text><view class="{{isSend ? 'chat-cell-sender-content' : 'chat-cell-content'}}" catch:tap="clickCell"><view class="chat-triangle {{isSend ? 'sender' : ''}}"/><slot/></view></view>
@@ -1,9 +1 @@
1
- @import "../chat-cell.wxss";
2
-
3
- .chat-cell-name {
4
- display: inline-block;
5
- font-size: 20rpx;
6
- color: #333333;
7
- margin-left: 20rpx;
8
- margin-bottom: 6rpx;
9
- }
1
+ .chat-triangle{height:0;width:0;border-width:12rpx;border-style:solid;border-color:transparent #fff transparent transparent;position:relative;left:-22rpx;float:left;top:5rpx}.chat-triangle.sender{border-color:transparent transparent transparent #c6e2fe;left:auto;float:right;right:-22rpx}.chat-cell{float:left;font-size:28rpx;margin-left:10rpx}.chat-cell.sender{float:right;margin-right:10rpx}.chat-cell-photo-image{width:80rpx;height:80rpx;border-radius:10rpx}.chat-cell-photo{float:left}.chat-cell-content{background-color:#fff;margin:0 50px 10px 50px;padding:10rpx 20rpx 10rpx 0;border-radius:7px;width:fit-content;min-height:30rpx}.chat-cell-sender-photo{float:right}.chat-cell-sender-content{background-color:#c6e2fe;margin:0 50px 10px 50px;padding:10rpx 0 10rpx 20rpx;border-radius:7px;width:fit-content;min-height:30rpx}.chat-time-container{display:flex;width:100%;justify-content:center;margin-top:30rpx}.chat-time{justify-content:center;font-size:20rpx;color:#fff;background-color:rgba(0,0,0,.3);padding:4rpx 8rpx 4rpx 8rpx;border-radius:10rpx;margin-bottom:20rpx}.chat-image-container{display:flex;position:relative;margin:10rpx 0 10rpx 0}.chat-image{max-width:150rpx;max-height:200rpx;background-color:#f3f5fb}.chat-video-play{width:60rpx;height:60rpx;position:absolute;top:calc(50% - 30rpx);left:calc(50% - 30rpx)}.chat-image-count{position:absolute;right:0;bottom:0;font-size:20rpx;color:#fff;background-color:rgba(0,0,0,.3);padding:2rpx 8rpx 2rpx 10rpx;border-radius:20rpx 0 0 0}.pdf-body{display:flex;padding:10rpx 0 0 0}.pdf-body-image{width:100rpx;height:100rpx;margin:auto}.pdf-content{display:flex;flex-direction:column;margin-left:10rpx}.pdf-name{font-size:24rpx;color:#333}.pdf-size{font-size:20rpx;color:grey;margin-top:10rpx}.chatting-text-container{display:flex;flex-direction:column;padding:0;line-height:1.5}.chatting-text{display:contents;font-size:24rpx;color:#333;word-break:break-all}.chatting-text.link{font-size:24rpx;color:#1482f0;text-decoration:underline;word-break:break-all}.msg-sound-container{width:200rpx;height:40rpx;position:relative;flex-direction:row}.msg-sound-text{margin-top:2rpx;position:absolute;font-size:26rpx;color:#333;left:40rpx}.msg-sound-text.sender{left:auto;right:60rpx}.sound-icon{border:2px solid #646464;border-left:2px solid transparent;border-bottom:2px solid transparent;border-top:2px solid transparent;border-radius:50%;margin-top:-5rpx}.sound-icon.sender{border:2px solid #646464;border-right:2px solid transparent;border-bottom:2px solid transparent;border-top:2px solid transparent}.sound-icon.arc1{width:0;height:0;border-width:3px;position:absolute;top:calc(50% - 1px)}.sound-icon.arc2{width:10px;height:10px;position:absolute;top:calc(50% - 5px);margin-left:-8rpx}.sound-icon.arc3{width:20px;height:20px;position:absolute;top:calc(50% - 10px);margin-left:-19rpx}.sound-icon.arc1.sender{left:auto;right:8px}.sound-icon.arc2.sender{left:auto;right:5px}.sound-icon.arc3.sender{left:auto;right:0}.sound-length{margin-left:10px;line-height:40px;height:40px;font-size:12px;color:#969696}.sound-length.sender{margin-left:auto;margin-right:10px}.notify-end-time-body{display:flex;justify-content:center;align-items:flex-start}.notify-end-time-icon{width:50rpx;height:50rpx;margin:auto}.notify-end-time-text{font-size:24rpx;color:#333;margin-left:10rpx;margin:auto 0 auto 10rpx}.notify-time-container{display:flex;flex-direction:column;align-items:flex-end}.notify-time-edit{font-size:24rpx;color:#0096f0;margin:0rpx 0 10rpx 0}.notify-time-join{width:100%;font-size:24rpx;color:#fff;background-color:#1482f0;padding:16rpx 0rpx;margin:10rpx 0;text-align:center;border-radius:10rpx}.update-notice-body{width:100%;display:flex;flex-direction:column;align-items:center;margin:20rpx 0}.update-notice-text{width:fit-content;background-color:#fff;padding:10rpx 20rpx;border-radius:10rpx;font-size:20rpx;color:#0592f5}.meesage-tip-container{flex-direction:column}.message-tip-box{background-color:#fff;margin:0 50rpx 0 50rpx;align-items:center;display:flex;flex-direction:column;border-radius:10rpx;overflow:hidden}.message-tip-title{width:100%;background-color:#c6e2fe;text-align:center;padding:10rpx 0;font-size:28rpx;font-weight:700;color:#333}.message-tip-content{width:100%;margin:20rpx 20rpx 0 20rpx;font-size:28rpx;color:#333;text-align:center;padding-bottom:20rpx}.message-tip-button-container{display:flex;flex-direction:column;width:100%;border-top:1rpx #dcdcdcff solid;align-items:center}.message-tip-button{width:30%;font-size:28rpx;text-align:center;color:#0096f0;border:#0096f0 1rpx solid;background-color:#fff;margin:20rpx 0rpx;padding:10rpx 20rpx;border-radius:10rpx}.evaluate-body{width:100%;display:flex;flex-direction:column;align-items:center;margin:20rpx 0}.evaluate-box{display:flex;flex-direction:row;align-items:center;background-color:#fff;padding:14rpx 20rpx;border-radius:8rpx}.evaluate-icon{width:40rpx;height:40rpx;margin:0 10rpx 0 10rpx}.evaluate-to{color:#0096f0;font-size:26rpx;margin-left:10rpx}.evaluate-did{color:#999;font-size:26rpx;margin-left:10rpx}.chat-cell-name{display:inline-block;font-size:20rpx;color:#333;margin-left:20rpx;margin-bottom:6rpx}
@@ -1,24 +1,3 @@
1
- <view wx:if="{{menus != null && menus.length > 0}}" class="input-panel">
2
- <view class="chat-button-box">
3
- <block wx:for="{{menus}}" wx:key="this">
4
- <view
5
- class="chat-menu-item {{index > 0 ? 'border' : ''}}"
6
- data-type="{{item.type}}"
7
- catch:tap="clickMenu"
8
- >
9
- <block wx:if="{{item.type == 'setTime'}}">
10
- <picker
11
- mode="multiSelector"
12
- value="{{dateTime}}"
13
- bindchange="changeDateTime"
14
- bindcolumnchange="changeDateTimeColumn"
15
- range="{{dateTimeArray}}"
16
- >
1
+ <view wx:if="{{menus != null && menus.length > 0}}" class="input-panel"><view class="chat-button-box"><block wx:for="{{menus}}" wx:key="this"><view class="chat-menu-item {{index > 0 ? 'border' : ''}}" data-type="{{item.type}}" catch:tap="clickMenu"><block wx:if="{{item.type == 'setTime'}}"><picker mode="multiSelector" value="{{dateTime}}" bindchange="changeDateTime" bindcolumnchange="changeDateTimeColumn" range="{{dateTimeArray}}">
17
2
  {{item.text}}
18
- </picker>
19
- </block>
20
- <block wx:else> {{item.text}} </block>
21
- </view>
22
- </block>
23
- </view>
24
- </view>
3
+ </picker></block><block wx:else> {{item.text}} </block></view></block></view></view>
@@ -1,54 +1 @@
1
- .input-panel {
2
- position: fixed;
3
- left: 0px;
4
- bottom: 0px;
5
- width: 100%;
6
- /* background-color: #f6f6f6; */
7
- background-color: white;
8
- border-top: solid 1px #e4e4e4;
9
- box-sizing: border-box;
10
- z-index: 2;
11
- display: block;
12
- }
13
-
14
- .input-tools {
15
- width: 100%;
16
- /* height: 70px; */
17
- display: flex;
18
- flex-flow: row nowrap;
19
- justify-content: flex-start;
20
- align-items: center;
21
- box-sizing: border-box;
22
- padding: 17rpx;
23
- }
24
-
25
- .chat-button-box {
26
- width: 100%;
27
- background-color: white;
28
- display: flex;
29
- align-items: center;
30
- justify-content: center;
31
- border-bottom: solid 1px #e4e4e4;
32
- margin-bottom: constant(safe-area-inset-bottom); /* 兼容 IOS<11.2 */
33
- margin-bottom: env(safe-area-inset-bottom); /* 兼容 IOS>11.2 */
34
- }
35
-
36
- .chat-menu-item {
37
- flex: 1;
38
- height: 80rpx;
39
- text-align: center;
40
- line-height: 80rpx;
41
- font-size: 32rpx;
42
- color: #1482f0;
43
- }
44
-
45
- .chat-menu-item.border {
46
- border-left: 1rpx #dcdcdcff solid;
47
- }
48
-
49
- .menu-border {
50
- width: 1rpx;
51
- background-color: #dcdcdcff;
52
- /* border-left: 1rpx #dcdcdcff solid; */
53
- margin: 8rpx 0;
54
- }
1
+ .input-panel{position:fixed;left:0;bottom:0;width:100%;background-color:#fff;border-top:solid 1px #e4e4e4;box-sizing:border-box;z-index:2;display:block}.input-tools{width:100%;display:flex;flex-flow:row nowrap;justify-content:flex-start;align-items:center;box-sizing:border-box;padding:17rpx}.chat-button-box{width:100%;background-color:#fff;display:flex;align-items:center;justify-content:center;border-bottom:solid 1px #e4e4e4;margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom)}.chat-menu-item{flex:1;height:80rpx;text-align:center;line-height:80rpx;font-size:32rpx;color:#1482f0}.chat-menu-item.border{border-left:1rpx #dcdcdcff solid}.menu-border{width:1rpx;background-color:#dcdcdcff;margin:8rpx 0}
@@ -1,173 +1,9 @@
1
- <!-- 信息流图片模板 -->
2
- <template name="imageItem">
3
- <view class="chat-image-container">
4
- <image class="chat-image" mode="aspectFill" src="{{cover}}" />
5
- <image
6
- wx:if="{{isVideo}}"
7
- class="chat-video-play"
8
- src="https://imgs.hh-medic.com/icon/wmp/hhdoctor/video-play.png"
9
- />
10
- <view class="chat-image-count">{{number}}</view>
11
- </view>
12
- </template>
13
-
14
- <!-- 信息流PDF模板 -->
15
- <template name="pdfItem">
16
- <view class="pdf-body">
17
- <view>
18
- <image
19
- class="pdf-body-image"
20
- src="https://imgs.hh-medic.com/icon/hh_icon_pdf.png"
21
- ></image>
22
- </view>
23
-
24
- <view class="pdf-content">
25
- <text class="pdf-name">{{file.name}}</text>
26
- <text class="pdf-size">{{file.size}}</text>
27
- </view>
28
- </view>
29
- </template>
30
-
31
- <!-- 信息流文字模板 -->
32
- <template name="textItem">
33
- <view class="chatting-text-container">
34
- <block wx:for="{{textArray}}" wx:key="this">
35
- <!-- <text wx:if="{{item.type == 'text'}}" class="chatting-text"
36
- >{{item.value}}</text
37
- >
38
- wx:elif="{{item.type == 'link'}}"-->
39
- <view
40
- class="chatting-text {{item.type == 'link' ? 'link' : ''}}"
41
- catch:tap="{{item.type == 'link' ? '_tapLink' : ''}}"
42
- data-link="{{item.type == 'link' ? item.value : ''}}"
43
- >{{item.name}}</view
44
- >
45
- </block>
46
- </view>
47
- </template>
48
-
49
- <!-- 音频模板 -->
50
- <template name="soundItem">
51
- <view
52
- class="msg-sound-container"
53
- data-index="{{index}}"
54
- data-url="{{voiceUrl}}"
55
- catch:tap="_playAudio"
56
- >
57
- <view
58
- wx:if="{{animationValue >= 1}}"
59
- class="sound-icon {{isSend ? 'sender' : ''}} arc1"
60
- ></view>
61
- <view
62
- wx:if="{{animationValue >= 2}}"
63
- class="sound-icon {{isSend ? 'sender' : ''}} arc2"
64
- ></view>
65
- <view
66
- wx:if="{{animationValue >= 3}}"
67
- class="sound-icon {{isSend ? 'sender' : ''}} arc3"
68
- ></view>
69
- <text class="msg-sound-text {{isSend ? 'sender' : ''}}"></text>
70
- </view>
71
- </template>
72
-
73
- <!-- 视频时长 -->
74
- <template name="videoEndTime">
75
- <view class="notify-end-time-body">
76
- <image
77
- class="notify-end-time-icon"
78
- src="https://imgs.hh-medic.com/icon/hh_message_time_icon_video.png"
79
- ></image>
80
- <text class="notify-end-time-text">{{content}}</text>
81
- </view>
82
- </template>
83
-
84
- <template name="chatTip">
85
- <view class="chat-time-container">
86
- <text class="chat-time">{{createtime}}</text>
87
- </view>
88
- <view class="meesage-tip-container">
89
- <view class="message-tip-box">
90
- <view class="message-tip-title">咨询单已提交</view>
91
- <view class="message-tip-content">{{content}}</view>
92
- <view wx:if="{{showButton}}" class="message-tip-button-container">
93
- <view class="message-tip-button" catch:tap="_clickNotify">
1
+ <template name="imageItem"><view class="chat-image-container"><image class="chat-image" mode="aspectFill" src="{{cover}}"/><image wx:if="{{isVideo}}" class="chat-video-play" src="https://imgs.hh-medic.com/icon/wmp/hhdoctor/video-play.png"/><view class="chat-image-count">{{number}}</view></view></template><template name="pdfItem"><view class="pdf-body"><view><image class="pdf-body-image" src="https://imgs.hh-medic.com/icon/hh_icon_pdf.png"/></view><view class="pdf-content"><text class="pdf-name">{{file.name}}</text><text class="pdf-size">{{file.size}}</text></view></view></template><template name="textItem"><view class="chatting-text-container"><block wx:for="{{textArray}}" wx:key="this"><view class="chatting-text {{item.type == 'link' ? 'link' : ''}}" catch:tap="{{item.type == 'link' ? '_tapLink' : ''}}" data-link="{{item.type == 'link' ? item.value : ''}}">{{item.name}}</view></block></view></template><template name="soundItem"><view class="msg-sound-container" data-index="{{index}}" data-url="{{voiceUrl}}" catch:tap="_playAudio"><view wx:if="{{animationValue >= 1}}" class="sound-icon {{isSend ? 'sender' : ''}} arc1"/><view wx:if="{{animationValue >= 2}}" class="sound-icon {{isSend ? 'sender' : ''}} arc2"/><view wx:if="{{animationValue >= 3}}" class="sound-icon {{isSend ? 'sender' : ''}} arc3"/><text class="msg-sound-text {{isSend ? 'sender' : ''}}"/></view></template><template name="videoEndTime"><view class="notify-end-time-body"><image class="notify-end-time-icon" src="https://imgs.hh-medic.com/icon/hh_message_time_icon_video.png"/><text class="notify-end-time-text">{{content}}</text></view></template><template name="chatTip"><view class="chat-time-container"><text class="chat-time">{{createtime}}</text></view><view class="meesage-tip-container"><view class="message-tip-box"><view class="message-tip-title">咨询单已提交</view><view class="message-tip-content">{{content}}</view><view wx:if="{{showButton}}" class="message-tip-button-container"><view class="message-tip-button" catch:tap="_clickNotify">
94
2
  提醒专家回复
95
- </view>
96
- </view>
97
- </view>
98
- </view>
99
- </template>
100
-
101
- <!-- 评价 -->
102
- <template name="Evaluate">
103
- <view class="evaluate-body" bind:tap="_clickEvaluate">
104
- <view class="evaluate-box">
105
- <image
106
- class="evaluate-icon"
107
- src="{{feedbackStar >= 1 ? 'https://image.hh-medic.com/icon/pacs/hh_eveluate_full.png' : 'https://image.hh-medic.com/icon/pacs/hh_eveluate_empty.png'}}"
108
- />
109
- <image
110
- class="evaluate-icon"
111
- src="{{feedbackStar >= 2 ? 'https://image.hh-medic.com/icon/pacs/hh_eveluate_full.png' : 'https://image.hh-medic.com/icon/pacs/hh_eveluate_empty.png'}}"
112
- />
113
- <image
114
- class="evaluate-icon"
115
- src="{{feedbackStar >= 3 ? 'https://image.hh-medic.com/icon/pacs/hh_eveluate_full.png' : 'https://image.hh-medic.com/icon/pacs/hh_eveluate_empty.png'}}"
116
- />
117
- <image
118
- class="evaluate-icon"
119
- src="{{feedbackStar >= 4 ? 'https://image.hh-medic.com/icon/pacs/hh_eveluate_full.png' : 'https://image.hh-medic.com/icon/pacs/hh_eveluate_empty.png'}}"
120
- />
121
- <image
122
- class="evaluate-icon"
123
- src="{{feedbackStar >= 5 ? 'https://image.hh-medic.com/icon/pacs/hh_eveluate_full.png' : 'https://image.hh-medic.com/icon/pacs/hh_eveluate_empty.png'}}"
124
- />
125
- <view class="{{feedbackStar > 0 ? 'evaluate-did' : 'evaluate-to'}}">
3
+ </view></view></view></view></template><template name="Evaluate"><view class="evaluate-body" bind:tap="_clickEvaluate"><view class="evaluate-box"><image class="evaluate-icon" src="{{feedbackStar >= 1 ? 'https://image.hh-medic.com/icon/pacs/hh_eveluate_full.png' : 'https://image.hh-medic.com/icon/pacs/hh_eveluate_empty.png'}}"/><image class="evaluate-icon" src="{{feedbackStar >= 2 ? 'https://image.hh-medic.com/icon/pacs/hh_eveluate_full.png' : 'https://image.hh-medic.com/icon/pacs/hh_eveluate_empty.png'}}"/><image class="evaluate-icon" src="{{feedbackStar >= 3 ? 'https://image.hh-medic.com/icon/pacs/hh_eveluate_full.png' : 'https://image.hh-medic.com/icon/pacs/hh_eveluate_empty.png'}}"/><image class="evaluate-icon" src="{{feedbackStar >= 4 ? 'https://image.hh-medic.com/icon/pacs/hh_eveluate_full.png' : 'https://image.hh-medic.com/icon/pacs/hh_eveluate_empty.png'}}"/><image class="evaluate-icon" src="{{feedbackStar >= 5 ? 'https://image.hh-medic.com/icon/pacs/hh_eveluate_full.png' : 'https://image.hh-medic.com/icon/pacs/hh_eveluate_empty.png'}}"/><view class="{{feedbackStar > 0 ? 'evaluate-did' : 'evaluate-to'}}">
126
4
  {{feedbackStar > 0 ? '已评价' : '点击评价'}}
127
- </view>
128
- </view>
129
- </view>
130
- </template>
131
-
132
- <!-- 白底蓝色提示(统一格式外显示) -->
133
- <template name="updateNotice">
134
- <view class="update-notice-body">
135
- <text class="update-notice-text">{{content}}</text>
136
- </view>
137
- </template>
138
-
139
- <!-- 视频时间,可编辑 -->
140
- <template name="videoTimeItem">
141
- <view class="notify-time-container">
142
- <view class="notify-end-time-body">
143
- <image
144
- class="notify-end-time-icon"
145
- src="https://imgs.hh-medic.com/icon/hh_message_time_icon_video.png"
146
- ></image>
147
- <text class="notify-end-time-text">{{content}}</text>
148
- </view>
149
- <view
150
- wx:if="{{canEdit}}"
151
- class="notify-time-edit"
152
- data-index="{{index}}"
153
- catch:tap="_editTime"
154
- >
155
- <picker
156
- mode="multiSelector"
157
- value="{{dateTime}}"
158
- bindchange="changeDateTime"
159
- bindcolumnchange="changeDateTimeColumn"
160
- range="{{dateTimeArray}}"
161
- >
5
+ </view></view></view></template><template name="updateNotice"><view class="update-notice-body"><text class="update-notice-text">{{content}}</text></view></template><template name="videoTimeItem"><view class="notify-time-container"><view class="notify-end-time-body"><image class="notify-end-time-icon" src="https://imgs.hh-medic.com/icon/hh_message_time_icon_video.png"/><text class="notify-end-time-text">{{content}}</text></view><view wx:if="{{canEdit}}" class="notify-time-edit" data-index="{{index}}" catch:tap="_editTime"><picker mode="multiSelector" value="{{dateTime}}" bindchange="changeDateTime" bindcolumnchange="changeDateTimeColumn" range="{{dateTimeArray}}">
162
6
  修改时间
163
- </picker>
164
- </view>
165
- <view
166
- wx:if="{{!isSend}}"
167
- class="notify-time-join"
168
- catch:tap="_joinVideo"
169
- >
7
+ </picker></view><view wx:if="{{!isSend}}" class="notify-time-join" catch:tap="_joinVideo">
170
8
  加入视频
171
- </view>
172
- </view>
173
- </template>
9
+ </view></view></template>