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

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

@section('bodyContent')

    <div class="pb-account">
        <form action="?" method="post" data-ajax-form onsubmit="return false;">

            <h5 class="mui-content-padded">开启打赏</h5>
            <div class="mui-input-group">
                <div class="mui-input-row mui-radio mui-left">
                    <label>
                        <input @if($_memberUser['tipEnable']) checked @endif type="radio" name="tipEnable" value="1">
                        开启
                    </label>
                </div>
                <div class="mui-input-row mui-radio mui-left">
                    <label>
                        <input @if(!$_memberUser['tipEnable']) checked @endif type="radio" name="tipEnable" value="0">
                        关闭
                    </label>
                </div>
            </div>

            <div class="mui-input-group">
                <div class="mui-input-row">
                    <label>默认打赏金额</label>
                    <input type="text" class="mui-input-clear mui-input" name="defaultTipValue" value="{{$_memberUser['defaultTipValue'] or '9.99'}}" />
                </div>
            </div>

            <div class="submit">
                <button type="submit" class="mui-btn mui-btn-block mui-btn-primary">提交</button>
            </div>

        </form>
    </div>


@endsection