debug
This commit is contained in:
@@ -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}
|
||||
Reference in New Issue
Block a user