diff --git a/code/app/home/config/router.php b/code/app/home/config/router.php index e38e49d..6d50aa5 100644 --- a/code/app/home/config/router.php +++ b/code/app/home/config/router.php @@ -596,9 +596,9 @@ foreach ($arrRoutes['prefixes'] as $platform => $prefixes) { case 'kan-novel': //伪造小说详情 - $strView = 'pc/getNovelInfo.html'; + $strView = 'pc/getKanNovelInfo.html'; if ($platform == 'h5') { - $strView = 'novel/getNovelInfo.html'; + $strView = 'novel/getKanNovelInfo.html'; } Route::get($strRoute, function () use ($strView) { return view($strView); diff --git a/code/app/home/view/shikong/pc/getKanNovelInfo.html b/code/app/home/view/shikong/pc/getKanNovelInfo.html new file mode 100644 index 0000000..6ff9be3 --- /dev/null +++ b/code/app/home/view/shikong/pc/getKanNovelInfo.html @@ -0,0 +1,260 @@ +{extend name="basePc" /} + +{block name="get-data"} +{if $Request.route.intNovelId} +{novel:info n_id="$Request.route.intNovelId" n_key="arrNovel" n_forge_id="$Request.route.intForgeId" /} +{else} +{novel:info n_id="$DomainModel->info_id" n_key="arrNovel" n_forge_id="0" /} +{/if} + +{if empty($Request.route.intForgeId)} +{site:grm page_code="novel_info" diff="$arrNovel.n_id" num="120" g_key="arrGrm" /} +{else} +{site:grm page_code="novel_info" diff="$Request.route.intForgeId" num="120" g_key="arrGrm" /} +{/if} + +{/block} + +{block name="title"}{site:replace code="NOVEL@GETNOVELINFO@TITLE"}{/block} +{block name="keywords"}{site:replace code="NOVEL@GETNOVELINFO@KEYWORDS"}{/block} +{block name="description"}{site:replace code="NOVEL@GETNOVELINFO@DESCRIPTION"}{/block} + +{block name="head"} + + + + + + + + + + + + + + + + + + + + + + + + + +{/block} + +{block name="head-css"} + +{/block} + +{block name="logo-html"} +

+ + {$DomainModel->d_name}-{$DomainModel->d_text_logo} + +

+{/block} + +{block name="head-js"} +{/block} + +{block name="body-class"}novel_info{/block} + +{block name="main"} + +
+
+
+

+ {$DomainModel->d_name}> + + {$arrNovel['n_name']} + +

+
+
+ {$arrNovel['n_name'] ?? ''}小说封面 - {$arrNovel.n_author}最新章节 +
+ {if !empty($Request.route.intForgeId) && !empty($arrGrm[115])} + {$arrGrm[115]|raw} + {/if} +
+
+

{$arrNovel['n_name']}

+
+

作  者:{$arrNovel.n_author ?? ''}

+

类  别:{$arrNovel.n_category ?? ''}

+

状  态:{$arrNovel.n_status ?? ''}

+

+ 动  作: + 加入书架 + + 章节目录 + + 开始阅读 +

+

最后更新:{$arrNovel.n_update_time ?? ''}

+

最新章节: + {$arrNovel.n_latest_chapter_name ?? ""}

+
+
+
{$arrNovel.n_description ?? ''}
+
+
+
+ {if !empty($Request.route.intForgeId) && !empty($arrGrm[114])} + {$arrGrm[114]|raw} + {/if} +
+

《{$arrNovel.n_name ?? ''}》{$arrNovel.n_name ?? '章节'}

+
+ {$arrNovel.strFocus ?? ""} 。看小说就来{$DomainModel->d_name} {$DomainModel->d_domain}... + +

相邻推荐: + {volist name="arrNovel.n_forge_novel" id="ForgeNovel" key="key"} + + {if !empty($arrGrm[$key+20])} + {$arrGrm[$key+20]|raw} + {/if}{$ForgeNovel.n_forge_title} + {/volist} + + {volist name='$arrNovel.arrRelateveNovel' id='Novel'} + {$Novel.n_name}   + {/volist} + +

+
+
+
+ {if !empty($Request.route.intForgeId) && !empty($arrGrm[113])} + {$arrGrm[113]|raw} + {/if} +
+
+

《{$arrNovel.n_name}》最新章节

+
    + {chapter:list count="12" sort_type="dao" n_id="$arrNovel.n_id" d_key="key" d_val="Chapter" cache_life="3600"} +
  • + {if !empty($arrGrm[$key])} + {$arrGrm[$key]|raw} + {/if} + {$Chapter.c_name} +
  • + {/chapter:list} +
+

《{$arrNovel.n_name}》章节列表

+
    + {chapter:list count="100" sort_type="zheng" n_id="$arrNovel.n_id" d_key="key" d_val="Chapter" cache_life="3600"} +
  • + {if !empty($arrGrm[$key+10])} + {$arrGrm[$key+10]|raw} + {/if} + {$Chapter.c_name} +
  • + {/chapter:list} +
查看更多章节... +
+
+ +
+

已完结热门小说推荐

+
+ + {novel:list count="6" n_category="$arrNovel.n_category_pinyin" n_status="wanjie" d_key="key" d_val="Novel" p_val="page_data" cache_life="3600"} +
+
+ {if !empty($arrGrm[$key+110])} + {$arrGrm[$key+110]|raw} + {/if} + + {$Novel.n_name ?? ''} - {$Novel.n_category ?? ''}最新章节在线免费阅读 + +
+
+
{$Novel.n_author}{$Novel.n_name} +
+
{$Novel.n_description} +
+
+
+ {/novel:list} + +
+
+
+ + +{/block} + + +{block name="customize"} + +{/block} \ No newline at end of file diff --git a/code/app/home/view/shikong/public/footer.html b/code/app/home/view/shikong/public/footer.html index 0292dfc..ba2c956 100644 --- a/code/app/home/view/shikong/public/footer.html +++ b/code/app/home/view/shikong/public/footer.html @@ -7,12 +7,20 @@