@extends('theme.default.pc.frame')

@section('pageTitle','打赏设置')

@section('bodyContent')

    <div class="main-container">

        <div class="uk-grid">
            <div class="uk-width-1-4">
                @include('theme.default.pc.memberProfile.menu')
            </div>
            <div class="uk-width-3-4">
                <div class="pb pb-member-profile-form">
                    <div class="head">
                        <h2>
                            打赏设置
                        </h2>
                    </div>
                    <div class="body">
                        <form action="?" class="uk-form" method="post" data-ajax-form>
                            <div class="line">
                                <div class="label">开启打赏</div>
                                <div class="field">
                                    <label>
                                        <input @if($_memberUser['tipEnable']) checked @endif type="radio" name="tipEnable" value="1">
                                        开启
                                    </label>
                                    &nbsp;&nbsp;
                                    <label>
                                        <input @if(!$_memberUser['tipEnable']) checked @endif type="radio" name="tipEnable" value="0">
                                        关闭
                                    </label>
                                </div>
                            </div>
                            <div class="line">
                                <div class="label">默认打赏金额</div>
                                <div class="field">
                                    <input type="text" name="defaultTipValue" value="{{$_memberUser['defaultTipValue'] or '9.99'}}" />
                                    <div class="help">
                                    </div>
                                </div>
                            </div>
                            <div class="line">
                                <div class="label">&nbsp;</div>
                                <div class="field">
                                    <button type="submit" class="uk-button uk-button-primary uk-button-large">提交</button>
                                </div>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>

    </div>

@endsection