add.php 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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. .xm_xcxqTc_button {
  28. margin-top: -20px;
  29. }
  30. </style>
  31. <form class="layui-form layui-form-pane">
  32. <div class="layui_box">
  33. <div class="layui-form-item">
  34. <label class="layui-form-label " style="width: 130px"><span style="color:red">*</span>所属楼盘:</label>
  35. <div class="layui-input-inline" style="width:42.9%">
  36. <input type="text" id="house_name" name="house_name" disabled placeholder="请选择楼盘" autocomplete="off"
  37. class="layui-input">
  38. </div>
  39. <div class="layui-inline"><a class="layui-btn layui-btn-primary The_house" href="javascript:;">选择楼盘</a>
  40. </div>
  41. </div>
  42. <div class="layui-form-item">
  43. <label class="layui-form-label" style="width: 130px"><span style="color:red">*</span>设置邮箱:</label>
  44. <div class="layui-input-inline" style="width:62%">
  45. <input type="text" name="email" required lay-verify="email" placeholder="请输入需要发送的邮箱"
  46. class="layui-input">
  47. </div>
  48. </div>
  49. <div class="layui-form-item mt">
  50. <button class="layui-btn" lay-submit="" lay-filter="add">提 交</button>
  51. </div>
  52. </div>
  53. </form>