form.html 1.0 KB

1234567891011121314151617181920212223
  1. <form onsubmit="return false;" action="{:request()->url()}" data-auto="true" method="post" class='layui-form layui-card' autocomplete="off">
  2. <div class="layui-card-body">
  3. <div class="layui-row margin-bottom-15">
  4. <label class="layui-col-xs2 think-form-label">余额</label>
  5. <label class="layui-col-xs10">
  6. <input name="money" required value='' placeholder="请输入变更积分数量" class="layui-input">
  7. <p class="help-block">正数增加,负数减少</p>
  8. </label>
  9. </div>
  10. </div>
  11. <div class="hr-line-dashed"></div>
  12. <div class="layui-form-item text-center">
  13. <input type='hidden' value="<?php echo date('Y-m-d H:i:s'); ?>" name='update_at'>
  14. <input type='hidden' value='{$id}' name='id'>
  15. <button class="layui-btn" type='submit'>保存数据</button>
  16. <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消编辑吗?" data-close>取消编辑</button>
  17. </div>
  18. </form>