priceadd.php 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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/houseprice.js");
  10. ?>
  11. <style>
  12. .xm_qytc_box {width:50%;margin:20px auto 0;}
  13. .layui_w_btn {display:none;} /*去除删除按钮 特别需求*/
  14. </style>
  15. <div class="xm_qytc_box">
  16. <!-- <span>楼盘相册 - 详情</span>-->
  17. <!-- <hr class="layui-bg-blue">-->
  18. <form class="layui-form layui-form-pane" id="price_form">
  19. <div class="layui-form-item">
  20. <label class="layui-form-label">所属-楼盘</label>
  21. <a href="javascript:;" style="display: inline-block;line-height:38px;padding-left: 10px;"><?php echo $post['name'] ?></a>
  22. </div>
  23. <div class="layui-form-item">
  24. <label class="layui-form-label"><span style="color:red">*</span>均价</label>
  25. <div class="layui-input-inline" style="width:270px;">
  26. <input type="text" name="price" value="<?php echo $model['sale_price'] ?>" lay-verify="required" placeholder="请输入均价" autocomplete="off" class="layui-input">
  27. </div>
  28. </div>
  29. <div class="layui-form-item">
  30. <label class="layui-form-label">最低价</label>
  31. <div class="layui-input-inline" style="width:270px;">
  32. <input type="text" name="min_price" placeholder="请输入最低价" autocomplete="off" class="layui-input">
  33. </div>
  34. </div>
  35. <div class="layui-form-item">
  36. <label class="layui-form-label">价格说明</label>
  37. <div class="layui-input-inline" style="width:390px;">
  38. <textarea name="explain" placeholder="请输入价格说明" class="layui-textarea"></textarea>
  39. </div>
  40. </div>
  41. <div class="layui-form-item">
  42. <label class="layui-form-label">添加时间:</label>
  43. <div class="layui-input-block">
  44. <input type="text" name="create_time" id="date1" autocomplete="off" class="layui-input" style="width:270px;">
  45. </div>
  46. </div>
  47. <div class="layui-form-item">
  48. <div class="layui-input-block xm_xcxqTc_tj" style="margin:20px 0 0 15%;">
  49. <input type="hidden" name="hid" value="<?php echo $model['id'] ?>">
  50. <button class="layui-btn" lay-submit="" lay-filter="pricetijiao">提交</button>
  51. </div>
  52. </div>
  53. </form>
  54. </div>