hotsale.php 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: xiaofeng
  5. * Date: 2018/3/18
  6. * Time: 下午3:49
  7. */
  8. use backend\assets\AppAsset;
  9. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/push/hotsale.js");
  10. ?>
  11. <style>
  12. body {
  13. padding: 15px;
  14. }
  15. .layui-elem-quote {
  16. margin-bottom: 0;
  17. border-left: none;
  18. padding: 10px;
  19. }
  20. .layui-table-page .layui-laypage {float:right;margin-right:1%;}
  21. .layui-table-view .layui-form-switch{right:0px}
  22. </style>
  23. <form action="" class="layui-form">
  24. <fieldset class="layui-elem-field">
  25. <legend>搜索信息</legend>
  26. <div class="layui-field-box">
  27. <blockquote class="quoteBox demoTable">
  28. <div class="layui-input-inline">
  29. <?php if(!empty($city)){ ?>
  30. <select name="input_city">
  31. <option value="" >请选择区域</option>
  32. <?php foreach($city as $k=>$v){ ?>
  33. <option value="<?php echo $v['id'] ?>" ><?php echo $v['city_name'] ?></option>
  34. <?php } ?>
  35. </select>
  36. <?php } ?>
  37. </div>
  38. <div class="layui-inline">
  39. <div class="layui-input-inline">
  40. <input type="text" name="input_house_text" class="layui-input searchVal" placeholder="请输入楼盘名称" />
  41. </div>
  42. </div>
  43. <div class="layui-inline">
  44. <a class="layui-btn search_btn" data-type="reload"><i class="layui-icon layui-icon-search"></i>搜索</a>
  45. </div>
  46. <input type="hidden" name="typeid" value="<?php echo $type ?>">
  47. </blockquote>
  48. </div></fieldset>
  49. </form>
  50. <blockquote class="layui-elem-quote quoteBox demoTable">
  51. <div class="layui-btn-group demoTable" >
  52. <a class="layui-btn" data-type="addData">新增</a>
  53. </div></blockquote>
  54. <table id="videolist" lay-filter="videolist"></table>
  55. <script type="text/html" id="operate">
  56. <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a>
  57. </script>
  58. <!-- 排序 -->
  59. <script type="text/html" id="sortBox">
  60. {{# if(d.sort){ }}
  61. <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>
  62. {{# } }}
  63. </script>
  64. <!-- <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a> -->