consulting.html 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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. <title>指导留言</title>
  9. <meta name="keywords" content="">
  10. <meta name="description" content="">
  11. <link rel="shortcut icon" href="favicon.ico">
  12. <link href="../../../css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
  13. <link href="../../../css/font-awesome.min93e3.css?v=4.4.0" rel="stylesheet">
  14. <link href="../../../css/animate.min.css" rel="stylesheet">
  15. <link href="../../../plugins/toastr/toastr.min.css" rel="stylesheet">
  16. <link href="../../../plugins/fancybox/jquery.fancybox.css" rel="stylesheet">
  17. <link href="../../../plugins/artDialog/6.0.5/api/css/ui-dialog.css" rel="stylesheet">
  18. <link rel="stylesheet" type="text/css" href="../../../plugins/layer/skin/layer.css"/>
  19. <link href="../css/style.css" rel="stylesheet">
  20. <link rel="stylesheet" href="../css/consulting.css">
  21. <link rel="stylesheet" href="../../../plugins/plyr/plyr.css">
  22. </head>
  23. <body>
  24. <div id="main">
  25. <div class="div-main-content">
  26. <div class="consulting-panel ui-grid border-bottom">
  27. <div class="ui-col-3 border-right">
  28. <div class="div-message-content">
  29. <div class="plr20" id="talkBox"></div>
  30. </div>
  31. </div>
  32. </div>
  33. <div class="input-panel">
  34. <div class="action-panel">
  35. <span class="consult-icon icon-image" @click="uploadImage"></span>
  36. <input type="file" class="hidden" id="file_head" accept="image/*">
  37. </div>
  38. <div id="input_content" type="text" class="input-msg width-100" ></div>
  39. <button class="btn send-btn" type="button" @click="sendClick"><i class="fa fa-send mr5"></i>发送</button>
  40. </div>
  41. </div>
  42. </div>
  43. <!-- 系统消息模板 -->
  44. <script type="text/html" id="sys_msg_tmp">
  45. <div class="time-tips"><span class="xt-xiaoxi">{{content}}</span></div>
  46. </script>
  47. <!-- 消息模板 -->
  48. <script type="text/html" id="msg_tmp">
  49. <div class="time-tips"><i class="zuoxianduan-icon"></i><span>{{time}}</span><i class="youxianduan-icon"></i></div>
  50. <dl class="{{if isSelf}}chat-right{{else}}chat-left{{/if}} {{if type==17}}mb10-i{{/if}}">
  51. <dt style="height: auto; text-align: center;">
  52. <img src="{{img}}" class="images-cycle"/>
  53. </dt>
  54. <div class="c-content">
  55. <span class="c-f12 name">{{name}}</span>
  56. {{if type == 0 || type == 1 || type == 8 || type == 18 || type == 19 }}
  57. <dd class="word-bread">
  58. <span>{{content}}</span>
  59. </dd>
  60. {{/if}}
  61. {{if type == 2}}
  62. <dd class="word-bread wb-img">
  63. <a class="fancybox" href="{{content | getSourceUrl}}" title="图片">
  64. <img width="100" src="{{content | getSourceUrl}}" />
  65. </a>
  66. </dd>
  67. {{/if}}
  68. {{if type == 3}}
  69. <dd class="word-bread">
  70. <div class="player" style="width:300px;">
  71. <audio controls>
  72. <!-- Audio files -->
  73. <source src="{{content.path | getSourceUrl}}" type="audio/mp3">
  74. <!-- Fallback for browsers that don't support the <audio> element -->
  75. 您的浏览器不支持在线播放,请<a href="{{content.path | getSourceUrl}}">下载</a>
  76. </audio>
  77. </div>
  78. </dd>
  79. {{/if}}
  80. {{if type == 12}}
  81. <dd class="word-bread">
  82. <div class="player" style="width:300px;">
  83. <video poster="{{content.img | getSourceUrl}}" controls crossorigin>
  84. <!-- Video files -->
  85. <source src="{{content.path | getSourceUrl}}" type="video/mp4">
  86. <!-- Text track file -->
  87. <!-- <track kind="captions" label="English" srclang="en" src="https://cdn.selz.com/plyr/1.0/example_captions_en.vtt" default> -->
  88. <!-- Fallback for browsers that don't support the <video> element -->
  89. <a href="{{content.path | getSourceUrl}}">Download</a>
  90. </video>
  91. </div>
  92. </dd>
  93. {{/if}}
  94. </div>
  95. </dl>
  96. </script>
  97. </body>
  98. <script>
  99. (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");
  100. </script>
  101. <script src="../../../js/vue.js" type="text/javascript" charset="utf-8"></script>
  102. <script src="../../../js/jquery-2.2.4.js?v=2.2.4"></script>
  103. <script src="../../../js/bootstrap.min.js?v=3.0.0"></script>
  104. <script src="../../../plugins/metisMenu/jquery.metisMenu.js"></script>
  105. <script src="../../../plugins/slimscroll/jquery.slimscroll.js"></script>
  106. <script src="../../../plugins/layer/layer.min.js"></script>
  107. <script src="../../../js/hplus.min.js?v=4.1.0"></script>
  108. <script src="../../../js/contabs.min.js"></script>
  109. <!--<script src="../../../plugins/pace/pace.min.js"></script>-->
  110. <script src="../../../plugins/toastr/toastr.min.js"></script>
  111. <script src="../../../js/es6-promise.js"></script>
  112. <script src="../../../js/underscore.js"></script>
  113. <script src="../../../js/util.js"></script>
  114. <script src="../../../js/template.js"></script>
  115. <script src="../../../plugins/fancybox/jquery.fancybox.js"></script>
  116. <script src="../../../plugins/plyr/plyr.js"></script>
  117. <script src="../../../plugins/artDialog/6.0.5/api/js/dialog-plus.js"></script>
  118. <script src="../../../api/http-request.js"></script>
  119. <script src="../../../api/consulting-api.js"></script>
  120. <script src="../js/consulting.js"></script>
  121. </html>