edit.php 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <?php
  2. use backend\assets\AppAsset;
  3. AppAsset::addScript($this, Yii::$app->request->baseUrl . "/js/houseemail.js");
  4. ?>
  5. <style>
  6. .layui_box {
  7. width: 80%;
  8. margin: 0 auto;
  9. margin-top: 25px;
  10. }
  11. hr {
  12. width: 100%;
  13. margin: 0 auto;
  14. }
  15. .mt {
  16. text-align: center;
  17. margin-top: 15px;
  18. }
  19. .The_house {
  20. background: #FBFBFB;
  21. color: #333;
  22. }
  23. .The_house:hover {
  24. border: 1px solid #a9a9a9;
  25. color: #333;
  26. }
  27. </style>
  28. <form class="layui-form layui-form-pane">
  29. <div class="layui_box">
  30. <div class="layui-form-item">
  31. <label class="layui-form-label " style="width: 130px"><span style="color:red">*</span>所属楼盘:</label>
  32. <div class="layui-input-inline" style="width:42.9%">
  33. <input type="text" id="house_name" name="house_name"
  34. value="<?php echo Yii::$app->request->get('house_name') ?>" disabled placeholder="请选择楼盘"
  35. autocomplete="off" class="layui-input">
  36. </div>
  37. <div class="layui-inline"><a class="layui-btn layui-btn-primary The_house" href="javascript:;">选择楼盘</a>
  38. </div>
  39. </div>
  40. <div class="layui-form-item">
  41. <label class="layui-form-label" style="width: 130px"><span style="color:red">*</span>设置邮箱:</label>
  42. <div class="layui-input-inline" style="width:62%">
  43. <input type="text" name="email" value="<?php echo $row['email'] ?>" required lay-verify="email"
  44. placeholder="请输入需要发送的邮箱" class="layui-input">
  45. </div>
  46. </div>
  47. <div class="layui-form-item mt">
  48. <input type="hidden" name="id" value="<?php echo $row['id'] ?>">
  49. <button class="layui-btn" lay-submit="" lay-filter="edit">提 交</button>
  50. </div>
  51. </div>
  52. </form>