Browse Source

20220422

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

10
templates/default/index.php

@ -61,6 +61,7 @@
</div> </div>
</header> </header>
<!--导航工具END--> <!--导航工具END-->
<!-- 添加按钮 --> <!-- 添加按钮 -->
<?php <?php
if( is_login() ) { if( is_login() ) {
@ -75,7 +76,7 @@
<!-- 返回顶部按钮 --> <!-- 返回顶部按钮 -->
<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 -->
<!--左侧抽屉导航--> <!--左侧抽屉导航-->
@ -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-->
<?php } ?>
</div> </div>
</div> </div>
<?php } ?>
<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