{{include file="public/header" /}}

<!-- right content start  -->
<div class="content-right">
    <div class="content">
        <legend>
            <span class="fs-16">登录奖励积分</span>
            <a href="{{:MyUrl('admin/pluginsadmin/index')}}" class="fr fs-14 m-t-5 am-icon-mail-reply"> 返回</a>
        </legend>

        <div class="userloginrewardintegral-content">
            <div class="items">
                <label>奖励积分</label>
                <div>
                    {{if !empty($data['give_integral'])}}
                        {{$data.give_integral}}
                    {{else /}}
                        0
                    {{/if}}
                    积分
                </div>
            </div>
            <div class="items">
                <label>是否日/次</label>
                <div>
                    {{if isset($data['is_day_once']) and $data['is_day_once'] eq 1}}
                        是
                    {{else /}}
                        否
                    {{/if}}
                </div>
            </div>
            <div class="items">
                <label>有效时间</label>
                <div>
                    {{if !empty($data['time_start']) and !empty($data['time_end'])}}
                        {{$data.time_start}} ~ {{$data.time_end}}
                    {{elseif !empty($data['time_start']) and empty($data['time_end'])}}
                        {{$data.time_start}} ~ 长期有效
                    {{elseif empty($data['time_start']) and !empty($data['time_end'])}}
                        立即生效 ~ {{$data.time_end}}
                    {{else /}}
                        无限制
                    {{/if}}
                </div>
            </div>
            <a href="{{:PluginsAdminUrl('userloginrewardintegral', 'admin', 'saveinfo')}}" class="am-btn am-btn-secondary am-radius btn-loading-example am-btn-sm am-btn-block edit-submit">编辑</a>
        </div>
    </div>
</div>
<!-- right content end  -->
        
<!-- footer start -->
{{include file="public/footer" /}}
<!-- footer end -->