lean

Chevereto添加顶部菜单
效果如下:编辑文件: /app/themes/Peafowl/header.php找到在下面添加: <...
扫描右侧二维码阅读全文
16
2019/02

Chevereto添加顶部菜单

效果如下:
29843-2sxuvacix7t.png
编辑文件: /app/themes/Peafowl/header.php

找到
35169-fvsu0mkeqe.png

在下面添加:
    <!-- 顶部菜单 -->
    <li class="phone-hide pop-btn top-btn-el pop-btn-delayed">
        <a target="_blank" href="http://leanserver.top" class="top-btn-text"><span class="top-btn-text">官方博客</span></a>
    </li>

若需要添加通知选项可以参考下面代码
80292-hcx61xi95a8.png

                        <!-- 系统提醒开始 -->
                        <li data-nav="notices" class="phone-hide pop-btn pop-keep-click">
                <span class="top-btn-text"><span class="icon icon-notification color-red"></span><span class="btn-text phone-hide phablet-hide">通知</span><span class="arrow-down"></span></span>
                                <div class="pop-box anchor-center c8 arrow-box arrow-box-top anchor-center">
                                        <div class="pop-box-inner padding-20">
                                                <ul class="list-style-type-decimal list-style-position-inside">
                                                        <li><a href="https://leanfan.com" target="_blank">[公告] 2019-02-16开放游客上传权限, 但建议登录后再上传, 方便查看以前的资料.</a>
                                                        <li><a href="https://leanfan.com" target="_blank">[完成] 2019-02-05 服务器升级. </a></li>
                                                        <li><a href="https://leanfan.com" target="_blank">[博客] 更新Oneindex</a>
</ul>               </div>
                           
                              </div>
                       </li>
                      <!-- 系统提醒完成 -->
Last modification:February 20th, 2019 at 01:10 pm
If you think my article is useful to you, please feel free to appreciate

Leave a Comment