astrictadd.php 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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/usersignup/astrict.js')
  10. ?>
  11. <form class="layui-form" action="" style="margin-top: 50px">
  12. <div class="layui-form-item">
  13. <label class="layui-form-label">电话号码</label>
  14. <div class="layui-input-block" style="width: 300px;">
  15. <input type="text" name="mobile" required lay-verify="required|phone|number" placeholder="请输入电话号码" autocomplete="off" class="layui-input">
  16. </div>
  17. </div>
  18. <!-- <div class="layui-form-item layui-form-text">-->
  19. <!-- <label class="layui-form-label">时间</label>-->
  20. <!-- <div class="layui-input-block" style="width: 600px;">-->
  21. <!-- <div class="layui-input-inline" >-->
  22. <!-- <input type="text" name="start_time" id="date1" placeholder="开始时间" autocomplete="off" class="layui-input" >-->
  23. <!-- </div>-->
  24. <!-- --->
  25. <!-- <div class="layui-input-inline" >-->
  26. <!-- <input type="text" name="end_time" id="date2" placeholder="结束时间" autocomplete="off" class="layui-input" >-->
  27. <!-- </div>-->
  28. <!-- </div>-->
  29. <!-- </div>-->
  30. <div class="layui-form-item layui-form-text">
  31. <label class="layui-form-label">限制提示</label>
  32. <div class="layui-input-block" style="width: 300px;">
  33. <input type="text" name="astrict_msg" required value="该号码已暂停报名" lay-verify="required" placeholder="请输入电话号码" autocomplete="off" class="layui-input">
  34. </div>
  35. </div>
  36. <div class="layui-form-item">
  37. <div class="layui-input-block">
  38. <button class="layui-btn" lay-submit lay-filter="addnews">立即提交</button>
  39. <button type="reset" class="layui-btn layui-btn-primary">重置</button>
  40. </div>
  41. </div>
  42. </form>