cityascription.php 1018 B

12345678910111213141516171819202122232425262728293031323334
  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. <form class="layui-form" action="" id="cityForm" style="margin-top: 50px" >
  12. <div class="layui-form-item" pane="">
  13. <label class="layui-form-label">全部方案:</label>
  14. <div class="layui-input-block">
  15. <?php foreach ($tellist as $val){?>
  16. <input type="radio" name="tid" value="<?php echo $val['id']?>" lay-skin="primary"
  17. title="<?php echo $val['name']?>" <?php if(!empty($val['checked'])) echo $val['checked']?>>
  18. <?php }?>
  19. </div>
  20. </div>
  21. <div class="layui-form-item">
  22. <div class="layui-input-block">
  23. <input type="hidden" name="cid" value="<?php echo $id ?>" >
  24. <button class="layui-btn" lay-submit="" lay-filter="unload_tel" >立即提交</button>
  25. </div>
  26. </div>
  27. </form>