123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- <?php
- /**
- * Created by PhpStorm.
- * User: xiaofeng
- * Date: 2018/3/14
- * Time: 下午3:24
- */
- use backend\assets\AppAsset;
- AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/news/knowledge.js");
- ?>
- <style>
- body {padding: 15px;}
- .layui-elem-quote {margin-bottom: 0;border-left: none;padding: 10px;}
- .layui-table-view .layui-form-switch {right:15px;}
- .layui-form-switch {height:18px;line-height:18px;padding:0 4px;}
- .layui-form-switch i {top:1px;left:2px}
- .layui-form-onswitch i {left:32px;}
- .layui-table-page .layui-laypage {float:right;margin-right:1%;}
- .layui-table-view .layui-form-switch{right:0px}
- </style>
- <form class="layui-form" >
- <fieldset class="layui-elem-field">
- <legend>搜索信息</legend>
- <div class="layui-field-box">
- <blockquote class="quoteBox demoTable">
- <div class="layui-input-inline" style="width:100px">
- <select name="input_house" >
- <option value="name" selected="">标题</option>
- <option value="id" >文档id</option>
- </select>
- </div>
- <div class="layui-inline">
- <div class="layui-input-inline">
- <input type="text" name="input_house_text" class="layui-input searchVal" placeholder="请输入搜索的内容" />
- </div>
- </div>
- <span>栏目</span>
- <div class="layui-input-inline">
- <select name="province" lay-filter="province" lay-search="">
- <option value="">请选择父类栏目</option>
- </select>
- </div>
- <div class="layui-input-inline">
- <select name="label_id" lay-filter="city" lay-search="">
- <option value="">请选择子类栏目</option>
- </select>
- </div>
-
- <!-- <div class="layui-inline">-->
- <!-- <a class="layui-btn layui-btn-danger layui-btn-normal delAll_btn">批量删除</a>-->
- <!-- </div>-->
- <div class="layui-inline">
- <a class="layui-btn search_btn wu_search_btn" data-type="reload"><i class="layui-icon layui-icon-search"></i>搜索</a>
- </div>
- </blockquote>
- </div></fieldset>
- <blockquote class="layui-elem-quote quoteBox demoTable">
- <div class="layui-inline">
- <a class="layui-btn layui-btn-normal " data-type="addData">添加资讯</a>
- </div></blockquote>
- <table id="newsList" lay-filter="newsList"></table>
- <!-- <div class="layui-inline ">
- <a class="layui-btn search_btn" style="margin-left: 400px;margin-top:15px;" lay-submit="" lay-filter="del_alls_news">批量删除</a>
- </div> -->
- <!--操作-->
- <script type="text/html" id="housesListBar">
- <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
- <!-- <a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del">删除</a>-->
- </script>
- </form>
- <!-- 排序 -->
- <script type="text/html" id="sortBox">
- {{# if(d.sort){ }}
- <div style="border:1px solid #E6E6E6;height:27px;line-height:27px;box-shadow:1px 1px 1px 1px rgba(224, 224, 224, 0.76);">{{ d.sort }}</div>
- {{# } }}
- </script>
- <!-- 点击数 -->
- <script type="text/html" id="clicksBox">
- {{# if(d.clicks){ }}
- <div style="border:1px solid #E6E6E6;height:27px;line-height:27px;box-shadow:1px 1px 1px 1px rgba(224, 224, 224, 0.76);">{{ d.clicks }}</div>
- {{# } }}
- </script>
|