PC 端 页面 head
This commit is contained in:
@@ -379,7 +379,6 @@ class Novel extends BaseController
|
||||
// 分品拼音
|
||||
$arrNovel['category_pinyin'] = CategoryModel::getPinYinByZh($arrNovel['og_novel_category']);
|
||||
|
||||
|
||||
// 最后章节
|
||||
$ChapterModel = new ChapterModel;
|
||||
$arrLatestChapter = $ChapterModel->getLatestChapter($intNId);
|
||||
@@ -431,11 +430,16 @@ class Novel extends BaseController
|
||||
$strKeywords = ConverterMovel::convert($strKeywordsTemplate);
|
||||
$strDescription = ConverterMovel::convert($strDescriptionTemplate);
|
||||
|
||||
// js使用到
|
||||
$arrNovelJs = $arrNovel;
|
||||
unset($arrNovelJs['n_related_novel'], $arrNovelJs['n_forge_novel'], $arrNovelJs['n_page_description']);
|
||||
|
||||
View::assign([
|
||||
'arrRelateveNovel' => $arrRelateveNovel,
|
||||
'arrNovel' => $arrNovel,
|
||||
'arrNovelJs' => $arrNovelJs,
|
||||
'arrChapter' => $arrChapter,
|
||||
'arrLatestChapter' => $arrLatestChapter,
|
||||
'arrNovelClicks' => $arrNovelClicks,
|
||||
'strFocus' => $strFocus,
|
||||
'strPageCode' => 'boy',
|
||||
@@ -443,11 +447,12 @@ class Novel extends BaseController
|
||||
'strKeywords' => $strKeywords,
|
||||
'strDescription' => $strDescription,
|
||||
]);
|
||||
|
||||
|
||||
if ($boolIsMobile) {
|
||||
return View::fetch();
|
||||
return View::fetch('getNovelInfo');
|
||||
} else {
|
||||
return View::fetch('pc/getKanNovelInfo');
|
||||
return View::fetch('pc/getNovelInfo');
|
||||
}
|
||||
}
|
||||
|
||||
@@ -526,6 +531,7 @@ class Novel extends BaseController
|
||||
'arrRelateveNovel' => $arrRelateveNovel,
|
||||
'arrNovel' => $arrNovel,
|
||||
'arrChapter' => $arrChapter,
|
||||
'arrLatestChapter' => $arrLatestChapter,
|
||||
'arrNovelClicks' => $arrNovelClicks,
|
||||
'strFocus' => $strFocus,
|
||||
'strPageCode' => 'boy',
|
||||
|
||||
Reference in New Issue
Block a user