{{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="commononlineservice-content">
            <div class="items">
                <label>标题</label>
                <div>
                    {{if !empty($data['title'])}}
                        {{$data.title}}
                    {{else /}}
                        未填写
                    {{/if}}
                </div>
            </div>
            <div class="items">
                <label>在线客服</label>
                <div>
                    {{if !empty($data['online_service'])}}
                        {{$data.online_service|raw}}
                    {{else /}}
                        未填写
                    {{/if}}
                </div>
            </div>
            <div class="items">
                <label>电话</label>
                <div>
                    {{if !empty($data['tel'])}}
                        {{$data.tel}}
                    {{else /}}
                        未填写
                    {{/if}}
                </div>
            </div>
            <div class="items">
                <label>是否全局</label>
                <div>
                    {{if isset($data['is_overall']) and $data['is_overall'] eq 1}}
                        是
                    {{else /}}
                        否
                    {{/if}}
                </div>
            </div>

            <div class="items">
                <label>背景色</label>
                <div class="bg-color-tag" {{if !empty($data['bg_color'])}}style="background:{{$data.bg_color}}"{{/if}}></div>
            </div>
            <div class="items">
                <label>距离顶部</label>
                <div>
                    {{if !empty($data['distance_top'])}}
                        {{$data.distance_top}}
                    {{else /}}
                        0
                    {{/if}}
                    %
                </div>
            </div>

            <a href="{{:PluginsAdminUrl('commononlineservice', '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 -->