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

ui_index.htm 7.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. {include file="public/layout" /}
  2. <style type="text/css">
  3. .flexigrid .click_home {float: left;line-height: 24px;margin: 0 0 0 10px;}
  4. </style>
  5. <body class="bodystyle" style="cursor: default; -moz-user-select: inherit;">
  6. <div id="append_parent"></div>
  7. <div id="ajaxwaitid"></div>
  8. <div class="page">
  9. <div class="fixed-bar">
  10. <div class="item-title">
  11. <div class="subject">
  12. <h3>可视数据</h3>
  13. <h5></h5>
  14. </div>
  15. <ul class="tab-base nc-row">
  16. {if condition="in_array('pc', $templateArr)"}
  17. <li><a href="{:url("Uiset/ui_index", array('theme_style'=>'pc'))}" class="tab {eq name="$theme_style" value="pc"}current{/eq}"><span>电脑端</span></a></li>
  18. {/if}
  19. {if condition="in_array('mobile', $templateArr)"}
  20. <li><a href="{:url("Uiset/ui_index", array('theme_style'=>'mobile'))}" class="tab {eq name="$theme_style" value="mobile"}current{/eq}"><span>手机端</span></a></li>
  21. {/if}
  22. </ul>
  23. </div>
  24. </div>
  25. <div class="flexigrid">
  26. <div class="mDiv">
  27. <div class="ftitle">
  28. <h3>数据列表</h3>
  29. <h5>(共{$pager->totalRows}条数据)</h5>
  30. </div>
  31. <div title="刷新数据" class="pReload"><i class="fa fa-refresh"></i></div>
  32. <div class="click_home">
  33. {if condition="$theme_style == 'pc'"}
  34. <a href="{:url('Uiset/pc')}" target="_blank" class="tab">点击可视化编辑</a>
  35. {elseif condition="$theme_style == 'mobile'"}
  36. <a href="{:url('Uiset/mobile')}" target="_blank" class="tab">点击可视化编辑</a>
  37. {/if}
  38. </div>
  39. <form class="navbar-form form-inline" action="{:url('Uiset/ui_index')}" method="get" onsubmit="layer_loading('正在处理');">
  40. {$searchform.hidden|default=''}
  41. <div class="sDiv">
  42. <div class="sDiv2">
  43. <input type="text" size="30" name="keywords" class="qsbox" placeholder="搜索相关数据...">
  44. <input type="submit" class="btn" value="搜索">
  45. <i class="iconfont e-sousuo"></i>
  46. </div>
  47. </div>
  48. </form>
  49. </div>
  50. <div class="hDiv">
  51. <div class="hDivBox">
  52. <table cellspacing="0" cellpadding="0" style="width: 100%">
  53. <thead>
  54. <tr>
  55. <th class="sign w40" axis="col0">
  56. <div class=" tc">选择</div>
  57. </th>
  58. <th abbr="article_title" axis="col3" class="">
  59. <div style=" padding-left: 10px">文件分组(e-page)</div>
  60. </th>
  61. <th abbr="ac_id" axis="col4" class="w120">
  62. <div class="tc">标签类型(e-type)</div>
  63. </th>
  64. <th abbr="article_time" axis="col6" class="w120">
  65. <div class="tc">初始ID(e-id)</div>
  66. </th>
  67. <th abbr="article_time" axis="col6" class="w160">
  68. <div class="tc">更新时间</div>
  69. </th>
  70. <th axis="col1" class="w120">
  71. <div class="tc">操作</div>
  72. </th>
  73. </tr>
  74. </thead>
  75. </table>
  76. </div>
  77. </div>
  78. <div class="bDiv" style="height: auto;">
  79. <div id="flexigrid" cellpadding="0" cellspacing="0" border="0">
  80. <table style="width: 100%">
  81. <tbody>
  82. {empty name="list"}
  83. <tr>
  84. <td class="no-data" align="center" axis="col0" colspan="50">
  85. <div class="no_row">
  86. <div class="no_pic"><img src="__SKIN__/images/null-data.png"></div>
  87. </div>
  88. </td>
  89. </tr>
  90. {else/}
  91. {foreach name="list" item="vo" key="k" }
  92. <tr>
  93. <td class="sign w40">
  94. <div class="tc"><input type="checkbox" autocomplete="off" name="ids[]" value="{$vo.id}"></div>
  95. </td>
  96. <td class="">
  97. <div style=" padding-left: 10px">
  98. {$vo.page}
  99. </div>
  100. </td>
  101. <td class="w120">
  102. <div class="tc">
  103. {$vo.type}
  104. </div>
  105. </td>
  106. <td class="w120">
  107. <div class="tc">
  108. {$vo.name}
  109. </div>
  110. </td>
  111. <td class="w160">
  112. <div class="tc">
  113. {$vo.update_time|date='Y-m-d H:i:s',###}
  114. </div>
  115. </td>
  116. <td class="w120">
  117. <div class="tc">
  118. {eq name="$Think.const.CONTROLLER_NAME.'@del'|is_check_access" value="1"}
  119. <a class="btn red" href="javascript:void(0)" data-url="{:url('Uiset/del')}" data-id="{$vo.id}" onClick="delfun(this);"><i class="fa fa-trash-o"></i>删除</a>
  120. {/eq}
  121. </div>
  122. </td>
  123. </tr>
  124. {/foreach}
  125. {/empty}
  126. </tbody>
  127. </table>
  128. </div>
  129. <div class="iDiv" style="display: none;"></div>
  130. </div>
  131. <div class="tDiv">
  132. <div class="tDiv2">
  133. <div class="fbutton checkboxall">
  134. <input type="checkbox" autocomplete="off" onclick="javascript:$('input[name*=ids]').prop('checked',this.checked);">
  135. </div>
  136. {eq name="$Think.const.CONTROLLER_NAME.'@del'|is_check_access" value="1"}
  137. <div class="fbutton">
  138. <a onclick="batch_del(this, 'ids');" data-url="{:url('Uiset/del')}">
  139. <div class="add" title="批量删除">
  140. <span><i class="fa fa-close"></i>批量删除</span>
  141. </div>
  142. </a>
  143. </div>
  144. {/eq}
  145. </div>
  146. <div style="clear:both"></div>
  147. </div>
  148. <!--分页位置-->
  149. {$page}
  150. </div>
  151. </div>
  152. <script>
  153. $(document).ready(function(){
  154. // 表格行点击选中切换
  155. $('#flexigrid > table>tbody >tr').click(function(){
  156. $(this).toggleClass('trSelected');
  157. });
  158. // 点击刷新数据
  159. $('.fa-refresh').click(function(){
  160. location.href = location.href;
  161. });
  162. });
  163. </script>
  164. {include file="public/footer" /}