houseadd.php 1.3 KB

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. use backend\assets\AppAsset;
  3. AppAsset::addScript($this,Yii::$app->request->baseUrl."/js/pushrecommend/houseload.js");
  4. ?>
  5. <style>
  6. .layui_box {width:80%;margin:0 auto;margin-top:25px;}
  7. .layui-code, .layui-upload-list {margin-top:0;}
  8. hr {width:100%;margin:0 auto;}
  9. .mt {text-align:center;margin-top:15px;}
  10. .The_house {background:#FBFBFB;color:#333;}
  11. .The_house:hover {border:1px solid #a9a9a9;color:#333;}
  12. .xm_xcxqTc_button {margin-top:-20px;}
  13. </style>
  14. <form class="layui-form layui-form-pane">
  15. <div class="layui_box">
  16. <div class="layui-form-item">
  17. <label class="layui-form-label "><span style="color:red">*</span>所属楼盘:</label>
  18. <div class="layui-input-inline" style="width:43%">
  19. <input type="text" id="house_name" name="house_name" required lay-verify="required" disabled placeholder="请输入分类名称" autocomplete="off" class="layui-input">
  20. </div>
  21. <div class="layui-inline"><a class="layui-btn layui-btn-primary The_house" href="javascript:;">选择所属楼盘</a></div>
  22. </div>
  23. <input type="hidden" name="cat_id" value="<?php echo $cat_id ?>">
  24. <div class="layui-form-item mt">
  25. <button class="layui-btn" lay-submit="" lay-filter="add">提交</button>
  26. </div>
  27. </div>
  28. </form>