暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

index.htm 7.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. {include file="public/layout" /}
  2. <body class="bodystyle" style="overflow-y: scroll; cursor: default; -moz-user-select: inherit;">
  3. <div id="append_parent"></div>
  4. <div id="ajaxwaitid"></div>
  5. <div class="page min-hg-c-10">
  6. {include file="users_notice/bar" /}
  7. <div class="flexigrid">
  8. <div class="mDiv pt0">
  9. <div class="ftitle">
  10. {eq name="'UsersNotice@add'|is_check_access" value="1"}
  11. <div class="fbutton">
  12. <a href="javascript:void(0);" data-href="{:url('UsersNotice/add')}" onclick="openFullframe(this, '新增通知', '100%', '100%');">
  13. <div class="add" title="新增通知">
  14. <span><i class="layui-icon layui-icon-addition"></i>新增通知</span>
  15. </div>
  16. </a>
  17. </div>
  18. {/eq}
  19. </div>
  20. <form class="navbar-form form-inline" action="{:url('UsersNotice/index')}" method="get" onsubmit="layer_loading('正在处理');">
  21. {$searchform.hidden|default=''}
  22. <div class="sDiv">
  23. <div class="sDiv2">
  24. <input type="text" size="30" name="keywords" class="qsbox" placeholder="搜索相关数据...">
  25. <input type="submit" class="btn" value="搜索">
  26. <i class="iconfont e-sousuo"></i>
  27. </div>
  28. <div class="sDiv2" style="font-size: 12px;border: none;">
  29. <a href="JavaScript:void(0);" onclick="click_to_eyou_1575506523('https://www.eyoucms.com/doc/label/all/11112.html?1606469785','站内通知标签使用教程')" >
  30. 标签教程?
  31. </a>
  32. </div>
  33. </div>
  34. </form>
  35. </div>
  36. <div class="hDiv">
  37. <div class="hDivBox">
  38. <table cellspacing="0" cellpadding="0" style="width: 100%">
  39. <thead>
  40. <tr>
  41. <th class="sign w40" axis="col0">
  42. <div class="tc"><input type="checkbox" autocomplete="off" class="checkAll"></div>
  43. </th>
  44. <th abbr="article_show" axis="col5" class="w40">
  45. <div class="tc">ID</div>
  46. </th>
  47. <th abbr="article_title" axis="col3" >
  48. <div class="text-l10">通知标题</div>
  49. </th>
  50. <th abbr="ac_id" axis="col4" class="w160">
  51. <div class="text-l10">通知会员(ID)</div>
  52. </th>
  53. <th abbr="article_time" axis="col6" class="w160">
  54. <div class="tc">通知时间</div>
  55. </th>
  56. <th axis="col1" class="w120">
  57. <div class="tc">操作</div>
  58. </th>
  59. </tr>
  60. </thead>
  61. </table>
  62. </div>
  63. </div>
  64. <div class="bDiv" style="height: auto;">
  65. <div id="flexigrid" cellpadding="0" cellspacing="0" border="0">
  66. <table style="width: 100%">
  67. <tbody>
  68. {empty name="list"}
  69. <tr>
  70. <td class="no-data" align="center" axis="col0" colspan="50">
  71. <div class="no_row">
  72. <div class="no_pic"><img src="__SKIN__/images/null-data.png"></div>
  73. </div>
  74. </td>
  75. </tr>
  76. {else/}
  77. {volist name="list" id="vo"}
  78. <tr>
  79. <td class="sign">
  80. <div class="w40 tc"><input type="checkbox" autocomplete="off" name="ids[]" value="{$vo.id}"></div>
  81. </td>
  82. <td class="sort">
  83. <div class="w40 tc">
  84. {$vo.id}
  85. </div>
  86. </td>
  87. <td style="width: 100%">
  88. <div class="text-l10">
  89. <a href="javascript:void(0);" data-href="{:url('UsersNotice/edit',array('id'=>$vo['id']))}" onclick="openFullframe(this, '编辑站内通知', '100%', '100%');">{$vo.title}</a>
  90. </div>
  91. </td>
  92. <td>
  93. <div class="w160 text-l10 wot_z">
  94. {$vo.usernames}
  95. </div>
  96. </td>
  97. <td class="">
  98. <div class="w160 tc">
  99. {$vo.add_time|MyDate='Y-m-d H:i:s',###}
  100. </div>
  101. </td>
  102. <td class="operation">
  103. <div class="w120 tc">
  104. <a href="javascript:void(0);" data-href="{:url('UsersNotice/edit',array('id'=>$vo['id']))}" class="btn blue" onclick="openFullframe(this, '编辑站内通知', '100%', '100%');">编辑</a>
  105. <i></i>
  106. <a class="btn red" href="javascript:void(0)" data-url="{:url('UsersNotice/del')}" data-id="{$vo.id}" onClick="delfun(this);">删除</a>
  107. </div>
  108. </td>
  109. </tr>
  110. {/volist}
  111. {/empty}
  112. </tbody>
  113. </table>
  114. </div>
  115. <div class="iDiv" style="display: none;"></div>
  116. </div>
  117. {notempty name="list"}
  118. <div class="tDiv">
  119. <div class="tDiv2">
  120. <div class="fbutton checkboxall">
  121. <input type="checkbox" autocomplete="off" class="checkAll">
  122. </div>
  123. <div class="fbutton">
  124. <a onclick="batch_del(this, 'ids');" data-url="{:url('UsersNotice/del')}" class="layui-btn layui-btn-primary">
  125. <span>批量删除</span>
  126. </a>
  127. </div>
  128. {include file="public/page" /}
  129. </div>
  130. <div style="clear:both"></div>
  131. </div>
  132. {/notempty}
  133. </div>
  134. </div>
  135. <script>
  136. $(function(){
  137. $('input[name*=ids]').click(function(){
  138. if ($('input[name*=ids]').length == $('input[name*=ids]:checked').length) {
  139. $('.checkAll').prop('checked','checked');
  140. } else {
  141. $('.checkAll').prop('checked', false);
  142. }
  143. });
  144. $('input[type=checkbox].checkAll').click(function(){
  145. $('input[type=checkbox]').prop('checked',this.checked);
  146. });
  147. });
  148. $(document).ready(function(){
  149. // 表格行点击选中切换
  150. $('#flexigrid > table>tbody >tr').click(function(){
  151. $(this).toggleClass('trSelected');
  152. });
  153. // 点击刷新数据
  154. $('.fa-refresh').click(function(){
  155. location.href = location.href;
  156. });
  157. });
  158. </script>
  159. {include file="public/footer" /}