1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- <?php
- /**
- * Created by PhpStorm.
- * User: xiaofeng
- * Date: 2018/3/6
- * Time: 下午2:30
- */
- use backend\assets\AppAsset;
- AppAsset::addScript($this, Yii::$app->request->baseUrl . "/js/routine/video.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">
- <select name="input_house">
- <option value="name" selected="">视频标题</option>
- <option value="house_name">所属楼盘</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>
- <div class="layui-input-inline">
- <select name="input_city" lay-search>
- <option value="">请选择区域</option>
- <?php foreach ($city as $val) { ?>
- <option value="<?php echo $val['id'] ?>"><?php echo $val['city_name'] ?></option>
- <?php } ?>
- </select>
- </div>
- <div class="layui-input-inline">
- <select name="type_name">
- <option value="">请选择分类名称</option>
- <?php foreach ($video as $val) { ?>
- <option value="<?php echo $val['id'] ?>"><?php echo $val['type_name'] ?></option>
- <?php } ?>
- </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-btn-group demoTable">
- <a class="layui-btn" data-type="addData">新增</a>
- <!-- <button class="layui-btn" data-type="getCheckLength">获取选中数目</button>-->
- <!-- <button class="layui-btn" data-type="isAll">验证是否全选</button>-->
- </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>
|