consult-detail.html 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <meta name="renderer" content="webkit">
  7. <meta http-equiv="Cache-Control" content="no-siteapp">
  8. <meta http-equiv="X-UA-Compatible" content="IE=Edge">
  9. <title>咨询详情页</title>
  10. <link href="../../../css/bootstrap.min.css" rel="stylesheet">
  11. <link href="../../../plugins/toastr/toastr.min.css" rel="stylesheet">
  12. <link rel="stylesheet" type="text/css" href="../../../plugins/layer/skin/layer.css"/>
  13. <link rel="stylesheet" href="../../../plugins/plyr/plyr.css">
  14. <link href="../css/style.css" rel="stylesheet">
  15. <link rel="stylesheet" href="../css/consulting.css">
  16. </head>
  17. <body>
  18. <div class="consulting-panel ui-grid">
  19. <div class="plr20 pt10" style="width:100%;" id="talkBox"></div>
  20. </div>
  21. <!-- 系统消息模板 -->
  22. <script type="text/html" id="sys_msg_tmp">
  23. <div class="time-tips"><span class="xt-xiaoxi">{{content}}</span></div>
  24. </script>
  25. <!-- 消息模板 -->
  26. <script type="text/html" id="msg_tmp">
  27. <div class="time-tips"><span>{{time}}</span></div>
  28. <dl class="{{if isSelf}}chat-right{{else}}chat-left{{/if}} {{if type==17}}mb10-i{{/if}}">
  29. <dt style="height: auto; text-align: center;">
  30. <img src="{{img}}" class="images-cycle"/>
  31. </dt>
  32. <div class="c-content">
  33. <span class="c-f12 name">{{name}}</span>
  34. {{if type == 0 || type == 1 || type == 8 }}
  35. <dd class="word-bread">
  36. <span>{{content}}</span>
  37. </dd>
  38. {{/if}}
  39. {{if type == 2}}
  40. <dd class="word-bread wb-img">
  41. <img class="showBigPic" width="100" src="{{content | getSourceUrl}}" />
  42. </dd>
  43. {{/if}}
  44. {{if type == 3}}
  45. <dd class="word-bread">
  46. <div class="player" style="width:292px;">
  47. <audio controls style="position: relative;top: 15px;">
  48. <!-- Audio files -->
  49. <source src="{{content.path | getSourceUrl}}" type="audio/mp3">
  50. <!-- Fallback for browsers that don't support the <audio> element -->
  51. 您的浏览器不支持在线播放,请<a href="{{content.path | getSourceUrl}}">下载</a>
  52. </audio>
  53. </div>
  54. </dd>
  55. {{/if}}
  56. {{if type == 6 && kindType == 8}}
  57. <dd class="word-bread sys-msg">
  58. <div class="c-f14 sys-header mb5">
  59. <img src="../images/xitongtixing_im_icon.png" width="14">本消息为系统提示
  60. </div>
  61. <p class="c-333 c-f14">{{content.title}}</p>
  62. <p class="c-333 c-f14">体征信息:{{content.tzMsg}}</p>
  63. </dd>
  64. {{/if}}
  65. {{if type == 6 && kindType == 2}}
  66. <dd class="word-bread">
  67. <span>{{content}}</span>
  68. </dd>
  69. {{/if}}
  70. {{if type == 12}}
  71. <dd class="word-bread">
  72. <div class="player" style="width:292px;">
  73. <video poster="{{content.img | getSourceUrl}}" controls crossorigin>
  74. <source src="{{content.path | getSourceUrl}}" type="video/mp4">
  75. <!--<a href="{{content.path | getSourceUrl}}">Download</a>-->
  76. </video>
  77. </div>
  78. </dd>
  79. {{/if}}
  80. {{if type == 15}}
  81. <dd class="word-bread sys-msg">
  82. <div class="c-f14 sys-header mb5">
  83. <img src="../images/xitongtixing_im_icon.png" width="14">本消息为系统提示
  84. </div>
  85. <p class="c-333 c-f14">审核消息:</p>
  86. <p class="c-333 c-f14">{{content.title}}</p>
  87. <p class="c-333 c-f14">审核结果:{{content.result}}</p>
  88. {{if content.reason}}
  89. <p class="c-333 c-f14">原因:{{content.reason}}</p>
  90. {{/if}}
  91. </dd>
  92. {{/if}}
  93. <!-- 添加随访相关的体统消息 -->
  94. {{if type == 16}}
  95. {{if isSelf}}
  96. <dd class="word-bread msg-fv">
  97. <div class="fv-content">
  98. <span class="c-333 c-f14 bgc-fff">{{content.text}}</span>
  99. </div>
  100. </dd>
  101. {{else}}
  102. <dd class="word-bread sys-msg">
  103. <div class="c-f14 sys-header mb5">
  104. <img src="../images/xitongtixing_im_icon.png" width="14">本消息为系统提示
  105. </div>
  106. {{if content.needUpload == "false"}}
  107. <p class="c-333 c-f14">{{content.tzMsg}}</p>
  108. <p class="c-333 c-f14">{{content.tzTime}}</p>
  109. {{/if}}
  110. </dd>
  111. {{/if}}
  112. {{/if}}
  113. {{if type == 17}}
  114. {{if isSelf}}
  115. <dd class="word-bread msg-fv">
  116. <div class="fv-content">
  117. <span class="c-333 c-f14 bgc-fff">{{content.text}}</span>
  118. </div>
  119. </dd>
  120. {{else}}
  121. <dd class="word-bread sys-msg">
  122. <div class="c-f14 sys-header mb5">
  123. <img src="../images/xitongtixing_im_icon.png" width="14">本消息为系统提示
  124. </div>
  125. </dd>
  126. {{/if}}
  127. {{/if}}
  128. </div>
  129. </dl>
  130. {{if type == 17 && isSelf}}
  131. <div class="text-center">
  132. <span class="fv-remind">{{content.doctorremind}}</span>
  133. </div>
  134. {{/if}}
  135. </script>
  136. </body>
  137. <script>
  138. (function(d,u){var a=new XMLHttpRequest(),b=d.body;if("withCredentials" in a){a.open("GET",u,true);a.send();a.onload=function(){var c=d.createElement("div");c.setAttribute("hidden","");c.innerHTML=a.responseText;b.insertBefore(c,b.childNodes[0])}}})(document, "../../../plugins/plyr/sprite.svg");
  139. </script>
  140. <script src="../../../js/jquery-2.2.4.js"></script>
  141. <script src="../../../js/bootstrap.min.js"></script>
  142. <script src="../../../plugins/layer/layer.min.js"></script>
  143. <script src="../../../plugins/toastr/toastr.min.js"></script>
  144. <script src="../../../js/es6-promise.js"></script>
  145. <script src="../../../js/util.js"></script>
  146. <script src="../../../js/template.js"></script>
  147. <script src="../../../api/http-request.js"></script>
  148. <script src="../../../api/record-api.js"></script>
  149. <script src="../../../plugins/plyr/plyr.js"></script>
  150. <script src="../js/consult-detail.js"></script>
  151. </html>