add.php 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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/other/tel.js')
  10. ?>
  11. <style>
  12. .layui_w_t {margin:25px auto 0;width:70%;}
  13. </style>
  14. <form class="layui-form layui-form-pane" id="signupForm">
  15. <div class="layui_w_t">
  16. <div class="layui-form-item">
  17. <div class="layui-inline">
  18. <label class="layui-form-label"><span style="color:red">*</span>方案名称</label>
  19. <div class="layui-input-block" style="width:270px;">
  20. <!-- id="EventDate"-->
  21. <input type="text" name="name" lay-verify="required" placeholder="请输入方案名称" autocomplete="off" class="layui-input">
  22. </div>
  23. </div>
  24. </div>
  25. <div class="layui-form-item">
  26. <label class="layui-form-label ">区域:</label>
  27. <div class="layui-input-inline" style="width:43%">
  28. <select name="city" lay-search="">
  29. <option value="" >请选择区域</option>
  30. <?php foreach ($city as $val){?>
  31. <option value="<?php echo $val['id']?>" ><?php echo $val['city_name']?></option>
  32. <?php }?>
  33. </select>
  34. </div>
  35. </div>
  36. <div class="layui-form-item">
  37. <label class="layui-form-label"><span style="color:red">*</span>电话集合</label>
  38. <div class="layui-input-inline" style="width:75%;">
  39. <textarea name="tel" rows="12" lay-verify="required" placeholder="请输入电话已逗号结束" class="layui-textarea"></textarea>
  40. </div>
  41. </div>
  42. <div class="layui-form-item">
  43. <div class="layui-input-block xm_xcxqTc_tj" style="margin:20px 0 0 0;text-align:center;">
  44. <button class="layui-btn" lay-submit="" lay-filter="tijiao">提交</button>
  45. <!-- <input type="checkbox" class="xm_xcxqTc_button" name="like[write]" title="水印">-->
  46. </div>
  47. </div>
  48. </div>
  49. </form>