1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- <?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/choice.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>
- </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>
|