homediscountadd.php 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. <?php
  2. /**
  3. * Created by PhpStorm.
  4. * User: xiaofeng
  5. * Date: 2018/3/6
  6. * Time: 下午5:49
  7. */
  8. use backend\assets\AppAsset;
  9. AppAsset::addScript($this, Yii::$app->request->baseUrl . "/js/push/homediscount.js");
  10. ?>
  11. <style>
  12. .layui_box {
  13. width: 80%;
  14. margin: 0 auto;
  15. margin-top: 25px;
  16. }
  17. .layui-code, .layui-upload-list {
  18. margin-top: 0;
  19. }
  20. hr {
  21. width: 100%;
  22. margin: 0 auto;
  23. }
  24. .mt {
  25. text-align: center;
  26. margin-top: 15px;
  27. }
  28. .The_house {
  29. background: #FBFBFB;
  30. color: #333;
  31. }
  32. .The_house:hover {
  33. border: 1px solid #a9a9a9;
  34. color: #333;
  35. }
  36. .xm_xcxqTc_button {
  37. margin-top: -20px;
  38. }
  39. </style>
  40. <form class="layui-form layui-form-pane">
  41. <div class="layui_box">
  42. <div class="layui-form-item">
  43. <label class="layui-form-label "><span style="color:red">*</span>所属楼盘:</label>
  44. <div class="layui-input-inline" style="width:43%">
  45. <input type="text" id="house_name" name="house_name" required lay-verify="required" disabled
  46. placeholder="请选择所属楼盘" autocomplete="off" class="layui-input">
  47. </div>
  48. <div class="layui-inline"><a class="layui-btn layui-btn-primary The_house" href="javascript:;">选择所属楼盘</a>
  49. </div>
  50. </div>
  51. <div class="layui-form-item">
  52. <label class="layui-form-label"><span style="color:red">*</span>优惠信息:</label>
  53. <div class="layui-input-inline" style="width:64%">
  54. <input type="text" name="title" required lay-verify="required" placeholder="请输入优惠信息"
  55. class="layui-input">
  56. </div>
  57. </div>
  58. <div class="layui-form-item mt">
  59. <button class="layui-btn" lay-submit="" lay-filter="adds">提交</button>
  60. </div>
  61. </div>
  62. </form>