@extends('base.base')
@section('base')


    <!-- 内容区域 -->
    <div class="main-panel">
        <div class="content-wrapper">
            <div class="row">
                <div class="col-12 grid-margin stretch-card">
                    <div class="card">
                        <div class="card-body">
                            <h4 class="card-title">{{ __('auto.修改VIP档位') }}</h4>

                            <form class="forms-sample form-ajax" id="form">
                                <div class="form-group">
                                    <label for="nickname">*购买价格</label>
                                    <input type="text"  class="form-control required" name="Price"
                                           placeholder="{{ __('auto.购买价格') }}" value="{{$monthCard->Price}}">
                                </div>
                                <div class="form-group">
                                    <label for="nickname">*立即获得金额</label>
                                    <input type="text"  class="form-control required" name="FirstReward"
                                           placeholder="{{ __('auto.立即获得金额') }}" value="{{$monthCard->FirstReward/100}}">
                                </div>
                                <div class="form-group">
                                    <label for="nickname">*每日赠送金额</label>
                                    <input type="text"  class="form-control required"
                                    name="DayReward" placeholder="{{ __('auto.请输入充值档位') }}" value="{{$monthCard->DayReward/100}}">
                                </div>

                                <button class="btn btn-sm btn-gradient-primary btn-icon-text">
                                    <i class="mdi mdi-file-check btn-icon-prepend"></i>
                                    {{ __('auto.提交') }}
                                </button>
                                <button type="button" onclick="cancel()" class="btn btn-sm btn-gradient-warning btn-icon-text">
                                    <i class="mdi mdi-reload btn-icon-prepend"></i>
                                    {{ __('auto.取消') }}
                                </button>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script>
        function cancel() {
            parent.location.reload();
        }
    </script>
@endsection
