123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151 |
- <?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/housesort.js");
- ?>
- <style>
- .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="layui-elem-quote quoteBox demoTable">
- <!-- <div class="layui-inline">-->
- <!-- <a class="layui-btn layui-btn-normal " data-type="addData">添加楼盘</a>-->
- <!-- </div>-->
- <!---->
- <!-- <div class="layui-inline">-->
- <!-- <a class="layui-btn layui-btn-normal " data-type="saveData">批量操作</a>-->
- <!-- </div>-->
- <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" class="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>
- <!-- <span>状态:</span>-->
- <!-- <div class="layui-input-inline">-->
- <!-- <select name="show" lay-filter="show" lay-search="">-->
- <!-- <option value="">请选择楼盘状态</option>-->
- <!-- --><?php // foreach (Yii::$app->params['house_view'] as $key=>$val){ ?>
- <!-- <option value="--><?//= $key ?><!--">--><?//= $val ?><!--</option>-->
- <!-- --><?php //} ?>
- <!-- </select>-->
- <!-- </div>-->
- <!-- <span>主推楼盘:</span>-->
- <!-- <div class="layui-input-inline">-->
- <!-- <select name="is_push" lay-search="">-->
- <!-- <option value="">请选择楼盘主推状态</option>-->
- <!---->
- <!-- <option value="2">是</option>-->
- <!-- <option value="1">否</option>-->
- <!-- </select>-->
- <!-- </div>-->
- <!-- <br/>-->
- <span>时间:</span>
- <div class="layui-input-inline" >
- <input type="text" name="start_time" id="date1" placeholder="开始时间" autocomplete="off" class="layui-input" >
- </div>
- -
- <div class="layui-input-inline" >
- <input type="text" name="end_time" id="date2" placeholder="结束时间" autocomplete="off" class="layui-input" >
- </div>
- <div class="layui-input-inline">
- <select name="input_sort">
- <option value="" selected="">排序方式</option>
- <option value="sort" >市列表页</option>
- <option value="regionsort" >省列表页</option>
- <option value="allsort" >全国列表页</option>
- </select>
- </div>
- <div class="layui-inline">
- <a class="layui-btn search_btn wu_search_btn" data-type="reload">搜索</a>
- </div>
- <!-- <div class="layui-input-inline">-->
- <!-- <select name="input_sort">-->
- <!-- <option value="" selected="">排序方式</option>-->
- <!-- <option value="click" >按点击数</option>-->
- <!-- </select>-->
- <!-- </div>-->
- <div class="layui-form-item" style="padding-right: 220px;">
- <div class="layui-inline">
- <label class="layui-form-label">清零排序</label>
- <div class="layui-input-inline" style="width: 300px">
- <a class="layui-btn layui-btn-normal search_btn wu_search_btn" data-type="qing_1">市列表</a>
- <a class="layui-btn layui-btn-normal search_btn wu_search_btn" data-type="qing_2">省列表</a>
- <a class="layui-btn layui-btn-normal search_btn wu_search_btn" data-type="qing_3">国列表</a>
- </div>
- </div>
- </div>
- </blockquote>
- </div></fieldset>
- <table id="housesList" lay-filter="housesList"></table>
- <!--操作-->
- <!-- <script type="text/html" id="housesListBar">-->
- <!-- -->
- <!-- <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>-->
- <!-- <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="house_price">价格</a>-->
- <!-- <a class="layui-btn layui-btn-xs layui-btn-warm" lay-event="house_presell">预售证</a>-->
- <!-- </script>-->
- <!-- <a class="layui-btn layui-btn-xs layui-btn-primary" lay-event="house_price">价格</a>-->
- <!-- </script>-->
- </form>
- <!-- 判断数据 -->
- <script type="text/html" id="Toexamine">
- {{# if(d.is_view === 'N'){ }}
- <span style="color: #ff5722;">{{ d.is_view }}</span>
- {{# } else { }}
- {{ d.is_view }}
- {{# } }}
- </script>
- <!-- 排序 -->
- <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>
|