12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <?php
- /**
- * Created by PhpStorm.
- * User: xiaofeng
- * Date: 2018/3/6
- * Time: 下午2:30
- */
- use backend\assets\AppAsset;
- AppAsset::addCss($this,Yii::$app->request->baseUrl."/static/layui/css/treetable.css");
- AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/newslabel/knowledge.js");
- ?>
- <style>
- body {
- padding: 15px;
- }
- .layui-elem-quote {
- margin-bottom: 0;
- border-left: none;
- padding: 10px;
- }
- .layui-table-page .layui-laypage {float:right;margin-right:1%;}
- </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">
- <select name="province" lay-filter="province" lay-search="">
- <option value="">请选择主栏目</option>
- </select>
- </div>
- <div class="layui-input-inline">
- <select name="city" lay-filter="city" lay-search="">
- <option value="">请选择子栏目</option>
- </select>
- </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>
- </form>
- <blockquote class="layui-elem-quote quoteBox demoTable">
- <div class="layui-input-inline">
- <a class="layui-btn layui-btn-normal" data-type="addDatas">新增</a>
- <!-- <button class="layui-btn" data-type="getCheckLength">获取选中数目</button>-->
- <!-- <button class="layui-btn" data-type="isAll">验证是否全选</button>-->
- </div></blockquote>
- <table id="menulist" lay-filter="menulist"></table>
- <script type="text/html" id="operate">
- <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
- <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
- </script>
|