This commit is contained in:
make
2025-04-04 16:03:39 +08:00
parent 21cccf03e1
commit 25bf602048
17 changed files with 344 additions and 167 deletions

View File

@@ -74,8 +74,10 @@ class Index extends BaseController
// 推荐等级为9的连载的 随机15个小说
$arrRecommendSerializationNovel = $NovelModel->getHighLevelNovelOnCache($Request->DomainModel->d_domain, 13);
# TODO 没有数据展示
// echo "<pre>";
// var_dump($arrRecommendSerializationNovel);
// exit;
// 推荐等级为9的完结的 随机12个小说
$arrRecommendEndNovel = $NovelModel->getFinishedNovelOnCache($Request->DomainModel->d_domain, 12);

View File

@@ -159,8 +159,12 @@ class Novel extends BaseController
'strStatus' => $strStatus,
'intPage' => $intPage,
'intTotalPage' => $arrPage['pages'],
'arrCategory' => array_combine(array_values(CategoryModel::$arrCategoryPinYin), array_values(CategoryModel::$arrCategory)),
// TODO 返回所有分类了,应该只返回对应 性别的分类,暂时按下面的返回了,你看看要咋处理
// 'arrCategory' => array_combine(array_values(CategoryModel::$arrCategoryPinYin), array_values(CategoryModel::$arrCategory)),
'arrCategoryAll' => CategoryModel::$arrCategoryAll,
'arrPaginator' => $arrPaginator,
]);
return View::fetch($strTemplate);
@@ -323,7 +327,7 @@ class Novel extends BaseController
*/
public function getKanNovelInfo(Request $Request)
{
// TODO 这个页面数据没有处理
$intNId = $Request->param('n_id');
$boolIsMobile = $Request->param('boolIsMobile');
@@ -336,16 +340,20 @@ class Novel extends BaseController
// 分品拼音
$arrNovel['category_pinyin'] = CategoryModel::getPinYinByZh($arrNovel['og_novel_category']);
// 最后章节
$ChapterModel = new ChapterModel;
$arrLatestChapter = $ChapterModel->getLatestChapter($intNId);
$strFocus = '';
// 要点
$strFocus = strip_tags($arrLatestChapter['content']);
$intCount = mb_strlen($strFocus);
if ($intCount > 300) {
$intPos = mt_rand(0, $intCount - 300);
$strFocus = mb_substr($strFocus, $intPos, 300);
if ($arrLatestChapter) {
$strFocus = strip_tags($arrLatestChapter['content']);
$intCount = mb_strlen($strFocus);
if ($intCount > 300) {
$intPos = mt_rand(0, $intCount - 300);
$strFocus = mb_substr($strFocus, $intPos, 300);
}
}
// 最近五个章节
@@ -364,7 +372,6 @@ class Novel extends BaseController
$arrRelateveNovel = $NovelModel->getNovel(['n_id' => [
'$in' => $arrRelateveNId,
]], 10);
// echo '<pre>';
// var_dump($arrNovel);exit;
@@ -620,7 +627,7 @@ class Novel extends BaseController
$strKey = sprintf('Nid:%s:Chapter-Page:%s:Order:%s', $intNId, $intPage, $strOrder);
$arrFilter = ['n_id' => $intNId, 'c_page' => 0,];
$intLimit = 10;
$intLimit = 100;
$intLifeTime = 12 * 3600;
if ($strOrder == 'zheng') {
@@ -638,29 +645,16 @@ class Novel extends BaseController
$strBaseUrl = sprintf('/pc/xiaoshuo/%s-%s/mulu/%s/{page}', $arrNovel['og_novel_pin_yin'], $intNId, $strOrder);
$arrPaginator = CusteomPage02::generate($intPage, $arrPage['total'], $intLimit, $strBaseUrl, $intButtomNum);
// echo '<pre>';
// print_r($arrPage);
// exit;
// 章节目录
$arrChapter = [
['c_sort_num' => 1, 'name' => '第1章', 'created_at' => '作者1'],
['c_sort_num' => 1, 'name' => '第2章', 'created_at' => '作者1'],
['c_sort_num' => 1, 'name' => '第3章', 'created_at' => '作者1'],
['c_sort_num' => 1, 'name' => '第4章', 'created_at' => '作者1'],
['c_sort_num' => 1, 'name' => '第5章', 'created_at' => '作者1'],
['c_sort_num' => 1, 'name' => '第6章', 'created_at' => '作者1'],
];
View::assign([
'arrNovel' => $arrNovel,
'arrPage' => $arrPage,
'arrChapter' => $arrChapter,
'arrPaginator' => $arrPaginator,
'intNovelId' => $intNovelId,
'intPage' => $intPage,
'strOrder' => $strOrder,
'strPageCode' => 'chapters',
'intLimit' => $intLimit,
]);
if ($boolIsMobile) {
return View::fetch();
@@ -679,7 +673,7 @@ class Novel extends BaseController
{
$boolIsMobile = $Request->param('boolIsMobile');
$strKeywords = (string)$Request->get('q');
$strKeywords = (string)$Request->get('keyword');
$intPage = (int)$Request->get('page', 1);
$intLimit = 20;
@@ -705,27 +699,18 @@ class Novel extends BaseController
$intButtomNum = 10;
$strBaseUrl = sprintf('/pc/search.html?q=%s&page={page}', $strKeywords);
$strBaseUrl = sprintf('/search.html?keyword=%s&page={page}', $strKeywords);
$arrPaginator = CusteomPage02::generate($intPage, $arrPage['total'], $intLimit, $strBaseUrl, $intButtomNum);
// 模拟数据
$arrSearchNovel = [
['id' => 1, 'name' => '小说1', 'author' => '作者1'],
['id' => 2, 'name' => '小说2', 'author' => '作者2'],
['id' => 3, 'name' => '小说3', 'author' => '作者3'],
['id' => 4, 'name' => '小说3', 'author' => '作者3'],
['id' => 5, 'name' => '小说3', 'author' => '作者3'],
['id' => 6, 'name' => '小说3', 'author' => '作者3'],
['id' => 7, 'name' => '小说3', 'author' => '作者3'],
['id' => 8, 'name' => '小说3', 'author' => '作者3'],
];
View::assign([
'arrPage' => $arrPage,
'arrPaginator' => $arrPaginator,
'strKeywords' => $strKeywords,
'intPage' => $intPage,
'arrSearchNovel' => $arrSearchNovel,
'intTotalPage' => $arrPage['pages'],
'strPageCode' => 'search'
]);
// echo $strKeywords;exit;
if ($boolIsMobile) {
return View::fetch();
} else {

View File

@@ -0,0 +1,152 @@
{extend name="baseH5" /}
{block name='nav-active-class'}home{/block}
{block name="title"}{/block}
{block name="head-js"}{/block}
{block name="logo-html"}
<h2 class="logo">
<a href="/">狂雨小说</a>
</h2>
{/block}
{block name="main"}
<div class="wrap">
<nav class="breadcrumb" aria-label="breadcrumb">
<ol itemscope itemtype="https://schema.org/BreadcrumbList">
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href="/" itemprop="item">
<span itemprop="name">首页</span>
</a>
<meta itemprop="position" content="1" />
</li>
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href="/shuku/all/{$arrNovel.category_pinyin}/all/page1" itemprop="item">
<span itemprop="name">{$arrNovel.og_novel_category}</span>
</a>
<meta itemprop="position" content="2" />
</li>
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href='{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[og_novel_pin_yin]" /}' itemprop="item">
<span itemprop="name">{$arrNovel['og_novel_book_name']}</span>
</a>
<meta itemprop="position" content="3" />
</li>
</ol>
</nav>
<!--info-->
<div class="mod mod-info">
<div class="book-info">
<dl class="base clearfix">
<dt>
<img src="/static/img/default.jpg" data-src="{$Novel.n_cover_path ?? ''}"
alt="{$Novel->og_novel_book_name ?? ''}封面" class="lazy lazyload-img" />
<i class='{eq name="arrNovel.og_novel_status" value="连载中"}serial{else}finish {/eq}'>已完结</i>
</dt>
<dd>
<h1>{$arrNovel['og_novel_book_name']}</h1>
<p class="info">
<span>分类:{$arrNovel.og_novel_category}</span>
<span>作者:<a href="/search.html?keyword=兔子很淡定">{$arrNovel.og_novel_author}</a></span>
<!-- <span>字数54.20万字</span> -->
<span>阅读:{$arrNovelClicks.total}</span>
</p>
</dd>
</dl>
<div class="btns">
<ul>
<li>
<a class="read-online reading"
onclick="javascript:location.href='/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-1';">点击阅读</a>
</li>
<li>
<a class="b5673b5cd4b" onclick="addBookshelfFun()">加入书架</a>
</li>
</ul>
</div>
<div class="intro">
<div class="content">
<p>
{$arrNovel.n_page_description}
</p>
</div>
</div>
</div>
</div>
<!-- hot-book -->
<div class="mod mod-info">
<div class="book-info">
<div class="mod-head">
<h3>最新要点</h3>
</div>
<div class="intro">
<div class="content">
<p>
{$strFocus}
</p>
<p class="xianglingtuijian">相邻推荐:
{volist name="arrNovel.n_forge_novel" id="ForgeNovel" key="key"}
<a
href='/kan/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}-{$ForgeNovel.n_forge_id}'>{$ForgeNovel.n_forge_title}</a>
{/volist}
</p>
</div>
</div>
</div>
</div>
<!-- hot-book -->
<div class="mod mod-attentions">
<div class="mod-head">
<h3>目录</h3>
</div>
<div class="attentions">
<ul class="clearfix">
{volist name="arrChapter" id="Chapter" key="key"}
<li>
<a href="/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-{$Chapter.c_sort_num}"
title="{$Chapter.name}">{$Chapter.name}</a>
</li>
{/volist}
</ul>
<div class="chapters-more">
<a href="/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/mulu/zheng"
class="reading btn-bookshelf">更多章节</a>
</div>
</div>
</div>
<div class="mod mod-guess">
<div class="mod-head">
<h3>同类作品</h3>
</div>
<div class="book-slide">
<ul class="clearfix">
{foreach $arrRelateveNovel as $Novel}
{include file="Public/novelListS" /}
{/foreach}
</ul>
</div>
</div>
</div>
<script>
const strNovelId = '{$arrNovel.n_id}';
</script>
{/block}
{block name="customize"}
{/block}
{block name="footer-js"}
{/block}

View File

@@ -43,11 +43,17 @@
<li class='{eq name="strCategory" value="all"}on {/eq}'>
<a href="/shuku/{$strGender}/all/{$strStatus}/page{$intPage}" btn="search_category">全部</a>
</li>
{foreach $arrCategory as $key=>$vo }
<li class='{eq name="key" value="$strCategory"}on {/eq}'>
<a href="/shuku/{$strGender}/{$key}/{$strStatus}/page{$intPage}" btn="search_category">{$vo}</a>
</li>
{/foreach}
{eq name="strGender" value="nansheng-xiaoshuo"}
{foreach $arrCategoryAll.man as $key=>$vo }
<li class='{eq name="key" value="$strCategory"}on {/eq}'><a href="/shuku/{$strGender}/{$key}/{$strStatus}/page{$intPage}" btn="search_category">{$vo}</a></li>
{/foreach}
{else}
{foreach $arrCategoryAll.women as $key=>$vo }
<li class='{eq name="key" value="$strCategory"}on {/eq}' ><a href="/shuku/{$strGender}/{$key}/{$strStatus}/page{$intPage}" btn="search_category">{$vo}</a></li>
{/foreach}
{/eq}
</ul>
</div>
<div id="book-nav" class="book-nav">

View File

@@ -128,7 +128,16 @@
<div class="book-slide">
<ul class="clearfix">
{foreach $arrRelateveNovel as $Novel}
{include file="Public/novelListS" /}
<li>
<a href='{site:nurl n_id="Novel.n_id" n_py="Novel.og_novel_pin_yin"/}'>
<img class="lazy lazyload-img" data-encrypted="false" src="/static/img/default.jpg"
data-src="{$Novel.n_cover_path ?? ''}" alt="{$Novel.og_novel_book_name ?? ''}" />
<span>{$Novel.og_novel_book_name ?? ''}</span>
<em>
<aria>作者:</aria>{$Novel.og_novel_author ?? ''}
</em>
</a>
</li>
{/foreach}
</ul>
</div>

View File

@@ -15,56 +15,41 @@
<div class="wrap">
<div class="mod mod-search">
<div class="search-list">
<div class="result"><span>“1”</span>相关结果:</div>
<div class="result">搜索<span style="color:red">“{$strKeywords}”</span>相关结果共有 <span style="color:red">{$arrPage.total}</span> 部小说</div>
{if empty($arrPage.data)}
<p style="text-align: center;line-height: 60px">没有相关数据</p>
{else}
<ul class="clearfix">
<li>
<img class="pic lazy" src="http://www.xbiquzw.com/files/article/image/170/170262/170262s.jpg"
alt="1秒1技能点你说我凡阶天赋修炼慢">
<a class="tit" href="/novel/202.html">1秒1技能点你说我凡阶天赋修炼慢</a>
<p class="intro"> 深海中潜藏的巨兽掀起灭世海啸!山间凶兽朝着钢铁巨城露出凶猛的獠牙。
即将参加高考的武道学生徐天觉醒深红系统。却没想觉醒日被未婚妻强行退婚,面对众人诋毁,未婚妻的鄙视。 地阶天赋又如何,深红,给我加点!
本站提示各位书友要是觉得《1秒1技能点你说我凡阶天赋修炼慢》还不错的话请不要忘记向您QQ群</p>
<p class="info">
<span>
<aria>作者:</aria>青城老鬼
</span>
<em class="type"></em>
<em class="finish">已完结</em>
</p>
</li>
<li>
<img class="pic lazy" src="http://www.xbiquzw.com/files/article/image/170/170525/170525s.jpg"
alt="全球农场TOP1">
<a class="tit" href="/novel/146.html">全球农场TOP1</a>
<p class="intro"> 【二月的更新在晚上十点,下本写《异种移植》~】 卿孟祝被炒那天,晚上找兄弟喝酒诉苦。
诉到一半,脑海中“叮”一声响,平板的电子音响起:“恭喜您绑定星际商城,获得了珍贵的星际卖家名额,此名额不可转让,过期作废……”
酒醒后,卿孟祝发现天上掉的馅饼是真的——他拥有了一个星际商城,上面满是灵泉水、基</p>
<p class="info">
<span>
<aria>作者:</aria>月寂烟雨
</span>
<em class="type"></em>
<em class="finish">已完结</em>
</p>
</li>
<li>
<img class="pic lazy" src="http://www.xbiquzw.com/files/article/image/149/149998/149998s.jpg"
alt="重生2000青梅校花18岁">
<a class="tit" href="/novel/69.html">重生2000青梅校花18岁</a>
<p class="intro"> 【重生+青梅校花+恋爱日常+狗粮+单女主】身患绝症的易枫重生2000年这一年青梅校花顾沐希18岁。 \n “易枫借我笔用一下!”\n
“……你昨天不才借了吗?”\n “昨天是昨天,今天是今天,今非昔比懂不懂?”\n “……服了你了,好吧,给你。”\n “易枫撕一张纸借我用</p>
<p class="info">
<span>
<aria>作者:</aria>奋斗老九
</span>
<em class="type"></em>
<em class="finish">已完结</em>
</p>
</li>
{foreach $arrPage.data as $key=>$Novel}
{include file="Public/novelListH" /}
{/foreach}
</ul>
{/if}
</div>
<div class="pages">
<ul class="pager">
{volist name="arrPaginator" id="vo" key="k"}
{switch $vo.label}
{case value="上一页"}
{if $intPage == 1}
<li class="disabled"><span>«</span></li>
{else}
<li><a href="{$vo.url}">«</a></li>
{/if}
{/case}
{case value="下一页"}
{if $intPage >= $intTotalPage}
<li class="disabled"><span>»</span></li>
{else}
<li><a href="{$vo.url}">»</a></li>
{/if}
{/case}
{/switch}
{/volist}
</ul>
</div>
</div>
</div>
{/block}

View File

@@ -0,0 +1,33 @@
{if !empty($arrPaginator)}
<div class="page_num">
{volist name="arrPaginator" id="item"}
{eq name="item.type" value="prev"}
<a href="{$item.url ?: '#'}"
class="z {$item.disabled ? 'disabled' : ''}">
{$item.label}
</a>
{/eq}
{/volist}
<select onchange="self.location.href=options[selectedIndex].value">
{volist name="arrPaginator" id="item"}
{eq name="item.type" value="page"}
<?php $start = ($item['label'] - 1) * $intLimit + 1; ?>
<?php $end = $item['label'] * $intLimit; ?>
<option value="{$item.url}" {$item.current ? 'selected' : ''}>
第{$start}-{$end}章
</option>
{/eq}
{/volist}
</select>
{volist name="arrPaginator" id="item"}
{eq name="item.type" value="next"}
<a href="{$item.url ?: '#'}"
class="y {$item.disabled ? 'disabled' : ''}">
{$item.label}
</a>
{/eq}
{/volist}
</div>
{/if}

View File

@@ -42,9 +42,16 @@
<ul>
<li><a class='{eq name="strCategory" value="all"}on {/eq}' href="/pc/shuku/{$strGender}/all/{$strStatus}/page{$intPage}" btn="search_category">全部</a></li>
{foreach $arrCategory as $key=>$vo }
{eq name="strGender" value="nansheng-xiaoshuo"}
{foreach $arrCategoryAll.man as $key=>$vo }
<li><a class='{eq name="key" value="$strCategory"}on {/eq}' href="/pc/shuku/{$strGender}/{$key}/{$strStatus}/page{$intPage}" btn="search_category">{$vo}</a></li>
{/foreach}
{else}
{foreach $arrCategoryAll.women as $key=>$vo }
<li><a class='{eq name="key" value="$strCategory"}on {/eq}' href="/pc/shuku/{$strGender}/{$key}/{$strStatus}/page{$intPage}" btn="search_category">{$vo}</a></li>
{/foreach}
{/eq}
</ul>
</div>

View File

@@ -54,7 +54,6 @@
{volist name="arrRecommendSerializationNovel" id="Novel" key="key"}
{include file="Pc/Public/endNovelList" /}
{/volist}
</ul>
</div>
<div class="adv">

View File

@@ -46,15 +46,10 @@
<div class="fenlei">
<div class="tit" btn="toggle_chapter_list"><span></span>章节列表</div>
<div class="page_num"><a href="/pc/xiaoshuo/gui-zu-nong-min-106/mulu/zheng/1" class="z">上一页</a><select
onchange="self.location.href=options[selectedIndex].value">
<option value="/pc/xiaoshuo/gui-zu-nong-min-106/mulu/zheng/1">第1-100章</option>
<option selected="selected" value="/index/47010/1/">第101-200章</option>
<option value="/pc/xiaoshuo/gui-zu-nong-min-106/mulu/zheng/2">第201-300章</option>
<option value="/pc/xiaoshuo/gui-zu-nong-min-106/mulu/zheng/3">第301-400章</option>
<option value="/pc/xiaoshuo/gui-zu-nong-min-106/mulu/zheng/4">第401-500章</option>
</select><a href="/pc/xiaoshuo/gui-zu-nong-min-106/mulu/zheng/2" class="y">下一页</a>
</div>
<!-- 目录下拉分页-->
{include file="Pc/Public/allChapterPage" /}
<div class="fL_con">
<ul>
{foreach $arrPage.data as $Chapter}
@@ -65,15 +60,8 @@
</ul>
</div>
<div class="page_num"><a href="/pc/xiaoshuo/gui-zu-nong-min-106/mulu/zheng/1" class="z">上一页</a><select
onchange="self.location.href=options[selectedIndex].value">
<option value="/pc/xiaoshuo/gui-zu-nong-min-106/mulu/zheng/1">第1-100章</option>
<option selected="selected" value="/index/47010/1/">第101-200章</option>
<option value="/pc/xiaoshuo/gui-zu-nong-min-106/mulu/zheng/2">第201-300章</option>
<option value="/pc/xiaoshuo/gui-zu-nong-min-106/mulu/zheng/3">第301-400章</option>
<option value="/pc/xiaoshuo/gui-zu-nong-min-106/mulu/zheng/4">第401-500章</option>
</select><a href="/pc/xiaoshuo/gui-zu-nong-min-106/mulu/zheng/2" class="y">下一页</a>
</div>
<!-- 目录下拉分页-->
{include file="Pc/Public/allChapterPage" /}
</div>
</div>
</div>

View File

@@ -75,8 +75,10 @@
</div>
</div>
<div class="c04">
{if !empty($arrChapter)}
<a href="/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/zhang-1" target="_blank" class="read">立即阅读</a>
<a href="/pc/xiaoshuo/{$arrNovel.og_novel_pin_yin}-{$arrNovel.n_id}/mulu/zheng" target="_blank" class="mulu">目录</a>
{/if}
</div>
<!-- <div class="c05">
<p class="c05_t">作品标签:

View File

@@ -8,56 +8,61 @@
<div class="content">
<!--选择搜索 开始-->
<div class="find">
<div class="fi_t">
<div class="boFi">
<span><s></s></span>
<div class="result">搜索<span style="color:red">“{$strKeywords}”</span>相关结果共有 <span style="color:red">{$arrPage.total}</span> 部小说</div>
<!-- <div class="boFi">
<span>{$strKeywords}<s></s></span>
<input type="text" class="search-val" url="/search.html" name="search_keyword" value="1"
placeholder="我要搜.. " maxlength="100" autocomplete="off">
<a href="javascript:;" btn="search_keyword">搜索</a>
</div>
</div> -->
</div>
</div>
<!--选择搜索 结束-->
<!--搜索结果 开始-->
<div class="result" mod="search_data_list">
{if empty($arrPage.data)}
<p style="text-align: center;line-height: 60px">没有相关数据</p>
{else}
<ul>
{foreach $arrSearchNovel as $key=>$Novel}
<li>
<a href='/pc/xiaoshuo/name-1' target="_blank" class="book_cov" title="1秒1技能点你说我凡阶天赋修炼慢">
<img src="/template/kuangyu/home/bai_web/images/default.png"
data-src="https://www.630zw.org/img/176943.jpg"
class="lazyload_book_cover" alt="1秒1技能点你说我凡阶天赋修炼慢">
</a>
<div class="book_inf">
<h3><a href='/pc/xiaoshuo/name-1' title="1秒1技能点你说我凡阶天赋修炼慢" target="_blank">
<font color="red">1</font><font color="red">1</font>技能点,你说我凡阶天赋修炼慢?
</a></h3>
<p>
<span>作者:<a href="/search/%E9%9D%92%E5%9F%8E%E8%80%81%E9%AC%BC.html"
title="青城老鬼">青城老鬼</a></span>
<span>分类:<a href="/lists/3.html" title=""></a></span>
<span>状态:已完结</span>
<span>总字数38.00万字+</span>
</p>
<p class="tags">
<i>标签:</i>
<i></i>
</p>
<p><b>最近更新:</b><a href='/pc/xiaoshuo/name-1/zhang-1' title="第190章 武破虚空,新的开始"
target="_blank">第190章 武破虚空,新的开始</a></p>
<p class="int"> 深海中潜藏的巨兽掀起灭世海啸!山间凶兽朝着钢铁巨城露出凶猛的獠牙。 即将参加高考的武道学生徐天觉醒深红系统。却没想觉醒日被未婚妻强行退婚,面对众人诋毁,未婚妻的鄙视。
地阶天赋又如何,深红,给我加点!
本站提示各位书友要是觉得《1秒1技能点你说我凡阶天赋修炼慢》还不错的话请不要忘记向您QQ群和微博里的朋友推荐哦</p>
</div>
<div class="right">
<span>更新时间2025-03-20 23:57</span>
<a href='/pc/xiaoshuo/name-1' target="_blank" class="read_btn btn">立即阅读</a>
</div>
</li>
{/foreach} </ul>
{foreach $arrPage.data as $key=>$Novel}
{include file="Pc/Public/shuKuNovelList" /}
{/foreach}
</ul>
{/if}
<!--页码切换 开始-->
<div class="changepage">
<ul class="pagination">
{volist name="arrPaginator" id="vo" key="k"}
{switch $vo.label}
{case value="上一页"}
{if $intPage == 1}
<li class="disabled"><span>«</span></li>
{else}
<li><a href="/pc/search.html?keyword=我&page={$intPage-1}">«</a></li>
{/if}
{/case}
{case value="下一页"}
{if $intPage >= $intTotalPage}
<li class="disabled"><span>»</span></li>
{else}
<li><a href="/pc/search.html?keyword=我&page={$intPage+1}">»</a></li>
{/if}
{/case}
{case value="..."}
<li class="disabled"><span>...</span></li>
{/case}
{default /}
{if preg_match('/^\d+$/', $vo.label)}
<li class='{eq name="vo.label" value="$intPage"}active {/eq}'>
<a href="/pc{$vo.url}">{$vo.label}</a>
</li>
{/if}
{/switch}
{/volist}
</ul>
</div>
<!--页码切换 结束-->
</div>

View File

@@ -10,14 +10,14 @@
友情连接:
<a href="/sitemap_index.xml">XML地图</a>
<a href="/site.txt">网站地图</a>
<a href="/site.txt">seo关联词</a>
<a href="/site.txt">seo关联词</a>
<a href="/site.txt">seo关联词</a>
<a href="/site.txt">seo关联词</a>
<a href="/site.txt">seo关联词</a>
<a href="/site.txt">seo关联词</a>
<a href="/site.txt">seo关联词</a>
<a href="/site.txt">seo关联词</a>
<a href="/site.txt">kan小说</a>
<a href="/site.txt">kan小说</a>
<a href="/site.txt">kan小说</a>
<a href="/site.txt">kan小说</a>
<a href="/site.txt">kan小说</a>
<a href="/site.txt">kan小说</a>
<a href="/site.txt">kan小说</a>
<a href="/site.txt">kan小说</a>
</div>
<div class="copyright">
<p>精彩小说推荐尽在狂雨小说!</p>

View File

@@ -1,5 +1,5 @@
<li>
<a href='{site:nurl n_id="Novel.n_id" n_py="Novel.og_novel_pin_yin"/}'>
<a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->og_novel_pin_yin"/}'>
<img class="lazy lazyload-img" data-encrypted="false" src="/static/img/default.jpg"
data-src="{$Novel.n_cover_path ?? ''}" alt="{$Novel.og_novel_book_name ?? ''}" />
<span>{$Novel.og_novel_book_name ?? ''}</span>

View File

@@ -42,8 +42,8 @@
</div>
<div class="search-bar">大家都在看</div>
<div class="search-tags">
<a href="/novel/334.html">落魄千金美食发家日常</a>
<a href="/novel/332.html">我真是一条龙</a>
<!-- <a href="/novel/334.html">落魄千金美食发家日常</a>
<a href="/novel/332.html">我真是一条龙</a> -->
</div>
</div>
</div>

View File

@@ -20,7 +20,7 @@
<div class="header">
<div class="headWrap">
<h1>
<a href="/">
<a href="/pc/">
狂雨小说
</a>
</h1>
@@ -47,7 +47,7 @@
<div class="headWrap_r">
<div class="search long" id="mod_top_search">
<div class="search_sel">
<input type="text" url="/search.html" class="search-val" value="" placeholder="我要搜.. "
<input type="text" name="keyword" url="/pc/search.html" class="search-val" value="" placeholder="我要搜.. "
maxlength="100" autocomplete="off">
</div>
<a href="" class="search_btn"><s></s></a>