debug
This commit is contained in:
@@ -499,13 +499,25 @@ foreach ($arrRoutes['prefixes'] as $platform => $prefixes) {
|
||||
|
||||
case 'video_search':
|
||||
//搜素
|
||||
$strView = 'pc/getSearchVideo.html';
|
||||
// $strView = 'pc/getSearchVideo.html';
|
||||
// if ($platform == 'h5') {
|
||||
// $strView = 'video/getSearchVideo.html';
|
||||
// }
|
||||
// Route::get($strRoute, function () use ($strView) {
|
||||
// return view($strView);
|
||||
// })->ext('html');
|
||||
// break;
|
||||
|
||||
// 首页
|
||||
if ($platform == 'h5') {
|
||||
$strView = 'video/getSearchVideo.html';
|
||||
Route::get($strRoute, function (\think\Request $Request, SiteContext $SiteContext) {
|
||||
return view($SiteContext->getHomeView('h5'));
|
||||
});
|
||||
} else {
|
||||
Route::get($strRoute, function (\think\Request $Request, SiteContext $SiteContext) {
|
||||
return view($SiteContext->getHomeView('pc'));
|
||||
});
|
||||
}
|
||||
Route::get($strRoute, function () use ($strView) {
|
||||
return view($strView);
|
||||
})->ext('html');
|
||||
break;
|
||||
|
||||
case 'video_history':
|
||||
@@ -668,13 +680,25 @@ foreach ($arrRoutes['prefixes'] as $platform => $prefixes) {
|
||||
|
||||
case 'search':
|
||||
//搜素
|
||||
$strView = 'pc/getSearchNovel.html';
|
||||
// $strView = 'pc/getSearchNovel.html';
|
||||
// if ($platform == 'h5') {
|
||||
// $strView = 'novel/getSearchNovel.html';
|
||||
// }
|
||||
// Route::get($strRoute, function () use ($strView) {
|
||||
// return view($strView);
|
||||
// })->ext('html');
|
||||
// break;
|
||||
|
||||
// 首页
|
||||
if ($platform == 'h5') {
|
||||
$strView = 'novel/getSearchNovel.html';
|
||||
Route::get($strRoute, function (\think\Request $Request, SiteContext $SiteContext) {
|
||||
return view($SiteContext->getHomeView('h5'));
|
||||
});
|
||||
} else {
|
||||
Route::get($strRoute, function (\think\Request $Request, SiteContext $SiteContext) {
|
||||
return view($SiteContext->getHomeView('pc'));
|
||||
});
|
||||
}
|
||||
Route::get($strRoute, function () use ($strView) {
|
||||
return view($strView);
|
||||
})->ext('html');
|
||||
break;
|
||||
|
||||
case 'user':
|
||||
|
||||
@@ -2,11 +2,14 @@
|
||||
|
||||
{block name="get-data"}
|
||||
|
||||
{if $Request.route.intVId}
|
||||
{video:info v_id="$Request.route.intVId" v_key="arrVideo" /}
|
||||
{if $Request.route.intVId && $Request.route.intVForgeId}
|
||||
{video:info v_id="$Request.route.intVId" v_key="arrVideo" v_fid="$Request.route.intVForgeId" /}
|
||||
{elseif $Request.route.intVId}
|
||||
{video:info v_id="$Request.route.intVId" v_key="arrVideo" /}
|
||||
{else}
|
||||
{video:info v_id="$DomainModel->info_id" n_key="arrVideo" n_forge_id="0" /}
|
||||
{video:info v_id="$DomainModel->info_id" n_key="arrVideo" /}
|
||||
{/if}
|
||||
|
||||
{site:grm page_code="h5_video_info" diff="$arrVideo.v_id" num="120" g_key="arrGrm" /}
|
||||
|
||||
{/block}
|
||||
@@ -247,7 +250,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- <script type="text/javascript">Myui.Score();</script> -->
|
||||
|
||||
<div class="myui-panel myui-panel-bg clearfix" id="desc">
|
||||
<div class="myui-panel-box clearfix">
|
||||
<div class="myui-panel_hd">
|
||||
@@ -258,12 +261,15 @@
|
||||
</div>
|
||||
<div class="myui-panel_bd">
|
||||
<div class="col-pd text-collapse content">
|
||||
<!-- <p class="myui-content__tag">关键词
|
||||
<a href="">
|
||||
{$arrVideo.v_name}
|
||||
</a>
|
||||
{if !empty($arrVideo.v_seo_words)}
|
||||
<p class="myui-content__tag">关键词
|
||||
{volist name='$arrVideo.v_seo_words' key="index" id='SeoWords' }
|
||||
<a
|
||||
href='{site:vfurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" v_fid="$index"/}'>{$SeoWords}</a>
|
||||
{/volist}
|
||||
|
||||
</p> -->
|
||||
</p>
|
||||
{/if}
|
||||
<span class="sketch content">
|
||||
《{$arrVideo.v_name}》是一部在
|
||||
{volist name='$arrVideo.v_area' id='vo' key='index'}
|
||||
|
||||
@@ -304,6 +304,15 @@
|
||||
</div>
|
||||
<div class="myui-panel_bd">
|
||||
<div class="col-pd text-collapse content">
|
||||
{if !empty($arrVideo.v_seo_words)}
|
||||
<p class="myui-content__tag">关键词
|
||||
{volist name='$arrVideo.v_seo_words' key="index" id='SeoWords' }
|
||||
<a
|
||||
href='{site:vfurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" v_fid="$index"/}'>{$SeoWords}</a>
|
||||
{/volist}
|
||||
|
||||
</p>
|
||||
{/if}
|
||||
<p>
|
||||
<span class="text-muted">导演:</span>
|
||||
{volist name='$arrVideo.v_director' id='vo' key='index'}
|
||||
|
||||
@@ -256,6 +256,29 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if !empty($arrVideo.v_seo_words)}
|
||||
<div class="stui-pannel stui-pannel-bg clearfix" id="desc">
|
||||
<div class="stui-pannel-box">
|
||||
<div class="stui-pannel_hd">
|
||||
<div class="stui-pannel__head active bottom-line clearfix">
|
||||
<h3 class="title">
|
||||
<img src="/template/videodadi/icon/icon_30.png" />相关推荐
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="stui-pannel_bd">
|
||||
<p class="col-pd">
|
||||
|
||||
{volist name='$arrVideo.v_seo_words' key="index" id='SeoWords' }
|
||||
<a
|
||||
href='{site:vfurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" v_fid="$index"/}'>{$SeoWords}</a>
|
||||
{/volist}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="stui-pannel stui-pannel-bg clearfix" id="desc">
|
||||
<div class="stui-pannel-box">
|
||||
<div class="stui-pannel_hd">
|
||||
|
||||
@@ -2,10 +2,12 @@
|
||||
|
||||
{block name="get-data"}
|
||||
|
||||
{if $Request.route.intVId}
|
||||
{video:info v_id="$Request.route.intVId" v_key="arrVideo" /}
|
||||
{if $Request.route.intVId && $Request.route.intVForgeId}
|
||||
{video:info v_id="$Request.route.intVId" v_key="arrVideo" v_fid="$Request.route.intVForgeId" /}
|
||||
{elseif $Request.route.intVId}
|
||||
{video:info v_id="$Request.route.intVId" v_key="arrVideo" /}
|
||||
{else}
|
||||
{video:info v_id="$DomainModel->info_id" n_key="arrVideo" n_forge_id="0" /}
|
||||
{video:info v_id="$DomainModel->info_id" n_key="arrVideo" /}
|
||||
{/if}
|
||||
{site:grm page_code="h5_video_info" diff="$arrVideo.v_id" num="120" g_key="arrGrm" /}
|
||||
|
||||
@@ -279,6 +281,24 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if !empty($arrVideo.v_seo_words)}
|
||||
<div class="fbb509 lvshicms-panel lvshicms-panel-bg clearfix">
|
||||
<div class="de59fa lvshicms-panel-box clearfix">
|
||||
<div class="c42a28 lvshicms-panel_hd">
|
||||
<div class="bb7fba lvshicms-panel__head clearfix">
|
||||
<h3 class="f3d3f6 title">相似推荐</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="f42eb6 lvshicms-panel_bd">
|
||||
{volist name='$arrVideo.v_seo_words' key="index" id='SeoWords' }
|
||||
<a
|
||||
href='{site:vfurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" v_fid="$index"/}'>{$SeoWords}</a>
|
||||
{/volist}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="fbb509 lvshicms-panel lvshicms-panel-bg clearfix">
|
||||
<div class="de59fa lvshicms-panel-box clearfix">
|
||||
<div class="c42a28 lvshicms-panel_hd">
|
||||
@@ -291,7 +311,8 @@
|
||||
<li class="ba9e50 col-pd">
|
||||
<div class="d154e9 shrink-box shrinked">
|
||||
<div class="acf872 shrink-text">
|
||||
{$arrVideo.v_description|raw}</div>
|
||||
{$arrVideo.v_description|raw}
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -290,6 +290,24 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if !empty($arrVideo.v_seo_words)}
|
||||
<div class="fbb509 lvshicms-panel lvshicms-panel-bg clearfix">
|
||||
<div class="de59fa lvshicms-panel-box clearfix">
|
||||
<div class="c42a28 lvshicms-panel_hd">
|
||||
<div class="bb7fba lvshicms-panel__head clearfix">
|
||||
<h3 class="f3d3f6 title">相似推荐</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="f42eb6 lvshicms-panel_bd">
|
||||
{volist name='$arrVideo.v_seo_words' key="index" id='SeoWords' }
|
||||
<a
|
||||
href='{site:vfurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" v_fid="$index"/}'>{$SeoWords}</a>
|
||||
{/volist}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="fbb509 lvshicms-panel lvshicms-panel-bg clearfix">
|
||||
<div class="de59fa lvshicms-panel-box clearfix">
|
||||
<div class="c42a28 lvshicms-panel_hd">
|
||||
|
||||
@@ -2,10 +2,12 @@
|
||||
|
||||
{block name="get-data"}
|
||||
|
||||
{if $Request.route.intVId}
|
||||
{video:info v_id="$Request.route.intVId" v_key="arrVideo" /}
|
||||
{if $Request.route.intVId && $Request.route.intVForgeId}
|
||||
{video:info v_id="$Request.route.intVId" v_key="arrVideo" v_fid="$Request.route.intVForgeId" /}
|
||||
{elseif $Request.route.intVId}
|
||||
{video:info v_id="$Request.route.intVId" v_key="arrVideo" /}
|
||||
{else}
|
||||
{video:info v_id="$DomainModel->info_id" n_key="arrVideo" n_forge_id="0" /}
|
||||
{video:info v_id="$DomainModel->info_id" n_key="arrVideo" /}
|
||||
{/if}
|
||||
{site:grm page_code="h5_video_info" diff="$arrVideo.v_id" num="120" g_key="arrGrm" /}
|
||||
|
||||
@@ -238,6 +240,20 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if !empty($arrVideo.v_seo_words)}
|
||||
<div class="ecd28f pannel-box clearfix">
|
||||
<div class="c83885 box-title"> <span class="a9af85 title-lb"></span>
|
||||
<h2>相似推荐</h2>
|
||||
</div>
|
||||
<div class="e43487 col-md-1 col-sm-1 col-xs-1 detail-info">
|
||||
{volist name='$arrVideo.v_seo_words' key="index" id='SeoWords' }
|
||||
<a
|
||||
href='{site:vfurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" v_fid="$index"/}'>{$SeoWords}</a>
|
||||
{/volist}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="ecd28f pannel-box clearfix">
|
||||
<div class="c83885 box-title"> <span class="a9af85 title-lb"></span>
|
||||
<h2>剧情介绍</h2>
|
||||
@@ -249,6 +265,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="d6c745 pannel-box clearfix">
|
||||
<div class="f611b9 box-title"> <span class="d56ee0 title-lb"></span>
|
||||
<h2>播放列表</h2>
|
||||
|
||||
@@ -228,6 +228,21 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if !empty($arrVideo.v_seo_words)}
|
||||
<div class="ecd28f pannel-box clearfix">
|
||||
<div class="c83885 box-title"> <span class="a9af85 title-lb"></span>
|
||||
<h2>相似推荐</h2>
|
||||
</div>
|
||||
<div class="e43487 col-md-1 col-sm-1 col-xs-1 detail-info">
|
||||
{volist name='$arrVideo.v_seo_words' key="index" id='SeoWords' }
|
||||
<a
|
||||
href='{site:vfurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" v_fid="$index"/}'>{$SeoWords}</a>
|
||||
{/volist}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="ab3c90 pannel-box clearfix">
|
||||
<div class="b0d94d box-title"> <span class="bbbff1 title-lb"></span>
|
||||
<h2>剧情介绍</h2>
|
||||
|
||||
@@ -2,10 +2,12 @@
|
||||
|
||||
{block name="get-data"}
|
||||
|
||||
{if $Request.route.intVId}
|
||||
{video:info v_id="$Request.route.intVId" v_key="arrVideo" /}
|
||||
{if $Request.route.intVId && $Request.route.intVForgeId}
|
||||
{video:info v_id="$Request.route.intVId" v_key="arrVideo" v_fid="$Request.route.intVForgeId" /}
|
||||
{elseif $Request.route.intVId}
|
||||
{video:info v_id="$Request.route.intVId" v_key="arrVideo" /}
|
||||
{else}
|
||||
{video:info v_id="$DomainModel->info_id" n_key="arrVideo" n_forge_id="0" /}
|
||||
{video:info v_id="$DomainModel->info_id" n_key="arrVideo" /}
|
||||
{/if}
|
||||
{site:grm page_code="h5_video_info" diff="$arrVideo.v_id" num="120" g_key="arrGrm" /}
|
||||
|
||||
@@ -293,6 +295,24 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if !empty($arrVideo.v_seo_words)}
|
||||
<div class="stui-pannel stui-pannel-bg clearfix">
|
||||
<div class="stui-pannel-box">
|
||||
<div class="stui-pannel_hd">
|
||||
<div class="stui-pannel__head clearfix">
|
||||
<h3 class="title"><img src="/template/videonunu/icon/icon_30.png">推荐</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="stui-pannel_bd">
|
||||
{volist name='$arrVideo.v_seo_words' key="index" id='SeoWords' }
|
||||
<a
|
||||
href='{site:vfurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" v_fid="$index"/}'>{$SeoWords}</a>
|
||||
{/volist}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="stui-pannel stui-pannel-bg clearfix">
|
||||
<div class="stui-pannel-box">
|
||||
<div class="stui-pannel_hd">
|
||||
|
||||
@@ -235,6 +235,24 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if !empty($arrVideo.v_seo_words)}
|
||||
<div class="stui-pannel stui-pannel-bg clearfix">
|
||||
<div class="stui-pannel-box">
|
||||
<div class="stui-pannel_hd">
|
||||
<div class="stui-pannel__head clearfix">
|
||||
<h3 class="title"><img src="/template/videonunu/icon/icon_30.png">推荐</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="stui-pannel_bd">
|
||||
{volist name='$arrVideo.v_seo_words' key="index" id='SeoWords' }
|
||||
<a
|
||||
href='{site:vfurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" v_fid="$index"/}'>{$SeoWords}</a>
|
||||
{/volist}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
<div class="stui-pannel stui-pannel-bg clearfix">
|
||||
<div class="stui-pannel-box">
|
||||
<div class="stui-pannel_hd">
|
||||
|
||||
Reference in New Issue
Block a user