No Description

chatover_pro.html 9.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
  6. <title></title>
  7. <link href="../css/mui.min.css" rel="stylesheet" />
  8. <link href="../css/iconfont.css" rel="stylesheet" />
  9. <link rel="stylesheet" type="text/css" href="../css/app.css" />
  10. <link href="../css/mui.imageviewer.css" rel="stylesheet" />
  11. <style>
  12. html,
  13. body {
  14. height: 100%;
  15. margin: 0px;
  16. padding: 0px;
  17. overflow: hidden;
  18. -webkit-touch-callout: none;
  19. -webkit-user-select: none;
  20. }
  21. footer {
  22. position: fixed;
  23. width: 100%;
  24. height: 50px;
  25. min-height: 50px;
  26. border-top: solid 1px #bbb;
  27. left: 0px;
  28. bottom: 0px;
  29. overflow: hidden;
  30. padding: 0px 50px;
  31. background-color: #fafafa;
  32. }
  33. .footer-left {
  34. position: absolute;
  35. width: 50px;
  36. height: 50px;
  37. left: 0px;
  38. bottom: 0px;
  39. text-align: center;
  40. vertical-align: middle;
  41. line-height: 100%;
  42. padding: 12px 4px;
  43. }
  44. .footer-right {
  45. position: absolute;
  46. width: 50px;
  47. height: 50px;
  48. right: 0px;
  49. bottom: 0px;
  50. text-align: center;
  51. vertical-align: middle;
  52. line-height: 100%;
  53. padding: 12px 5px;
  54. display: inline-block;
  55. }
  56. .footer-center {
  57. height: 100%;
  58. padding: 5px 0px;
  59. }
  60. .footer-center [class*=input] {
  61. width: 100%;
  62. height: 100%;
  63. border-radius: 5px;
  64. }
  65. .footer-center .input-text {
  66. background: #fff;
  67. border: solid 1px #ddd;
  68. padding: 10px !important;
  69. font-size: 16px !important;
  70. line-height: 18px !important;
  71. font-family: verdana !important;
  72. overflow: hidden;
  73. }
  74. .footer-center .input-sound {
  75. background-color: #eee;
  76. }
  77. .mui-content {
  78. height: 100%;
  79. padding: 44px 0px 50px 0px;
  80. overflow: auto;
  81. background-color: #eaeaea;
  82. }
  83. #msg-list {
  84. height: 100%;
  85. overflow: auto;
  86. -webkit-overflow-scrolling: touch;
  87. }
  88. .msg-item {
  89. padding: 8px;
  90. clear: both;
  91. }
  92. .msg-item .mui-item-clear {
  93. clear: both;
  94. }
  95. .msg-item .msg-user {
  96. width: 38px;
  97. height: 38px;
  98. border: solid 1px #d3d3d3;
  99. display: inline-block;
  100. background: #fff;
  101. border-radius: 3px;
  102. vertical-align: top;
  103. text-align: center;
  104. float: left;
  105. padding: 3px;
  106. color: #ddd;
  107. }
  108. .msg-item .msg-user-img{
  109. width: 38px;
  110. height: 38px;
  111. display: inline-block;
  112. border-radius: 3px;
  113. vertical-align: top;
  114. text-align: center;
  115. float: left;
  116. color: #ddd;
  117. }
  118. .msg-item .msg-content {
  119. display: inline-block;
  120. border-radius: 5px;
  121. border: solid 1px #d3d3d3;
  122. background-color: #FFFFFF;
  123. color: #333;
  124. padding: 8px;
  125. vertical-align: top;
  126. font-size: 15px;
  127. position: relative;
  128. margin: 0px 8px;
  129. max-width: 75%;
  130. min-width: 35px;
  131. float: left;
  132. }
  133. .msg-item .msg-content .msg-content-inner {
  134. overflow-x: hidden;
  135. }
  136. .msg-item .msg-content .msg-content-arrow {
  137. position: absolute;
  138. border: solid 1px #d3d3d3;
  139. border-right: none;
  140. border-top: none;
  141. background-color: #FFFFFF;
  142. width: 10px;
  143. height: 10px;
  144. left: -5px;
  145. top: 12px;
  146. -webkit-transform: rotateZ(45deg);
  147. transform: rotateZ(45deg);
  148. }
  149. .msg-item-self .msg-user,
  150. .msg-item-self .msg-content {
  151. float: right;
  152. }
  153. .msg-item-self .msg-content .msg-content-arrow {
  154. left: auto;
  155. right: -5px;
  156. -webkit-transform: rotateZ(225deg);
  157. transform: rotateZ(225deg);
  158. }
  159. .msg-item-self .msg-content,
  160. .msg-item-self .msg-content .msg-content-arrow {
  161. background-color: #4CD964;
  162. color: #fff;
  163. border-color: #2AC845;
  164. }
  165. footer .mui-icon {
  166. color: #999999;
  167. }
  168. footer .mui-icon:active {
  169. color: #FF9900 !important;
  170. }/*#007AFF*/
  171. footer .mui-icon-paperplane:before {
  172. content: "发送";
  173. }
  174. footer .mui-icon-paperplane {
  175. /*-webkit-transform: rotateZ(45deg);
  176. transform: rotateZ(45deg);*/
  177. font-size: 16px;
  178. word-break: keep-all;
  179. line-height: 100%;
  180. padding-top: 6px;
  181. color: rgba(0, 135, 250, 1);
  182. }
  183. #msg-sound {
  184. -webkit-user-select: none !important;
  185. user-select: none !important;
  186. }
  187. .rprogress {
  188. position: absolute;
  189. left: 50%;
  190. top: 50%;
  191. width: 140px;
  192. height: 140px;
  193. margin-left: -70px;
  194. margin-top: -70px;
  195. background-image: url(../images/arecord.png);
  196. background-repeat: no-repeat;
  197. background-position: center center;
  198. background-size: 30px 30px;
  199. background-color: rgba(0, 0, 0, 0.7);
  200. border-radius: 5px;
  201. display: none;
  202. -webkit-transition: .15s;
  203. }
  204. .rschedule {
  205. background-color: rgba(0, 0, 0, 0);
  206. border: 5px solid rgba(0, 183, 229, 0.9);
  207. opacity: .9;
  208. border-left: 5px solid rgba(0, 0, 0, 0);
  209. border-right: 5px solid rgba(0, 0, 0, 0);
  210. border-radius: 50px;
  211. box-shadow: 0 0 15px #2187e7;
  212. width: 46px;
  213. height: 46px;
  214. position: absolute;
  215. left: 50%;
  216. top: 50%;
  217. margin-left: -23px;
  218. margin-top: -23px;
  219. -webkit-animation: spin 1s infinite linear;
  220. animation: spin 1s infinite linear;
  221. }
  222. .r-sigh{
  223. display: none;
  224. border-radius: 50px;
  225. box-shadow: 0 0 15px #2187e7;
  226. width: 46px;
  227. height: 46px;
  228. position: absolute;
  229. left: 50%;
  230. top: 50%;
  231. margin-left: -23px;
  232. margin-top: -23px;
  233. text-align: center;
  234. line-height: 46px;
  235. font-size: 40px;
  236. font-weight: bold;
  237. color: #2187e7;
  238. }
  239. .rprogress-sigh{
  240. background-image: none !important;
  241. }
  242. .rprogress-sigh .rschedule{
  243. display: none !important;
  244. }
  245. .rprogress-sigh .r-sigh{
  246. display: block !important;
  247. }
  248. .rsalert {
  249. font-size: 12px;
  250. color: #bbb;
  251. text-align: center;
  252. position: absolute;
  253. border-radius: 5px;
  254. width: 130px;
  255. margin: 5px 5px;
  256. padding: 5px;
  257. left: 0px;
  258. bottom: 0px;
  259. }
  260. @-webkit-keyframes spin {
  261. 0% {
  262. -webkit-transform: rotate(0deg);
  263. }
  264. 100% {
  265. -webkit-transform: rotate(360deg);
  266. }
  267. }
  268. @keyframes spin {
  269. 0% {
  270. transform: rotate(0deg);
  271. }
  272. 100% {
  273. transform: rotate(360deg);
  274. }
  275. }
  276. #h {
  277. background: #fff;
  278. border: solid 1px #ddd;
  279. padding: 10px !important;
  280. font-size: 16px !important;
  281. font-family: verdana !important;
  282. line-height: 18px !important;
  283. overflow: visible;
  284. position: absolute;
  285. left: -1000px;
  286. right: 0px;
  287. word-break: break-all;
  288. word-wrap: break-word;
  289. }
  290. .cancel {
  291. background-color: darkred;
  292. }
  293. </style>
  294. </head>
  295. <body contextmenu="return false;">
  296. <header class="mui-bar mui-bar-nav toptitbox">
  297. <span class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left topback"></span>
  298. <h1 class="mui-title toptit">对方姓名</h1>
  299. <span class="mui-icon mui-icon-contact mui-pull-right personhead"></span>
  300. </header>
  301. <pre id='h'></pre>
  302. <script id='msg-template' type="text/template">
  303. <% for(var i in record){ var item=record[i]; %>
  304. <div class="msg-item <%= (item.sender=='self'?' msg-item-self':'') %>" msg-type='<%=(item.type)%>' msg-content='<%=(item.content)%>'>
  305. <% if(item.sender=='self' ) { %>
  306. <i class="msg-user mui-icon mui-icon-person"></i>
  307. <% } else { %>
  308. <img class="msg-user-img" src="../images/logo.png" alt="" />
  309. <% } %>
  310. <div class="msg-content">
  311. <div class="msg-content-inner">
  312. <% if(item.type=='text' ) { %>
  313. <%=( item.content|| '&nbsp;&nbsp;') %>
  314. <% } else if(item.type=='image' ) { %>
  315. <img class="msg-content-image" src="<%=(item.content)%>" style="max-width: 100px;" />
  316. <% } else if(item.type=='sound' ) { %>
  317. <span class="mui-icon mui-icon-mic" style="font-size: 18px;font-weight: bold;"></span>
  318. <span class="play-state">点击播放</span>
  319. <% } %>
  320. </div>
  321. <div class="msg-content-arrow"></div>
  322. </div>
  323. <div class="mui-item-clear"></div>
  324. </div>
  325. <% } %>
  326. </script>
  327. <div class="mui-content">
  328. <div class="operatebox">
  329. <div class="themespan mui-pull-left" style="width:70%;">
  330. <span class="">关于XXXXXX的咨询</span>
  331. </div>
  332. <!--进行中-->
  333. <!--<div class="operatebtnbox mui-pull-right" style="width:30%;">
  334. <div class="evabox"><span>进行中</span></div>
  335. </div>-->
  336. <!--对方已评价 添加类'operated'-->
  337. <div class="operatebtnbox mui-pull-right operated">
  338. <div class="evabox">
  339. <span>对方已评价</span>
  340. <div class="levelbox">
  341. <span class="mui-icon iconfont icon-favorfill"></span> <!--无色星星icon-favor 黄色星icon-favorfill-->
  342. <span class="mui-icon iconfont icon-favorfill"></span>
  343. <span class="mui-icon iconfont icon-favorfill"></span>
  344. <span class="mui-icon iconfont icon-favor"></span>
  345. <span class="mui-icon iconfont icon-favor"></span>
  346. </div>
  347. </div>
  348. </div>
  349. <!--对方未评价-->
  350. <!--<div class="operatebtnbox mui-pull-right" style="width:30%;">
  351. <div class="evabox"><span>对方还未评价</span></div>
  352. </div>-->
  353. </div>
  354. <div id='msg-list'>
  355. </div>
  356. </div>
  357. <script src="../js/public/mui.min.js"></script>
  358. <script src="../js/public/mui.imageViewer.js"></script>
  359. <script src="../js/public/arttmpl.js"></script>
  360. <script type="text/javascript" charset="utf-8">
  361. </script>
  362. </body>
  363. </html>