debug
This commit is contained in:
@@ -119,8 +119,8 @@ abstract class BaseController
|
|||||||
|
|
||||||
switch ($strTemplatesModel) {
|
switch ($strTemplatesModel) {
|
||||||
case 'default':
|
case 'default':
|
||||||
|
// TODO 随机30个小说(有伪造小说的)
|
||||||
$arrForgeNovel = [];
|
$arrForgeNovel = [];
|
||||||
|
|
||||||
View::assign([
|
View::assign([
|
||||||
'arrForgeNovel' => $arrForgeNovel,
|
'arrForgeNovel' => $arrForgeNovel,
|
||||||
'arrCategoryAll' => CategoryModel::$arrCategoryAll,
|
'arrCategoryAll' => CategoryModel::$arrCategoryAll,
|
||||||
|
|||||||
@@ -71,6 +71,37 @@ $arrRoutes = [
|
|||||||
|
|
||||||
// 书库
|
// 书库
|
||||||
'library' => [
|
'library' => [
|
||||||
|
/**
|
||||||
|
* 完整路由
|
||||||
|
* 暂时不需要开放
|
||||||
|
* 使用: {site:nflurl gender="$strGender" category="$CategoryPinyin" status="all" order="all" page="1"/}
|
||||||
|
*/
|
||||||
|
// '/shuku/:strGender/:strCategory/:strStatus/:strOrder/page:intPage',
|
||||||
|
// '/books/:strGender/:strCategory/:strStatus/:strOrder/page:intPage',
|
||||||
|
// '/library/:strGender/:strCategory/:strStatus/:strOrder/page:intPage',
|
||||||
|
// '/fenlei/:strGender/:strCategory/:strStatus/:strOrder/page:intPage',
|
||||||
|
// '/class/:strGender/:strCategory/:strStatus/:strOrder/page:intPage',
|
||||||
|
// '/category/:strGender/:strCategory/:strStatus/:strOrder/page:intPage',
|
||||||
|
|
||||||
|
/**
|
||||||
|
* default 模板
|
||||||
|
* strGender 不需要
|
||||||
|
* 使用 :gender 传空/或者不传,控制器会默认值是 all
|
||||||
|
* {site:nflurl gender="" category="$CategoryPinyin" status="all" order="all" page="1"/}
|
||||||
|
*/
|
||||||
|
'/shuku/:strCategory/:strStatus/:strOrder/page:intPage',
|
||||||
|
'/books/:strCategory/:strStatus/:strOrder/page:intPage',
|
||||||
|
'/library/:strCategory/:strStatus/:strOrder/page:intPage',
|
||||||
|
'/fenlei/:strCategory/:strStatus/:strOrder/page:intPage',
|
||||||
|
'/class/:strCategory/:strStatus/:strOrder/page:intPage',
|
||||||
|
'/category/:strCategory/:strStatus/:strOrder/page:intPage',
|
||||||
|
|
||||||
|
/**
|
||||||
|
* kuangyu 模板
|
||||||
|
* strOrder 不需要
|
||||||
|
* 使用 order 传空/或者不传,控制器会默认值是 all
|
||||||
|
* {site:nflurl gender="$strGender" category="$CategoryPinyin" status="all" page="1"/}
|
||||||
|
*/
|
||||||
'/shuku/:strGender/:strCategory/:strStatus/page:intPage',
|
'/shuku/:strGender/:strCategory/:strStatus/page:intPage',
|
||||||
'/books/:strGender/:strCategory/:strStatus/page:intPage',
|
'/books/:strGender/:strCategory/:strStatus/page:intPage',
|
||||||
'/library/:strGender/:strCategory/:strStatus/page:intPage',
|
'/library/:strGender/:strCategory/:strStatus/page:intPage',
|
||||||
@@ -80,12 +111,12 @@ $arrRoutes = [
|
|||||||
],
|
],
|
||||||
// 书库首页
|
// 书库首页
|
||||||
'library-index' => [
|
'library-index' => [
|
||||||
'/shuku/all',
|
'/shuku/index',
|
||||||
'/books/all',
|
'/books/index',
|
||||||
'/library/all',
|
'/library/index',
|
||||||
'/fenlei/all',
|
'/fenlei/index',
|
||||||
'/class/all',
|
'/class/index',
|
||||||
'/category/all',
|
'/category/index',
|
||||||
],
|
],
|
||||||
//排行榜
|
//排行榜
|
||||||
'rank' => ['/paihang/all', '/rank/all', '/paihang-quan', '/top/all', '/paihang-bang', '/ranks/all'],
|
'rank' => ['/paihang/all', '/rank/all', '/paihang-quan', '/top/all', '/paihang-bang', '/ranks/all'],
|
||||||
@@ -150,13 +181,15 @@ foreach ($arrRoutes['prefixes'] as $platform => $prefixes) {
|
|||||||
->pattern(['intNovelId' => '\d+', 'name' => '[\w-]+', 'strOrder' => 'zheng|dao', 'intPage' => '\d+']);
|
->pattern(['intNovelId' => '\d+', 'name' => '[\w-]+', 'strOrder' => 'zheng|dao', 'intPage' => '\d+']);
|
||||||
break;
|
break;
|
||||||
case 'library':
|
case 'library':
|
||||||
//书库/分类
|
//书库/分类 /shuku/all/xuanhuan-xiuzhen/all/all/page1
|
||||||
Route::get($strRoute, [Novel::class, 'getLibrary'])
|
Route::get($strRoute, [Novel::class, 'getLibrary'])
|
||||||
->append(['boolIsMobile' => $boolIsMobile])
|
->append(['boolIsMobile' => $boolIsMobile])
|
||||||
->pattern([
|
->pattern([
|
||||||
|
//'strGender' => 'all|nansheng-xiaoshuo|boys-novel|nansheng-shu|man-read|nansheng-book|male-novels|nvsheng-xiaoshuo|girls-novel|nvsheng-shu|woman-read|nvsheng-book|female-novels',
|
||||||
'strGender' => '[a-z\-]+',
|
'strGender' => '[a-z\-]+',
|
||||||
'strCategory' => '[a-z\-]+',
|
'strCategory' => '[a-z\-]+',
|
||||||
'strStatus' => 'all|lianzai|wanjie',
|
'strStatus' => 'all|lianzai|wanjie',
|
||||||
|
// 'strOrder' => '[a-z\-]+',
|
||||||
'intPage' => '\d+'
|
'intPage' => '\d+'
|
||||||
]);
|
]);
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -137,7 +137,6 @@ class Index extends BaseController
|
|||||||
|
|
||||||
switch ($strTemplatesModel) {
|
switch ($strTemplatesModel) {
|
||||||
case 'default':
|
case 'default':
|
||||||
// 默认模板 630zw
|
|
||||||
// TODO 1.获取所有分类数据,
|
// TODO 1.获取所有分类数据,
|
||||||
// 2.然后 每个分类 随机获取 13个小说 ,
|
// 2.然后 每个分类 随机获取 13个小说 ,
|
||||||
// 3.所有分类数据 放到一个数组里, 前端一个循环渲染,排版都是一样的
|
// 3.所有分类数据 放到一个数组里, 前端一个循环渲染,排版都是一样的
|
||||||
@@ -160,7 +159,6 @@ class Index extends BaseController
|
|||||||
$strKey = sprintf('%s:PC:INDEX:ZUIJIAN:SEX:%s:%s', $Request->DomainModel->d_domain, 1, 5);
|
$strKey = sprintf('%s:PC:INDEX:ZUIJIAN:SEX:%s:%s', $Request->DomainModel->d_domain, 1, 5);
|
||||||
$arrBoyNewsNovel = $NovelModel->getCommonNovelOnCache($strKey, $intTTL, 5, 1, NULL, ['n_update_time' => -1]);
|
$arrBoyNewsNovel = $NovelModel->getCommonNovelOnCache($strKey, $intTTL, 5, 1, NULL, ['n_update_time' => -1]);
|
||||||
|
|
||||||
|
|
||||||
// 男生频道,周排行榜 随机10个小说
|
// 男生频道,周排行榜 随机10个小说
|
||||||
$strKey = sprintf('%s:PC:INDEX:RANK:%s:SEX:%s', $Request->DomainModel->d_domain, 'weekly', 1);
|
$strKey = sprintf('%s:PC:INDEX:RANK:%s:SEX:%s', $Request->DomainModel->d_domain, 'weekly', 1);
|
||||||
$arrBoyWeekRankNovel = $NovelModel->getRankNovelOnCache($strKey, 5, 1, 'weekly');
|
$arrBoyWeekRankNovel = $NovelModel->getRankNovelOnCache($strKey, 5, 1, 'weekly');
|
||||||
@@ -206,8 +204,8 @@ class Index extends BaseController
|
|||||||
$arrRecommendSerializationNovel = $NovelModel->getCommonNovelOnCache($strKey, $intTTL, $intRecommendSerializationNovel, 0, NULL);
|
$arrRecommendSerializationNovel = $NovelModel->getCommonNovelOnCache($strKey, $intTTL, $intRecommendSerializationNovel, 0, NULL);
|
||||||
|
|
||||||
// 推荐等级为9的完结的 随机12个小说
|
// 推荐等级为9的完结的 随机12个小说
|
||||||
$strKey = sprintf('%s:PC:INDEX:TUIJIAN:WANJIE:%s', $Request->DomainModel->d_domain, 12);
|
$strKey = sprintf('%s:PC:INDEX:TUIJIAN:WANJIE:%s', $Request->DomainModel->d_domain, $intRecommendEndNovel);
|
||||||
$arrRecommendEndNovel = $NovelModel->getCommonNovelOnCache($strKey, $intTTL, 12, 0, "已完结");
|
$arrRecommendEndNovel = $NovelModel->getCommonNovelOnCache($strKey, $intTTL, $intRecommendEndNovel, 0, "已完结");
|
||||||
|
|
||||||
// 最近更新-随机50
|
// 最近更新-随机50
|
||||||
$strKey = sprintf('%s:PC:INDEX:ZUIJIAN:SEX:%s:%s', $Request->DomainModel->d_domain, 0, 50);
|
$strKey = sprintf('%s:PC:INDEX:ZUIJIAN:SEX:%s:%s', $Request->DomainModel->d_domain, 0, 50);
|
||||||
|
|||||||
@@ -97,10 +97,11 @@ class Novel extends BaseController
|
|||||||
* @param string $strNovelChannel 男生/女生 -拼音
|
* @param string $strNovelChannel 男生/女生 -拼音
|
||||||
* @param string $strCategory 分类 -拼音
|
* @param string $strCategory 分类 -拼音
|
||||||
* @param string $strStatus 连载/完结 -拼音
|
* @param string $strStatus 连载/完结 -拼音
|
||||||
|
* @param string $strOrder 排序 -拼音
|
||||||
* @param integer $intPage 分页
|
* @param integer $intPage 分页
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function getLibrary(Request $Request, $strGender = 'all', $strCategory = 'all', $strStatus = 'all', $strSort = 'all',$intPage = 1)
|
public function getLibrary(Request $Request, $strGender = 'all', $strCategory = 'all', $strStatus = 'all', $strOrder = 'all', $intPage = 1)
|
||||||
{
|
{
|
||||||
$boolIsMobile = $Request->param('boolIsMobile');
|
$boolIsMobile = $Request->param('boolIsMobile');
|
||||||
$strChannel = $Request->param('strChannel') ?? 'all';
|
$strChannel = $Request->param('strChannel') ?? 'all';
|
||||||
@@ -110,7 +111,6 @@ class Novel extends BaseController
|
|||||||
$strNanUrl = str_replace("/", "", $strNanUrlTemp);
|
$strNanUrl = str_replace("/", "", $strNanUrlTemp);
|
||||||
$strNvUrl = str_replace("/", "", $strNvUrlTemp);
|
$strNvUrl = str_replace("/", "", $strNvUrlTemp);
|
||||||
// 性别
|
// 性别
|
||||||
|
|
||||||
$arrSex = [
|
$arrSex = [
|
||||||
'all' => 0,
|
'all' => 0,
|
||||||
$strNanUrl => 1,
|
$strNanUrl => 1,
|
||||||
@@ -159,37 +159,42 @@ class Novel extends BaseController
|
|||||||
$intLifeTime = 24 * 3600;
|
$intLifeTime = 24 * 3600;
|
||||||
|
|
||||||
$strTemplatesModel = $Request->TemplatesModel->t_code;
|
$strTemplatesModel = $Request->TemplatesModel->t_code;
|
||||||
|
|
||||||
switch ($strTemplatesModel) {
|
switch ($strTemplatesModel) {
|
||||||
case 'default':
|
case 'default':
|
||||||
$arrSort = [
|
$arrOrder = [
|
||||||
|
'all' => '全部排序',
|
||||||
['key'=>'all','name'=>'全部'],
|
'day' => '日排行',
|
||||||
['key'=>10,'name'=>'日排行'],
|
'week' => '周排行',
|
||||||
['key'=>11,'name'=>'周排行'],
|
'mon' => '月排行',
|
||||||
['key'=>2,'name'=>'月排行'],
|
'click' => '总排行',
|
||||||
['key'=>3,'name'=>'总排行'],
|
'tuijian' => '推荐',
|
||||||
// ['key'=>4,'name'=>'日推荐'],
|
'news' => '最新入库',
|
||||||
// ['key'=>5,'name'=>'周推荐'],
|
'update' => '最新更新',
|
||||||
// ['key'=>6,'name'=>'月推荐'],
|
|
||||||
// ['key' => 'shouchang', 'name' => '收藏'],
|
|
||||||
['key' => 'tuijian', 'name' => '推荐'],
|
|
||||||
// ['key' => 'renqi', 'name' => '人气'],
|
|
||||||
['key' => 'news', 'name' => '最新入库'],
|
|
||||||
['key' => 'update', 'name' => '最新更新'],
|
|
||||||
];
|
];
|
||||||
|
|
||||||
// TODO 当前筛选条件(除了分页),随机6条
|
// TODO 当前筛选条件(除了分页),随机6条
|
||||||
$arrTopNovel = [];
|
$arrTopNovel = [];
|
||||||
|
|
||||||
|
if (!$boolIsMobile) {
|
||||||
|
// TODO 当前筛选条件(除了分页),最新 随机 $intLimit 条
|
||||||
|
$arrNewsNovel = [];
|
||||||
|
View::assign([
|
||||||
|
'arrNewsNovel' => $arrNewsNovel,
|
||||||
|
]);
|
||||||
|
} else {
|
||||||
|
}
|
||||||
|
|
||||||
|
$strBaseUrl = NovelModel::getNovelCategoryUrl('', $strCategory, $strStatus, $strOrder, '{page}');
|
||||||
View::assign([
|
View::assign([
|
||||||
'arrSort' => $arrSort,
|
|
||||||
'strSort' => $strSort,
|
|
||||||
'arrTopNovel' => $arrTopNovel,
|
'arrTopNovel' => $arrTopNovel,
|
||||||
|
'arrOrder' => $arrOrder,
|
||||||
|
'strOrder' => $strOrder,
|
||||||
]);
|
]);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'kuangYu':
|
case 'kuangYu':
|
||||||
|
$strBaseUrl = NovelModel::getNovelCategoryUrl($strGender, $strCategory, $strStatus, "", '{page}');
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
$strKey = sprintf("Novel:Library:%s:%s:%s:%s", $intGender, $strSearchCategory, $strSearchStatus, $intPage);
|
$strKey = sprintf("Novel:Library:%s:%s:%s:%s", $intGender, $strSearchCategory, $strSearchStatus, $intPage);
|
||||||
@@ -204,7 +209,6 @@ class Novel extends BaseController
|
|||||||
$strTemplate = 'pc/getLibrary';
|
$strTemplate = 'pc/getLibrary';
|
||||||
}
|
}
|
||||||
|
|
||||||
$strBaseUrl = NovelModel::getNovelCategoryUrl($strGender, $strCategory, $strStatus, '{page}');
|
|
||||||
$arrPaginator = CusteomPage02::generate($intPage, $arrPage['total'], $intLimit, $strBaseUrl, $intButtomNum);
|
$arrPaginator = CusteomPage02::generate($intPage, $arrPage['total'], $intLimit, $strBaseUrl, $intButtomNum);
|
||||||
|
|
||||||
// 更新值
|
// 更新值
|
||||||
@@ -215,7 +219,6 @@ class Novel extends BaseController
|
|||||||
'strNovelStatus' => $strSearchStatus,
|
'strNovelStatus' => $strSearchStatus,
|
||||||
]);
|
]);
|
||||||
|
|
||||||
// $strTitle = $Request->DomainModel->getFomartSubject(getFomartSubjectKey(__METHOD__));
|
|
||||||
$strTitleTemplate = $Request->DomainModel->getFomartSubject(getFomartSubjectKey(__METHOD__) . '@TITLE');
|
$strTitleTemplate = $Request->DomainModel->getFomartSubject(getFomartSubjectKey(__METHOD__) . '@TITLE');
|
||||||
$strKeywordsTemplate = $Request->DomainModel->getFomartSubject(getFomartSubjectKey(__METHOD__) . '@KEYWORDS');
|
$strKeywordsTemplate = $Request->DomainModel->getFomartSubject(getFomartSubjectKey(__METHOD__) . '@KEYWORDS');
|
||||||
$strDescriptionTemplate = $Request->DomainModel->getFomartSubject(getFomartSubjectKey(__METHOD__) . '@DESCRIPTION');
|
$strDescriptionTemplate = $Request->DomainModel->getFomartSubject(getFomartSubjectKey(__METHOD__) . '@DESCRIPTION');
|
||||||
@@ -225,7 +228,7 @@ class Novel extends BaseController
|
|||||||
$strDescription = ConverterMovel::convert($strDescriptionTemplate);
|
$strDescription = ConverterMovel::convert($strDescriptionTemplate);
|
||||||
|
|
||||||
View::assign([
|
View::assign([
|
||||||
'arrNovel' => $arrPage['data'],
|
'arrNovel' => $arrPage['data'], // TODO default 模板需要加入 $strOrder 筛查数据
|
||||||
'strPageCode' => 'library',
|
'strPageCode' => 'library',
|
||||||
'strGender' => $strGender,
|
'strGender' => $strGender,
|
||||||
'strCategory' => $strCategory,
|
'strCategory' => $strCategory,
|
||||||
@@ -320,88 +323,7 @@ class Novel extends BaseController
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 分类
|
* 小说详情-伪造小说
|
||||||
*
|
|
||||||
* @todo 第一版本不需要
|
|
||||||
* @param Request $Request
|
|
||||||
* @param [type] $intCategoryId
|
|
||||||
* @param integer $intPage
|
|
||||||
* @return void
|
|
||||||
*/
|
|
||||||
// public function getNovelCategory(Request $Request, $intCategoryId = null, $intPage = 1)
|
|
||||||
// {
|
|
||||||
// $boolIsMobile = $Request->param('boolIsMobile');
|
|
||||||
// $strChannel = $Request->param('strChannel'); // 区分男生 / 女生频道
|
|
||||||
|
|
||||||
// // 模拟数据-推荐等级为9的,连载的,男生频道/女生频道, 随机12个小说
|
|
||||||
// $arrRecommendSerializationNovel = [
|
|
||||||
// ['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'],
|
|
||||||
// ['id' => 9, 'name' => '小说3', 'author' => '作者3'],
|
|
||||||
// ['id' => 10, 'name' => '小说3', 'author' => '作者3'],
|
|
||||||
// ['id' => 11, 'name' => '小说3', 'author' => '作者3'],
|
|
||||||
// ['id' => 12, 'name' => '小说3', 'author' => '作者3'],
|
|
||||||
// ];
|
|
||||||
// // 模拟数据-推荐等级为9的,完结的,男生频道/女生频道, 随机8个小说
|
|
||||||
// $arrRecommendEndNovel = [
|
|
||||||
// ['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'],
|
|
||||||
|
|
||||||
// ];
|
|
||||||
|
|
||||||
// // 模拟数据-最近更新-随机50
|
|
||||||
// $arrNewsUpdateNovel = [
|
|
||||||
// ['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'],
|
|
||||||
// ['id' => 9, 'name' => '小说3', 'author' => '作者3'],
|
|
||||||
// ['id' => 10, 'name' => '小说3', 'author' => '作者3'],
|
|
||||||
// ['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'],
|
|
||||||
// ['id' => 9, 'name' => '小说3', 'author' => '作者3'],
|
|
||||||
// ['id' => 10, 'name' => '小说3', 'author' => '作者3'],
|
|
||||||
// ];
|
|
||||||
|
|
||||||
// View::assign([
|
|
||||||
// 'arrNewsUpdateNovel' => $arrNewsUpdateNovel,
|
|
||||||
// 'arrRecommendSerializationNovel' => $arrRecommendSerializationNovel,
|
|
||||||
// 'arrRecommendEndNovel' => $arrRecommendEndNovel,
|
|
||||||
// 'arrAdBanner' => [],
|
|
||||||
// 'strPageCode' => 'category'
|
|
||||||
// ]);
|
|
||||||
// if ($boolIsMobile) {
|
|
||||||
// return View::fetch();
|
|
||||||
// } else {
|
|
||||||
// return View::fetch('pc/getNovelCategory');
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 小说详情-kan
|
|
||||||
*
|
*
|
||||||
* @param Request $Request
|
* @param Request $Request
|
||||||
* @return void
|
* @return void
|
||||||
@@ -470,6 +392,23 @@ class Novel extends BaseController
|
|||||||
'$in' => $arrRelateveNId,
|
'$in' => $arrRelateveNId,
|
||||||
]], 10);
|
]], 10);
|
||||||
|
|
||||||
|
$strTemplatesModel = $Request->TemplatesModel->t_code;
|
||||||
|
switch ($strTemplatesModel) {
|
||||||
|
case 'default':
|
||||||
|
|
||||||
|
// TODO 章节正序 前100 条
|
||||||
|
$arrChapterAsc = [];
|
||||||
|
|
||||||
|
// TODO 和当前小说同分类,完结的小说 随机6个
|
||||||
|
$arrEndNovel = [];
|
||||||
|
|
||||||
|
View::assign([
|
||||||
|
'arrChapterAsc' => $arrChapterAsc,
|
||||||
|
'arrEndNovel' => $arrEndNovel,
|
||||||
|
]);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
// 更新值
|
// 更新值
|
||||||
ConverterMovel::setVal([
|
ConverterMovel::setVal([
|
||||||
'intPage' => 1,
|
'intPage' => 1,
|
||||||
@@ -574,6 +513,23 @@ class Novel extends BaseController
|
|||||||
'$in' => $arrRelateveNId,
|
'$in' => $arrRelateveNId,
|
||||||
]], 10);
|
]], 10);
|
||||||
|
|
||||||
|
$strTemplatesModel = $Request->TemplatesModel->t_code;
|
||||||
|
switch ($strTemplatesModel) {
|
||||||
|
case 'default':
|
||||||
|
|
||||||
|
// TODO 章节正序 前100 条
|
||||||
|
$arrChapterAsc = [];
|
||||||
|
|
||||||
|
// TODO 和当前小说同分类,完结的小说 随机6个
|
||||||
|
$arrEndNovel = [];
|
||||||
|
|
||||||
|
View::assign([
|
||||||
|
'arrChapterAsc' => $arrChapterAsc,
|
||||||
|
'arrEndNovel' => $arrEndNovel,
|
||||||
|
]);
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
// 更新值
|
// 更新值
|
||||||
ConverterMovel::setVal([
|
ConverterMovel::setVal([
|
||||||
'intPage' => 1,
|
'intPage' => 1,
|
||||||
@@ -655,17 +611,19 @@ class Novel extends BaseController
|
|||||||
$strTemplatesModel = $Request->TemplatesModel->t_code;
|
$strTemplatesModel = $Request->TemplatesModel->t_code;
|
||||||
switch ($strTemplatesModel) {
|
switch ($strTemplatesModel) {
|
||||||
case 'default':
|
case 'default':
|
||||||
if(!$boolIsMobile){
|
// 推荐小说
|
||||||
// 推荐小说
|
$arrRelateveNId = array_column($arrNovel['n_related_novel'], 'n_id');
|
||||||
$arrRelateveNId = array_column($arrNovel['n_related_novel'], 'n_id');
|
$arrRelateveNovel = $NovelModel->findMany(['n_id' => [
|
||||||
$arrRelateveNovel = $NovelModel->findMany(['n_id' => [
|
'$in' => $arrRelateveNId,
|
||||||
'$in' => $arrRelateveNId,
|
]], 10);
|
||||||
]], 10);
|
|
||||||
|
|
||||||
View::assign([
|
// TODO 和当前小说同分类,完结的小说 随机6个
|
||||||
'arrRelateveNovel' => $arrRelateveNovel,
|
$arrEndNovel = [];
|
||||||
]);
|
|
||||||
}
|
View::assign([
|
||||||
|
'arrRelateveNovel' => $arrRelateveNovel,
|
||||||
|
'arrEndNovel' => $arrEndNovel,
|
||||||
|
]);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@@ -764,17 +722,19 @@ class Novel extends BaseController
|
|||||||
$strTemplatesModel = $Request->TemplatesModel->t_code;
|
$strTemplatesModel = $Request->TemplatesModel->t_code;
|
||||||
switch ($strTemplatesModel) {
|
switch ($strTemplatesModel) {
|
||||||
case 'default':
|
case 'default':
|
||||||
if(!$boolIsMobile){
|
// 推荐小说
|
||||||
// 推荐小说
|
$arrRelateveNId = array_column($arrNovel['n_related_novel'], 'n_id');
|
||||||
$arrRelateveNId = array_column($arrNovel['n_related_novel'], 'n_id');
|
$arrRelateveNovel = $NovelModel->findMany(['n_id' => [
|
||||||
$arrRelateveNovel = $NovelModel->findMany(['n_id' => [
|
'$in' => $arrRelateveNId,
|
||||||
'$in' => $arrRelateveNId,
|
]], 10);
|
||||||
]], 10);
|
|
||||||
|
|
||||||
View::assign([
|
// TODO 和当前小说同分类,完结的小说 随机6个
|
||||||
'arrRelateveNovel' => $arrRelateveNovel,
|
$arrEndNovel = [];
|
||||||
]);
|
|
||||||
}
|
View::assign([
|
||||||
|
'arrRelateveNovel' => $arrRelateveNovel,
|
||||||
|
'arrEndNovel' => $arrEndNovel,
|
||||||
|
]);
|
||||||
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
@@ -875,7 +835,15 @@ class Novel extends BaseController
|
|||||||
'$in' => $arrRelateveNId,
|
'$in' => $arrRelateveNId,
|
||||||
]], 10);
|
]], 10);
|
||||||
|
|
||||||
|
// TODO 章节正序 前100 条
|
||||||
|
$arrChapterAsc = [];
|
||||||
|
|
||||||
|
// TODO 和当前小说同分类,完结的小说 随机6个
|
||||||
|
$arrEndNovel = [];
|
||||||
|
|
||||||
View::assign([
|
View::assign([
|
||||||
|
'arrChapterAsc' => $arrChapterAsc,
|
||||||
|
'arrEndNovel' => $arrEndNovel,
|
||||||
'intFirstChapterSort' => $intFirstChapterSort,
|
'intFirstChapterSort' => $intFirstChapterSort,
|
||||||
'arrRelateveNovel' => $arrRelateveNovel,
|
'arrRelateveNovel' => $arrRelateveNovel,
|
||||||
]);
|
]);
|
||||||
@@ -891,7 +859,7 @@ class Novel extends BaseController
|
|||||||
$intButtomNum = 10;
|
$intButtomNum = 10;
|
||||||
}
|
}
|
||||||
|
|
||||||
$strBaseUrl = NovelModel::getNovelCatalogUrl($intNId, $arrNovel['n_name_pinyin'], $strOrder,'{page}');
|
$strBaseUrl = NovelModel::getNovelCatalogUrl($intNId, $arrNovel['n_name_pinyin'], $strOrder, '{page}');
|
||||||
$arrPaginator = CusteomPage02::generate($intPage, $arrPage['total'], $intLimit, $strBaseUrl, $intButtomNum);
|
$arrPaginator = CusteomPage02::generate($intPage, $arrPage['total'], $intLimit, $strBaseUrl, $intButtomNum);
|
||||||
|
|
||||||
// 更新值
|
// 更新值
|
||||||
@@ -974,8 +942,6 @@ class Novel extends BaseController
|
|||||||
|
|
||||||
$intButtomNum = 10;
|
$intButtomNum = 10;
|
||||||
|
|
||||||
// $strSearchInfoUrlTemp = $Request->DomainModel->getFomartSubject('SEARCH_INFO_URL','',false);
|
|
||||||
// $strBaseUrl = sprintf('/search.html?keyword=%s&page={page}', $strSearchKeywords);
|
|
||||||
$strBaseUrl = NovelModel::getNovelSearchUrl($strSearchKeywords, '{page}');
|
$strBaseUrl = NovelModel::getNovelSearchUrl($strSearchKeywords, '{page}');
|
||||||
$arrPaginator = CusteomPage02::generate($intPage, $arrPage['total'], $intLimit, $strBaseUrl, $intButtomNum);
|
$arrPaginator = CusteomPage02::generate($intPage, $arrPage['total'], $intLimit, $strBaseUrl, $intButtomNum);
|
||||||
|
|
||||||
|
|||||||
@@ -15,34 +15,34 @@
|
|||||||
<nav class="sortChannel_nav">
|
<nav class="sortChannel_nav">
|
||||||
<a class="on">分类:</a>
|
<a class="on">分类:</a>
|
||||||
<a class='{eq name="strCategory" value="all"}on on2 {/eq}'
|
<a class='{eq name="strCategory" value="all"}on on2 {/eq}'
|
||||||
href='{site:nflurl gender="$strGender" category="all" status="$strStatus" sort="$strSort" page="$intPage"/}'>全部</a>
|
href='{site:nflurl gender="" category="all" status="$strStatus" order="$strOrder" page="$intPage"/}'>全部分类</a>
|
||||||
|
|
||||||
{foreach $arrCategoryAll.man as $key=>$vo }
|
{foreach $arrCategoryAll.man as $key=>$vo }
|
||||||
<a class='{eq name="strCategory" value="$vo"}on on2 {/eq}'
|
<a class='{eq name="strCategory" value="$key"}on on2 {/eq}'
|
||||||
href='{site:nflurl gender="$strGender" category="$key" status="$strStatus" sort="$strSort" page="$intPage"/}'>{$vo}</a>
|
href='{site:nflurl gender="" category="$key" status="$strStatus" order="$strOrder" page="$intPage"/}'>{$vo}</a>
|
||||||
|
|
||||||
{/foreach}
|
{/foreach}
|
||||||
{foreach $arrCategoryAll.women as $key=>$vo }
|
{foreach $arrCategoryAll.women as $key=>$vo }
|
||||||
<a class='{eq name="strCategory" value="$vo"}on on2 {/eq}'
|
<a class='{eq name="strCategory" value="$key"}on on2 {/eq}'
|
||||||
href='{site:nflurl gender="$strGender" category="$key" status="$strStatus" sort="$strSort" page="$intPage"/}'>{$vo}</a>
|
href='{site:nflurl gender="" category="$key" status="$strStatus" order="$strOrder" page="$intPage"/}'>{$vo}</a>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
|
|
||||||
</nav>
|
</nav>
|
||||||
<nav class="sortChannel_nav">
|
<nav class="sortChannel_nav">
|
||||||
<a class="on">排序:</a>
|
<a class="on">排序:</a>
|
||||||
{foreach $arrSort as $key=>$Sort }
|
{foreach $arrOrder as $key=>$orderName }
|
||||||
<a href='{site:nflurl gender="$strGender" category="$strCategory" status="$strStatus" sort="$Sort.key" page="$intPage"/}'
|
<a href='{site:nflurl gender="" category="$strCategory" status="$strStatus" order="$key" page="$intPage"/}'
|
||||||
class='{eq name="strSort" value="$Sort.key"}on on2 {/eq}'>{$Sort.name}</a>
|
class='{eq name="strOrder" value="$key"}on on2 {/eq}'>{$orderName}</a>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</nav>
|
</nav>
|
||||||
<nav class="sortChannel_nav">
|
<nav class="sortChannel_nav">
|
||||||
<a class="on">状态:</a>
|
<a class="on">状态:</a>
|
||||||
|
|
||||||
<a href='{site:nflurl gender="$strGender" category="$strCategory" status="all" sort="$strSort" page="$intPage"/}'
|
<a href='{site:nflurl gender="" category="$strCategory" status="all" order="$strOrder" page="$intPage"/}'
|
||||||
class='{eq name="strStatus" value="all"}on on2 {/eq}' btn="search_category">全部</a>
|
class='{eq name="strStatus" value="all"}on on2 {/eq}' btn="search_category">全部状态</a>
|
||||||
<a href='{site:nflurl gender="$strGender" category="$strCategory" status="lianzai" sort="$strSort" page="$intPage"/}'
|
<a href='{site:nflurl gender="" category="$strCategory" status="lianzai" order="$strOrder" page="$intPage"/}'
|
||||||
class='{eq name="strStatus" value="lianzai"}on on2 {/eq}' btn="search_category">连载</a>
|
class='{eq name="strStatus" value="lianzai"}on on2 {/eq}' btn="search_category">连载</a>
|
||||||
<a href='{site:nflurl gender="$strGender" category="$strCategory" status="wanjie" sort="$strSort" page="$intPage"/}'
|
<a href='{site:nflurl gender="" category="$strCategory" status="wanjie" order="$strOrder" page="$intPage"/}'
|
||||||
class='{eq name="strStatus" value="wanjie"}on on2 {/eq}' btn="search_category">完本</a>
|
class='{eq name="strStatus" value="wanjie"}on on2 {/eq}' btn="search_category">完本</a>
|
||||||
|
|
||||||
</nav>
|
</nav>
|
||||||
@@ -54,8 +54,8 @@
|
|||||||
<li>
|
<li>
|
||||||
<span class="s1">[{$Novel.n_category}]</span>
|
<span class="s1">[{$Novel.n_category}]</span>
|
||||||
<span class="s2">
|
<span class="s2">
|
||||||
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'
|
<a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' data-toggle="tooltip"
|
||||||
data-toggle="tooltip" data-placement="right" title="{$Novel.n_name}">
|
data-placement="right" title="{$Novel.n_name}">
|
||||||
{$Novel.n_name}
|
{$Novel.n_name}
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
@@ -100,7 +100,7 @@
|
|||||||
{foreach $arrTopNovel as $key=>$Novel }
|
{foreach $arrTopNovel as $key=>$Novel }
|
||||||
<dl class="rec-focus-book">
|
<dl class="rec-focus-book">
|
||||||
<dt class="book-img">
|
<dt class="book-img">
|
||||||
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
|
<a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
|
||||||
<img height="100" width="80" class="lazyload-img" src="/static/img/default.jpg"
|
<img height="100" width="80" class="lazyload-img" src="/static/img/default.jpg"
|
||||||
data-src="{$Novel.n_cover_path ?? ''}"
|
data-src="{$Novel.n_cover_path ?? ''}"
|
||||||
alt="{$Novel.n_name ?? ''} - {$Novel.n_category ?? ''}最新章节在线免费阅读">
|
alt="{$Novel.n_name ?? ''} - {$Novel.n_category ?? ''}最新章节在线免费阅读">
|
||||||
@@ -108,7 +108,7 @@
|
|||||||
</dt>
|
</dt>
|
||||||
<dd class="book-info">
|
<dd class="book-info">
|
||||||
<h2>
|
<h2>
|
||||||
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
|
<a href='{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
|
||||||
{$Novel.n_name}
|
{$Novel.n_name}
|
||||||
</a>
|
</a>
|
||||||
</h2>
|
</h2>
|
||||||
|
|||||||
@@ -59,7 +59,6 @@
|
|||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
{block name="head-js"}
|
{block name="head-js"}
|
||||||
<script src="/static/001/h5/js/yueduqsbs.js"></script>
|
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
{block name="body-class"}novel_info{/block}
|
{block name="body-class"}novel_info{/block}
|
||||||
@@ -80,7 +79,7 @@
|
|||||||
<h1>{$arrNovel.n_name}</h1><span class="author">{$arrNovel.n_author}
|
<h1>{$arrNovel.n_name}</h1><span class="author">{$arrNovel.n_author}
|
||||||
著</span>
|
著</span>
|
||||||
</div>
|
</div>
|
||||||
<p class="tag"><span class="blue">{$arrNovel.n_name}</span><span class="green">{$arrNovel.n_status}</span>
|
<p class="tag"><span class="blue">{$arrNovel.n_category}</span><span class="green">{$arrNovel.n_status}</span>
|
||||||
</p>
|
</p>
|
||||||
<p class="update"><span>最近更新:</span><a href={site:lcpurl n_id="$arrNovel[n_id]"
|
<p class="update"><span>最近更新:</span><a href={site:lcpurl n_id="$arrNovel[n_id]"
|
||||||
n_py="$arrNovel[n_name_pinyin]" /}>{$arrLatestChapter->c_name
|
n_py="$arrNovel[n_name_pinyin]" /}>{$arrLatestChapter->c_name
|
||||||
@@ -110,30 +109,36 @@
|
|||||||
<ul class="chapter-list">
|
<ul class="chapter-list">
|
||||||
{volist name='arrChapter' id='Chapter'}
|
{volist name='arrChapter' id='Chapter'}
|
||||||
<li><a
|
<li><a
|
||||||
href='{$strPcPath}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" /}'>{$Chapter.c_name}<span></span></a>
|
href='{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" /}'>{$Chapter.c_name}<span></span></a>
|
||||||
</li>
|
</li>
|
||||||
{/volist}
|
{/volist}
|
||||||
</ul>
|
</ul>
|
||||||
<a href='{$strPcPath}{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" order="zheng" page="1"/}'
|
<a href='{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" order="zheng" page="1"/}'
|
||||||
class="btn-mulu">查看更多章节...</a>
|
class="btn-mulu">查看更多章节...</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
<h3 class="wrap-title">章节列表</h3>
|
<h3 class="wrap-title">章节列表</h3>
|
||||||
<div class="block-box">
|
<div class="block-box">
|
||||||
<ul class="chapter-list">
|
<ul class="chapter-list">
|
||||||
{volist name='arrChapter' id='vo'}
|
{volist name='arrChapterAsc' id='vo'}
|
||||||
<li><a
|
<li><a
|
||||||
href='{$strPcPath}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" /}'>{$Chapter.c_name}<span></span></a>
|
href='{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" /}'>{$Chapter.c_name}<span></span></a>
|
||||||
</li>
|
</li>
|
||||||
{/volist}
|
{/volist}
|
||||||
</ul>
|
</ul>
|
||||||
<a href='{$strPcPath}{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" order="zheng" page="1"/}'
|
<a href='{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" order="zheng" page="1"/}'
|
||||||
class="btn-mulu">查看更多章节...</a>
|
class="btn-mulu">查看更多章节...</a>
|
||||||
</div>
|
</div>
|
||||||
{else}
|
{else}
|
||||||
<h3 class="wrap-title">章节列表(第{$intPage}页)<a
|
<h3 class="wrap-title">章节列表(第{$intPage}页)
|
||||||
href='{$strPcPath}{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" order="dao" page="1"/}'
|
{if $strOrder == 'zheng'}
|
||||||
class="habt y">点击切换正序/倒序</a></h3>
|
<a href='{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" order="dao" page="1"/}'
|
||||||
|
class="habt y">点击切换倒序</a>
|
||||||
|
{else}
|
||||||
|
<a href='{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" order="zheng" page="1"/}'
|
||||||
|
class="habt y">点击切换正序</a>
|
||||||
|
{/if}
|
||||||
|
</h3>
|
||||||
<div class="block-box">
|
<div class="block-box">
|
||||||
|
|
||||||
<!-- 目录下拉分页-->
|
<!-- 目录下拉分页-->
|
||||||
@@ -155,18 +160,18 @@
|
|||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
<div class="wrap-box">
|
<div class="wrap-box">
|
||||||
<h3 class="wrap-title"><span>封面推荐</span></h3>
|
<h3 class="wrap-title"><span>完结推荐</span></h3>
|
||||||
<div class="rec-focus">
|
<div class="rec-focus">
|
||||||
{foreach $arrRelateveNovel as $key=>$Novel }
|
{foreach $arrEndNovel as $key=>$Novel }
|
||||||
<dl class="rec-focus-book">
|
<dl class="rec-focus-book">
|
||||||
<dt class="book-img"><a
|
<dt class="book-img"><a
|
||||||
href='{$strPcPath}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" /}'><img
|
href='{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" /}'><img
|
||||||
height="100" width="80" class="lazyload-img" src="/static/img/default.jpg"
|
height="100" width="80" class="lazyload-img" src="/static/img/default.jpg"
|
||||||
data-src="{$Novel.n_cover_path ?? ''}"
|
data-src="{$Novel.n_cover_path ?? ''}"
|
||||||
alt="{$Novel.n_name ?? ''} - {$Novel.n_category ?? ''}最新章节在线免费阅读"></a></dt>
|
alt="{$Novel.n_name ?? ''} - {$Novel.n_category ?? ''}最新章节在线免费阅读"></a></dt>
|
||||||
<dd class="book-info">
|
<dd class="book-info">
|
||||||
<h2><a
|
<h2><a
|
||||||
href='{$strPcPath}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" /}'>{$Novel.n_name}</a>
|
href='{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" /}'>{$Novel.n_name}</a>
|
||||||
</h2>
|
</h2>
|
||||||
<p>作者:{$Novel.n_author}</p>
|
<p>作者:{$Novel.n_author}</p>
|
||||||
<p>{$Novel.n_description}</p>
|
<p>{$Novel.n_description}</p>
|
||||||
@@ -186,16 +191,32 @@
|
|||||||
<div class="rec-focus" style="font-size:12px;">
|
<div class="rec-focus" style="font-size:12px;">
|
||||||
{volist name='arrRelateveNovel' id='Novel'}
|
{volist name='arrRelateveNovel' id='Novel'}
|
||||||
<a
|
<a
|
||||||
href='{$strPcPath}{site:nurl n_id="$Novel[n_id]" n_py="$Novel[n_name_pinyin]" /}'>{$Novel.n_name}</a>
|
href='{site:nurl n_id="$Novel[n_id]" n_py="$Novel[n_name_pinyin]" /}'>{$Novel.n_name}</a>
|
||||||
{/volist}
|
{/volist}
|
||||||
|
|
||||||
{volist name='arrNovel.n_forge_novel' id='ForgeNovel'}
|
{volist name='arrNovel.n_forge_novel' id='ForgeNovel'}
|
||||||
<a
|
<a
|
||||||
href='{$strPcPath}{site:nurl n_id="$Novel[n_id]" n_py="$Novel[n_name_pinyin]" /}'>{$ForgeNovel.n_forge_title}</a>
|
href='{site:nnurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" n_fid="$ForgeNovel[n_forge_id]"/}'>{$ForgeNovel.n_forge_title}</a>
|
||||||
{/volist}
|
{/volist}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<script>
|
||||||
|
const strNovelId = `{$arrNovel.n_id}`;
|
||||||
|
const arrNovel = {
|
||||||
|
'n_id': `{$arrNovel['n_id']}`,
|
||||||
|
'n_name_pinyin': `{$arrNovel['n_name_pinyin']}`,
|
||||||
|
'n_cover_path': `{$arrNovel['n_cover_path']}`,
|
||||||
|
'n_name': `{$arrNovel['n_name']}`,
|
||||||
|
'n_author': `{$arrNovel['n_author']}`,
|
||||||
|
'n_status': `{$arrNovel['n_status']}`,
|
||||||
|
'n_update_time': `{$arrNovel['n_update_time']}`,
|
||||||
|
'c_sort_num': 1,
|
||||||
|
'c_name': `第一章`,
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
{block name="customize"}
|
{block name="customize"}
|
||||||
|
|||||||
@@ -1,45 +0,0 @@
|
|||||||
{extend name="baseH5" /}
|
|
||||||
{block name='nav-active-class'}home{/block}
|
|
||||||
{block name="title"}{/block}
|
|
||||||
{block name="head-js"}{/block}
|
|
||||||
|
|
||||||
{block name="logo-html"}
|
|
||||||
<h1 class="logo">
|
|
||||||
<a href="/">狂雨小说</a>/{eq name="strPageCode" value="boy"}男生 {else/}女生{/eq}
|
|
||||||
</h1>
|
|
||||||
{/block}
|
|
||||||
|
|
||||||
{block name="main"}
|
|
||||||
<!--wrap-->
|
|
||||||
<div class="wrap">
|
|
||||||
|
|
||||||
<!-- hot-book -->
|
|
||||||
<div class="mod hot-book">
|
|
||||||
<div class="mod-head">
|
|
||||||
<h3>热门推荐</h3>
|
|
||||||
</div>
|
|
||||||
<div class="book-slide">
|
|
||||||
<ul class="clearfix">
|
|
||||||
{foreach $arrRecommendSerializationNovel as $category}
|
|
||||||
{include file="Public/novelListS" /}
|
|
||||||
{/foreach}
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<!-- /hot-book -->
|
|
||||||
<!-- new-book -->
|
|
||||||
<div class="mod new-book">
|
|
||||||
<div class="mod-head">
|
|
||||||
<h3>最近更新</h3>
|
|
||||||
</div>
|
|
||||||
<div class="book-list">
|
|
||||||
<ul class="clearfix">
|
|
||||||
{foreach $arrNewsUpdateNovel as $category}
|
|
||||||
{include file="Public/novelListH" /}
|
|
||||||
{/foreach}
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
{/block} {block name="customize"} {/block}
|
|
||||||
@@ -84,16 +84,16 @@
|
|||||||
<div class="chapter-page-btn">
|
<div class="chapter-page-btn">
|
||||||
<ul>
|
<ul>
|
||||||
{if $arrChapter.c_sort_num == 1}
|
{if $arrChapter.c_sort_num == 1}
|
||||||
<li><a href='javascript:'>上一章</a></li>
|
<li><a href='javascript:'>上一页</a></li>
|
||||||
{else}
|
{else}
|
||||||
<li><a
|
<li><a
|
||||||
href='{site:cpurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" c_sort="$arrPreChapter[c_sort_num]" c_page="0"/}'>上一章</a>
|
href='{site:cpurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" c_sort="$arrPreChapter[c_sort_num]" c_page="$arrPreChapter[c_page]"/}'>上一页</a>
|
||||||
</li>
|
</li>
|
||||||
{/if}
|
{/if}
|
||||||
<li class="mulu"><a href='{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" order="zheng" page="1"/}'>章节目录</a></li>
|
<li class="mulu"><a href='{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" order="zheng" page="1"/}'>章节目录</a></li>
|
||||||
{if $arrNextChapter && $arrNextChapter.c_sort_num}
|
{if $arrNextChapter && $arrNextChapter.c_sort_num}
|
||||||
<li><a
|
<li><a
|
||||||
href='{site:cpurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" c_sort="$arrNextChapter[c_sort_num]" c_page="0"/}'>下一章</a>
|
href='{site:cpurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" c_sort="$arrNextChapter[c_sort_num]" c_page="$arrNextChapter[c_page]"/}'>下一页</a>
|
||||||
</li>
|
</li>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
@@ -106,21 +106,62 @@
|
|||||||
<div class="chapter-page-btn">
|
<div class="chapter-page-btn">
|
||||||
<ul>
|
<ul>
|
||||||
{if $arrChapter.c_sort_num == 1}
|
{if $arrChapter.c_sort_num == 1}
|
||||||
<li><a href='javascript:'>上一章</a></li>
|
<li><a href='javascript:'>上一页</a></li>
|
||||||
{else}
|
{else}
|
||||||
<li><a
|
<li><a
|
||||||
href='{site:cpurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" c_sort="$arrPreChapter[c_sort_num]" c_page="0"/}'>上一章</a>
|
href='{site:cpurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" c_sort="$arrPreChapter[c_sort_num]" c_page="$arrPreChapter[c_page]"/}'>上一页</a>
|
||||||
</li>
|
</li>
|
||||||
{/if}
|
{/if}
|
||||||
<li class="mulu"><a href='{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" order="zheng" page="1"/}'>章节目录</a></li>
|
<li class="mulu"><a href='{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" order="zheng" page="1"/}'>章节目录</a></li>
|
||||||
{if $arrNextChapter && $arrNextChapter.c_sort_num}
|
{if $arrNextChapter && $arrNextChapter.c_sort_num}
|
||||||
<li><a
|
<li><a
|
||||||
href='{site:cpurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" c_sort="$arrNextChapter[c_sort_num]" c_page="0"/}'>下一章</a>
|
href='{site:cpurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" c_sort="$arrNextChapter[c_sort_num]" c_page="$arrNextChapter[c_page]"/}'>下一页</a>
|
||||||
</li>
|
</li>
|
||||||
{/if}
|
{/if}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="wrap-box">
|
||||||
|
<h3 class="wrap-title"><span>完结推荐</span></h3>
|
||||||
|
<div class="rec-focus">
|
||||||
|
{foreach $arrEndNovel as $key=>$Novel }
|
||||||
|
<dl class="rec-focus-book">
|
||||||
|
<dt class="book-img"><a
|
||||||
|
href='{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" /}'><img
|
||||||
|
height="100" width="80" class="lazyload-img" src="/static/img/default.jpg"
|
||||||
|
data-src="{$Novel.n_cover_path ?? ''}"
|
||||||
|
alt="{$Novel.n_name ?? ''} - {$Novel.n_category ?? ''}最新章节在线免费阅读"></a></dt>
|
||||||
|
<dd class="book-info">
|
||||||
|
<h2><a
|
||||||
|
href='{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" /}'>{$Novel.n_name}</a>
|
||||||
|
</h2>
|
||||||
|
<p>作者:{$Novel.n_author}</p>
|
||||||
|
<p>{$Novel.n_description}</p>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
{/foreach}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="wrap-box">
|
||||||
|
<h3 class="wrap-title"><span>相邻小说</span></h3>
|
||||||
|
<div class="description" style="font-size: 12px;padding:0px 10px 10px 10px; text-indent: 15px;">
|
||||||
|
|
||||||
|
{$strFocus ?? ""} 。看小说就来{$DomainModel->d_name} {$DomainModel->d_domain}...
|
||||||
|
</div>
|
||||||
|
<div class="rec-focus" style="font-size:12px;">
|
||||||
|
{volist name='arrRelateveNovel' id='Novel'}
|
||||||
|
<a
|
||||||
|
href='{site:nurl n_id="$Novel[n_id]" n_py="$Novel[n_name_pinyin]" /}'>{$Novel.n_name}</a>
|
||||||
|
{/volist}
|
||||||
|
|
||||||
|
{volist name='arrNovel.n_forge_novel' id='ForgeNovel'}
|
||||||
|
<a
|
||||||
|
href='{site:nnurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" n_fid="$ForgeNovel[n_forge_id]"/}'>{$ForgeNovel.n_forge_title}</a>
|
||||||
|
{/volist}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
{block name="customize"}
|
{block name="customize"}
|
||||||
|
|||||||
@@ -59,13 +59,11 @@
|
|||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
{block name="head-js"}
|
{block name="head-js"}
|
||||||
<script src="/static/001/h5/js/yueduqsbs.js"></script>
|
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
{block name="body-class"}novel_info{/block}
|
{block name="body-class"}novel_info{/block}
|
||||||
|
|
||||||
{block name='head-name'}{$DomainModel->d_name}{/block}
|
n_name
|
||||||
{block name='head-href'}/{/block}
|
|
||||||
|
|
||||||
{block name="main"}
|
{block name="main"}
|
||||||
<div class="block-box">
|
<div class="block-box">
|
||||||
@@ -79,7 +77,7 @@
|
|||||||
<h1>{$arrNovel.n_name}</h1><span class="author">{$arrNovel.n_author}
|
<h1>{$arrNovel.n_name}</h1><span class="author">{$arrNovel.n_author}
|
||||||
著</span>
|
著</span>
|
||||||
</div>
|
</div>
|
||||||
<p class="tag"><span class="blue">{$arrNovel.n_name}</span><span class="green">{$arrNovel.n_status}</span>
|
<p class="tag"><span class="blue">{$arrNovel.n_category}</span><span class="green">{$arrNovel.n_status}</span>
|
||||||
</p>
|
</p>
|
||||||
<p class="update"><span>最近更新:</span><a href={site:lcpurl n_id="$arrNovel[n_id]"
|
<p class="update"><span>最近更新:</span><a href={site:lcpurl n_id="$arrNovel[n_id]"
|
||||||
n_py="$arrNovel[n_name_pinyin]" /}>{$arrLatestChapter->c_name
|
n_py="$arrNovel[n_name_pinyin]" /}>{$arrLatestChapter->c_name
|
||||||
@@ -108,84 +106,69 @@
|
|||||||
<ul class="chapter-list">
|
<ul class="chapter-list">
|
||||||
{volist name='arrChapter' id='Chapter'}
|
{volist name='arrChapter' id='Chapter'}
|
||||||
<li><a
|
<li><a
|
||||||
href='{$strPcPath}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" /}'>{$Chapter.c_name}<span></span></a>
|
href='{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" /}'>{$Chapter.c_name}<span></span></a>
|
||||||
</li>
|
</li>
|
||||||
{/volist}
|
{/volist}
|
||||||
</ul>
|
</ul>
|
||||||
<a href='{$strPcPath}{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" order="zheng" page="1"/}'
|
<a href='{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" order="zheng" page="1"/}'
|
||||||
class="btn-mulu">查看更多章节...</a>
|
class="btn-mulu">查看更多章节...</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
<h3 class="wrap-title">章节列表</h3>
|
<h3 class="wrap-title">章节列表</h3>
|
||||||
<div class="block-box">
|
<div class="block-box">
|
||||||
<ul class="chapter-list">
|
<ul class="chapter-list">
|
||||||
{volist name='arrChapter' id='vo'}
|
{volist name='arrChapterAsc' id='vo'}
|
||||||
<li><a
|
<li><a
|
||||||
href='{$strPcPath}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" /}'>{$Chapter.c_name}<span></span></a>
|
href='{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" /}'>{$Chapter.c_name}<span></span></a>
|
||||||
</li>
|
</li>
|
||||||
{/volist}
|
{/volist}
|
||||||
</ul>
|
</ul>
|
||||||
<a href='{$strPcPath}{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" order="zheng" page="1"/}'
|
<a href='{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" order="zheng" page="1"/}'
|
||||||
class="btn-mulu">查看更多章节...</a>
|
class="btn-mulu">查看更多章节...</a>
|
||||||
</div>
|
</div>
|
||||||
{else}
|
{else}
|
||||||
<h3 class="wrap-title">章节列表(第{$intCurrentPage}页)<a
|
<h3 class="wrap-title">章节列表(第{$intPage}页)
|
||||||
href='{$strPcPath}{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" order="dao" page="1"/}'
|
{if $strOrder == 'zheng'}
|
||||||
class="habt y">点击切换正序/倒序</a></h3>
|
<a href='{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" order="dao" page="1"/}'
|
||||||
|
class="habt y">点击切换倒序</a>
|
||||||
|
{else}
|
||||||
|
<a href='{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" order="zheng" page="1"/}'
|
||||||
|
class="habt y">点击切换正序</a>
|
||||||
|
{/if}
|
||||||
|
</h3>
|
||||||
<div class="block-box">
|
<div class="block-box">
|
||||||
|
|
||||||
<div class="page_num">
|
<!-- 目录下拉分页-->
|
||||||
<a href="{if condition='$intCurrentPage > 1 '}/{$strFirstPath}/{$intNovelId}{if condition='$intCurrentPage > 2'}-{$intCurrentPage - 1}{/if}.html{else}/{$strFirstPath}/{$intNovelId}.html{/if}"
|
{include file="public/allChapterPage" start="1"/}
|
||||||
class="z">
|
|
||||||
上一页</a>
|
|
||||||
<select onchange="self.location.href=this.value">
|
|
||||||
{volist name="arrChapterPages" id="page"}
|
|
||||||
<option value="/{$strFirstPath}/{$intNovelId}{if condition='$page.index neq 0'}-{$page.index+=1}{/if}.html"
|
|
||||||
{if condition="$page.index == $intCurrentPage" }selected="selected" {/if}>
|
|
||||||
第{$page.start}-{$page.end}章
|
|
||||||
</option>
|
|
||||||
{/volist}
|
|
||||||
</select>
|
|
||||||
<a href="{if condition='$intCurrentPage < $intTotalPages'}/{$strFirstPath}/{$intNovelId}-{$intCurrentPage + 1}.html{else}/{$strFirstPath}/{$intNovelId}-{$intTotalPages}.html{/if}"
|
|
||||||
class="y">下一页</a>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<ul class="chapter-list">
|
<ul class="chapter-list">
|
||||||
{volist name='arrAscXiaoShuoZhangJie' id='vo'}
|
{volist name='arrPage.data' id='Chapter'}
|
||||||
<li><a href="/{$strFirstPath}/{$vo.xsxq_id}/{$vo.xszj_pai_xu}.html">{$vo.xszj_ming_zi}<span></span></a></li>
|
<li>
|
||||||
|
{$arrGRM[$key]|raw}
|
||||||
|
<a href='{site:cpurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" c_sort="$Chapter[c_sort_num]" c_page="0"/}'
|
||||||
|
title="{$arrNovel['n_name']} {$Chapter.c_name}">{$Chapter.c_name}</a>
|
||||||
|
</li>
|
||||||
|
|
||||||
{/volist}
|
{/volist}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="page_num">
|
{include file="public/allChapterPage" /}
|
||||||
<a href="{if condition='$intCurrentPage > 1 '}/{$strFirstPath}/{$intNovelId}{if condition='$intCurrentPage > 2'}-{$intCurrentPage - 1}{/if}.html{else}/{$strFirstPath}/{$intNovelId}.html{/if}"
|
|
||||||
class="z">
|
|
||||||
上一页</a>
|
|
||||||
<select onchange="self.location.href=this.value">
|
|
||||||
{volist name="arrChapterPages" id="page"}
|
|
||||||
<option value="/{$strFirstPath}/{$intNovelId}{if condition='$page.index neq 0'}-{$page.index+=1}{/if}.html"
|
|
||||||
{if condition="$page.index == $intCurrentPage" }selected="selected" {/if}>
|
|
||||||
第{$page.start}-{$page.end}章
|
|
||||||
</option>
|
|
||||||
{/volist}
|
|
||||||
</select>
|
|
||||||
<a href="{if condition='$intCurrentPage < $intTotalPages'}/{$strFirstPath}/{$intNovelId}-{$intCurrentPage + 1}.html{else}/{$strFirstPath}/{$intNovelId}-{$intTotalPages}.html{/if}"
|
|
||||||
class="y">下一页</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
<div class="wrap-box">
|
<div class="wrap-box">
|
||||||
<h3 class="wrap-title"><span>封面推荐</span></h3>
|
<h3 class="wrap-title"><span>完结推荐</span></h3>
|
||||||
<div class="rec-focus">
|
<div class="rec-focus">
|
||||||
{foreach $arrRelateveNovel as $key=>$Novel }
|
{foreach $arrEndNovel as $key=>$Novel }
|
||||||
<dl class="rec-focus-book">
|
<dl class="rec-focus-book">
|
||||||
<dt class="book-img"><a
|
<dt class="book-img"><a
|
||||||
href='{$strPcPath}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" /}'><img
|
href='{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" /}'><img
|
||||||
height="100" width="80" class="lazyload-img" src="/static/img/default.jpg"
|
height="100" width="80" class="lazyload-img" src="/static/img/default.jpg"
|
||||||
data-src="{$Novel.n_cover_path ?? ''}"
|
data-src="{$Novel.n_cover_path ?? ''}"
|
||||||
alt="{$Novel.n_name ?? ''} - {$Novel.n_category ?? ''}最新章节在线免费阅读"></a></dt>
|
alt="{$Novel.n_name ?? ''} - {$Novel.n_category ?? ''}最新章节在线免费阅读"></a></dt>
|
||||||
<dd class="book-info">
|
<dd class="book-info">
|
||||||
<h2><a
|
<h2><a
|
||||||
href='{$strPcPath}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" /}'>{$Novel.n_name}</a>
|
href='{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" /}'>{$Novel.n_name}</a>
|
||||||
</h2>
|
</h2>
|
||||||
<p>作者:{$Novel.n_author}</p>
|
<p>作者:{$Novel.n_author}</p>
|
||||||
<p>{$Novel.n_description}</p>
|
<p>{$Novel.n_description}</p>
|
||||||
@@ -195,7 +178,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div class="wrap-box">
|
<div class="wrap-box">
|
||||||
<h3 class="wrap-title"><span>相邻小说</span></h3>
|
<h3 class="wrap-title"><span>相邻小说</span></h3>
|
||||||
<div class="description" style="font-size: 12px;padding:0px 10px 10px 10px; text-indent: 15px;">
|
<div class="description" style="font-size: 12px;padding:0px 10px 10px 10px; text-indent: 15px;">
|
||||||
@@ -205,16 +187,30 @@
|
|||||||
<div class="rec-focus" style="font-size:12px;">
|
<div class="rec-focus" style="font-size:12px;">
|
||||||
{volist name='arrRelateveNovel' id='Novel'}
|
{volist name='arrRelateveNovel' id='Novel'}
|
||||||
<a
|
<a
|
||||||
href='{$strPcPath}{site:nurl n_id="$Novel[n_id]" n_py="$Novel[n_name_pinyin]" /}'>{$Novel.n_name}</a>
|
href='{site:nurl n_id="$Novel[n_id]" n_py="$Novel[n_name_pinyin]" /}'>{$Novel.n_name}</a>
|
||||||
{/volist}
|
{/volist}
|
||||||
|
|
||||||
{volist name='arrNovel.n_forge_novel' id='ForgeNovel'}
|
{volist name='arrNovel.n_forge_novel' id='ForgeNovel'}
|
||||||
<a
|
<a
|
||||||
href='{$strPcPath}{site:nurl n_id="$Novel[n_id]" n_py="$Novel[n_name_pinyin]" /}'>{$ForgeNovel.n_forge_title}</a>
|
href='{site:nnurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" n_fid="$ForgeNovel[n_forge_id]"/}'>{$ForgeNovel.n_forge_title}</a>
|
||||||
{/volist}
|
{/volist}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
const strNovelId = `{$arrNovel.n_id}`;
|
||||||
|
const arrNovel = {
|
||||||
|
'n_id': `{$arrNovel['n_id']}`,
|
||||||
|
'n_name_pinyin': `{$arrNovel['n_name_pinyin']}`,
|
||||||
|
'n_cover_path': `{$arrNovel['n_cover_path']}`,
|
||||||
|
'n_name': `{$arrNovel['n_name']}`,
|
||||||
|
'n_author': `{$arrNovel['n_author']}`,
|
||||||
|
'n_status': `{$arrNovel['n_status']}`,
|
||||||
|
'n_update_time': `{$arrNovel['n_update_time']}`,
|
||||||
|
'c_sort_num': 1,
|
||||||
|
'c_name': `第一章`,
|
||||||
|
};
|
||||||
|
</script>
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
{block name="customize"}
|
{block name="customize"}
|
||||||
|
|||||||
@@ -1,129 +0,0 @@
|
|||||||
{extend name="baseH5" /}
|
|
||||||
{block name='nav-active-class'}home{/block}
|
|
||||||
{block name="title"}{/block}
|
|
||||||
{block name="head-js"}{/block}
|
|
||||||
|
|
||||||
{block name="logo-html"}
|
|
||||||
<h1 class="logo">
|
|
||||||
<a href="/">狂雨小说</a>/排行榜
|
|
||||||
</h1>
|
|
||||||
{/block}
|
|
||||||
|
|
||||||
{block name="main"}
|
|
||||||
<div class="wrap">
|
|
||||||
|
|
||||||
<!-- hot-book -->
|
|
||||||
<div class="mod mod-top-index">
|
|
||||||
<div class="mod-head">
|
|
||||||
<h2>日点击榜</h2>
|
|
||||||
</div>
|
|
||||||
<div class="top-index">
|
|
||||||
<ul class="clearfix">
|
|
||||||
{foreach $arrDayRankNovel as $key => $vo}
|
|
||||||
{if $key == 0}
|
|
||||||
{include file="Public/novelListH" /}
|
|
||||||
{/if}
|
|
||||||
{if $key >= 1}
|
|
||||||
{include file="Public/novelListRank" /}
|
|
||||||
{/if}
|
|
||||||
|
|
||||||
{/foreach}
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<!-- hot-book -->
|
|
||||||
<div class="mod mod-top-index">
|
|
||||||
<div class="mod-head">
|
|
||||||
<h2>周点击榜</h2>
|
|
||||||
</div>
|
|
||||||
<div class="top-index">
|
|
||||||
<ul class="clearfix">
|
|
||||||
{foreach $arrWeekRankNovel as $key => $vo}
|
|
||||||
{if $key == 0}
|
|
||||||
{include file="Public/novelListH" /}
|
|
||||||
{/if}
|
|
||||||
{if $key >= 1}
|
|
||||||
{include file="Public/novelListRank" /}
|
|
||||||
{/if}
|
|
||||||
|
|
||||||
{/foreach}
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<!-- hot-book -->
|
|
||||||
<div class="mod mod-top-index">
|
|
||||||
<div class="mod-head">
|
|
||||||
<h2>月点击榜</h2>
|
|
||||||
</div>
|
|
||||||
<div class="top-index">
|
|
||||||
<ul class="clearfix">
|
|
||||||
{foreach $arrMoonRankNovel as $key => $vo}
|
|
||||||
{if $key == 0}
|
|
||||||
{include file="Public/novelListH" /}
|
|
||||||
{/if}
|
|
||||||
{if $key >= 1}
|
|
||||||
{include file="Public/novelListRank" /}
|
|
||||||
{/if}
|
|
||||||
|
|
||||||
{/foreach}
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="mod mod-top-index">
|
|
||||||
<div class="mod-head">
|
|
||||||
<h2>总点击榜</h2>
|
|
||||||
</div>
|
|
||||||
<div class="top-index">
|
|
||||||
<ul class="clearfix">
|
|
||||||
{foreach $arrTotalRankNovel as $key => $vo}
|
|
||||||
{if $key == 0}
|
|
||||||
{include file="Public/novelListH" /}
|
|
||||||
{/if}
|
|
||||||
{if $key >= 1}
|
|
||||||
{include file="Public/novelListRank" /}
|
|
||||||
{/if}
|
|
||||||
{/foreach}
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="mod mod-top-index">
|
|
||||||
<div class="mod-head">
|
|
||||||
<h2>新书榜</h2>
|
|
||||||
</div>
|
|
||||||
<div class="top-index">
|
|
||||||
<ul class="clearfix">
|
|
||||||
{foreach $arrNewsNovelRankNovel as $key => $vo}
|
|
||||||
{if $key == 0}
|
|
||||||
{include file="Public/novelListH" /}
|
|
||||||
{/if}
|
|
||||||
{if $key >= 1}
|
|
||||||
{include file="Public/novelListRank" /}
|
|
||||||
{/if}
|
|
||||||
{/foreach}
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="mod mod-top-index">
|
|
||||||
<div class="mod-head">
|
|
||||||
<h2>完结榜</h2>
|
|
||||||
</div>
|
|
||||||
<div class="top-index">
|
|
||||||
<ul class="clearfix">
|
|
||||||
{foreach $arrEdnNovelRankNovel as $key => $vo}
|
|
||||||
{if $key == 0}
|
|
||||||
{include file="Public/novelListH" /}
|
|
||||||
{/if}
|
|
||||||
{if $key >= 1}
|
|
||||||
{include file="Public/novelListRank" /}
|
|
||||||
{/if}
|
|
||||||
{/foreach}
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{/block}
|
|
||||||
|
|
||||||
{block name="customize"} {/block}
|
|
||||||
@@ -1,72 +1,74 @@
|
|||||||
{extend name="baseH5" /}
|
{extend name="baseH5" /}
|
||||||
{block name='nav-active-class'}home{/block}
|
{block name="title"}{$strTitle??''}{/block}
|
||||||
{block name="title"}{/block}
|
{block name="keywords"}{$strKeywords??''}{/block}
|
||||||
{block name="head-js"}{/block}
|
{block name="description"}{$strDescription??''}{/block}
|
||||||
|
|
||||||
{block name="logo-html"}
|
{block name='nav-active-class'}home{/block}
|
||||||
<h1 class="logo">
|
{block name="body-class"}novel_so novel_search_page{/block}
|
||||||
<a href="/">狂雨小说</a>
|
{block name='head-name'}{$DomainModel->d_name}{/block}
|
||||||
</h1>
|
{block name='head-href'}/{/block}
|
||||||
{/block}
|
|
||||||
|
|
||||||
{block name="main"}
|
{block name="main"}
|
||||||
|
|
||||||
|
<div class="wrap-box">
|
||||||
<div class="wrap">
|
<h1><span>{$strSearchKeywords}</span>搜索结果 - {$DomainModel->d_name} 第{$intPage}页</h1>
|
||||||
<div class="mod mod-search">
|
<!-- <h3 class="wrap-title"><span>搜索:</span><span style="color: red;">{$strSearchKeywords}</span>结果</h3> -->
|
||||||
<div class="search-list">
|
{if empty($arrPage.data)}
|
||||||
<div class="result"><span>“1”</span>相关结果:</div>
|
<p style="text-align: center;line-height: 60px">没有相关数据</p>
|
||||||
<ul class="clearfix">
|
{else}
|
||||||
<li>
|
|
||||||
<img class="pic lazy" src="http://www.xbiquzw.com/files/article/image/170/170262/170262s.jpg"
|
<div class="rec-focus">
|
||||||
alt="1秒1技能点,你说我凡阶天赋修炼慢?">
|
{foreach $arrPage.data as $key=>$Novel}
|
||||||
<a class="tit" href="/novel/202.html">1秒1技能点,你说我凡阶天赋修炼慢?</a>
|
<dl class="rec-focus-book">
|
||||||
<p class="intro"> 深海中潜藏的巨兽掀起灭世海啸!山间凶兽朝着钢铁巨城露出凶猛的獠牙。
|
<dt class="book-img">
|
||||||
即将参加高考的武道学生徐天觉醒深红系统。却没想觉醒日被未婚妻强行退婚,面对众人诋毁,未婚妻的鄙视。 地阶天赋又如何,深红,给我加点!
|
<a href='{site:nurl n_id="$Novel[n_id]" n_py="$Novel[n_name_pinyin]" /}'>
|
||||||
本站提示:各位书友要是觉得《1秒1技能点,你说我凡阶天赋修炼慢?》还不错的话请不要忘记向您QQ群</p>
|
<img height="100" width="80"
|
||||||
<p class="info">
|
src="/static/img/default.jpg" data-src="{$Novel.n_cover_path ?? ''}"
|
||||||
<span>
|
alt="{$Novel['n_name'] ?? ''}小说封面 - {$Novel.n_author}最新章节" class="lazy lazyload-img">
|
||||||
<aria>作者:</aria>青城老鬼
|
</a>
|
||||||
</span>
|
</dt>
|
||||||
<em class="type"></em>
|
<dd class="book-info">
|
||||||
<em class="finish">已完结</em>
|
<h2><a href='{site:nurl n_id="$Novel[n_id]" n_py="$Novel[n_name_pinyin]" /}'>{$Novel.n_name}</a></h2>
|
||||||
</p>
|
<p>作者:{$Novel.n_author}</p>
|
||||||
</li>
|
<p>{$Novel.n_description}</p>
|
||||||
<li>
|
</dd>
|
||||||
<img class="pic lazy" src="http://www.xbiquzw.com/files/article/image/170/170525/170525s.jpg"
|
</dl>
|
||||||
alt="全球农场TOP1">
|
{/foreach}
|
||||||
<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>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div class="pages">
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
|
{/if}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="row sort_page_num">
|
||||||
|
{volist name="arrPaginator" id="vo" key="k"}
|
||||||
|
{switch $vo.label}
|
||||||
|
{case value="上一页"}
|
||||||
|
{if $intPage == 1}
|
||||||
|
<span>«</span>
|
||||||
|
{else}
|
||||||
|
<a href="{$vo.url}">«</a>
|
||||||
|
{/if}
|
||||||
|
{/case}
|
||||||
|
{case value="下一页"}
|
||||||
|
{if $intPage >= $intTotalPage}
|
||||||
|
<span>»</span>
|
||||||
|
{else}
|
||||||
|
<a href="{$vo.url}">»</a>
|
||||||
|
{/if}
|
||||||
|
{/case}
|
||||||
|
{default /}
|
||||||
|
{if preg_match('/^\d+$/', $vo.label)}
|
||||||
|
<a href="{$vo.url}">{$vo.label}</a>
|
||||||
|
{/if}
|
||||||
|
{/switch}
|
||||||
|
{/volist}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
{block name="customize"} {/block}
|
{block name="customize"}
|
||||||
|
|
||||||
|
|
||||||
|
{/block}
|
||||||
@@ -11,7 +11,7 @@
|
|||||||
{else}
|
{else}
|
||||||
|
|
||||||
<meta property="og:url"
|
<meta property="og:url"
|
||||||
content='https://{$DomainModel->d_domain}{site:nflurl gender="$strGender" category="$strCategory" status="$strStatus" page="$intPage"/}' />
|
content='https://{$DomainModel->d_domain}{site:nflurl gender="" category="$strCategory" status="$strStatus" page="$intPage"/}' />
|
||||||
{/if}
|
{/if}
|
||||||
<meta property="og:type" content="book" />
|
<meta property="og:type" content="book" />
|
||||||
<!-- 结构化数据 -->
|
<!-- 结构化数据 -->
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
{else}
|
{else}
|
||||||
<script type="application/ld+json">
|
<script type="application/ld+json">
|
||||||
{
|
{
|
||||||
"@context": 'https://{$DomainModel->d_domain}{site:nflurl gender="$strGender" category="$strCategory" status="$strStatus" page="$intPage"/}',
|
"@context": 'https://{$DomainModel->d_domain}{site:nflurl gender="" category="$strCategory" status="$strStatus" page="$intPage"/}',
|
||||||
"@type": "book",
|
"@type": "book",
|
||||||
"headline": "{$strTitle??''}",
|
"headline": "{$strTitle??''}",
|
||||||
"description": "{$strDescription??''}",
|
"description": "{$strDescription??''}",
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
<link rel="canonical" href="https://{$DomainModel->d_domain}{$DomainModel->d_domain}{$strCategoryIndexUrlTemp}">
|
<link rel="canonical" href="https://{$DomainModel->d_domain}{$DomainModel->d_domain}{$strCategoryIndexUrlTemp}">
|
||||||
{else}
|
{else}
|
||||||
<link rel="canonical"
|
<link rel="canonical"
|
||||||
href='https://{$DomainModel->d_domain}{site:nflurl gender="$strGender" category="$strCategory" status="$strStatus" page="$intPage"/}'>
|
href='https://{$DomainModel->d_domain}{site:nflurl gender="" category="$strCategory" status="$strStatus" page="$intPage"/}'>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{/block}
|
{/block}
|
||||||
@@ -59,7 +59,7 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row row-section">
|
<div class="row row-section">
|
||||||
<div class="layout layout-col3">
|
<div class="layout layout-col3">
|
||||||
{foreach $arrNovel as $key=>$Novel }
|
{foreach $arrTopNovel as $key=>$Novel }
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
|
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
|
||||||
@@ -87,31 +87,31 @@
|
|||||||
<p>
|
<p>
|
||||||
<span>分类:</span>
|
<span>分类:</span>
|
||||||
<a class='{eq name="strCategory" value="all"}on {/eq}'
|
<a class='{eq name="strCategory" value="all"}on {/eq}'
|
||||||
href='{site:nflurl gender="$strGender" category="all" status="$strStatus" sort="$strSort" page="$intPage"/}'>不限</a>
|
href='{$strPcPath}{site:nflurl gender="" category="all" status="$strStatus" order="$strOrder" page="$intPage"/}'>不限</a>
|
||||||
|
|
||||||
{foreach $arrCategoryAll.man as $key=>$vo }
|
{foreach $arrCategoryAll.man as $key=>$vo }
|
||||||
<a class='{eq name="strCategory" value="$vo"}on {/eq}'
|
<a class='{eq name="strCategory" value="$key"}on {/eq}'
|
||||||
href='{site:nflurl gender="$strGender" category="$key" status="$strStatus" sort="$strSort" page="$intPage"/}'>{$vo}</a>
|
href='{$strPcPath}{site:nflurl gender="" category="$key" status="$strStatus" order="$strOrder" page="$intPage"/}'>{$vo}</a>
|
||||||
|
|
||||||
{/foreach}
|
{/foreach}
|
||||||
{foreach $arrCategoryAll.women as $key=>$vo }
|
{foreach $arrCategoryAll.women as $key=>$vo }
|
||||||
<a class='{eq name="strCategory" value="$vo"}on {/eq}'
|
<a class='{eq name="strCategory" value="$key"}on {/eq}'
|
||||||
href='{site:nflurl gender="$strGender" category="$key" status="$strStatus" sort="$strSort" page="$intPage"/}'>{$vo}</a>
|
href='{$strPcPath}{site:nflurl gender="" category="$key" status="$strStatus" order="$strOrder" page="$intPage"/}'>{$vo}</a>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
<p><span>排序:</span>
|
<p><span>排序:</span>
|
||||||
{foreach $arrSort as $key=>$Sort }
|
{foreach $arrOrder as $key=>$orderName }
|
||||||
<a href='{site:nflurl gender="$strGender" category="$strCategory" status="$strStatus" sort="$Sort.key" page="$intPage"/}'
|
<a href='{$strPcPath}{site:nflurl gender="" category="$strCategory" status="$strStatus" order="$key" page="$intPage"/}'
|
||||||
class='{eq name="strSort" value="$Sort.key"}on {/eq}'>{$Sort.name}</a>
|
class='{eq name="strOrder" value="$key"}on {/eq}'>{$orderName}</a>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</p>
|
</p>
|
||||||
<p><span>状态:</span>
|
<p><span>状态:</span>
|
||||||
<a href='{site:nflurl gender="$strGender" category="$strCategory" status="all" sort="$strSort" page="$intPage"/}'
|
<a href='{$strPcPath}{site:nflurl gender="" category="$strCategory" status="all" order="$strOrder" page="$intPage"/}'
|
||||||
class='{eq name="strStatus" value="all"}on {/eq}' btn="search_category">全部</a>
|
class='{eq name="strStatus" value="all"}on {/eq}' btn="search_category">全部</a>
|
||||||
<a href='{site:nflurl gender="$strGender" category="$strCategory" status="lianzai" sort="$strSort" page="$intPage"/}'
|
<a href='{$strPcPath}{site:nflurl gender="" category="$strCategory" status="lianzai" order="$strOrder" page="$intPage"/}'
|
||||||
class='{eq name="strStatus" value="lianzai"}on {/eq}' btn="search_category">连载</a>
|
class='{eq name="strStatus" value="lianzai"}on {/eq}' btn="search_category">连载</a>
|
||||||
<a href='{site:nflurl gender="$strGender" category="$strCategory" status="wanjie" sort="$strSort" page="$intPage"/}'
|
<a href='{$strPcPath}{site:nflurl gender="" category="$strCategory" status="wanjie" order="$strOrder" page="$intPage"/}'
|
||||||
class='{eq name="strStatus" value="wanjie"}on {/eq}' btn="search_category">完本</a>
|
class='{eq name="strStatus" value="wanjie"}on {/eq}' btn="search_category">完本</a>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
@@ -123,8 +123,10 @@
|
|||||||
{foreach $arrNovel as $key=>$Novel }
|
{foreach $arrNovel as $key=>$Novel }
|
||||||
<li>
|
<li>
|
||||||
<span class="s1">[{$Novel->n_category ?? ''}</span>
|
<span class="s1">[{$Novel->n_category ?? ''}</span>
|
||||||
<span class="s2"><a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a></span>
|
<span class="s2"><a
|
||||||
<span class="s5"><a href='{$strPcPath}{site:souurl key="$Novel->n_author" p="1"/}'>{$Novel->n_author}</a></span>
|
href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a></span>
|
||||||
|
<span class="s5"><a
|
||||||
|
href='{$strPcPath}{site:souurl key="$Novel->n_author" p="1"/}'>{$Novel->n_author}</a></span>
|
||||||
</li>
|
</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</ul>
|
</ul>
|
||||||
@@ -135,9 +137,12 @@
|
|||||||
{foreach $arrNovel as $key=>$Novel }
|
{foreach $arrNovel as $key=>$Novel }
|
||||||
<li>
|
<li>
|
||||||
<span class="s1">[{$Novel->n_category ?? ''}</span>
|
<span class="s1">[{$Novel->n_category ?? ''}</span>
|
||||||
<span class="s2"><a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a></span>
|
<span class="s2"><a
|
||||||
|
href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a></span>
|
||||||
<span class="s3"><a
|
<span class="s3"><a
|
||||||
href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel.n_name}</a></span>
|
href='{$strPcPath}{site:lcpurl n_id="$Novel[n_id]" n_py="$Novel[n_name_pinyin]" /}'
|
||||||
|
title="{$Novel->n_latest_chapter_name ?? 'null'}">{$Novel->n_latest_chapter_name ??
|
||||||
|
'null'}</a></span>
|
||||||
<span class="s4">{$Novel.n_author}</span>
|
<span class="s4">{$Novel.n_author}</span>
|
||||||
<span class="s5">{:date('m-d')}</span>
|
<span class="s5">{:date('m-d')}</span>
|
||||||
</li>
|
</li>
|
||||||
@@ -146,8 +151,35 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<!-- 分页 -->
|
||||||
|
<div class="row sort_page_num">
|
||||||
|
{volist name="arrPaginator" id="vo" key="k"}
|
||||||
|
{switch $vo.label}
|
||||||
|
{case value="上一页"}
|
||||||
|
{if $intPage == 1}
|
||||||
|
<span>«</span>
|
||||||
|
{else}
|
||||||
|
<a href="{$strPcPath}{$vo.url}">«</a>
|
||||||
|
{/if}
|
||||||
|
{/case}
|
||||||
|
{case value="下一页"}
|
||||||
|
{if $intPage >= $intTotalPage}
|
||||||
|
<span>»</span>
|
||||||
|
{else}
|
||||||
|
<a href="{$strPcPath}{$vo.url}">»</a>
|
||||||
|
{/if}
|
||||||
|
{/case}
|
||||||
|
{case value="..."}
|
||||||
|
<span>...</span>
|
||||||
|
{/case}
|
||||||
|
{default /}
|
||||||
|
{if preg_match('/^\d+$/', $vo.label)}
|
||||||
|
<a href="{$strPcPath}{$vo.url}">{$vo.label}</a>
|
||||||
|
{/if}
|
||||||
|
{/switch}
|
||||||
|
{/volist}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -71,7 +71,6 @@
|
|||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
{block name="head-js"}
|
{block name="head-js"}
|
||||||
<script src="/static/001/default/js/yueduqsbs.js"></script>
|
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
{block name="body-class"}novel_info{/block}
|
{block name="body-class"}novel_info{/block}
|
||||||
@@ -168,11 +167,15 @@
|
|||||||
<div class="row row-section">
|
<div class="row row-section">
|
||||||
<div class="layout layout-col1">
|
<div class="layout layout-col1">
|
||||||
<h2 class="layout-tit">《{$arrNovel.n_name}》章节列表(第{$intPage}页)切换倒序/正序:
|
<h2 class="layout-tit">《{$arrNovel.n_name}》章节列表(第{$intPage}页)切换倒序/正序:
|
||||||
<a
|
{if $strOrder == 'zheng'}
|
||||||
href='{$strPcPath}{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" order="dao" page="1"/}'>当前正序</a>
|
<a href='{$strPcPath}{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" order="dao" page="1"/}'
|
||||||
|
class="habt y">点击切换倒序</a>
|
||||||
|
{else}
|
||||||
|
<a href='{$strPcPath}{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" order="zheng" page="1"/}'
|
||||||
|
class="habt y">点击切换正序</a>
|
||||||
|
{/if}
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
|
|
||||||
<!-- 目录下拉分页-->
|
<!-- 目录下拉分页-->
|
||||||
{include file="pc/public/allChapterPage" /}
|
{include file="pc/public/allChapterPage" /}
|
||||||
|
|
||||||
@@ -196,7 +199,7 @@
|
|||||||
<h2 class="layout-tit">已完结热门小说推荐</h2>
|
<h2 class="layout-tit">已完结热门小说推荐</h2>
|
||||||
<div class="layout layout-col3">
|
<div class="layout layout-col3">
|
||||||
|
|
||||||
{foreach $arrRelateveNovel as $key=>$Novel }
|
{foreach $arrEndNovel as $key=>$Novel }
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
<a href='{$strPcPath}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" /}'>
|
<a href='{$strPcPath}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" /}'>
|
||||||
@@ -220,6 +223,22 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<script>
|
||||||
|
const strNovelId = `{$arrNovel.n_id}`;
|
||||||
|
const arrNovel = {
|
||||||
|
'n_id': `{$arrNovel['n_id']}`,
|
||||||
|
'n_name_pinyin': `{$arrNovel['n_name_pinyin']}`,
|
||||||
|
'n_cover_path': `{$arrNovel['n_cover_path']}`,
|
||||||
|
'n_name': `{$arrNovel['n_name']}`,
|
||||||
|
'n_author': `{$arrNovel['n_author']}`,
|
||||||
|
'n_status': `{$arrNovel['n_status']}`,
|
||||||
|
'n_update_time': `{$arrNovel['n_update_time']}`,
|
||||||
|
'c_sort_num': 1,
|
||||||
|
'c_name': `第一章`,
|
||||||
|
};
|
||||||
|
</script>
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
{block name="customize"}
|
{block name="customize"}
|
||||||
|
|||||||
@@ -83,11 +83,11 @@
|
|||||||
<h3>{$arrNovel.n_name}(第{$arrChapter['c_sort_num']}页)</h3>
|
<h3>{$arrNovel.n_name}(第{$arrChapter['c_sort_num']}页)</h3>
|
||||||
<div class="read_btn">
|
<div class="read_btn">
|
||||||
{if $arrChapter && $arrChapter.c_sort_num && $arrChapter.c_sort_num == 1}
|
{if $arrChapter && $arrChapter.c_sort_num && $arrChapter.c_sort_num == 1}
|
||||||
<a id="j_chapterPrev" href="javascript:void(0);">上一章</a>
|
<a id="j_chapterPrev" href="javascript:void(0);">上一页</a>
|
||||||
{else}
|
{else}
|
||||||
{$arrGRM[10]|raw}
|
{$arrGRM[10]|raw}
|
||||||
<a id="j_chapterPrev"
|
<a id="j_chapterPrev"
|
||||||
href='{$strPcPath}{site:cpurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" c_sort="$arrPreChapter[c_sort_num]" c_page="0"/}'>上一章</a>
|
href='{$strPcPath}{site:cpurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" c_sort="$arrPreChapter[c_sort_num]" c_page="$arrPreChapter[c_page]"/}'>上一页</a>
|
||||||
{/if}
|
{/if}
|
||||||
<span>|</span>
|
<span>|</span>
|
||||||
<a href='{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" order="zheng" page="1"/}'>章节目录</a>
|
<a href='{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" order="zheng" page="1"/}'>章节目录</a>
|
||||||
@@ -95,13 +95,13 @@
|
|||||||
{if $arrNextChapter && $arrNextChapter.c_sort_num}
|
{if $arrNextChapter && $arrNextChapter.c_sort_num}
|
||||||
{$arrGRM[9]|raw}
|
{$arrGRM[9]|raw}
|
||||||
<a id="j_chapterNext"
|
<a id="j_chapterNext"
|
||||||
href='{$strPcPath}{site:cpurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" c_sort="$arrNextChapter[c_sort_num]" c_page="0"/}'>下一章</a>
|
href='{$strPcPath}{site:cpurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" c_sort="$arrNextChapter[c_sort_num]" c_page="$arrNextChapter[c_page]"/}'>下一页</a>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script>document.writeln(qsbs.bb('{$arrChapter.c_content}'));</script>
|
<script>document.writeln(qsbs.bb('{$arrChapter.c_content}'));</script>
|
||||||
|
|
||||||
<p>请勿开启浏览器阅读模式,否则将导致章节内容缺失及无法阅读下一章。</p>
|
<p>请勿开启浏览器阅读模式,否则将导致章节内容缺失及无法阅读下一页。</p>
|
||||||
|
|
||||||
<p>相邻推荐:
|
<p>相邻推荐:
|
||||||
{volist name="arrNovel.n_forge_novel" id="ForgeNovel" key="key"}
|
{volist name="arrNovel.n_forge_novel" id="ForgeNovel" key="key"}
|
||||||
@@ -120,11 +120,11 @@
|
|||||||
</p>
|
</p>
|
||||||
<div class="read_btn">
|
<div class="read_btn">
|
||||||
{if $arrChapter && $arrChapter.c_sort_num && $arrChapter.c_sort_num == 1}
|
{if $arrChapter && $arrChapter.c_sort_num && $arrChapter.c_sort_num == 1}
|
||||||
<a id="j_chapterPrev" href="javascript:void(0);">上一章</a>
|
<a id="j_chapterPrev" href="javascript:void(0);">上一页</a>
|
||||||
{else}
|
{else}
|
||||||
{$arrGRM[10]|raw}
|
{$arrGRM[10]|raw}
|
||||||
<a id="j_chapterPrev"
|
<a id="j_chapterPrev"
|
||||||
href='{$strPcPath}{site:cpurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" c_sort="$arrPreChapter[c_sort_num]" c_page="0"/}'>上一章</a>
|
href='{$strPcPath}{site:cpurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" c_sort="$arrPreChapter[c_sort_num]" c_page="$arrPreChapter[c_page]"/}'>上一页</a>
|
||||||
{/if}
|
{/if}
|
||||||
<span>|</span>
|
<span>|</span>
|
||||||
<a href='{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" order="zheng" page="1"/}'>章节目录</a>
|
<a href='{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" order="zheng" page="1"/}'>章节目录</a>
|
||||||
@@ -132,7 +132,7 @@
|
|||||||
{if $arrNextChapter && $arrNextChapter.c_sort_num}
|
{if $arrNextChapter && $arrNextChapter.c_sort_num}
|
||||||
{$arrGRM[9]|raw}
|
{$arrGRM[9]|raw}
|
||||||
<a id="j_chapterNext"
|
<a id="j_chapterNext"
|
||||||
href='{$strPcPath}{site:cpurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" c_sort="$arrNextChapter[c_sort_num]" c_page="0"/}'>下一章</a>
|
href='{$strPcPath}{site:cpurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" c_sort="$arrNextChapter[c_sort_num]" c_page="$arrNextChapter[c_page]"/}'>下一页</a>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -142,7 +142,7 @@
|
|||||||
<h2 class="layout-tit">已完结热门小说推荐</h2>
|
<h2 class="layout-tit">已完结热门小说推荐</h2>
|
||||||
<div class="layout layout-col3">
|
<div class="layout layout-col3">
|
||||||
|
|
||||||
{foreach $arrRelateveNovel as $key=>$Novel }
|
{foreach $arrEndNovel as $key=>$Novel }
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
<a href='{$strPcPath}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" /}'>
|
<a href='{$strPcPath}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" /}'>
|
||||||
|
|||||||
@@ -71,7 +71,6 @@
|
|||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
{block name="head-js"}
|
{block name="head-js"}
|
||||||
<script src="/static/001/default/js/yueduqsbs.js"></script>
|
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
{block name="body-class"}novel_info{/block}
|
{block name="body-class"}novel_info{/block}
|
||||||
@@ -113,7 +112,7 @@
|
|||||||
<p>最后更新:{$arrNovel.n_update_time ?? ''} </p>
|
<p>最后更新:{$arrNovel.n_update_time ?? ''} </p>
|
||||||
<p>最新章节:<a
|
<p>最新章节:<a
|
||||||
href='{$strPcPath}{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" order="zheng" page="1"/}'>
|
href='{$strPcPath}{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" order="zheng" page="1"/}'>
|
||||||
{$arrLatestChapter.c_name ?? ''}</a></p>
|
{$arrLatestChapter->c_name ?? ""}</a></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="desc xs-hidden">{$arrNovel.n_description ?? ''}</div>
|
<div class="desc xs-hidden">{$arrNovel.n_description ?? ''}</div>
|
||||||
@@ -128,14 +127,14 @@
|
|||||||
<p>相邻推荐:
|
<p>相邻推荐:
|
||||||
{volist name="arrNovel.n_forge_novel" id="ForgeNovel" key="key"}
|
{volist name="arrNovel.n_forge_novel" id="ForgeNovel" key="key"}
|
||||||
{if $key<20 } {$arrGRM[$key+20]|raw} {/if} <a
|
{if $key<20 } {$arrGRM[$key+20]|raw} {/if} <a
|
||||||
href='{$strPcPath}{site:nnurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" n_fid="$ForgeNovel[n_forge_id]"/}'
|
href='{$strPcPath}{site:nnurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" n_fid="$ForgeNovel[n_forge_id]"/}'
|
||||||
class="red">{$ForgeNovel.n_forge_title}</a>
|
class="red">{$ForgeNovel.n_forge_title}</a>
|
||||||
{/volist}
|
{/volist}
|
||||||
|
|
||||||
{volist name='arrRelateveNovel' id='Novel'}
|
{volist name='arrRelateveNovel' id='Novel'}
|
||||||
<a
|
<a
|
||||||
href='{$strPcPath}{site:nurl n_id="$Novel[n_id]" n_py="$Novel[n_name_pinyin]" /}'>{$Novel.n_name}</a>
|
href='{$strPcPath}{site:nurl n_id="$Novel[n_id]" n_py="$Novel[n_name_pinyin]" /}'>{$Novel.n_name}</a>
|
||||||
{/volist}
|
{/volist}
|
||||||
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
@@ -154,7 +153,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
<h2 class="layout-tit">《{$arrNovel.n_name}》章节列表</h2>
|
<h2 class="layout-tit">《{$arrNovel.n_name}》章节列表</h2>
|
||||||
<ul class="fix section-list">
|
<ul class="fix section-list">
|
||||||
{volist name='arrChapter' id='Chapter'}
|
{volist name='arrChapterAsc' id='Chapter'}
|
||||||
<li><a
|
<li><a
|
||||||
href='{$strPcPath}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" /}'>{$Chapter.c_name}</a>
|
href='{$strPcPath}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" /}'>{$Chapter.c_name}</a>
|
||||||
</li>
|
</li>
|
||||||
@@ -168,8 +167,13 @@
|
|||||||
<div class="row row-section">
|
<div class="row row-section">
|
||||||
<div class="layout layout-col1">
|
<div class="layout layout-col1">
|
||||||
<h2 class="layout-tit">《{$arrNovel.n_name}》章节列表(第{$intPage}页)切换倒序/正序:
|
<h2 class="layout-tit">《{$arrNovel.n_name}》章节列表(第{$intPage}页)切换倒序/正序:
|
||||||
<a
|
{if $strOrder == 'zheng'}
|
||||||
href='{$strPcPath}{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" order="dao" page="1"/}'>当前正序</a>
|
<a href='{$strPcPath}{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" order="dao" page="1"/}'
|
||||||
|
class="habt y">点击切换倒序</a>
|
||||||
|
{else}
|
||||||
|
<a href='{$strPcPath}{site:nclurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" order="zheng" page="1"/}'
|
||||||
|
class="habt y">点击切换正序</a>
|
||||||
|
{/if}
|
||||||
</h2>
|
</h2>
|
||||||
|
|
||||||
<!-- 目录下拉分页-->
|
<!-- 目录下拉分页-->
|
||||||
@@ -195,7 +199,7 @@
|
|||||||
<h2 class="layout-tit">已完结热门小说推荐</h2>
|
<h2 class="layout-tit">已完结热门小说推荐</h2>
|
||||||
<div class="layout layout-col3">
|
<div class="layout layout-col3">
|
||||||
|
|
||||||
{foreach $arrRelateveNovel as $key=>$Novel }
|
{foreach $arrEndNovel as $key=>$Novel }
|
||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
<a href='{$strPcPath}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" /}'>
|
<a href='{$strPcPath}{site:nurl n_id="$arrNovel[n_id]" n_py="$arrNovel[n_name_pinyin]" /}'>
|
||||||
@@ -219,8 +223,24 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<script>
|
||||||
|
const strNovelId = `{$arrNovel.n_id}`;
|
||||||
|
const arrNovel = {
|
||||||
|
'n_id': `{$arrNovel['n_id']}`,
|
||||||
|
'n_name_pinyin': `{$arrNovel['n_name_pinyin']}`,
|
||||||
|
'n_cover_path': `{$arrNovel['n_cover_path']}`,
|
||||||
|
'n_name': `{$arrNovel['n_name']}`,
|
||||||
|
'n_author': `{$arrNovel['n_author']}`,
|
||||||
|
'n_status': `{$arrNovel['n_status']}`,
|
||||||
|
'n_update_time': `{$arrNovel['n_update_time']}`,
|
||||||
|
'c_sort_num': 1,
|
||||||
|
'c_name': `第一章`,
|
||||||
|
};
|
||||||
|
</script>
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
|
|
||||||
{block name="customize"}
|
{block name="customize"}
|
||||||
|
|
||||||
{/block}
|
{/block}
|
||||||
@@ -1,165 +0,0 @@
|
|||||||
{extend name="basePc" /}
|
|
||||||
{block name='nav-active-class'}home{/block}
|
|
||||||
{block name="title"}{/block}
|
|
||||||
{block name="head-js"}{/block}
|
|
||||||
{block name='body-class'}body-rank-class{/block}
|
|
||||||
|
|
||||||
{block name="main"}
|
|
||||||
<div class="content content_back">
|
|
||||||
<!--大标题 开始-->
|
|
||||||
<!-- <div class="rank_bt">
|
|
||||||
<a href="/pc/rank.html" class="all_btn">完整榜单</a>
|
|
||||||
</div> -->
|
|
||||||
<!--大标题 结束-->
|
|
||||||
<!--各种榜单 开始-->
|
|
||||||
<div class="ki_li">
|
|
||||||
<div class="com_R">
|
|
||||||
<div class="list_tit">
|
|
||||||
<h2><s class=""></s>日点击榜</h2>
|
|
||||||
</div>
|
|
||||||
<div class="list_wrap">
|
|
||||||
<div class="swi">
|
|
||||||
<ol class="list" mod="rank_data_list">
|
|
||||||
{foreach $arrDayRankNovel as $key=>$Novel}
|
|
||||||
{if $key == 0}
|
|
||||||
{include file="Pc/Public/indexBoyRankOne" /}
|
|
||||||
{/if}
|
|
||||||
{if $key >= 1}
|
|
||||||
{include file="Pc/Public/indexBoyRankList" /}
|
|
||||||
{/if}
|
|
||||||
{/foreach}
|
|
||||||
</ol>
|
|
||||||
</div>
|
|
||||||
<!-- <span class="more">
|
|
||||||
<a btn="look_more" href="/pc/rank.html" target="_blank">
|
|
||||||
<s></s><i>查看更多</i><s></s>
|
|
||||||
</a>
|
|
||||||
</span> -->
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="com_R com_bd">
|
|
||||||
<div class="list_tit">
|
|
||||||
<h2><s class="or"></s>周点击榜</h2>
|
|
||||||
</div>
|
|
||||||
<div class="list_wrap">
|
|
||||||
<div class="swi">
|
|
||||||
<ol class="list" mod="rank_data_list">
|
|
||||||
{foreach $arrWeekRankNovel as $key=>$Novel}
|
|
||||||
{if $key == 0}
|
|
||||||
{include file="Pc/Public/indexBoyRankOne" /}
|
|
||||||
{/if}
|
|
||||||
{if $key >= 1}
|
|
||||||
{include file="Pc/Public/indexBoyRankList" /}
|
|
||||||
{/if}
|
|
||||||
{/foreach}
|
|
||||||
</ol>
|
|
||||||
</div>
|
|
||||||
<!-- <span class="more">
|
|
||||||
<a btn="look_more" href="/pc/rank.html" target="_blank">
|
|
||||||
<s></s><i>查看更多</i><s></s>
|
|
||||||
</a>
|
|
||||||
</span> -->
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="com_R">
|
|
||||||
<div class="list_tit">
|
|
||||||
<h2><s class="bl"></s>月点击榜</h2>
|
|
||||||
</div>
|
|
||||||
<div class="list_wrap">
|
|
||||||
<div class="swi">
|
|
||||||
<ol class="list" mod="rank_data_list">
|
|
||||||
{foreach $arrMoonRankNovel as $key=>$Novel}
|
|
||||||
{if $key == 0}
|
|
||||||
{include file="Pc/Public/indexBoyRankOne" /}
|
|
||||||
{/if}
|
|
||||||
{if $key >= 1}
|
|
||||||
{include file="Pc/Public/indexBoyRankList" /}
|
|
||||||
{/if}
|
|
||||||
{/foreach}
|
|
||||||
</ol>
|
|
||||||
</div>
|
|
||||||
<!-- <span class="more">
|
|
||||||
<a btn="look_more" href="/pc/rank.html" target="_blank">
|
|
||||||
<s></s><i>查看更多</i><s></s>
|
|
||||||
</a>
|
|
||||||
</span> -->
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="com_R">
|
|
||||||
<div class="list_tit">
|
|
||||||
<h2><s class=""></s>总点击榜</h2>
|
|
||||||
</div>
|
|
||||||
<div class="list_wrap">
|
|
||||||
<div class="swi">
|
|
||||||
<ol class="list" mod="rank_data_list">
|
|
||||||
{foreach $arrTotalRankNovel as $key=>$Novel}
|
|
||||||
{if $key == 0}
|
|
||||||
{include file="Pc/Public/indexBoyRankOne" /}
|
|
||||||
{/if}
|
|
||||||
{if $key >= 1}
|
|
||||||
{include file="Pc/Public/indexBoyRankList" /}
|
|
||||||
{/if}
|
|
||||||
{/foreach}
|
|
||||||
</ol>
|
|
||||||
</div>
|
|
||||||
<!-- <span class="more">
|
|
||||||
<a btn="look_more" href="/pc/rank.html" target="_blank">
|
|
||||||
<s></s><i>查看更多</i><s></s>
|
|
||||||
</a>
|
|
||||||
</span> -->
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="com_R com_bd">
|
|
||||||
<div class="list_tit">
|
|
||||||
<h2><s class="or"></s>新书榜</h2>
|
|
||||||
</div>
|
|
||||||
<div class="list_wrap">
|
|
||||||
<div class="swi">
|
|
||||||
<ol class="list" mod="rank_data_list">
|
|
||||||
{foreach $arrNewsNovelRankNovel as $key=>$Novel}
|
|
||||||
{if $key == 0}
|
|
||||||
{include file="Pc/Public/indexBoyRankOne" /}
|
|
||||||
{/if}
|
|
||||||
{if $key >= 1}
|
|
||||||
{include file="Pc/Public/indexBoyRankList" /}
|
|
||||||
{/if}
|
|
||||||
{/foreach}
|
|
||||||
</ol>
|
|
||||||
</div>
|
|
||||||
<!-- <span class="more">
|
|
||||||
<a btn="look_more" href="/pc/rank.html" target="_blank">
|
|
||||||
<s></s><i>查看更多</i><s></s>
|
|
||||||
</a>
|
|
||||||
</span> -->
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="com_R">
|
|
||||||
<div class="list_tit">
|
|
||||||
<h2><s class="bl"></s>完结榜</h2>
|
|
||||||
</div>
|
|
||||||
<div class="list_wrap">
|
|
||||||
<div class="swi">
|
|
||||||
<ol class="list" mod="rank_data_list">
|
|
||||||
{foreach $arrEdnNovelRankNovel as $key=>$Novel}
|
|
||||||
{if $key == 0}
|
|
||||||
{include file="Pc/Public/indexBoyRankOne" /}
|
|
||||||
{/if}
|
|
||||||
{if $key >= 1}
|
|
||||||
{include file="Pc/Public/indexBoyRankList" /}
|
|
||||||
{/if}
|
|
||||||
{/foreach}
|
|
||||||
</ol>
|
|
||||||
</div>
|
|
||||||
<!-- <span class="more">
|
|
||||||
<a btn="look_more" href="/pc/rank.html" target="_blank">
|
|
||||||
<s></s><i>查看更多</i><s></s>
|
|
||||||
</a>
|
|
||||||
</span> -->
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<!--各种榜单 结束-->
|
|
||||||
</div>
|
|
||||||
{/block}
|
|
||||||
|
|
||||||
{block name="customize"} {/block}
|
|
||||||
@@ -1,68 +1,87 @@
|
|||||||
{extend name="basePc" /}
|
{extend name="basePc" /}
|
||||||
|
{block name="title"}{$strTitle??''}{/block}
|
||||||
|
{block name="keywords"}{$strKeywords??''}{/block}
|
||||||
|
{block name="description"}{$strDescription??''}{/block}
|
||||||
{block name='nav-active-class'}home{/block}
|
{block name='nav-active-class'}home{/block}
|
||||||
|
|
||||||
{block name="title"}{/block}
|
{block name="title"}{/block}
|
||||||
{block name="head-js"}{/block}
|
{block name="meta-other"}{/block}
|
||||||
|
{block name="body-class"}novel_home novel_search_page{/block}
|
||||||
|
|
||||||
{block name="main"}
|
{block name="main"}
|
||||||
<div class="content">
|
|
||||||
<!--选择搜索 开始-->
|
|
||||||
<div class="find">
|
|
||||||
<div class="fi_t">
|
|
||||||
<div class="boFi">
|
|
||||||
<span><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 class="container">
|
||||||
<div class="result" mod="search_data_list">
|
<div class="row">
|
||||||
<ul>
|
<div class="layout layout3 layout-col3 fl">
|
||||||
{foreach $arrSearchNovel as $key=>$Novel}
|
<h1>{$strSearchKeywords}搜索结果 - {$DomainModel->d_name} 第{$intPage}页</h1>
|
||||||
<li>
|
<div class="result search_tip">
|
||||||
<a href="/novel/202.html" target="_blank" class="book_cov" title="1秒1技能点,你说我凡阶天赋修炼慢?">
|
搜索<span style="color:red">“{$strSearchKeywords}”</span>相关结果共有 <span
|
||||||
<img src="/template/kuangyu/home/bai_web/images/default.png"
|
style="color:red">{$arrPage.total}</span> 部小说
|
||||||
data-src="https://www.630zw.org/img/176943.jpg"
|
</div>
|
||||||
class="lazyload_book_cover" alt="1秒1技能点,你说我凡阶天赋修炼慢?">
|
{if empty($arrPage.data)}
|
||||||
</a>
|
<p style="text-align: center;line-height: 60px">没有相关数据</p>
|
||||||
<div class="book_inf">
|
{else}
|
||||||
<h3><a href="/novel/202.html" title="1秒1技能点,你说我凡阶天赋修炼慢?" target="_blank">
|
<div class="layout layout-col3">
|
||||||
<font color="red">1</font>秒<font color="red">1</font>技能点,你说我凡阶天赋修炼慢?
|
|
||||||
</a></h3>
|
{foreach $arrPage.data as $key=>$Novel}
|
||||||
<p>
|
<div class="item">
|
||||||
<span>作者:<a href="/search/%E9%9D%92%E5%9F%8E%E8%80%81%E9%AC%BC.html"
|
<div class="image">
|
||||||
title="青城老鬼">青城老鬼</a></span>
|
<a href='{$strPcPath}{site:nurl n_id="$Novel[n_id]" n_py="$Novel[n_name_pinyin]" /}'>
|
||||||
<span>分类:<a href="/lists/3.html" title=""></a></span>
|
<img style="min-height:120px;" src="/static/img/default.jpg"
|
||||||
<span>状态:已完结</span>
|
data-src="{$Novel.n_cover_path ?? ''}"
|
||||||
<span>总字数:38.00万字+</span>
|
alt="{$Novel['n_name'] ?? ''}小说封面 - {$Novel.n_author}最新章节" class="lazy lazyload-img">
|
||||||
</p>
|
</a>
|
||||||
<p class="tags">
|
</div>
|
||||||
<i>标签:</i>
|
<dl>
|
||||||
<i></i>
|
<dt><span>{$Novel.n_author}</span><a
|
||||||
</p>
|
href='{$strPcPath}{site:nurl n_id="$Novel[n_id]" n_py="$Novel[n_name_pinyin]" /}'>{$Novel.n_name}</a>
|
||||||
<p><b>最近更新:</b><a href="/book/12408/1dc0735e0163c.html" title="第190章 武破虚空,新的开始"
|
</dt>
|
||||||
target="_blank">第190章 武破虚空,新的开始</a></p>
|
<dd style="height:90px"><a href='{$strPcPath}{site:nurl n_id="$Novel[n_id]" n_py="$Novel[n_name_pinyin]" /}'
|
||||||
<p class="int"> 深海中潜藏的巨兽掀起灭世海啸!山间凶兽朝着钢铁巨城露出凶猛的獠牙。 即将参加高考的武道学生徐天觉醒深红系统。却没想觉醒日被未婚妻强行退婚,面对众人诋毁,未婚妻的鄙视。
|
style="color: #555">{$Novel.n_description}</a>
|
||||||
地阶天赋又如何,深红,给我加点!
|
</dd>
|
||||||
本站提示:各位书友要是觉得《1秒1技能点,你说我凡阶天赋修炼慢?》还不错的话请不要忘记向您QQ群和微博里的朋友推荐哦!</p>
|
</dl>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
{/foreach}
|
||||||
<span>更新时间:2025-03-20 23:57</span>
|
|
||||||
<a href="/novel/202.html" target="_blank" class="read_btn btn">立即阅读</a>
|
</div>
|
||||||
</div>
|
|
||||||
</li>
|
{/if}
|
||||||
{/foreach} </ul>
|
|
||||||
<!--页码切换 开始-->
|
|
||||||
<div class="changepage">
|
|
||||||
</div>
|
</div>
|
||||||
<!--页码切换 结束-->
|
|
||||||
</div>
|
</div>
|
||||||
<!--选择结果 结束-->
|
|
||||||
|
<!-- 分页 -->
|
||||||
|
<div class="row sort_page_num">
|
||||||
|
{volist name="arrPaginator" id="vo" key="k"}
|
||||||
|
{switch $vo.label}
|
||||||
|
{case value="上一页"}
|
||||||
|
{if $intPage == 1}
|
||||||
|
<span>«</span>
|
||||||
|
{else}
|
||||||
|
<a href="{$strPcPath}{$vo.url}">«</a>
|
||||||
|
{/if}
|
||||||
|
{/case}
|
||||||
|
{case value="下一页"}
|
||||||
|
{if $intPage >= $intTotalPage}
|
||||||
|
<span>»</span>
|
||||||
|
{else}
|
||||||
|
<a href="{$strPcPath}{$vo.url}">»</a>
|
||||||
|
{/if}
|
||||||
|
{/case}
|
||||||
|
{case value="..."}
|
||||||
|
<span>...</span>
|
||||||
|
{/case}
|
||||||
|
{default /}
|
||||||
|
{if preg_match('/^\d+$/', $vo.label)}
|
||||||
|
<a href="{$strPcPath}{$vo.url}">{$vo.label}</a>
|
||||||
|
{/if}
|
||||||
|
{/switch}
|
||||||
|
{/volist}
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
{block name="customize"} {/block}
|
{block name="customize"}
|
||||||
|
|
||||||
|
{/block}
|
||||||
@@ -1,143 +0,0 @@
|
|||||||
{extend name="basePcUser" /}
|
|
||||||
{block name='nav-active-class'}home{/block}
|
|
||||||
{block name="title"}{/block}
|
|
||||||
{block name="head-js"}{/block}
|
|
||||||
|
|
||||||
|
|
||||||
{block name="main"}
|
|
||||||
<div class="i-right">
|
|
||||||
<!--bot mod -->
|
|
||||||
<div class="i-bot">
|
|
||||||
<!--left mod -->
|
|
||||||
<div class="l-botMod">
|
|
||||||
<div class="myMod" id="myMod">
|
|
||||||
<div class="i-title">
|
|
||||||
我的书架
|
|
||||||
<a href="/user/bookshelf/index.html" class="clickMore" target="_blank">查看更多>></a>
|
|
||||||
</div>
|
|
||||||
<ul class="bookUl">
|
|
||||||
{foreach $arrNewsNovel as $key=>$Novel}
|
|
||||||
<li>
|
|
||||||
<a href="/novel/332.html" target="_blank" alt="我真是一条龙" title="我真是一条龙">
|
|
||||||
<img src="https://www.630zw.org/img/176943.jpg">
|
|
||||||
</a>
|
|
||||||
<p>
|
|
||||||
<a href="/novel/332.html" target="_blank">
|
|
||||||
<span class="bookName">我真是一条龙</span>
|
|
||||||
</a>
|
|
||||||
<span class="bookStatus">
|
|
||||||
<b class="authorSt"><em>已完结</em>
|
|
||||||
<a href="/search/%E5%85%94%E5%AD%90%E5%BE%88%E6%B7%A1%E5%AE%9A.html"
|
|
||||||
target="_blank">
|
|
||||||
<em class="none">兔子很淡定</em>
|
|
||||||
</a>
|
|
||||||
</b>
|
|
||||||
<b class="authorSt chapterSt"><a href="/book/12538/cd6049204b715.html" target="_blank">
|
|
||||||
<em class="ct">最新章节:老读者必看公告!!!</em>
|
|
||||||
</a>
|
|
||||||
<em class="time">3天前更新</em></b>
|
|
||||||
</span>
|
|
||||||
<a href="/book/12538/4b2d5aab58d71.html" target="_blank"> <i class="goon">阅读</i>
|
|
||||||
</a>
|
|
||||||
</p>
|
|
||||||
</li>
|
|
||||||
{/foreach}
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div class="myMod">
|
|
||||||
<div class="i-title">
|
|
||||||
最近阅读
|
|
||||||
<a href="/user/recentread/index.html" class="clickMore" target="_blank">查看更多>></a>
|
|
||||||
</div>
|
|
||||||
<ul class="bookUl">
|
|
||||||
{foreach $arrNewsNovel as $key=>$Novel}
|
|
||||||
<li>
|
|
||||||
<a href="/novel/275.html" target="_blank" alt="捻转步舞曲[花滑]" title="捻转步舞曲[花滑]">
|
|
||||||
<img src="https://www.630zw.org/img/176943.jpg">
|
|
||||||
</a>
|
|
||||||
<p>
|
|
||||||
<a href="/novel/275.html" target="_blank">
|
|
||||||
<span class="bookName">捻转步舞曲[花滑]</span>
|
|
||||||
</a>
|
|
||||||
<span class="bookStatus">
|
|
||||||
<b class="authorSt"><em>已完结</em>
|
|
||||||
<a href="/search/%E6%A2%A7%E6%A1%90%E6%A0%91%E4%B8%8Bwt.html" target="_blank">
|
|
||||||
<em class="none">梧桐树下wt</em>
|
|
||||||
</a>
|
|
||||||
</b>
|
|
||||||
<b class="authorSt chapterSt"><a href="/book/12481/09f0ecc3793df.html" target="_blank">
|
|
||||||
<em class="ct">最新章节:432 番外三</em>
|
|
||||||
</a>
|
|
||||||
<em class="time">3天前更新</em></b>
|
|
||||||
</span>
|
|
||||||
<a href="/book/12481/69e146769967b.html" target="_blank"> <i class="goon">继续阅读</i>
|
|
||||||
</a>
|
|
||||||
</p>
|
|
||||||
</li>
|
|
||||||
{/foreach}
|
|
||||||
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div class="myMod hotMod">
|
|
||||||
<div class="i-title">
|
|
||||||
热读作品
|
|
||||||
<ul class="tabHd">
|
|
||||||
<li class=""></li>
|
|
||||||
<li class="on"></li>
|
|
||||||
<li class=""></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div class="tabBd">
|
|
||||||
{foreach $arrNewsNovel as $key=>$Novel}
|
|
||||||
<ul class="hotBookBd " style="display: none;">
|
|
||||||
{foreach $arrNewsNovel as $key=>$Novel}
|
|
||||||
<li>
|
|
||||||
<a href="/novel/332.html" target="_blank" alt="我真是一条龙" title="我真是一条龙">
|
|
||||||
<img src="https://www.630zw.org/img/176943.jpg">
|
|
||||||
<span class="bookName">我真是一条龙</span>
|
|
||||||
<span class="bookAuthor">兔子很淡定</span>
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
{/foreach}
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
{/foreach}
|
|
||||||
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<!--right mod -->
|
|
||||||
<div class="r-botMod">
|
|
||||||
<div class="myWorks myLike">
|
|
||||||
<div class="i-title">推荐作品</div>
|
|
||||||
<ul>
|
|
||||||
{foreach $arrNewsNovel as $key=>$Novel}
|
|
||||||
<li>
|
|
||||||
<a href="/novel/332.html" target="_blank" alt="我真是一条龙" title="我真是一条龙">
|
|
||||||
<img src="https://www.630zw.org/img/176943.jpg">
|
|
||||||
</a>
|
|
||||||
<p>
|
|
||||||
<a href="/novel/332.html" target="_blank">
|
|
||||||
<span class="bookName other">我真是一条龙</span>
|
|
||||||
</a>
|
|
||||||
<a href="/search/%E5%85%94%E5%AD%90%E5%BE%88%E6%B7%A1%E5%AE%9A.html" target="_blank">
|
|
||||||
<span class="bookStatus other">兔子很淡定</span>
|
|
||||||
</a>
|
|
||||||
<span class="bookBrief">
|
|
||||||
我的父亲告诉我,在我出生那一年,天上金光闪耀,隐隐约约中,好像能看到云朵里有条龙在盘旋,紧接着,一道金光照入我们的村子,我便出生了……为寻答案来人间,天龙问世扰乾坤。
|
|
||||||
无情无义闹天下,千军万马赴黄泉。
|
|
||||||
本站提示:各位书友要是觉得《我真是一条龙》还不错的话请不要忘记向您QQ群和微博里的朋友推荐哦!</span>
|
|
||||||
</p>
|
|
||||||
</li>
|
|
||||||
{/foreach}
|
|
||||||
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{/block}
|
|
||||||
|
|
||||||
{block name="customize"} {/block}
|
|
||||||
@@ -3,13 +3,13 @@
|
|||||||
{block name="keywords"}{$strKeywords??''}{/block}
|
{block name="keywords"}{$strKeywords??''}{/block}
|
||||||
{block name="description"}{$strDescription??''}{/block}
|
{block name="description"}{$strDescription??''}{/block}
|
||||||
{block name="head-css"}
|
{block name="head-css"}
|
||||||
<link rel="canonical" href="https://{$DomainModel->d_domain}/">
|
<link rel="canonical" href="https://{$DomainModel->d_domain}/">
|
||||||
{/block}
|
{/block}
|
||||||
{block name="head"}
|
{block name="head"}
|
||||||
<!-- 社交媒体标签 -->
|
<!-- 社交媒体标签 -->
|
||||||
<meta property="og:title" content="{$strTitle??''}" />
|
<meta property="og:title" content="{$strTitle??''}" />
|
||||||
<meta property="og:description" content="{$strDescription??''}" />
|
<meta property="og:description" content="{$strDescription??''}" />
|
||||||
<meta property="og:url" content="https://{$DomainModel->d_domain}" />
|
<meta property="og:url" content="https://{$DomainModel->d_domain}" />
|
||||||
<meta property="og:type" content="article" />
|
<meta property="og:type" content="article" />
|
||||||
<!-- 结构化数据 -->
|
<!-- 结构化数据 -->
|
||||||
<script type="application/ld+json">
|
<script type="application/ld+json">
|
||||||
@@ -31,15 +31,16 @@
|
|||||||
<div class="item">
|
<div class="item">
|
||||||
<div class="image">
|
<div class="image">
|
||||||
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
|
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
|
||||||
<img style="min-height:120px;" class="lazyload-img"
|
<img style="min-height:120px;" class="lazyload-img" src="/static/img/default.jpg"
|
||||||
src="/static/img/default.jpg" data-src="{$Novel.n_cover_path ?? ''}"
|
data-src="{$Novel.n_cover_path ?? ''}"
|
||||||
alt="{$Novel.n_name ?? ''} - {$Novel.n_category ?? ''}最新章节在线免费阅读">
|
alt="{$Novel.n_name ?? ''} - {$Novel.n_category ?? ''}最新章节在线免费阅读">
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt>
|
<dt>
|
||||||
<span>{$Novel.n_author ?? ''}</span>
|
<span>{$Novel.n_author ?? ''}</span>
|
||||||
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel.n_name ?? ''}</a>
|
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel.n_name
|
||||||
|
?? ''}</a>
|
||||||
</dt>
|
</dt>
|
||||||
<dd style="height:90px">
|
<dd style="height:90px">
|
||||||
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'
|
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'
|
||||||
@@ -57,14 +58,15 @@
|
|||||||
{foreach $arrRecommendEndNovel as $key=>$Novel }
|
{foreach $arrRecommendEndNovel as $key=>$Novel }
|
||||||
<li>
|
<li>
|
||||||
<span class="s1">[{$Novel->n_category ?? ''}</span>
|
<span class="s1">[{$Novel->n_category ?? ''}</span>
|
||||||
<span class="s2"><a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a></span>
|
<span class="s2"><a
|
||||||
|
href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a></span>
|
||||||
<span class="s5"><a href='{site:souurl key="$Novel->n_author" p="1"/}'>{$Novel->n_author}</a></span>
|
<span class="s5"><a href='{site:souurl key="$Novel->n_author" p="1"/}'>{$Novel->n_author}</a></span>
|
||||||
</li>
|
</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="layout">
|
<div class="layout">
|
||||||
{foreach $arrAllCategoryNovel as $category}
|
{foreach $arrAllCategoryNovel as $category}
|
||||||
@@ -75,14 +77,17 @@
|
|||||||
{if $key2 == 0}
|
{if $key2 == 0}
|
||||||
<div class="image">
|
<div class="image">
|
||||||
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
|
<a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>
|
||||||
<img class="lazyload-img"
|
<img class="lazyload-img" src="/static/img/default.jpg"
|
||||||
src="/static/img/default.jpg" data-src="{$Novel.n_cover_path ?? ''}"
|
data-src="{$Novel.n_cover_path ?? ''}"
|
||||||
alt="{$Novel.n_name ?? ''} - {$Novel.n_category ?? ''}最新章节在线免费阅读">
|
alt="{$Novel.n_name ?? ''} - {$Novel.n_category ?? ''}最新章节在线免费阅读">
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a></dt>
|
<dt><a
|
||||||
<dd><a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}' style="color: #555">{$Novel.n_description ?? ''}</a></dd>
|
href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a>
|
||||||
|
</dt>
|
||||||
|
<dd><a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'
|
||||||
|
style="color: #555">{$Novel.n_description ?? ''}</a></dd>
|
||||||
</dl>
|
</dl>
|
||||||
{/if}
|
{/if}
|
||||||
{/foreach}
|
{/foreach}
|
||||||
@@ -90,7 +95,9 @@
|
|||||||
<ul>
|
<ul>
|
||||||
{foreach $arrNovels[$category.xsfl_source_id] as $key2 => $Novel}
|
{foreach $arrNovels[$category.xsfl_source_id] as $key2 => $Novel}
|
||||||
{if $key2 >= 1}
|
{if $key2 >= 1}
|
||||||
<li><a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a>/<a href='{site:souurl key="$Novel->n_author" p="1"/}'>{$Novel->n_author}</a></li>
|
<li><a
|
||||||
|
href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a>/<a
|
||||||
|
href='{site:souurl key="$Novel->n_author" p="1"/}'>{$Novel->n_author}</a></li>
|
||||||
{/if}
|
{/if}
|
||||||
{/foreach}
|
{/foreach}
|
||||||
</ul>
|
</ul>
|
||||||
@@ -98,7 +105,7 @@
|
|||||||
{/foreach}
|
{/foreach}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="layout layout2 layout-col1 fr">
|
<div class="layout layout2 layout-col1 fr">
|
||||||
<h2 class="layout-tit">最新入库小说</h2>
|
<h2 class="layout-tit">最新入库小说</h2>
|
||||||
@@ -106,7 +113,8 @@
|
|||||||
{foreach $arrNewsNovel as $key=>$Novel }
|
{foreach $arrNewsNovel as $key=>$Novel }
|
||||||
<li>
|
<li>
|
||||||
<span class="s1">[{$Novel->n_category ?? ''}]</span>
|
<span class="s1">[{$Novel->n_category ?? ''}]</span>
|
||||||
<span class="s2"><a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a></span>
|
<span class="s2"><a
|
||||||
|
href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a></span>
|
||||||
<span class="s5"><a href='{site:souurl key="$Novel->n_author" p="1"/}'>{$Novel->n_author}</a></span>
|
<span class="s5"><a href='{site:souurl key="$Novel->n_author" p="1"/}'>{$Novel->n_author}</a></span>
|
||||||
</li>
|
</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
@@ -118,9 +126,12 @@
|
|||||||
{foreach $arrNewsUpdateNovel as $key=>$Novel }
|
{foreach $arrNewsUpdateNovel as $key=>$Novel }
|
||||||
<li>
|
<li>
|
||||||
<span class="s1">[{$Novel->n_category ?? ''}]</span>
|
<span class="s1">[{$Novel->n_category ?? ''}]</span>
|
||||||
<span class="s2"><a href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a></span>
|
<span class="s2"><a
|
||||||
<span class="s3"><a href='{$strPcPath}{site:lcpurl n_id="$Novel[n_id]" n_py="$Novel[n_name_pinyin]" /}'
|
href='{$strPcPath}{site:nurl n_id="$Novel->n_id" n_py="$Novel->n_name_pinyin"/}'>{$Novel->n_name}</a></span>
|
||||||
title="{$Novel->n_latest_chapter_name ?? 'null'}">{$Novel->n_latest_chapter_name ?? 'null'}</a></span>
|
<span class="s3"><a
|
||||||
|
href='{$strPcPath}{site:lcpurl n_id="$Novel[n_id]" n_py="$Novel[n_name_pinyin]" /}'
|
||||||
|
title="{$Novel->n_latest_chapter_name ?? 'null'}">{$Novel->n_latest_chapter_name ??
|
||||||
|
'null'}</a></span>
|
||||||
<span class="s4"><a href='{site:souurl key="$Novel->n_author" p="1"/}'>{$Novel->n_author}</a></span>
|
<span class="s4"><a href='{site:souurl key="$Novel->n_author" p="1"/}'>{$Novel->n_author}</a></span>
|
||||||
<span class="s5">{:date('m-d')}</span>
|
<span class="s5">{:date('m-d')}</span>
|
||||||
</li>
|
</li>
|
||||||
|
|||||||
@@ -29,7 +29,7 @@
|
|||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body class="novel_home">
|
<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">
|
||||||
<div class="topbar-sethome"><a href="javascript:winSetHP();">将本站设为首页</a></div>
|
<div class="topbar-sethome"><a href="javascript:winSetHP();">将本站设为首页</a></div>
|
||||||
@@ -41,7 +41,7 @@
|
|||||||
<div class="header">
|
<div class="header">
|
||||||
<h1 class="logo"><a href="{$strPcPath}"><span>{$DomainModel->d_name}</span></a></h1>
|
<h1 class="logo"><a href="{$strPcPath}"><span>{$DomainModel->d_name}</span></a></h1>
|
||||||
<form id="novel_search" class="search-form" method="get" action="{$strPcPath}{$strSearchIndexUrlTemp}"><input type="text"
|
<form id="novel_search" class="search-form" method="get" action="{$strPcPath}{$strSearchIndexUrlTemp}"><input type="text"
|
||||||
class="input-text input-key" name="key" placeholder="输入书名/作者进行搜索"><button type="submit"
|
class="input-text input-key" name="keyword" placeholder="输入书名/作者进行搜索"><button type="submit"
|
||||||
class="btn-tosearch" form="novel_search" value="submit">搜索</button></form>
|
class="btn-tosearch" form="novel_search" value="submit">搜索</button></form>
|
||||||
</div>
|
</div>
|
||||||
<ul class="nav">
|
<ul class="nav">
|
||||||
@@ -52,7 +52,7 @@
|
|||||||
|
|
||||||
{foreach $arrCategoryAll as $Sexkey=>$SexCategory }
|
{foreach $arrCategoryAll as $Sexkey=>$SexCategory }
|
||||||
{foreach $SexCategory as $CategoryPinyin=>$CategoryName }
|
{foreach $SexCategory as $CategoryPinyin=>$CategoryName }
|
||||||
<li><a href='{$strPcPath}{site:nflurl gender="all" category="$CategoryPinyin" status="all" page="1"/}'>{$CategoryName}</a></li>
|
<li><a href='{$strPcPath}{site:nflurl gender="" category="$CategoryPinyin" status="all" order="all" page="1"/}'>{$CategoryName}</a></li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
{/foreach}
|
{/foreach}
|
||||||
<li><a href="{$strPcPath}{$strBookShelfUrlTemp}">阅读记录</a></li>
|
<li><a href="{$strPcPath}{$strBookShelfUrlTemp}">阅读记录</a></li>
|
||||||
|
|||||||
@@ -161,9 +161,9 @@
|
|||||||
{switch $vo.label}
|
{switch $vo.label}
|
||||||
{case value="上一页"}
|
{case value="上一页"}
|
||||||
{if $intPage == 1}
|
{if $intPage == 1}
|
||||||
<li class="disabled"><span>«</span></li>
|
<span>«</span>
|
||||||
{else}
|
{else}
|
||||||
<li><a href="{$strPcPath}{$vo.url}">«</a></li>
|
<a href="{$vo.url}">«</a>
|
||||||
{/if}
|
{/if}
|
||||||
{/case}
|
{/case}
|
||||||
{case value="下一页"}
|
{case value="下一页"}
|
||||||
|
|||||||
@@ -557,22 +557,27 @@ class NovelModel extends MongoModel
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
* 小说分类/书库
|
||||||
* Undocumented function
|
* Undocumented function
|
||||||
* 小说分类
|
*
|
||||||
* @param int $intNId
|
* @param [type] $strGender
|
||||||
* @param string $intPinYin
|
* @param [type] $strCategory
|
||||||
|
* @param [type] $strStatus
|
||||||
|
* @param [type] $strOrder
|
||||||
|
* @param [type] $intPage
|
||||||
* @return string
|
* @return string
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
static public function getNovelCategoryUrl($strGender, $strCategory, $strStatus, $intPage): string
|
static public function getNovelCategoryUrl($strGender, $strCategory, $strStatus, $strOrder,$intPage): string
|
||||||
{
|
{
|
||||||
$strKey = 'CATEGORY_INFO_URL';
|
$strKey = 'CATEGORY_INFO_URL';
|
||||||
$strUrl = DomainModel::getPageUrl($strKey, [
|
$strUrl = DomainModel::getPageUrl($strKey, [
|
||||||
'strGender' => $strGender,
|
'strGender' => $strGender ?? '',
|
||||||
'strCategory' => $strCategory,
|
'strCategory' => $strCategory ?? '',
|
||||||
'strStatus' => $strStatus,
|
'strStatus' => $strStatus ?? '',
|
||||||
'intPage' => $intPage,
|
'strOrder' => $strOrder ?? '',
|
||||||
|
'intPage' => $intPage ?? 1,
|
||||||
]);
|
]);
|
||||||
|
$strUrl = preg_replace('#/{2,}#', '/', $strUrl);
|
||||||
return (string)$strUrl;
|
return (string)$strUrl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -212,7 +212,7 @@ class TemplateSeeder
|
|||||||
'description' => '分类书库URL 模板1',
|
'description' => '分类书库URL 模板1',
|
||||||
'sfg_id' => 25,
|
'sfg_id' => 25,
|
||||||
'arrSubjectFomart' => [
|
'arrSubjectFomart' => [
|
||||||
'/shuku/{strGender}/{strCategory}/{strStatus}/page{intPage}',
|
'/shuku/{strGender}/{strCategory}/{strStatus}/{strOrder}/page{intPage}',
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'NAN_SHENG_URL' => [
|
'NAN_SHENG_URL' => [
|
||||||
@@ -307,7 +307,7 @@ class TemplateSeeder
|
|||||||
'CATEGORY_INDEX_URL' => [
|
'CATEGORY_INDEX_URL' => [
|
||||||
'description' => '书库首页URL 模板1',
|
'description' => '书库首页URL 模板1',
|
||||||
'sfg_id' => 108,
|
'sfg_id' => 108,
|
||||||
'arrSubjectFomart' => ['/shuku/all',]
|
'arrSubjectFomart' => ['/shuku/index',]
|
||||||
],
|
],
|
||||||
'SEARCH_INDEX_URL' => [
|
'SEARCH_INDEX_URL' => [
|
||||||
'description' => '搜索首页URL 模板1',
|
'description' => '搜索首页URL 模板1',
|
||||||
@@ -393,7 +393,7 @@ class TemplateSeeder
|
|||||||
'd_id' => 1,
|
'd_id' => 1,
|
||||||
'd_domain' => 'seo.com',
|
'd_domain' => 'seo.com',
|
||||||
'd_name' => '狂雨小说',
|
'd_name' => '狂雨小说',
|
||||||
't_id' => '2',
|
't_id' => '1',
|
||||||
'd_keywords' => '狂雨小说',
|
'd_keywords' => '狂雨小说',
|
||||||
'd_description' => '欢迎来到狂雨小说 - 您的免费小说阅读天堂!这里汇聚了玄幻修真、穿越重生、都市热血、言情甜宠等多种热门小说类型,无论您是喜欢热血激战的主角成长故事,还是钟情于逆袭人生的穿越传奇,亦或是沉浸于都市生活的浪漫情缘,狂雨小说都能满足您的阅读渴望。我们每日更新最新章节,确保您第一时间追更心仪作品;更有小说排行榜精选全网热评佳作,从日榜到完结榜,助您轻松找到高人气好书。无需注册,免费畅读,狂雨小说致力于为您打造极致阅读体验,快来加入我们,开启属于您的故事冒险之旅吧!',
|
'd_description' => '欢迎来到狂雨小说 - 您的免费小说阅读天堂!这里汇聚了玄幻修真、穿越重生、都市热血、言情甜宠等多种热门小说类型,无论您是喜欢热血激战的主角成长故事,还是钟情于逆袭人生的穿越传奇,亦或是沉浸于都市生活的浪漫情缘,狂雨小说都能满足您的阅读渴望。我们每日更新最新章节,确保您第一时间追更心仪作品;更有小说排行榜精选全网热评佳作,从日榜到完结榜,助您轻松找到高人气好书。无需注册,免费畅读,狂雨小说致力于为您打造极致阅读体验,快来加入我们,开启属于您的故事冒险之旅吧!',
|
||||||
'd_index_title' => '狂雨小说 - 免费在线阅读热门玄幻、穿越、都市小说',
|
'd_index_title' => '狂雨小说 - 免费在线阅读热门玄幻、穿越、都市小说',
|
||||||
@@ -415,7 +415,32 @@ class TemplateSeeder
|
|||||||
'd_text_logo' => '热门小说阅读平台',
|
'd_text_logo' => '热门小说阅读平台',
|
||||||
't_cfg' => $arrSubjectFomartGroupData,
|
't_cfg' => $arrSubjectFomartGroupData,
|
||||||
],
|
],
|
||||||
|
[
|
||||||
|
'd_id' => 3,
|
||||||
|
'd_domain' => 'novel3.com',
|
||||||
|
'd_name' => '狂雨小说',
|
||||||
|
't_id' => '2',
|
||||||
|
'd_keywords' => '狂雨小说',
|
||||||
|
'd_description' => '欢迎来到狂雨小说 - 您的免费小说阅读天堂!这里汇聚了玄幻修真、穿越重生、都市热血、言情甜宠等多种热门小说类型,无论您是喜欢热血激战的主角成长故事,还是钟情于逆袭人生的穿越传奇,亦或是沉浸于都市生活的浪漫情缘,狂雨小说都能满足您的阅读渴望。我们每日更新最新章节,确保您第一时间追更心仪作品;更有小说排行榜精选全网热评佳作,从日榜到完结榜,助您轻松找到高人气好书。无需注册,免费畅读,狂雨小说致力于为您打造极致阅读体验,快来加入我们,开启属于您的故事冒险之旅吧!',
|
||||||
|
'd_index_title' => '狂雨小说 - 免费在线阅读热门玄幻、穿越、都市小说',
|
||||||
|
'd_index_keywords' => '狂雨小说, 小说在线阅读, 玄幻小说, 穿越小说, 热门小说排行榜',
|
||||||
|
'd_index_description' => '狂雨小说提供免费在线阅读,涵盖玄幻、穿越、都市等热门小说,最新排行榜每日更新,尽享阅读乐趣!',
|
||||||
|
'd_text_logo' => '热门小说阅读平台',
|
||||||
|
't_cfg' => $arrSubjectFomartGroupData,
|
||||||
|
],
|
||||||
|
[
|
||||||
|
'd_id' => 4,
|
||||||
|
'd_domain' => 'novel4.com',
|
||||||
|
'd_name' => '狂雨小说',
|
||||||
|
't_id' => '2',
|
||||||
|
'd_keywords' => '狂雨小说',
|
||||||
|
'd_description' => '欢迎来到狂雨小说 - 您的免费小说阅读天堂!这里汇聚了玄幻修真、穿越重生、都市热血、言情甜宠等多种热门小说类型,无论您是喜欢热血激战的主角成长故事,还是钟情于逆袭人生的穿越传奇,亦或是沉浸于都市生活的浪漫情缘,狂雨小说都能满足您的阅读渴望。我们每日更新最新章节,确保您第一时间追更心仪作品;更有小说排行榜精选全网热评佳作,从日榜到完结榜,助您轻松找到高人气好书。无需注册,免费畅读,狂雨小说致力于为您打造极致阅读体验,快来加入我们,开启属于您的故事冒险之旅吧!',
|
||||||
|
'd_index_title' => '狂雨小说 - 免费在线阅读热门玄幻、穿越、都市小说',
|
||||||
|
'd_index_keywords' => '狂雨小说, 小说在线阅读, 玄幻小说, 穿越小说, 热门小说排行榜',
|
||||||
|
'd_index_description' => '狂雨小说提供免费在线阅读,涵盖玄幻、穿越、都市等热门小说,最新排行榜每日更新,尽享阅读乐趣!',
|
||||||
|
'd_text_logo' => '热门小说阅读平台',
|
||||||
|
't_cfg' => $arrSubjectFomartGroupData,
|
||||||
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
self::initTemplate($arrTemplateData);
|
self::initTemplate($arrTemplateData);
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ class Site extends TagLib
|
|||||||
'cpurl' => ['attr' => 'n_id,n_py,c_sort,c_page', 'close' => 0],
|
'cpurl' => ['attr' => 'n_id,n_py,c_sort,c_page', 'close' => 0],
|
||||||
'lcpurl' => ['attr' => 'n_id,n_py', 'close' => 0],
|
'lcpurl' => ['attr' => 'n_id,n_py', 'close' => 0],
|
||||||
'nclurl' => ['attr' => 'n_id,n_py,order,page', 'close' => 0],
|
'nclurl' => ['attr' => 'n_id,n_py,order,page', 'close' => 0],
|
||||||
'nflurl' => ['attr' => 'gender,category,status,page', 'close' => 0],
|
'nflurl' => ['attr' => 'gender,category,status,order,page', 'close' => 0],
|
||||||
'grm' => ['attr' => 'domain,code,line,diff,start,end,index,type', 'close' => 0],
|
'grm' => ['attr' => 'domain,code,line,diff,start,end,index,type', 'close' => 0],
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -181,11 +181,12 @@ EOD;
|
|||||||
$strGender = isset($tag['gender']) ? $tag['gender'] : '';
|
$strGender = isset($tag['gender']) ? $tag['gender'] : '';
|
||||||
$strCategory = isset($tag['category']) ? $tag['category'] : '';
|
$strCategory = isset($tag['category']) ? $tag['category'] : '';
|
||||||
$strStatus = isset($tag['status']) ? $tag['status'] : '';
|
$strStatus = isset($tag['status']) ? $tag['status'] : '';
|
||||||
|
$strOrder = isset($tag['order']) ? $tag['order'] : '';
|
||||||
$intPage = isset($tag['page']) ? $tag['page'] : '';
|
$intPage = isset($tag['page']) ? $tag['page'] : '';
|
||||||
|
|
||||||
$strParse = <<<EOD
|
$strParse = <<<EOD
|
||||||
<?php
|
<?php
|
||||||
\$strUrl = \\app\\model\\NovelModel::getNovelCategoryUrl("{$strGender}","{$strCategory}","{$strStatus}","{$intPage}");
|
\$strUrl = \\app\\model\\NovelModel::getNovelCategoryUrl("{$strGender}","{$strCategory}","{$strStatus}","{$strOrder}","{$intPage}");
|
||||||
echo \$strUrl;
|
echo \$strUrl;
|
||||||
?>
|
?>
|
||||||
EOD;
|
EOD;
|
||||||
|
|||||||
@@ -10,35 +10,35 @@ return [
|
|||||||
'description' => '分类书库URL 模板2',
|
'description' => '分类书库URL 模板2',
|
||||||
'sfg_id' => 39,
|
'sfg_id' => 39,
|
||||||
'arrSubjectFomart' => [
|
'arrSubjectFomart' => [
|
||||||
'/books/{strGender}/{strCategory}/{strStatus}/page{intPage}',
|
'/books/{strGender}/{strCategory}/{strStatus}/{strOrder}/page{intPage}',
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'CATEGORY_INFO_URL_T3' => [
|
'CATEGORY_INFO_URL_T3' => [
|
||||||
'description' => '分类书库URL 模板3',
|
'description' => '分类书库URL 模板3',
|
||||||
'sfg_id' => 40,
|
'sfg_id' => 40,
|
||||||
'arrSubjectFomart' => [
|
'arrSubjectFomart' => [
|
||||||
'/library/{strGender}/{strCategory}/{strStatus}/page{intPage}',
|
'/library/{strGender}/{strCategory}/{strStatus}/{strOrder}/page{intPage}',
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'CATEGORY_INFO_URL_T4' => [
|
'CATEGORY_INFO_URL_T4' => [
|
||||||
'description' => '分类书库URL 模板4',
|
'description' => '分类书库URL 模板4',
|
||||||
'sfg_id' => 41,
|
'sfg_id' => 41,
|
||||||
'arrSubjectFomart' => [
|
'arrSubjectFomart' => [
|
||||||
'/fenlei/{strGender}/{strCategory}/{strStatus}/page{intPage}',
|
'/fenlei/{strGender}/{strCategory}/{strStatus}/{strOrder}/page{intPage}',
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'CATEGORY_INFO_URL_T5' => [
|
'CATEGORY_INFO_URL_T5' => [
|
||||||
'description' => '分类书库URL 模板5',
|
'description' => '分类书库URL 模板5',
|
||||||
'sfg_id' => 42,
|
'sfg_id' => 42,
|
||||||
'arrSubjectFomart' => [
|
'arrSubjectFomart' => [
|
||||||
'/class/{strGender}/{strCategory}/{strStatus}/page{intPage}',
|
'/class/{strGender}/{strCategory}/{strStatus}/{strOrder}/page{intPage}',
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'CATEGORY_INFO_URL_T6' => [
|
'CATEGORY_INFO_URL_T6' => [
|
||||||
'description' => '分类书库URL 模板6',
|
'description' => '分类书库URL 模板6',
|
||||||
'sfg_id' => 43,
|
'sfg_id' => 43,
|
||||||
'arrSubjectFomart' => [
|
'arrSubjectFomart' => [
|
||||||
'/category/{strGender}/{strCategory}/{strStatus}/page{intPage}',
|
'/category/{strGender}/{strCategory}/{strStatus}/{strOrder}/page{intPage}',
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
|
||||||
@@ -500,35 +500,35 @@ return [
|
|||||||
'description' => '书库首页URL 模板2',
|
'description' => '书库首页URL 模板2',
|
||||||
'sfg_id' => 109,
|
'sfg_id' => 109,
|
||||||
'arrSubjectFomart' => [
|
'arrSubjectFomart' => [
|
||||||
'/books/all',
|
'/books/index',
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'CATEGORY_INDEX_URL_T3' => [
|
'CATEGORY_INDEX_URL_T3' => [
|
||||||
'description' => '书库首页URL 模板3',
|
'description' => '书库首页URL 模板3',
|
||||||
'sfg_id' => 110,
|
'sfg_id' => 110,
|
||||||
'arrSubjectFomart' => [
|
'arrSubjectFomart' => [
|
||||||
'/library/all',
|
'/library/index',
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'CATEGORY_INDEX_URL_T4' => [
|
'CATEGORY_INDEX_URL_T4' => [
|
||||||
'description' => '书库首页URL 模板4',
|
'description' => '书库首页URL 模板4',
|
||||||
'sfg_id' => 111,
|
'sfg_id' => 111,
|
||||||
'arrSubjectFomart' => [
|
'arrSubjectFomart' => [
|
||||||
'/fenlei/all',
|
'/fenlei/index',
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'CATEGORY_INDEX_URL_T5' => [
|
'CATEGORY_INDEX_URL_T5' => [
|
||||||
'description' => '书库首页URL 模板5',
|
'description' => '书库首页URL 模板5',
|
||||||
'sfg_id' => 112,
|
'sfg_id' => 112,
|
||||||
'arrSubjectFomart' => [
|
'arrSubjectFomart' => [
|
||||||
'/class/all',
|
'/class/index',
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
'CATEGORY_INDEX_URL_T6' => [
|
'CATEGORY_INDEX_URL_T6' => [
|
||||||
'description' => '书库首页URL 模板6',
|
'description' => '书库首页URL 模板6',
|
||||||
'sfg_id' => 113,
|
'sfg_id' => 113,
|
||||||
'arrSubjectFomart' => [
|
'arrSubjectFomart' => [
|
||||||
'/category/all',
|
'/category/index',
|
||||||
]
|
]
|
||||||
],
|
],
|
||||||
|
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ c{clear: both;display: none;}
|
|||||||
.sortChannelG_nav a.on{color:#ff77a5;}
|
.sortChannelG_nav a.on{color:#ff77a5;}
|
||||||
.sortChannelP_nav a.on{color:#67c3a6;}
|
.sortChannelP_nav a.on{color:#67c3a6;}
|
||||||
|
|
||||||
.sortChannel_nav{padding-left:80px;border-bottom: 1px solid #FBFBFB;}
|
.sortChannel_nav{padding-left:110px;border-bottom: 1px solid #FBFBFB;}
|
||||||
.sortChannel_nav a.on{color:#C3C3C3}
|
.sortChannel_nav a.on{color:#C3C3C3}
|
||||||
.sortChannel_nav a.on2{left:45px;color:#03a9f4;}
|
.sortChannel_nav a.on2{left:45px;color:#03a9f4;}
|
||||||
|
|
||||||
@@ -180,7 +180,7 @@ c{clear: both;display: none;}
|
|||||||
.novel_info .btn-group-cell>.btn-normal.abt3{background: #4CAF50;}
|
.novel_info .btn-group-cell>.btn-normal.abt3{background: #4CAF50;}
|
||||||
.chapter-list li{border-bottom:1px solid #efefef;padding:10px 0px 10px 10px;}
|
.chapter-list li{border-bottom:1px solid #efefef;padding:10px 0px 10px 10px;}
|
||||||
.chapter-list li a{display:block;font-size:14px;}
|
.chapter-list li a{display:block;font-size:14px;}
|
||||||
.chapter-list span{background:url(list.png) no-repeat scroll 0 0 transparent;display:block;float:right;height:20px;margin-right:10px;margin-top:2px;width:14px;font-family:"宋体"}
|
.chapter-list span{display:block;float:right;height:20px;margin-right:10px;margin-top:2px;width:14px;font-family:"宋体"}
|
||||||
|
|
||||||
/* 章节页 */
|
/* 章节页 */
|
||||||
.set{width:100%;height:32px;padding:10px 0px 0px 0px;font-size:12px;clear:both;overflow:hidden;background:#ecf0f0;}
|
.set{width:100%;height:32px;padding:10px 0px 0px 0px;font-size:12px;clear:both;overflow:hidden;background:#ecf0f0;}
|
||||||
@@ -278,7 +278,8 @@ color: #004d00;border-radius:5px;transition: all 0.3s;}
|
|||||||
.sort_page_num>a{padding:5px 10px; background: #4ab2e6;margin: 5px;color: #fff;display: inline-block;}
|
.sort_page_num>a{padding:5px 10px; background: #4ab2e6;margin: 5px;color: #fff;display: inline-block;}
|
||||||
.sort_page_num>a.prev_off{background:#eee;}
|
.sort_page_num>a.prev_off{background:#eee;}
|
||||||
.sort_page_num>a:hover,.sort_page_num>a.page_on{background: #3F51B5;}
|
.sort_page_num>a:hover,.sort_page_num>a.page_on{background: #3F51B5;}
|
||||||
|
.novel_search_page h1{font-size: 1rem;text-align: center;margin-bottom: 1rem;}
|
||||||
|
.novel_search_page h1 span{color:red;}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -150,32 +150,39 @@ function incShouCangFun(intId){
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const strBookshelfKey = window.location.hostname + 'strBookshelfKey';
|
||||||
|
|
||||||
// 加入书架
|
// 加入书架
|
||||||
function addShujiaFun(NovelInfo){
|
function addBookshelfFun(NovelInfo) {
|
||||||
|
|
||||||
|
if (!NovelInfo) {
|
||||||
|
NovelInfo = arrNovel
|
||||||
|
}
|
||||||
|
|
||||||
|
let arrBookshelf = JSON.parse(localStorage.getItem(strBookshelfKey)) || [];
|
||||||
|
|
||||||
// 获取当前书架数据
|
|
||||||
let arrShujia = JSON.parse(localStorage.getItem('shujiakey')) || [];
|
|
||||||
console.log(arrShujia)
|
|
||||||
// 检查书籍是否已存在
|
// 检查书籍是否已存在
|
||||||
const exists = arrShujia.some(item => item.xsxq_id === NovelInfo.xsxq_id);
|
const index = arrBookshelf.findIndex(item => item.n_id === NovelInfo.n_id);
|
||||||
if (exists) {
|
|
||||||
layerPopup('该书已在书架中!',3)
|
if (index !== -1) {
|
||||||
return;
|
// 如果存在,更新该书籍的信息
|
||||||
|
arrBookshelf[index] = { ...arrBookshelf[index], ...NovelInfo };
|
||||||
|
layerPopup('已存在书架中!', 3)
|
||||||
|
} else {
|
||||||
|
// 如果不存在,添加到历史记录
|
||||||
|
arrBookshelf.push(NovelInfo);
|
||||||
|
layerPopup('已成功加入书架!', 3)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 添加到书架
|
|
||||||
arrShujia.push(NovelInfo);
|
|
||||||
|
|
||||||
// 更新本地存储
|
// 更新本地存储
|
||||||
localStorage.setItem('shujiakey', JSON.stringify(arrShujia));
|
localStorage.setItem(strBookshelfKey, JSON.stringify(arrBookshelf));
|
||||||
|
|
||||||
layerPopup('已成功加入书架!',3)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function displayShujia() {
|
function displayShujia() {
|
||||||
|
|
||||||
// 获取书架数据
|
// 获取书架数据
|
||||||
const shujia = JSON.parse(localStorage.getItem('shujiakey')) || [];
|
const shujia = JSON.parse(localStorage.getItem(strBookshelfKey)) || [];
|
||||||
|
|
||||||
if (shujia.length === 0) {
|
if (shujia.length === 0) {
|
||||||
console.log('书架为空');
|
console.log('书架为空');
|
||||||
|
|||||||
@@ -1009,7 +1009,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.detail-box .imgbox .flag,.topbar-addfavorite,.topbar-login .btn-submit,.topbar-sethome {
|
.detail-box .imgbox .flag,.topbar-addfavorite,.topbar-login .btn-submit,.topbar-sethome {
|
||||||
background: url("all.gif") no-repeat scroll 0 0 transparent
|
/* background: url("all.gif") no-repeat scroll 0 0 transparent */
|
||||||
}
|
}
|
||||||
|
|
||||||
.topbar {
|
.topbar {
|
||||||
@@ -2813,4 +2813,8 @@ body {
|
|||||||
margin: 0;
|
margin: 0;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
/* page end */
|
/* page end */
|
||||||
|
|
||||||
|
.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 h1 span{color:red;}
|
||||||
@@ -150,6 +150,8 @@ function incShouCangFun(intId) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const strBookshelfKey = window.location.hostname + 'strBookshelfKey';
|
||||||
|
|
||||||
// 加入书架 addShuJiaFun
|
// 加入书架 addShuJiaFun
|
||||||
function addBookshelfFun(NovelInfo) {
|
function addBookshelfFun(NovelInfo) {
|
||||||
|
|
||||||
@@ -157,8 +159,8 @@ function addBookshelfFun(NovelInfo) {
|
|||||||
NovelInfo = arrNovel
|
NovelInfo = arrNovel
|
||||||
}
|
}
|
||||||
|
|
||||||
let arrBookshelf = JSON.parse(localStorage.getItem('strBookshelfKey')) || [];
|
let arrBookshelf = JSON.parse(localStorage.getItem(strBookshelfKey)) || [];
|
||||||
console.log(arrBookshelf)
|
|
||||||
// 检查书籍是否已存在
|
// 检查书籍是否已存在
|
||||||
const index = arrBookshelf.findIndex(item => item.n_id === NovelInfo.n_id);
|
const index = arrBookshelf.findIndex(item => item.n_id === NovelInfo.n_id);
|
||||||
|
|
||||||
@@ -173,15 +175,14 @@ function addBookshelfFun(NovelInfo) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 更新本地存储
|
// 更新本地存储
|
||||||
localStorage.setItem('strBookshelfKey', JSON.stringify(arrBookshelf));
|
localStorage.setItem(strBookshelfKey, JSON.stringify(arrBookshelf));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// 删除书架
|
// 删除书架
|
||||||
function delBookshelfFun(intNId) {
|
function delBookshelfFun(intNId) {
|
||||||
// 获取书架数据
|
// 获取书架数据
|
||||||
const arrHistory = JSON.parse(localStorage.getItem('strBookshelfKey')) || [];
|
const arrHistory = JSON.parse(localStorage.getItem(strBookshelfKey)) || [];
|
||||||
console.log(arrHistory)
|
|
||||||
|
|
||||||
// 检查 arrHistory 是否为数组且不为空
|
// 检查 arrHistory 是否为数组且不为空
|
||||||
if (Array.isArray(arrHistory) && arrHistory.length > 0) {
|
if (Array.isArray(arrHistory) && arrHistory.length > 0) {
|
||||||
@@ -208,7 +209,7 @@ function delBookshelfFun(intNId) {
|
|||||||
function displayBookshelf() {
|
function displayBookshelf() {
|
||||||
|
|
||||||
// 获取书架数据
|
// 获取书架数据
|
||||||
const arrBookshelf = JSON.parse(localStorage.getItem('strBookshelfKey')) || [];
|
const arrBookshelf = JSON.parse(localStorage.getItem(strBookshelfKey)) || [];
|
||||||
|
|
||||||
if (arrBookshelf.length === 0) {
|
if (arrBookshelf.length === 0) {
|
||||||
console.log('书架为空');
|
console.log('书架为空');
|
||||||
|
|||||||
Reference in New Issue
Block a user