This commit is contained in:
make
2025-05-25 19:46:00 +08:00
parent 979652efce
commit 2d26f9bccf
2 changed files with 11 additions and 3 deletions

View File

@@ -44,7 +44,6 @@
</li> </li>
{/if} {/if}
<li id="home"><a href="{$strPcPath}/">首页</a></li>
<li><a href='{$strPcPath}{site:rankurl status="all" order="total" page="1"/}'>总排行</a></li> <li><a href='{$strPcPath}{site:rankurl status="all" order="total" page="1"/}'>总排行</a></li>
<li><a href='{$strPcPath}{site:nflurl category="all" status="all" order="tuijian" page="1"/}'>总推荐</a></li> <li><a href='{$strPcPath}{site:nflurl category="all" status="all" order="tuijian" page="1"/}'>总推荐</a></li>

View File

@@ -229,13 +229,22 @@ class SiteContext
{ {
if ($strPlatform == 'h5') { if ($strPlatform == 'h5') {
if ($this->DomainModel->info_id > 0) { if ($this->DomainModel->info_id > 0) {
$strView = 'novel/getNovelInfo.html'; if(config('app.default_app_type') == 'video'){
$strView = 'video/getVideoInfo.html';
}else{
$strView = 'novel/getNovelInfo.html';
}
} else { } else {
$strView = 'index/index.html'; $strView = 'index/index.html';
} }
} else { } else {
if ($this->DomainModel->info_id > 0) { if ($this->DomainModel->info_id > 0) {
$strView = 'pc/getNovelInfo.html'; if(config('app.default_app_type') == 'video'){
$strView = 'pc/getVideoInfo.html';
}else{
$strView = 'pc/getNovelInfo.html';
}
} else { } else {
$strView = 'pc/index.html'; $strView = 'pc/index.html';
} }