debug
This commit is contained in:
@@ -30,6 +30,11 @@
|
|||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
{block name="strPageCode"}
|
||||||
|
<?php $strPageCode = 'home'; ?>
|
||||||
|
{/block}
|
||||||
|
|
||||||
|
|
||||||
<body class="novel_home {block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
<body class="novel_home {block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
||||||
<div class="topbar">
|
<div class="topbar">
|
||||||
<div class="topbar-con">
|
<div class="topbar-con">
|
||||||
@@ -47,17 +52,14 @@
|
|||||||
</div>
|
</div>
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
{if $DomainModel->info_id > 0}
|
{if $DomainModel->info_id > 0}
|
||||||
<li><a href="{$strPcPath}/">首 页</a></li>
|
<li class='{if $strPageCode == "home"}active_nav_btn{/if}'><a href="{$strPcPath}/">首 页</a></li>
|
||||||
<li><a href="{$strPcPath}/nindex/">小说首页</a></li>
|
<li><a href="{$strPcPath}/nindex/">小说首页</a></li>
|
||||||
{else}
|
{else}
|
||||||
<li><a href="{$strPcPath}/">首 页</a></li>
|
<li class='{if $strPageCode == "home"}active_nav_btn{/if}'><a href="{$strPcPath}/">首 页</a></li>
|
||||||
{/if}
|
{/if}
|
||||||
<!-- <li><a href="/">首 页</a></li>
|
{novel:category d_key="strCategoryPinyin" d_val="strCategoryName"}
|
||||||
<li><a href="/nindex">小说首页</a></li> -->
|
<li class='{if $strPageCode == "library" && $strCategoryPinyin == $Request.route.strCategory }active_nav_btn{/if}'><a href='{$strPcPath}{site:nflurl category="$strCategoryPinyin" status="all" order="all" page="1"/}'>{$strCategoryName}</a></li>
|
||||||
<!-- <li><a href="{$strPcPath}/">首 页</a></li> -->
|
{/novel:category}
|
||||||
{novel:category d_key="strCategoryPinyin" d_val="strCategoryName"}
|
|
||||||
<li><a href='{$strPcPath}{site:nflurl category="$strCategoryPinyin" status="all" order="all" page="1"/}'>{$strCategoryName}</a></li>
|
|
||||||
{/novel:category}
|
|
||||||
<li><a href="{$strPcPath}{$strHistoryUrlTemp}">阅读记录</a></li>
|
<li><a href="{$strPcPath}{$strHistoryUrlTemp}">阅读记录</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
|
|||||||
@@ -74,6 +74,11 @@ button_num="10" cache_life="86400" func="generateCategoryPager" export_name="res
|
|||||||
|
|
||||||
{block name='nav-active-class'}home{/block}
|
{block name='nav-active-class'}home{/block}
|
||||||
|
|
||||||
|
{block name="strPageCode"}
|
||||||
|
<?php $strPageCode = 'library'; ?>
|
||||||
|
{/block}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{block name="main"}
|
{block name="main"}
|
||||||
|
|
||||||
|
|||||||
@@ -69,13 +69,17 @@
|
|||||||
<div class="nav">
|
<div class="nav">
|
||||||
<ul>
|
<ul>
|
||||||
{if $DomainModel->info_id > 0}
|
{if $DomainModel->info_id > 0}
|
||||||
<li><a href="{$strPcPath}/">首 页</a></li>
|
<li class='{if $strPageCode == "home"}active_nav_btn{/if}'><a href="{$strPcPath}/">首 页</a></li>
|
||||||
<li><a href="{$strPcPath}/nindex/">小说首页</a></li>
|
<li><a href="{$strPcPath}/nindex/">小说首页</a></li>
|
||||||
{else}
|
{else}
|
||||||
<li><a href="{$strPcPath}/">{$DomainModel->d_name}首页</a></li>
|
<li class='{if $strPageCode == "home"}active_nav_btn{/if}'><a href="{$strPcPath}/">{$DomainModel->d_name}首页</a></li>
|
||||||
{/if}
|
{/if}
|
||||||
{novel:category d_key="strCategoryPinyin" d_val="strCategoryName"}
|
{novel:category d_key="strCategoryPinyin" d_val="strCategoryName"}
|
||||||
<li><a href='{$strPcPath}{site:nflurl category="$strCategoryPinyin" status="all" order="all" page="1"/}'>{$strCategoryName}</a></li>
|
<li class='{if $strPageCode == "library" && $strCategoryPinyin == $Request.route.strCategory }active_nav_btn{/if}'>
|
||||||
|
<a href='{$strPcPath}{site:nflurl category="$strCategoryPinyin" status="all" order="all" page="1"/}'>
|
||||||
|
{$strCategoryName}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
{/novel:category}
|
{/novel:category}
|
||||||
<li><a href='{$strPcPath}{site:nflurl category="all" status="wanjie" order="all" page="1"/}'>完本榜</a></li>
|
<li><a href='{$strPcPath}{site:nflurl category="all" status="wanjie" order="all" page="1"/}'>完本榜</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|||||||
@@ -33,19 +33,19 @@
|
|||||||
<div class="nav">
|
<div class="nav">
|
||||||
<div class="wp">
|
<div class="wp">
|
||||||
{if $DomainModel->info_id > 0}
|
{if $DomainModel->info_id > 0}
|
||||||
<li class="home">
|
<li class='{if $strPageCode == "home"}home{/if}'>
|
||||||
<a href="{$strPcPath}/">首 页</a>
|
<a href="{$strPcPath}/">首 页</a>
|
||||||
</li>
|
</li>
|
||||||
<li><a href="{$strPcPath}/nindex/">小说首页</a></li>
|
<li><a href="{$strPcPath}/nindex/">小说首页</a></li>
|
||||||
{else}
|
{else}
|
||||||
<li class="home">
|
<li class='{if $strPageCode == "home"}home{/if}'>
|
||||||
<a href="{$strPcPath}/">首 页</a>
|
<a href="{$strPcPath}/">首 页</a>
|
||||||
</li>
|
</li>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
|
|
||||||
{novel:category d_key="strCategoryPinyin" d_val="strCategoryName"}
|
{novel:category d_key="strCategoryPinyin" d_val="strCategoryName"}
|
||||||
<li><a href='{$strPcPath}{site:nflurl category="$strCategoryPinyin" status="all" order="all" page="1"/}'>{$strCategoryName}</a></li>
|
<li class='{if $strPageCode == "library" && $strCategoryPinyin == $Request.route.strCategory }home{/if}'>
|
||||||
|
<a href='{$strPcPath}{site:nflurl category="$strCategoryPinyin" status="all" order="all" page="1"/}'>{$strCategoryName}</a></li>
|
||||||
{/novel:category}
|
{/novel:category}
|
||||||
|
|
||||||
<div class="nav-right" id="qs_login">
|
<div class="nav-right" id="qs_login">
|
||||||
@@ -53,7 +53,6 @@
|
|||||||
<span class="ico ico-login"></span>
|
<span class="ico ico-login"></span>
|
||||||
个人中心
|
个人中心
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -2818,3 +2818,7 @@ body {
|
|||||||
.novel_search_page h1{font-size: 1rem;text-align: center;margin-bottom: 1rem;}
|
.novel_search_page h1{font-size: 1rem;text-align: center;margin-bottom: 1rem;}
|
||||||
.novel_search_page .search_tip{font-size: 0.8rem;text-align: center;margin-bottom: 1rem;}
|
.novel_search_page .search_tip{font-size: 0.8rem;text-align: center;margin-bottom: 1rem;}
|
||||||
.novel_search_page h1 span{color:red;}
|
.novel_search_page h1 span{color:red;}
|
||||||
|
|
||||||
|
.active_nav_btn a {
|
||||||
|
color: #F44336!important;
|
||||||
|
}
|
||||||
@@ -318,3 +318,11 @@ color: #004d00;border-radius:5px;transition: all 0.3s;}
|
|||||||
.novel_tmpbook .txt-list li .s1 a{font-size:16px;}
|
.novel_tmpbook .txt-list li .s1 a{font-size:16px;}
|
||||||
.novel_tmpbook .txt-list.txt-list-row5 .s4{width: 240px;}
|
.novel_tmpbook .txt-list.txt-list-row5 .s4{width: 240px;}
|
||||||
.novel_tmpbook .txt-list.txt-list-row5 .s5{width:190px;float:right;}
|
.novel_tmpbook .txt-list.txt-list-row5 .s5{width:190px;float:right;}
|
||||||
|
.active_nav_btn {
|
||||||
|
background: #fff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.active_nav_btn a{
|
||||||
|
color: darkcyan!important;
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user