weirdo.php 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: xiaofeng
  5. * Date: 2018/3/14
  6. * Time: 下午3:24
  7. */
  8. use backend\assets\AppAsset;
  9. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/news/weirdo.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" >
  22. <fieldset class="layui-elem-field">
  23. <legend>搜索信息</legend>
  24. <div class="layui-field-box">
  25. <blockquote class="quoteBox demoTable">
  26. <div class="layui-inline">
  27. <div class="layui-input-inline">
  28. <input type="text" name="input_house_text" class="layui-input searchVal" placeholder="请输入搜索的内容" />
  29. </div>
  30. </div>
  31. <div class="layui-inline">
  32. <a class="layui-btn search_btn wu_search_btn" data-type="reload" ><i class="layui-icon layui-icon-search"></i>搜索</a>
  33. </div>
  34. </blockquote>
  35. </div></fieldset>
  36. <blockquote class="layui-elem-quote quoteBox demoTable">
  37. <div class="layui-inline">
  38. <a class="layui-btn layui-btn-normal " data-type="addData">添加奇葩说</a>
  39. </div></blockquote>
  40. <table id="newsList" lay-filter="newsList"></table>
  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.sort }}</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>