uuHelperGroupDetail.html 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210
  1. <style>
  2. /*table表格*/
  3. .box-content .box-message{
  4. border-top: none;
  5. margin-top: 40px;
  6. }
  7. .box-content .box-message table thead tr{
  8. background: #f1f1f1;
  9. }
  10. .box-content .box-message table thead tr th.chooseCount span{
  11. color: #9d9d9d;
  12. }
  13. .bodyUas .messageContent{
  14. overflow: hidden;
  15. width: 300px;
  16. }
  17. .bodyUas .messageContent .leftImg{
  18. width: 65px;
  19. height: 50px;
  20. float: left;
  21. }
  22. .bodyUas .messageContent .leftImg img{
  23. max-width: 65px;
  24. max-height: 50px;
  25. }
  26. .bodyUas .messageContent .rightContent{
  27. width: 70%;
  28. float: left;
  29. margin-left: 10px;
  30. }
  31. .bodyUas .messageContent .rightContent p{
  32. width: 175px;
  33. text-overflow: ellipsis;
  34. overflow: hidden;
  35. white-space: nowrap;
  36. font-size: 14px;
  37. color: #333;
  38. }
  39. .bodyUas .messageContent .rightContent span{
  40. width: 175px;
  41. text-overflow: ellipsis;
  42. overflow: hidden;
  43. white-space: nowrap;
  44. font-size: 14px;
  45. color: #9d9d9d;
  46. display: inline-block;
  47. }
  48. .bodyUas .messageTime{
  49. font-size: 14px;
  50. color: #333;
  51. }
  52. .bodyUas .handleMessage select {
  53. border: none;
  54. outline: none;
  55. }
  56. .bodyUas .handleMessage a{
  57. margin-right: 20px;
  58. font-size: 14px;
  59. color: #0a44ff;
  60. }
  61. .box-content .box-message .table tbody.bodyUas tr {
  62. background-color: #fff;
  63. }
  64. .box-content .box-message .table tbody.bodyUas tr td{
  65. vertical-align: middle;
  66. height: 70px;
  67. }
  68. .box-content .box-message .table tbody.bodyUas tr:last-child{
  69. border-bottom: 2px solid #000;
  70. }
  71. .box-content .box-message .messageNav{
  72. margin-bottom: 15px;
  73. }
  74. .box-content .box-message .messageNav ul{
  75. overflow: hidden;
  76. height: 40px;
  77. }
  78. .box-content .box-message .messageNav ul li{
  79. float: left;
  80. width: 140px;
  81. height: 40px;
  82. line-height: 40px;
  83. text-align: center;
  84. list-style: none;
  85. }
  86. .box-content .box-message .messageNav ul li a{
  87. display: inline-block;
  88. width: 140px;
  89. height: 40px;
  90. color: #333;
  91. border-radius: 5px;
  92. border: 1px solid #797979;
  93. }
  94. .box-content .box-message .messageNav ul li:hover a,.box-content .box-message .messageNav ul li.active a{
  95. border: none;
  96. background: #379bd5;
  97. color: #fff;
  98. }
  99. .content-wrapper{
  100. background-color: #fff!important;
  101. }
  102. /*分頁*/
  103. .box-content .pageUas{
  104. margin-top: 20px;
  105. }
  106. </style>
  107. <!-- Main content -->
  108. <section class="content box-content">
  109. <div class="box box-message">
  110. <div class="messageNav">
  111. <ul>
  112. <li><a href="${CPATH}/admin/comment?t=${t!}&m=${m!}&p=${p!}&c=${c!}&s=normal&cid=${cid!}&way=${way!}">
  113. 已显示 <span class="count">(${normal_count!"0"})</span>
  114. </a>
  115. </li>
  116. <li><a href="${CPATH}/admin/comment?t=${t!}&m=${m!}&p=${p!}&c=${c!}&s=draft&cid=${cid!}&way=${way!}">
  117. 未显示 <span class="count">(${draft_count!"0"})</span>
  118. </a>
  119. </li>
  120. <li><a href="${CPATH}/admin/comment?t=${t!}&m=${m!}&p=${p!}&c=${c!}&son=true&cid=${cid!}&way=${way!}">
  121. 已回复<span class="count">(${answered_count!"0"})</span>
  122. </a>
  123. </li>
  124. <li><a href="${CPATH}/admin/comment?t=${t!}&m=${m!}&p=${p!}&c=${c!}&son=false&cid=${cid!}&way=${way!}">
  125. 未回复<span class="count">(${unanswered_count!"0"})</span>
  126. </a>
  127. </li>
  128. <li><a href="${CPATH}/admin/comment?t=${t!}&m=${m!}&p=${p!}&c=${c!}&s=delete&cid=${cid!}&way=${way!}">
  129. 垃圾箱 <span class="count">(${delete_count!"0"})</span>
  130. </a>
  131. </li>
  132. </ul>
  133. </div>
  134. <!-- /.box-header -->
  135. <div class="box-body">
  136. <form action="" method="POST" id="form">
  137. <input type="hidden" name="ucode" value="${ucode}">
  138. <table class="table table-striped" style="word-break:break-all">
  139. <thead>
  140. <tr>
  141. <th style="padding-left: 40px;" width="25"><input name="dataItem" onclick="checkAll(this)" type="checkbox"></th>
  142. <th width="500" class="chooseCount">留言 <span>(已选中 <span>0</span>条)</span></th>
  143. <th width="400">留言时间</th>
  144. <th width="400">操作</th>
  145. </tr>
  146. </thead>
  147. <tbody class="bodyUas">
  148. <#if page??>
  149. <#list page.getList() as bean>
  150. <tr>
  151. <td style="padding-left: 40px;"><input name="dataItem" type="checkbox"></td>
  152. <td>
  153. <div class="messageContent">
  154. <div class="leftImg">
  155. <#if bean?? && bean.uu_user_avatar??>
  156. <img src="${(bean.uu_user_avatar)!}" alt="头像">
  157. <#else>
  158. <img src="${CPATH}/static/jpress/admin/image/defaultUuUserPhoto.png" alt="头像">
  159. </#if>
  160. </div>
  161. <div class="rightContent">
  162. <p>${bean.author!}<#if bean?? && bean.user_id?? && bean.getContentUserId() == bean.user_id>(作者)</#if></p>
  163. <span>${bean.text!}<#if "draft" == bean.status!>(待审核)<#elseif "delete" == bean.status!>(垃圾箱)</#if></span>
  164. </div>
  165. </div>
  166. </td>
  167. <td class="messageTime">
  168. ${bean.created!}
  169. </td>
  170. <td class="handleMessage">
  171. <#if "delete" == bean.status!>
  172. <a href="javascript:restore(${bean.id})">放回草稿</a>
  173. <a href="javascript:del(${bean.id})">永久删除</a>
  174. <#else>
  175. <a><select id="isShowMessageSelect${bean.id}" onchange="showMessageSelect(${bean.id})">
  176. <option value="draft" <#if bean?? && bean.status?? && bean.status=="draft"> selected="selected" </#if>>不显示</option>
  177. <option value="normal" <#if bean?? && bean.status?? && bean.status=="normal"> selected="selected" </#if>>显示</option>
  178. </select>
  179. </a>
  180. <a><select id="isTopSelect${bean.id}" onchange="topSelect(${bean.id})">
  181. <option value="default" <#if bean?? && bean.order_number?? && bean.order_number==0> selected="selected" </#if>>默认</option>
  182. <option value="top" <#if bean?? && bean.order_number?? && bean.order_number==1> selected="selected" </#if>>置顶</option>
  183. </select>
  184. </a>
  185. <a href="javascript:reply(${bean.id})">回复</a>
  186. <a href="javascript:trash(${bean.id})">删除</a>
  187. </#if>
  188. </td>
  189. </tr>
  190. </#list>
  191. </#if>
  192. </tbody>
  193. </table>
  194. </form>
  195. </div>
  196. <!-- /.box-body -->
  197. </div>
  198. <div class="cf pageUas">
  199. <div class="pull-right " >
  200. <#if page??>
  201. <#include "../_inc/_paginate.html" />
  202. <@paginate currentPage=page.pageNumber totalPage=page.totalPage actionUrl="?p="+(p!)+"&c="+(c!)+"&m="+(m!)+"&t="+(t!)+"&s="+(s!)+"&k="+(k!)+"&tids="+(tids!)+"&page="/>
  203. </#if>
  204. </div>
  205. </div>
  206. <!-- /.row -->
  207. </section>