12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- <?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/pricetrend/price.js");
- ?>
- <style>
- body {
- padding: 15px;
- }
- .layui-elem-quote {
- margin-bottom: 0;
- border-left: none;
- padding: 10px;
- }
- </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-inline" style="margin:0px 5px 0px 30px">
- <div class="layui-input-inline">
- <select name="input_city" lay-verify="required" lay-search="">
- <option value="">直接选择或搜索选择</option>
- <?php foreach ($rows as $k => $v) { ?>
- <option value="<?php echo $v['city_id'] ?>"><?php echo $v['city_name'] ?></option>
- <?php } ?>
- </select>
- </div>
- </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>
- </div>
- </blockquote>
- <table id="citylist" lay-filter="citylist"></table>
- <script type="text/html" id="operate">
- <a class="layui-btn layui-btn-xs" lay-event="add"">新增</a>
- <a class="layui-btn layui-btn-xs" lay-event="edit">查看历史价格</a>
- </script>
|