@extends('vip.layouts')
@section('content')

<form class="layui-form" action="{{ url()->full() }}" id="submitForm" name="submitForm" method="post"  eventType="eventAjaxForm">
{!! csrf_field() !!}
  <div class="layui-form-item">
    <label class="layui-form-label">回馈内容</label>
    <div class="layui-input-block">
      <textarea type="text" name="reply" lay-verify="required" autocomplete="off" class="layui-input" style="width: 560px;height: 300px;resize: none;" value="" >{{$data['reply']}}</textarea>
    </div>
  </div>

  <!-- <div class="layui-form-item">
    <label class="layui-form-label">银行卡状态</label>
    <div class="layui-input-inline">
    <input name="status" lay-verify="" type="radio" checked="checked" class="layui-input" value="0" title="待处理">
    <input name="status" lay-verify="" type="radio" checked="checked" class="layui-input" value="1" title="已处理">
    </div>
  </div> -->

  <div class="layui-form-item">
    <div class="layui-input-block">
      <button class="layui-btn" lay-submit lay-filter="submitForm" eventType=event-query-submit>立即提交</button>
      <button type="reset" class="layui-btn layui-btn-primary">重置</button>
    </div>
  </div>
</form>

<script>
//Demo
layui.use(['form'], function(){
  var form = layui.form;

  //监听提交
  form.on('submit(submitForm)', function(data){
    return true;
  });
});
function cbFormSuccess(data){
	layer.msg(data.msg);
	setTimeout(function(){
    window.history.go(-1);
		// parent.window.location.reload();
	},2500);
}
</script>
@endsection
