doctorCommunion.vue 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. <template>
  2. <view class="content es-pt-42">
  3. <view class=" ">
  4. <view class="u-f ">
  5. <view class="es-mr-14">
  6. <image class="es-icon-64" src="/static/image/agent/back_black_icon.png" mode=""></image>
  7. </view>
  8. <view class="es-mr-24 avatarCircle u-f-ajc">
  9. <image class="es-icon-88" src="/static/image/agent/phone_icon50.png" mode=""></image>
  10. </view>
  11. <view class="">
  12. <view class="u-f">
  13. <view class="es-fs-24 es-c-22 es-fw es-mr-12 u-f-ajc">
  14. 廖万清医生 智能体
  15. </view>
  16. <view class="u-f-ajc">
  17. <image class="es-icon-32" src="/static/image/agent/ai_icon.png" mode=""></image>
  18. </view>
  19. </view>
  20. <view class="es-c-75 es-fs-26">
  21. 六安市人民医院 主任医师 甲乳外科
  22. </view>
  23. </view>
  24. </view>
  25. <view class="u-f-ajc">
  26. <view class="circle ">
  27. <image class="es-icon-88" src="/static/image/agent/phone_icon50.png" mode=""></image>
  28. <view class="problem u-f-ajc">
  29. <image class="gifBox" src="/static/image/agent/speech_voice_icon2.gif" mode=""></image>
  30. </view>
  31. </view>
  32. </view>
  33. <view class="es-br-32 es-fs-32 es-c-22 problemMsg es-bg-white">
  34. 你好,我是廖万清医生智能体,你有什么健康问题需要问我吗?
  35. </view>
  36. <view class="footerBox u-f-ajc u-f-fc">
  37. <view class="u-f-ajc u-f-fc ">
  38. <view class="u-f-ajc">
  39. <image class="gifBox" src="/static/image/agent/speech_voice_icon.gif" mode=""></image>
  40. <!-- <image class="es-h-8 es-w-56" src="/static/image/agent/thinking_icon.gif" mode=""></image> -->
  41. <!-- <image class="gifBox" src="/static/image/agent/listen_icon.gif" mode=""></image> -->
  42. </view>
  43. <view class="es-c-00 es-fs-28 es-mt-28">
  44. 电话接通中
  45. <!-- 您已静音 -->
  46. <!-- 医生思考中 -->
  47. <!-- 我在听,您请问 -->
  48. </view>
  49. <!-- <view class="">
  50. <image class="es-icon-60" src="/static/image/agent/interrupt_icon.png" mode=""></image>
  51. </view>
  52. <view class="es-c-00 es-fs-28 es-mt-12">
  53. 点击打断
  54. </view> -->
  55. </view>
  56. <view class="footerBox-btn u-f-ajc u-f-jsb">
  57. <view class="footerBox-btnBox-recording es-ml-8 u-f-ajc">
  58. <image class="es-icon-48" src="/static/image/agent/with_audio_icon.png" mode=""></image>
  59. </view>
  60. <view class="">
  61. <image class="es-icon-136" src="/static/image/agent/close_icon.png" mode=""></image>
  62. </view>
  63. <view class="footerBox-btnBox-recording es-mr-8">
  64. <image class="es-icon-48" src="/static/image/agent/close_text_icon.png" mode="">
  65. </image>
  66. </view>
  67. </view>
  68. </view>
  69. </view>
  70. </view>
  71. </template>
  72. <script>
  73. import {
  74. checkFollow,
  75. doFollow,
  76. getDoctorDetails,
  77. getDoctorPingList
  78. } from '@/api/doctor.js'
  79. export default {
  80. data() {
  81. return {}
  82. },
  83. onLoad(options) {
  84. },
  85. onShow() {
  86. },
  87. methods: {
  88. goback() {
  89. uni.navigateBack()
  90. }
  91. }
  92. }
  93. </script>
  94. <style scoped lang="scss">
  95. .content {
  96. background-image: url('/static/image/agent/doctor-communication-bg.png');
  97. background-repeat: no-repeat;
  98. background-size: 100% 100%;
  99. height: 100vh;
  100. }
  101. .avatarCircle {
  102. border-radius: 50%;
  103. padding: 4rpx;
  104. background: linear-gradient(135deg, #FFC945, #FF8928);
  105. width: 88rpx;
  106. height: 88rpx;
  107. }
  108. .circle {
  109. margin-top: 132rpx;
  110. width: 408rpx;
  111. height: 408rpx;
  112. padding: 16rpx;
  113. background: #FFFFFF;
  114. border-radius: 50%;
  115. position: relative;
  116. image {
  117. width: 100%;
  118. height: 100%;
  119. border-radius: 50%;
  120. }
  121. .problem {
  122. position: absolute;
  123. top: 0;
  124. right: -60rpx;
  125. width: 208rpx;
  126. height: 120rpx;
  127. background: #FFFFFF;
  128. box-shadow: 0rpx 0rpx 8rpx 0rpx rgba(255, 127, 21, 0.05);
  129. border-radius: 40rpx 40rpx 40rpx 4rpx;
  130. .gifBox {
  131. width: 132rpx;
  132. height: 36rpx;
  133. }
  134. }
  135. }
  136. .problemMsg {
  137. margin: 64rpx 24rpx 0;
  138. padding: 32rpx;
  139. background: #FFFFFF;
  140. }
  141. .es-icon-36 {
  142. width: 36rpx;
  143. height: 36rpx;
  144. }
  145. .footerBox {
  146. position: fixed;
  147. bottom: 0;
  148. margin: 54rpx 108rpx 56rpx;
  149. .gifBox {
  150. width: 62rpx;
  151. height: 36rpx;
  152. }
  153. .footerBox-btn {
  154. background-image: url('/static/image/agent/dialogue_footer_bg.png');
  155. background-repeat: no-repeat;
  156. background-size: 100% 100%;
  157. width: 536rpx;
  158. height: 164rpx;
  159. box-sizing: border-box;
  160. margin-top: 54rpx;
  161. .footerBox-btnBox-recording {
  162. padding: 32rpx;
  163. background: #ECECEC;
  164. border-radius: 50%;
  165. }
  166. }
  167. }
  168. </style>