timelimitsgroupadd.php 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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/pushm/timelimitsgroup.js");
  10. ?>
  11. <style>
  12. .layui_box {width:80%;margin:0 auto;margin-top:25px;}
  13. .layui-code, .layui-upload-list {margin-top:0;}
  14. hr {width:100%;margin:0 auto;}
  15. .mt {text-align:center;margin-top:15px;}
  16. .The_house {background:#FBFBFB;color:#333;}
  17. .The_house:hover {border:1px solid #a9a9a9;color:#333;}
  18. .xm_xcxqTc_button {margin-top:-20px;}
  19. element.style { height: 345px;}
  20. </style>
  21. <form class="layui-form layui-form-pane">
  22. <div class="layui_box">
  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:43%">
  26. <input type="text" id="house_name" name="house_name" required lay-verify="required" disabled placeholder="请选择楼盘" autocomplete="off" class="layui-input">
  27. </div>
  28. <div class="layui-inline"><a class="layui-btn layui-btn-primary The_house" href="javascript:;">选择所属楼盘</a></div>
  29. </div>
  30. <div class="layui-form-item" style="display: none;">
  31. <label class="layui-form-label ">关注人数:</label>
  32. <div class="layui-input-inline" style="width:43%">
  33. <input type="text" name="click" placeholder="关注人数" autocomplete="off" class="layui-input">
  34. </div>
  35. </div>
  36. <div class="layui-form-item" style="display: none;">
  37. <label class="layui-form-label ">抢购人数:</label>
  38. <div class="layui-input-inline" style="width:43%">
  39. <input type="text" name="group_num" placeholder="抢购人数" autocomplete="off" class="layui-input">
  40. </div>
  41. </div>
  42. <div class="layui-form-item" style="display: none;">
  43. <label class="layui-form-label ">团购价:</label>
  44. <div class="layui-input-inline" style="width:43%">
  45. <input type="text" name="group_price" placeholder="如:1000元/m²或者1000万/套" autocomplete="off" class="layui-input">
  46. </div>
  47. </div>
  48. <div class="layui-form-item" style="display: none;">
  49. <div class="layui-inline">
  50. <label class="layui-form-label">团购时间</label>
  51. <div class="layui-input-block" style="width:270px;">
  52. <!-- -->
  53. <input type="text" name="start_time" id="EventDate" placeholder="团购时间" autocomplete="off" class="layui-input">
  54. </div>
  55. </div>
  56. </div>
  57. <div class="layui-form-item">
  58. <label class="layui-form-label ">区域:</label>
  59. <div class="layui-input-inline" style="width:43%">
  60. <select name="city" lay-filter="cityname" lay-search="">
  61. <option value="0" >请选择区域</option>
  62. <?php foreach ($city as $val){?>
  63. <option value="<?php echo $val['id']?>" ><?php echo $val['city_name']?></option>
  64. <?php }?>
  65. </select>
  66. </div>
  67. </div>
  68. <input type="hidden" name="type" value="<?php echo $type ?>">
  69. <div class="layui-form-item mt">
  70. <input type="hidden" name="province" value="">
  71. <button class="layui-btn" lay-submit="" lay-filter="add">提交</button>
  72. </div>
  73. </div>
  74. </form>