@if(modstart_config('ServiceBar_SidebarEnable',false))
    {!! \ModStart\ModStart::js('asset/common/clipboard.js') !!}
    <div class="ub-bar-page">
        @if(modstart_config('ServiceBar_QQ'))
        <div class="item">
            <i class="icon iconfont icon-qq-copy"></i>
            <span class="text">ＱＱ</span>
            <div class="popup">
                <div class="content">
                    <p>
                        QQ扫一扫联系
                    </p>
                    <p>
                        <img style="width:150px;height:150px;" src="{{\ModStart\Core\Assets\AssetsUtil::fix(modstart_config('ServiceBar_QQImage'))}}">
                    </p>
                    <p>
                        <a href="http://wpa.qq.com/msgrd?v=3&amp;uin={{modstart_config('ServiceBar_QQ')}}&amp;site=qq&amp;menu=yes">
                            <i class="iconfont icon-qq-copy"></i> 点击联系
                        </a>
                    </p>
                    <p>
                        <span>{{modstart_config('ServiceBar_QQ')}}</span>
                        <a title="复制" href="javascript:;" data-clipboard-text="{{modstart_config('ServiceBar_QQ')}}"><i class="iconfont icon-copy"></i></a>
                    </p>
                </div>
            </div>
        </div>
        @endif
        @if(modstart_config('ServiceBar_WechatImage'))
        <div class="item">
            <i class="icon iconfont icon-wechat"></i>
            <span class="text">微信</span>
            <div class="popup">
                <div class="content">
                    <p>微信扫一扫联系</p>
                    <p>
                        <img style="width:150px;height:150px;" src="{{\ModStart\Core\Assets\AssetsUtil::fix(modstart_config('ServiceBar_WechatImage'))}}">
                    </p>
                </div>
            </div>
        </div>
        @endif
        <a class="item item-icon" href="javascript:;" onclick="$('body,html').animate({scrollTop:0},500);">
            <i class="icon iconfont icon-angle-up"></i>
        </a>
    </div>
@endif
