123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- <?php
- /**
- * Created by PhpStorm.
- * User: xiaofeng
- * Date: 2018/3/18
- * Time: 下午3:49
- */
- use backend\assets\AppAsset;
- AppAsset::addScript($this, Yii::$app->request->baseUrl . "/js/push/rotation.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%;
- }
- .layui-table-view .layui-form-switch {
- right: 0px
- }
- </style>
- <form action="" class="layui-form">
- <fieldset class="layui-elem-field">
- <legend>搜索信息</legend>
- <div class="layui-field-box">
- <blockquote class="quoteBox demoTable">
- <div class="layui-input-inline">
- <?php if (!empty($city)) { ?>
- <select name="input_city" lay-search>
- <option value="">请选择区域</option>
- <?php foreach ($city as $k => $v) { ?>
- <option value="<?php echo $v['id'] ?>"><?php echo $v['city_name'] ?></option>
- <?php } ?>
- </select>
- <?php } ?>
- </div>
- <div class="layui-inline">
- <div class="layui-input-inline">
- <input type="text" name="input_house_text" class="layui-input searchVal"
- placeholder="请输入搜索的内容"/>
- </div>
- </div>
- <div class="layui-inline">
- <a class="layui-btn search_btn" data-type="reload"><i class="layui-icon layui-icon-search"></i>搜索</a>
- </div>
- <div class="layui-inline">
- <a class="layui-btn layui-btn-danger search_btn layui_w_btn" lay-submit=""
- lay-filter="del_alls_push">批量删除</a>
- </div>
- </blockquote>
- </div>
- </fieldset>
- </form>
- <blockquote class="layui-elem-quote quoteBox demoTable">
- <div class="layui-btn-group demoTable">
- <a class="layui-btn" data-type="addData">新增</a>
- </div>
- </blockquote>
- <table id="videolist" lay-filter="videolist"></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>
|