Browse Source

修改模板文件

邹景立 2 years ago
parent
commit
48f1c79c80
1 changed files with 1 additions and 6 deletions
  1. 1 6
      app/data/view/news/item/select.html

+ 1 - 6
app/data/view/news/item/select.html

@@ -1,4 +1,3 @@
-{block name="content"}
 <div class="iframe-pagination notfooter">
     <fieldset>
         <legend>条件搜索</legend>
@@ -41,9 +40,7 @@
     </fieldset>
     <table id="NewsTable" data-url="{:sysuri()}" data-target-search="#NewsTableSearch"></table>
 </div>
-{/block}
 
-{block name='script'}
 <script>
     $(function () {
         // 初始化表格组件
@@ -82,6 +79,4 @@
 <!-- 数据状态切换模板 -->
 <script type="text/html" id="StatusSwitchTpl">
     {{-d.status ? '<b class="color-green">已激活</b>' : '<b class="color-red">已禁用</b>'}}
-</script>
-
-{/block}
+</script>