This commit is contained in:
make
2025-04-27 20:29:10 +08:00
parent 989e7d6bb8
commit 785bb3a0c3
3 changed files with 5 additions and 6 deletions

View File

@@ -16,7 +16,6 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
<meta property="og:title" content="{$arrNovel['n_name']??'未知小说'} {$arrChapter.c_name} - {$DomainModel->d_name}" /> <meta property="og:title" content="{$arrNovel['n_name']??'未知小说'} {$arrChapter.c_name} - {$DomainModel->d_name}" />
<meta property="og:description" content='{site:replace code="NOVEL@GETNOVELCHAPTER@DESCRIPTION"}' /> <meta property="og:description" content='{site:replace code="NOVEL@GETNOVELCHAPTER@DESCRIPTION"}' />
<meta property="og:url" <meta property="og:url"

View File

@@ -224,7 +224,7 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
{if $arrChapter.next_chapter && $arrChapter.next_chapter.c_sort_num} {if $arrChapter.next_chapter && $arrChapter.next_chapter.c_sort_num}
<div data-v-080d7b61="" class="next nextPageBottom s-btn "> <div data-v-080d7b61="" class="next nextPageBottom s-btn ">
<span data-v-080d7b61="" class=" lh1 "> <span data-v-080d7b61="" class=" lh1 ">
<a href='{site:cpurl n_id=" $arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" <a href='{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin"
c_sort="$arrChapter.next_chapter.c_sort_num" c_page="$arrChapter.next_chapter.c_page" /}'> c_sort="$arrChapter.next_chapter.c_sort_num" c_page="$arrChapter.next_chapter.c_page" /}'>
下一章</a> 下一章</a>
</span> </span>

View File

@@ -217,14 +217,14 @@ EOD;
/** /**
* 小说章节URL生成器 * 小说章节URL生成器
* *
* @param array $n_id * @param array
* @return string * @return string
*/ */
public function tagCPUrl($tag) public function tagCPUrl($tag)
{ {
$intNId = isset($tag['n_id']) ? $tag['n_id'] : ''; $intNId = $tag['n_id'];
$strNPy = isset($tag['n_py']) ? $tag['n_py'] : ''; $strNPy = $tag['n_py'];
$intChapterSort = isset($tag['c_sort']) ? $tag['c_sort'] : ''; $intChapterSort = $tag['c_sort'];
$intChapterPage = isset($tag['c_page']) ? $tag['c_page'] : 0; $intChapterPage = isset($tag['c_page']) ? $tag['c_page'] : 0;
$intNId = $this->customBuildVar($intNId); $intNId = $this->customBuildVar($intNId);