jcedit.php 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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/wx/jc.js')
  10. ?>
  11. <style>
  12. .xm_qytc_box{width:650px;margin:auto;margin-top:20px;}
  13. .layui-form-item{margin-bottom:0;}
  14. .xm_qytc_input{width:429px;}
  15. .mt{margin-top:20px;}
  16. </style>
  17. <div class="xm_qytc_box">
  18. <!-- <hr class="layui-bg-blue">-->
  19. <form class="layui-form layui-form-pane" >
  20. <div style="height:20px"></div>
  21. <div class="layui-form-item">
  22. <label class="layui-form-label"><span style="color:red">*</span>奖次名称:</label>
  23. <div class="layui-input-inline">
  24. <input type="text" value="<?php echo $model['name'] ?>" name="name" lay-verify="required" autocomplete="off" class="layui-input">
  25. </div>
  26. </div>
  27. <div class="layui-form-item">
  28. <label class="layui-form-label">排序:</label>
  29. <div class="layui-input-inline">
  30. <input type="text" value="<?php echo $model['sort'] ?>" name="sort" autocomplete="off" class="layui-input">
  31. </div>
  32. </div>
  33. <div class="layui-form-item mt">
  34. <input type="hidden" name="id" value="<?php echo $model['id'] ?>">
  35. <button class="layui-btn" lay-submit="" lay-filter="editjc">提交</button>
  36. </div>
  37. </form>
  38. </div>