debug
This commit is contained in:
@@ -75,7 +75,7 @@ abstract class BaseController
|
||||
private function initSiteTKD()
|
||||
{
|
||||
ConverterMovel::setVal([
|
||||
'strSiteTitle' => $this->request->DomainModel->d_title,
|
||||
'strSiteName' => $this->request->DomainModel->d_name,
|
||||
'strSiteKeywords' => $this->request->DomainModel->d_keywords,
|
||||
'strSiteDescription' => $this->request->DomainModel->d_description,
|
||||
]);
|
||||
|
||||
@@ -14,16 +14,16 @@ use think\facade\Route;
|
||||
/**
|
||||
* 首页
|
||||
*/
|
||||
Route::get("/", [Index::class,'index'])->ext('html')->append(['boolIsMobile' => true]);
|
||||
Route::get("/pc/", [Index::class,'getPcIndex'])->append(['boolIsMobile' => false]);
|
||||
Route::get("/", [Index::class, 'index'])->ext('html')->append(['boolIsMobile' => true]);
|
||||
Route::get("/pc/", [Index::class, 'getPcIndex'])->append(['boolIsMobile' => false]);
|
||||
// Route::get("/index", [Index::class,'index'])->ext('html')->append(['boolIsMobile' => true]);
|
||||
// Route::get("/pc/index", [Index::class,'getPcIndex'])->ext('html')->append(['boolIsMobile' => false]);
|
||||
|
||||
|
||||
|
||||
//排行榜
|
||||
Route::get('/paihang/all', [Novel::class,'getNovelRank'])->append(['boolIsMobile' => true]);
|
||||
Route::get("/pc/paihang/all", [Novel::class,'getNovelRank'])->append(['boolIsMobile' => false]);
|
||||
Route::get('/paihang/all', [Novel::class, 'getNovelRank'])->append(['boolIsMobile' => true]);
|
||||
Route::get("/pc/paihang/all", [Novel::class, 'getNovelRank'])->append(['boolIsMobile' => false]);
|
||||
|
||||
/**
|
||||
* 男生/女生 - grok 推荐最优方案
|
||||
@@ -35,25 +35,25 @@ Route::get('/pc/nansheng-xiaoshuo', [Novel::class, 'getNovelChannel'])->append(
|
||||
Route::get('/pc/nvsheng-xiaoshuo', [Novel::class, 'getNovelChannel'])->append(['boolIsMobile' => false, 'strChannel' => 'girls']);
|
||||
|
||||
/**
|
||||
* 书库 - grok 推荐最优方案
|
||||
* /shuku/channel-category-status-page
|
||||
*/
|
||||
Route::get('/shuku/all', [Novel::class,'getLibrary'])->append(['boolIsMobile' => true]);
|
||||
Route::get('/pc/shuku/all', [Novel::class,'getLibrary'])->append(['boolIsMobile' => false]);
|
||||
Route::get('/shuku/:intGender-:strCategory-:strStatus-:intPage', [Novel::class,'getLibrary'])
|
||||
* 书库 - grok 推荐最优方案
|
||||
* /shuku/strGender/category/status/page
|
||||
*/
|
||||
Route::get('/shuku/all', [Novel::class, 'getLibrary'])->append(['boolIsMobile' => true]);
|
||||
Route::get('/pc/shuku/all', [Novel::class, 'getLibrary'])->append(['boolIsMobile' => false]);
|
||||
Route::get('/shuku/:strGender/:strCategory/:strStatus/page:intPage', [Novel::class, 'getLibrary'])
|
||||
->pattern([
|
||||
'intGender' => '\d{1}',
|
||||
'strCategory' => '[\w]*',
|
||||
'strStatus' => '[\w]*',
|
||||
'strGender' => 'nansheng-xiaoshuo|nvsheng-xiaoshuo|all',
|
||||
'strCategory' => '[a-z\-]+',
|
||||
'strStatus' => 'all|lianzai|wanjie',
|
||||
'intPage' => '\d+'
|
||||
])
|
||||
->append(['boolIsMobile' => true]);
|
||||
|
||||
Route::get('/pc/shuku/:intGender-:strCategory-:strStatus-:intPage', [Novel::class,'getLibrary'])
|
||||
Route::get('/pc/shuku/:strGender/:strCategory/:strStatus/page:intPage', [Novel::class, 'getLibrary'])
|
||||
->pattern([
|
||||
'intGender' => '\d{1}',
|
||||
'strCategory' => '[\w]*',
|
||||
'strStatus' => '[\w]*',
|
||||
'strGender' => 'nansheng-xiaoshuo|nvsheng-xiaoshuo|all',
|
||||
'strCategory' => '[a-z\-]+',
|
||||
'strStatus' => 'all|lianzai|wanjie',
|
||||
'intPage' => '\d+'
|
||||
])
|
||||
->append(['boolIsMobile' => false]);
|
||||
@@ -66,18 +66,18 @@ Route::get('/pc/shuku/:intGender-:strCategory-:strStatus-:intPage', [Novel::clas
|
||||
*/
|
||||
Route::get('/xiaoshuo/:name-:intNovelId/zhang-:intChapterSort/[:intChapterPage]', [Novel::class, 'getNovelChapter'])
|
||||
->append(['boolIsMobile' => true, 'intUriType' => 1])
|
||||
->pattern(['intNovelId' => '\d+','name' => '[\w-]+','intChapterId' => '\d+','intChapterPage' => '\d+']);
|
||||
->pattern(['intNovelId' => '\d+', 'name' => '[\w-]+', 'intChapterId' => '\d+', 'intChapterPage' => '\d+']);
|
||||
|
||||
Route::get('/pc/xiaoshuo/:name-:intNovelId/zhang-:intChapterSort/[:intChapterPage]', [Novel::class, 'getNovelChapter'])
|
||||
->append(['boolIsMobile' => false, 'intUriType' => 1])
|
||||
->pattern(['intNovelId' => '\d+','name' => '[\w-]+','intChapterSort' => '\d+','intChapterPage' => '\d+']);
|
||||
->pattern(['intNovelId' => '\d+', 'name' => '[\w-]+', 'intChapterSort' => '\d+', 'intChapterPage' => '\d+']);
|
||||
|
||||
/**
|
||||
* 最新章节-特殊页面处理
|
||||
*/
|
||||
*/
|
||||
Route::get('/pc/books/:name-:n_id/chapter/latest', [Novel::class, 'getNovelNewsChapter'])
|
||||
->append(['boolIsMobile' => false, 'intUriType' => 1])
|
||||
->pattern(['n_id' => '\d+','name' => '[\w-]+',]);
|
||||
->pattern(['n_id' => '\d+', 'name' => '[\w-]+',]);
|
||||
|
||||
|
||||
/**
|
||||
@@ -86,11 +86,11 @@ Route::get('/pc/books/:name-:n_id/chapter/latest', [Novel::class, 'getNovelNewsC
|
||||
*/
|
||||
Route::get('/xiaoshuo/:name-:intNovelId/mulu/:strOrder/[:intPage]', [Novel::class, 'getNovelChapterAll'])
|
||||
->append(['boolIsMobile' => true, 'intUriType' => 1])
|
||||
->pattern(['intNovelId' => '\d+','name' => '[\w-]+','strOrder' => 'zheng|dao','intPage' => '\d+']);
|
||||
->pattern(['intNovelId' => '\d+', 'name' => '[\w-]+', 'strOrder' => 'zheng|dao', 'intPage' => '\d+']);
|
||||
|
||||
Route::get('/pc/xiaoshuo/:name-:intNovelId/mulu/:strOrder/[:intPage]', [Novel::class, 'getNovelChapterAll'])
|
||||
->append(['boolIsMobile' => false, 'intUriType' => 1])
|
||||
->pattern(['intNovelId' => '\d+','name' => '[\w-]+','strOrder' => 'zheng|dao','intPage' => '\d+']);
|
||||
->pattern(['intNovelId' => '\d+', 'name' => '[\w-]+', 'strOrder' => 'zheng|dao', 'intPage' => '\d+']);
|
||||
|
||||
/**
|
||||
* 小说详情
|
||||
@@ -103,27 +103,28 @@ Route::get('/pc/xiaoshuo/:name-:intNovelId/mulu/:strOrder/[:intPage]', [Novel::c
|
||||
*/
|
||||
Route::get('/pc/book/:name-:n_id', [Novel::class, 'getNovelInfo'])
|
||||
->append(['boolIsMobile' => false, 'intUriType' => 1])
|
||||
->pattern(['n_id' => '\d+','name' => '[\w-]+',]);
|
||||
->pattern(['n_id' => '\d+', 'name' => '[\w-]+',]);
|
||||
|
||||
Route::get('/pc/novel/:name-:n_id', [Novel::class, 'getNovelInfo'])
|
||||
->append(['boolIsMobile' => false, 'intUriType' => 2])
|
||||
->pattern(['n_id' => '\d+','name' => '[\w-]+',]);
|
||||
->pattern(['n_id' => '\d+', 'name' => '[\w-]+',]);
|
||||
|
||||
Route::get('/pc/xiaoshuo/:name-:n_id', [Novel::class, 'getNovelInfo'])
|
||||
->append(['boolIsMobile' => false, 'intUriType' => 2])
|
||||
->pattern(['n_id' => '\d+','name' => '[\w-]+',]);
|
||||
->pattern(['n_id' => '\d+', 'name' => '[\w-]+',]);
|
||||
|
||||
Route::get('/pc/book-:name-:n_id', [Novel::class, 'getNovelInfo'])
|
||||
->append(['boolIsMobile' => false, 'intUriType' => 3])
|
||||
->pattern(['n_id' => '\d+','name' => '[\w-]+',]);
|
||||
->pattern(['n_id' => '\d+', 'name' => '[\w-]+',]);
|
||||
|
||||
Route::get('/pc/novel-:name-:n_id', [Novel::class, 'getNovelInfo'])
|
||||
->append(['boolIsMobile' => false, 'intUriType' => 3])
|
||||
->pattern(['n_id' => '\d+','name' => '[\w-]+',]);
|
||||
->pattern(['n_id' => '\d+', 'name' => '[\w-]+',]);
|
||||
|
||||
Route::get('/pc/xiaoshuo-:name-:n_id', [Novel::class, 'getNovelInfo'])
|
||||
->append(['boolIsMobile' => false, 'intUriType' => 3])
|
||||
->pattern(['n_id' => '\d+','name' => '[\w-]+',]);
|
||||
->pattern(['n_id' => '\d+', 'name' => '[\w-]+',]);
|
||||
|
||||
|
||||
//h5
|
||||
Route::get('/book/:name-:n_id', [Novel::class, 'getNovelInfo'])
|
||||
@@ -151,33 +152,33 @@ Route::get('/xiaoshuo-:name-:n_id', [Novel::class, 'getNovelInfo'])
|
||||
->pattern(['n_id' => '\d+','name' => '[\w-]+',]);
|
||||
|
||||
// 搜索小说
|
||||
Route::get('/search', [Novel::class,'getSearchNovel'])->ext('html')->append(['boolIsMobile' => true]);
|
||||
Route::get('/pc/search', [Novel::class,'getSearchNovel'])->ext('html')->append(['boolIsMobile' => false]);
|
||||
Route::get('/search', [Novel::class, 'getSearchNovel'])->ext('html')->append(['boolIsMobile' => true]);
|
||||
Route::get('/pc/search', [Novel::class, 'getSearchNovel'])->ext('html')->append(['boolIsMobile' => false]);
|
||||
|
||||
// 小说用户中心
|
||||
Route::get('/user', [User::class,'Index'])->append(['boolIsMobile' => true]);
|
||||
Route::get('/pc/user', [User::class,'Index'])->append(['boolIsMobile' => false]);
|
||||
Route::get('/user', [User::class, 'Index'])->append(['boolIsMobile' => true]);
|
||||
Route::get('/pc/user', [User::class, 'Index'])->append(['boolIsMobile' => false]);
|
||||
|
||||
|
||||
// 书架
|
||||
Route::get('/bookshelf', [User::class,'getBookShelf'])->append(['boolIsMobile' => true]);
|
||||
Route::get('/pc/bookshelf', [User::class,'getBookShelf'])->append(['boolIsMobile' => false]);
|
||||
Route::get('/bookshelf', [User::class, 'getBookShelf'])->append(['boolIsMobile' => true]);
|
||||
Route::get('/pc/bookshelf', [User::class, 'getBookShelf'])->append(['boolIsMobile' => false]);
|
||||
|
||||
// 历史记录
|
||||
Route::get('/history', [User::class,'getHistory'])->append(['boolIsMobile' => true]);
|
||||
Route::get('/pc/history', [User::class,'getHistory'])->append(['boolIsMobile' => false]);
|
||||
Route::get('/history', [User::class, 'getHistory'])->append(['boolIsMobile' => true]);
|
||||
Route::get('/pc/history', [User::class, 'getHistory'])->append(['boolIsMobile' => false]);
|
||||
|
||||
|
||||
|
||||
// 文章 列表
|
||||
Route::get('/article/list-[:intCategoryId]-[:intPage]', [Novel::class,'getArticleList'])->append(['boolIsMobile' => true]);
|
||||
Route::get('/pc/article/list-[:intCategoryId]-[:intPage]', [Novel::class,'getArticleList'])->append(['boolIsMobile' => false]);
|
||||
Route::get('/article/list', [Novel::class,'getArticleList'])->append(['boolIsMobile' => true]);
|
||||
Route::get('/pc/article/list', [Novel::class,'getArticleList'])->append(['boolIsMobile' => false]);
|
||||
Route::get('/article/list-[:intCategoryId]-[:intPage]', [Novel::class, 'getArticleList'])->append(['boolIsMobile' => true]);
|
||||
Route::get('/pc/article/list-[:intCategoryId]-[:intPage]', [Novel::class, 'getArticleList'])->append(['boolIsMobile' => false]);
|
||||
Route::get('/article/list', [Novel::class, 'getArticleList'])->append(['boolIsMobile' => true]);
|
||||
Route::get('/pc/article/list', [Novel::class, 'getArticleList'])->append(['boolIsMobile' => false]);
|
||||
|
||||
// 文章 详情
|
||||
Route::get('/article/info-:intArticleId', [Novel::class,'getArticleInfo'])->append(['boolIsMobile' => true]);
|
||||
Route::get('/pc/article/info-:intArticleId', [Novel::class,'getArticleInfo'])->append(['boolIsMobile' => false]);
|
||||
Route::get('/article/info-:intArticleId', [Novel::class, 'getArticleInfo'])->append(['boolIsMobile' => true]);
|
||||
Route::get('/pc/article/info-:intArticleId', [Novel::class, 'getArticleInfo'])->append(['boolIsMobile' => false]);
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ namespace app\home\controller;
|
||||
|
||||
use app\home\BaseController;
|
||||
use app\model\ConverterMovel;
|
||||
use app\model\DomainModel;
|
||||
use app\model\NovelModel;
|
||||
use storage\StorageCore;
|
||||
use think\facade\View;
|
||||
@@ -161,6 +162,11 @@ class Index extends BaseController
|
||||
// 最近更新-随机50
|
||||
$arrNewsUpdateNovel = $NovelModel->getSexNovelOnCache($Request->DomainModel->d_domain, 50);
|
||||
|
||||
$strTitle = $Request->DomainModel->getFomartSubject(getFomartSubjectKey(__METHOD__));
|
||||
|
||||
$strTitle = ConverterMovel::convert($strTitle);
|
||||
|
||||
|
||||
View::assign([
|
||||
'arrNewsUpdateNovel' => $arrNewsUpdateNovel,
|
||||
'arrRecommendSerializationNovel' => $arrRecommendSerializationNovel,
|
||||
@@ -174,17 +180,11 @@ class Index extends BaseController
|
||||
'arrGirlMoonRankNovel' => $arrGirlMoonRankNovel,
|
||||
'arrBGirlTotalRankNovel' => $arrBGirlTotalRankNovel,
|
||||
'arrAdBanner' => [],
|
||||
'strPageCode' => 'home'
|
||||
'strPageCode' => 'home',
|
||||
'strTitle' => $strTitle,
|
||||
]);
|
||||
|
||||
|
||||
$strTitle = '最新小说网-{strSiteTitle}-{strSiteKeywords}';
|
||||
|
||||
$strTitle = ConverterMovel::convert($strTitle);
|
||||
|
||||
echo $strTitle;exit;
|
||||
|
||||
|
||||
if ($boolIsMobile) {
|
||||
return View::fetch();
|
||||
} else {
|
||||
|
||||
@@ -5,11 +5,13 @@ declare(strict_types=1);
|
||||
namespace app\home\controller;
|
||||
|
||||
use app\home\BaseController;
|
||||
use app\model\CategoryModel;
|
||||
use app\model\ConverterMovel;
|
||||
use app\model\NovelModel;
|
||||
use storage\StorageCore;
|
||||
use think\facade\View;
|
||||
use app\Request;
|
||||
use template\page\CusteomPage02;
|
||||
|
||||
class Novel extends BaseController
|
||||
{
|
||||
@@ -131,53 +133,90 @@ class Novel extends BaseController
|
||||
* @param integer $intPage 分页
|
||||
* @return void
|
||||
*/
|
||||
public function getLibrary(Request $Request) //, $strNovelChannel = 'all', $strCategory = 'all', $strStatus = 'all', $intPage = 1)
|
||||
public function getLibrary(Request $Request, $strGender = 'all', $strCategory = 'all', $strStatus = 'all', $intPage = 1)
|
||||
{
|
||||
$boolIsMobile = $Request->param('boolIsMobile');
|
||||
|
||||
$intGender = (int)$Request->param('intGender',0);
|
||||
$strCategory = (string)$Request->param('strCategory');
|
||||
$strStatus = (string)$Request->param('strStatus');
|
||||
// 性别
|
||||
|
||||
$arrSex = [
|
||||
'all' => 0,
|
||||
'nansheng-xiaoshuo' => 1,
|
||||
'nvsheng-xiaoshuo' => 1,
|
||||
];
|
||||
|
||||
if (!key_exists($strGender, $arrSex)) {
|
||||
return response('Bad Request', 400);
|
||||
}
|
||||
|
||||
$intGender = $arrSex[$strGender];
|
||||
|
||||
// 分类
|
||||
// $strCategory = $Request->param('strCategory');
|
||||
|
||||
if ($strCategory == 'all') {
|
||||
$strSearchCategory = NULL;
|
||||
} else if (!in_array($strGender, CategoryModel::$arrCategoryPinYin)) {
|
||||
return response('Bad Request', 400);
|
||||
} else {
|
||||
$strCategoryKey = array_search($strGender, CategoryModel::$arrCategoryPinYin);
|
||||
$strSearchCategory = CategoryModel::$arrCategory[$strCategoryKey];
|
||||
}
|
||||
|
||||
// 小说状态
|
||||
// $strStatus = $Request->param('strStatus');
|
||||
$arrStatus = [
|
||||
'all' => NULL,
|
||||
'lianzai' => '连载中',
|
||||
'wanjie' => '已完结',
|
||||
];
|
||||
|
||||
if (!key_exists($strStatus, $arrStatus)) {
|
||||
return response('Bad Request', 400);
|
||||
}
|
||||
|
||||
$strSearchStatus = $arrStatus[$strStatus];
|
||||
|
||||
|
||||
$intPage = (int)$Request->param('intPage');
|
||||
if ($intPage <= 1) {
|
||||
$intPage = 1;
|
||||
}
|
||||
$intLimit = 20;
|
||||
$intLifeTime = 24 * 3600;
|
||||
|
||||
$strKey = sprintf("Novel:Library:%s:%s:%s:%s", $intGender, $strSearchCategory, $strSearchStatus, $intPage);
|
||||
|
||||
|
||||
$NovelModel = new NovelModel;
|
||||
$arrPage = $NovelModel->getCommonNovelPageOnCache($strKey, $intPage, $intLimit, $intLifeTime, $intGender, $strSearchStatus);
|
||||
|
||||
$strKey = sprintf("Novel:Library:%s:%s:%s:%s", $intGender, $strCategory, $strStatus, $intPage);
|
||||
|
||||
// var_dump($intType);exit;
|
||||
$arrPage = $NovelModel->getCommonNovelPageOnCache($strKey, $intPage, $intLimit, $intLifeTime, $intGender, $strStatus);
|
||||
$strTemplate = NULL;
|
||||
$intButtomNum = 5;
|
||||
if ($boolIsMobile == false) {
|
||||
$intButtomNum = 10;
|
||||
$strTemplate = 'pc/getLibrary';
|
||||
}
|
||||
|
||||
// echo '<pre>';
|
||||
// print_r($arrPage);
|
||||
// exit;
|
||||
|
||||
// 模拟数据
|
||||
$arrNovel = [
|
||||
['n_id' => 1, 'name' => '小说1', 'author' => '作者1'],
|
||||
['n_id' => 2, 'name' => '小说2', 'author' => '作者2'],
|
||||
['n_id' => 3, 'name' => '小说3', 'author' => '作者3'],
|
||||
['n_id' => 4, 'name' => '小说3', 'author' => '作者3'],
|
||||
['n_id' => 5, 'name' => '小说3', 'author' => '作者3'],
|
||||
['n_id' => 6, 'name' => '小说3', 'author' => '作者3'],
|
||||
['n_id' => 7, 'name' => '小说3', 'author' => '作者3'],
|
||||
['n_id' => 8, 'name' => '小说3', 'author' => '作者3'],
|
||||
];
|
||||
$strBaseUrl = sprintf('/pc/shuku/%s/%s/%s/page{page}', $strGender, $strCategory, $strStatus);
|
||||
$arrPaginator = CusteomPage02::generate($intPage, $arrPage['total'], $intLimit, $strBaseUrl, $intButtomNum);
|
||||
|
||||
View::assign([
|
||||
'arrNovel' => $arrNovel,
|
||||
'arrNovel' => $arrPage['data'],
|
||||
'strPageCode' => 'library',
|
||||
'intGender' => $intGender,
|
||||
'strGender' => $strGender,
|
||||
'strCategory' => $strCategory,
|
||||
'strStatus' => $strStatus,
|
||||
'intPage' => $intPage,
|
||||
'intTotalPage' => $arrPage['pages'],
|
||||
'arrCategory' => array_combine(array_values(CategoryModel::$arrCategoryPinYin), array_values(CategoryModel::$arrCategory)),
|
||||
'arrPaginator' => $arrPaginator,
|
||||
]);
|
||||
if ($boolIsMobile) {
|
||||
return View::fetch();
|
||||
} else {
|
||||
return View::fetch('pc/getLibrary');
|
||||
}
|
||||
|
||||
|
||||
|
||||
return View::fetch($strTemplate);
|
||||
}
|
||||
|
||||
// 书架
|
||||
@@ -338,7 +377,7 @@ class Novel extends BaseController
|
||||
|
||||
$strNovel = '斗罗大陆';
|
||||
|
||||
ConverterMovel::setVal("strNovelName",$strNovel);
|
||||
ConverterMovel::setVal("strNovelName", $strNovel);
|
||||
|
||||
|
||||
// 模拟数据-随机推荐数据10条
|
||||
@@ -359,17 +398,24 @@ class Novel extends BaseController
|
||||
// 最新要点->取新意章节, 随机提取一部分内容 大概150字数
|
||||
|
||||
|
||||
// {strNovelName}最新章节_{strNovelName}{strNovelAuthor}_{strNovelName}全文阅读_{strSiteName}
|
||||
// {strNovelName}免费全文阅读-{strNovelName}{strNovelAuthor}-{strSiteName}
|
||||
|
||||
|
||||
// $strTitle = '小说详情-{strNovelName}-xxxxx';
|
||||
|
||||
// $strTitle = ConverterMovel::convert($strTitle);
|
||||
|
||||
// echo $strTitle;exit;
|
||||
|
||||
$strTitle = $Request->DomainModel->getFomartSubject(getFomartSubjectKey(__METHOD__));
|
||||
// echo $strTitle ;exit;
|
||||
$strTitle = ConverterMovel::convert($strTitle);
|
||||
|
||||
|
||||
View::assign([
|
||||
'arrRecommendNovel' => $arrRecommendNovel,
|
||||
'strPageCode' => 'boy'
|
||||
'strPageCode' => 'boy',
|
||||
'strTitle' => $strTitle,
|
||||
]);
|
||||
if ($boolIsMobile) {
|
||||
return View::fetch();
|
||||
|
||||
@@ -32,25 +32,28 @@
|
||||
<div class="optCl" mod="search_channel">
|
||||
<span class="optTit">所属频道</span>
|
||||
<ul>
|
||||
<li><a class="on" href="/pc/shuku/{$intGender}-{$strCategory}-{$strStatus}-{$intPage}.html" btn="search_category">全部</a></li>
|
||||
<li><a href="/pc/shuku/{$intGender}-{$strCategory}-{$strStatus}-{$intPage}" btn="search_category">男生</a></li>
|
||||
<li><a href="/pc/shuku/{$intGender}-{$strCategory}-{$strStatus}-{$intPage}" btn="search_category">女生</a></li>
|
||||
<li><a class="on" href="/pc/shuku/all/{$strCategory}/{$strStatus}/page{$intPage}.html" btn="search_category">全部</a></li>
|
||||
<li><a href="/pc/shuku/nansheng-xiaoshuo/{$strCategory}/{$strStatus}/page{$intPage}" btn="search_category">男生</a></li>
|
||||
<li><a href="/pc/shuku/nvsheng-xiaoshuo/{$strCategory}/{$strStatus}/page{$intPage}" btn="search_category">女生</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="optCl" mod="search_channel">
|
||||
<span class="optTit">所属分类</span>
|
||||
<ul>
|
||||
<li><a class="on" href="/pc/shuku/{$intGender}-{$strCategory}-{$strStatus}-{$intPage}" btn="search_category">全部</a></li>
|
||||
<li><a href="/pc/shuku/{$intGender}-{$strCategory}-{$strStatus}-{$intPage}" btn="search_category">都市修仙</a></li>
|
||||
<li><a href="/pc/shuku/{$intGender}-{$strCategory}-{$strStatus}-{$intPage}" btn="search_category">玄幻修真</a></li>
|
||||
<li><a class="on" href="/pc/shuku/{$strGender}/all/{$strStatus}/page{$intPage}" btn="search_category">全部</a></li>
|
||||
|
||||
{foreach $arrCategory as $key=>$vo }
|
||||
<li><a href="/pc/shuku/{$strGender}/{$key}/{$strStatus}/page{$intPage}" btn="search_category">{$vo}</a></li>
|
||||
{/foreach}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<div class="optCl">
|
||||
<span class="optTit">是否完结</span>
|
||||
<ul>
|
||||
<li><a class="on" href="/pc/shuku/{$intGender}-{$strCategory}-{$strStatus}-{$intPage}" btn="search_category">全部</a></li>
|
||||
<li><a href="/pc/shuku/{$intGender}-{$strCategory}-{$strStatus}-{$intPage}" btn="search_category">连载</a></li>
|
||||
<li><a href="/pc/shuku/{$intGender}-{$strCategory}-{$strStatus}-{$intPage}" btn="search_category">完本</a></li>
|
||||
<li><a class="on" href="/pc/shuku/{$strGender}/{$strCategory}/all/page{$intPage}" btn="search_category">全部</a></li>
|
||||
<li><a href="/pc/shuku/{$strGender}/{$strCategory}/lianzai/page{$intPage}" btn="search_category">连载</a></li>
|
||||
<li><a href="/pc/shuku/{$strGender}/{$strCategory}/wanjie/page{$intPage}" btn="search_category">完本</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
@@ -67,19 +70,28 @@
|
||||
<!--页码切换 开始-->
|
||||
<div class="changepage">
|
||||
<ul class="pagination">
|
||||
<li class="disabled"><span>«</span></li>
|
||||
|
||||
|
||||
{volist name="arrPaginator" id="vo" key="k" }
|
||||
<li><a href="{$vo.url}">{$vo.label}</a></li>
|
||||
{/volist}
|
||||
|
||||
|
||||
<!-- <li class="disabled"><span>«</span></li>
|
||||
<li class="active"><span>1</span></li>
|
||||
<li><a href="/pc/{$intGender}-{$strCategory}-{$strStatus}-2">2</a></li>
|
||||
<li><a href="/pc/{$intGender}-{$strCategory}-{$strStatus}-3">3</a></li>
|
||||
<li><a href="/pc/{$intGender}-{$strCategory}-{$strStatus}-4">4</a></li>
|
||||
<li><a href="/pc/{$intGender}-{$strCategory}-{$strStatus}-5">5</a></li>
|
||||
<li><a href="/pc/{$intGender}-{$strCategory}-{$strStatus}-6">6</a></li>
|
||||
<li><a href="/pc/{$intGender}-{$strCategory}-{$strStatus}-7">7</a></li>
|
||||
<li><a href="/pc/{$intGender}-{$strCategory}-{$strStatus}-8">8</a></li>
|
||||
<li><a href="/pc/{$strGender}-{$strCategory}-{$strStatus}-2">2</a></li>
|
||||
<li><a href="/pc/{$strGender}-{$strCategory}-{$strStatus}-3">3</a></li>
|
||||
<li><a href="/pc/{$strGender}-{$strCategory}-{$strStatus}-4">4</a></li>
|
||||
<li><a href="/pc/{$strGender}-{$strCategory}-{$strStatus}-5">5</a></li>
|
||||
<li><a href="/pc/{$strGender}-{$strCategory}-{$strStatus}-6">6</a></li>
|
||||
<li><a href="/pc/{$strGender}-{$strCategory}-{$strStatus}-7">7</a></li>
|
||||
<li><a href="/pc/{$strGender}-{$strCategory}-{$strStatus}-8">8</a></li>
|
||||
<li class="disabled"><span>...</span></li>
|
||||
<li><a href="/pc/{$intGender}-{$strCategory}-{$strStatus}-33">33</a></li>
|
||||
<li><a href="/pc/{$intGender}-{$strCategory}-{$strStatus}-34">34</a></li>
|
||||
<li><a href="/pc/{$intGender}-{$strCategory}-{$strStatus}-2">»</a></li>
|
||||
<li><a href="/pc/{$strGender}-{$strCategory}-{$strStatus}-33">33</a></li>
|
||||
<li><a href="/pc/{$strGender}-{$strCategory}-{$strStatus}-34">34</a></li>
|
||||
<li><a href="/pc/{$strGender}-{$strCategory}-{$strStatus}-2">»</a></li> -->
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<!--页码切换 结束-->
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no, width=device-width">
|
||||
<meta name="keywords" content="狂雨小说">
|
||||
<meta name="description" content="狂雨小说">
|
||||
<title>狂雨小说</title>
|
||||
<title>{$strTitle??''}</title>
|
||||
<link rel="stylesheet" href="/template/kuangyu/home/bai_web/css/style.css" type="text/css">
|
||||
<link rel="stylesheet" href="/template/kuangyu/public/css/common.css" type="text/css">
|
||||
<link rel="stylesheet" href="/public/layer/need/layer.css" type="text/css">
|
||||
|
||||
Reference in New Issue
Block a user