home.php 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: xiaofeng
  5. * Date: 2018/3/6
  6. * Time: 下午2:30
  7. */
  8. use backend\assets\AppAsset;
  9. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/routine/decoration.js");
  10. ?>
  11. <style>
  12. body { padding: 15px;}
  13. .layui-elem-quote {margin-bottom: 0;border-left: none;padding: 10px;}
  14. .layui-table-view .layui-form-switch {right:15px;}
  15. .layui-form-switch {height:18px;line-height:18px;padding:0 4px;}
  16. .layui-form-switch i {top:1px;left:2px}
  17. .layui-form-onswitch i {left:32px;}
  18. .layui-table-page .layui-laypage {float:right;margin-right:1%;}
  19. .layui-table-view .layui-form-switch{right:0px}
  20. </style>
  21. <form class="layui-form" > <fieldset class="layui-elem-field">
  22. <legend>搜索信息</legend>
  23. <div class="layui-field-box">
  24. <blockquote class="quoteBox demoTable">
  25. <div class="layui-inline">
  26. <div class="layui-input-inline">
  27. <input type="text" name="input_house_text" class="layui-input searchVal" placeholder="请输入标题" />
  28. </div>
  29. </div>
  30. <div class="layui-inline">
  31. <a class="layui-btn search_btn wu_search_btn" data-type="reload" ><i class="layui-icon layui-icon-search"></i>搜索</a>
  32. </div>
  33. </blockquote>
  34. </div></fieldset>
  35. <blockquote class="layui-elem-quote quoteBox demoTable">
  36. <div class="layui-inline">
  37. <a class="layui-btn layui-btn-normal " data-type="addData">添加品鉴</a>
  38. </div></blockquote>
  39. <table id="newsList" lay-filter="newsList"></table>
  40. <!--操作-->
  41. <script type="text/html" id="housesListBar">
  42. <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
  43. <!-- <a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del">删除</a>-->
  44. </script>
  45. </form>
  46. <!-- 排序 -->
  47. <script type="text/html" id="sortBox">
  48. {{# if(d.sort){ }}
  49. <div style="border:1px solid #E6E6E6;height:27px;line-height:27px;box-shadow:1px 1px 1px 1px rgba(224, 224, 224, 0.76);">{{ d.clicks }}</div>
  50. {{# } }}
  51. </script>
  52. <!-- 点击数 -->
  53. <script type="text/html" id="clicksBox">
  54. {{# if(d.click){ }}
  55. <div style="border:1px solid #E6E6E6;height:27px;line-height:27px;box-shadow:1px 1px 1px 1px rgba(224, 224, 224, 0.76);">{{ d.click }}</div>
  56. {{# } }}
  57. </script>