@@ -197,7 +197,7 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
@@ -230,16 +230,19 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
{if $arrChapter && $arrChapter.c_sort_num && $arrChapter.c_sort_num == 1}
上一章
- {else}
+ {/if}
+
+ {if $arrChapter.pre_chapter && $arrChapter.pre_chapter.c_sort_num}
{$arrGrm[10]|raw}
上一章
+ href='{$strPcPath}{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrChapter.pre_chapter.c_sort_num" c_page="$arrChapter.pre_chapter.c_page"/}'>上一章
{/if}
+
|
{if $arrChapter.next_chapter && $arrChapter.next_chapter.c_sort_num}
{$arrGrm[9]|raw}
下一章
+ href='{$strPcPath}{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"/}'>下一章
{/if}
@@ -414,7 +417,7 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}
//下一章id
nextId: '{$arrChapter.next_chapter.c_sort_num ?? 1}'
};
- book.chapterUrl = '{$strPcPath}{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrChapter.c_sort_num" c_page="0"/}' ;
+ book.chapterUrl = '{$strPcPath}{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$arrChapter.c_sort_num" c_page="$arrChapter.c_page"/}' ;
book.nextChapterVip = 0;
diff --git a/code/app/home/view/shikong/novel/getNovelChapter.html b/code/app/home/view/shikong/novel/getNovelChapter.html
index cd69511..89ab794 100644
--- a/code/app/home/view/shikong/novel/getNovelChapter.html
+++ b/code/app/home/view/shikong/novel/getNovelChapter.html
@@ -178,6 +178,7 @@ c_page="$Request.route.intChapterPage" c_key="arrChapter" /}