This commit is contained in:
make
2025-04-28 17:11:06 +08:00
parent 2958d293d1
commit 4676ae1f16
60 changed files with 369 additions and 181 deletions

View File

@@ -136,7 +136,9 @@ cache_life="86400" button_num="3" sort_type="$Request.route.strOrder" func="gene
{foreach $resData.data as $key=>$Chapter}
<dd>
{$arrGrm[$key]|raw}
{if !empty($arrGrm[$key])}
{$arrGrm[$key]|raw}
{/if}
<a href='{$strPcPath}{site:cpurl n_id="$arrNovel.n_id" n_py="$arrNovel.n_name_pinyin" c_sort="$Chapter.c_sort_num" c_page="0"/}'>
{$Chapter.c_name}</a>
</dd>
@@ -172,6 +174,23 @@ cache_life="86400" button_num="3" sort_type="$Request.route.strOrder" func="gene
</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_description': `{$arrNovel['n_description']}`,
'n_latest_chapter_name': `{$arrNovel['n_latest_chapter_name']}`,
'n_update_time': `{$arrNovel['n_update_time']}`,
'c_sort_num': 1,
'c_name': `第一章`,
};
</script>
{/block}
{block name="customize"} {/block}