Browse Source

20220422

pull/61/head
xiaoz 3 years ago
parent
commit
80fd9a9ec3
  1. 14
      templates/default/index.php

14
templates/default/index.php

@ -61,6 +61,7 @@
</div> </div>
</header> </header>
<!--导航工具END--> <!--导航工具END-->
<!-- 添加按钮 --> <!-- 添加按钮 -->
<?php <?php
if( is_login() ) { if( is_login() ) {
@ -75,10 +76,10 @@
<!-- 返回顶部按钮 --> <!-- 返回顶部按钮 -->
<div id="top"></div> <div id="top"></div>
<div class="top mdui-shadow-10"> <div class="top mdui-shadow-10">
<a href="javascript:;" title="返回顶部" onclick="gotop()"><i class="mdui-icon material-icons">arrow_drop_up</i> <a href="javascript:;" title="返回顶部" onclick="gotop()"><i class="mdui-icon material-icons">arrow_drop_up</i></a>
</div> </div>
<!-- 返回顶部END --> <!-- 返回顶部END -->
<!--左侧抽屉导航--> <!--左侧抽屉导航-->
<!-- 默认抽屉栏在左侧 --> <!-- 默认抽屉栏在左侧 -->
<div class="mdui-drawer" id="drawer"> <div class="mdui-drawer" id="drawer">
<ul class="mdui-list"> <ul class="mdui-list">
@ -98,7 +99,7 @@
</li> </li>
</a> </a>
</div> </div>
<!-- 遍历二级分类 --> <!-- 遍历二级分类-->
<div class="mdui-collapse-item-body"> <div class="mdui-collapse-item-body">
<ul> <ul>
<?php foreach (get_category_sub( $category['id'] ) AS $category_sub){ <?php foreach (get_category_sub( $category['id'] ) AS $category_sub){
@ -116,11 +117,10 @@
<?php } ?> <?php } ?>
</ul> </ul>
</div> </div>
<!-- 遍历二级分类END--> <!--遍历二级分类END-->
</div>
</div>
<?php } ?> <?php } ?>
</div>
</div>
<a href="https://www.xiaoz.me/" target="_blank" title="小z博客"> <a href="https://www.xiaoz.me/" target="_blank" title="小z博客">
<li class="mdui-list-item mdui-ripple"> <li class="mdui-list-item mdui-ripple">
<div class="mdui-list-item-content category-name"><i class="fa fa-user-circle"></i> About</div> <div class="mdui-list-item-content category-name"><i class="fa fa-user-circle"></i> About</div>

Loading…
Cancel
Save