housetype.php 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: xiaofeng
  5. * Date: 2018/3/24
  6. * Time: 上午9:34
  7. */
  8. use backend\assets\AppAsset;
  9. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/housetypebinding.js");
  10. ?>
  11. <style>
  12. #Images li{background: #f2f2f2;width:19%;}
  13. </style>
  14. <form class="layui-form">
  15. <blockquote class="layui-elem-quote quoteBox">
  16. <!-- <div class="layui-input-inline">-->
  17. <!-- <select name="quiz1">-->
  18. <!-- <option value="标题" selected="">标题</option>-->
  19. <!-- <option value="关键词" selected="">关键词</option>-->
  20. <!-- <option value="文档ID" selected="">文档ID</option>-->
  21. <!-- <option value="会员" selected="">会员</option>-->
  22. <!-- </select>-->
  23. <!-- </div>-->
  24. <!-- <div class="layui-inline">-->
  25. <!-- <div class="layui-input-inline">-->
  26. <!-- <input type="text" class="layui-input searchVal" placeholder="请输入搜索的内容" />-->
  27. <!-- </div>-->
  28. <!-- </div>-->
  29. <!-- <div class="layui-input-inline">-->
  30. <!-- <select name="album_id">-->
  31. <!-- <option value="" selected="">请选择</option>-->
  32. <!-- --><?php //foreach($model as $val){?>
  33. <!-- <option value="--><?php //echo $val['id']?><!--" >--><?php //echo $val['name'] ?><!--</option>-->
  34. <!---->
  35. <!-- --><?php //}?>
  36. <!-- </select>-->
  37. <!-- </select>-->
  38. <!-- </div>-->
  39. <!-- <div class="layui-input-inline">-->
  40. <!-- <select name="quiz1">-->
  41. <!-- <option value="三亚市" selected="">添加时间</option>-->
  42. <!-- <option value="三亚市" selected="">辑内排序</option>-->
  43. <!-- </select>-->
  44. <!-- </div>-->
  45. <div class="layui-inline">
  46. <!-- <a class="layui-btn " id="add-album">添加户型</a>-->
  47. </div>
  48. </blockquote>
  49. <!-- <div class="layui-inline">-->
  50. <!-- <input type="checkbox" name="selectAll" id="selectAll" lay-filter="selectAll" lay-skin="primary" title="全选">-->
  51. <!-- </div>-->
  52. <!-- <div class="layui-inline">-->
  53. <!-- <a class="layui-btn layui-btn-sm layui-btn-danger batchDel">批量删除</a>-->
  54. <!-- </div>-->
  55. <!-- <ul class="layer-photos-demo" id="Images"></ul>-->
  56. <input type="hidden" name="hid" value="<?php echo $post['id']?>">
  57. <input type="hidden" name="name" value="<?php echo $post['name']?>">
  58. </form>
  59. <table id="housetypelist" lay-filter="housetypelist"></table>
  60. <!--操作-->
  61. <script type="text/html" id="housesalbumListBar">
  62. <!-- {{# if(d.state === 'N'){ }}-->
  63. <!-- <a class="layui-btn layui-btn-xs layui-btn-primary" lay-event="examine"> <span style="">审核</span></a>-->
  64. <!-- {{# } else { }}-->
  65. <!-- <a class="layui-btn layui-btn-xs layui-btn-primary" lay-event="examine">-->
  66. <!-- <span style="color: #ff5722;">解审</span>-->
  67. <!-- </a>-->
  68. <!-- {{# } }}-->
  69. <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
  70. <a class="layui-btn layui-btn-xs layui-btn-danger" lay-event="del">删除</a>
  71. <!-- <a class="layui-btn layui-btn-xs layui-btn-primary" lay-event="look">预览</a>-->
  72. </script>
  73. <!-- 判断数据 -->
  74. <script type="text/html" id="examineTpl">
  75. {{# if(d.state === 'N'){ }}
  76. <span style="color: #ff5722;">{{ d.state }}</span>
  77. {{# } else { }}
  78. {{ d.state }}
  79. {{# } }}
  80. </script>