debug-video-index

This commit is contained in:
make
2025-05-25 20:31:37 +08:00
parent 2d26f9bccf
commit 50d7df3869
17 changed files with 127 additions and 13 deletions

View File

@@ -70,6 +70,11 @@ PROXY_HOST = tun-pmzmcw.qg.net:16358
PROXY_KEY = AE72770D
PROXY_SECRET = B9A6FFD93586
PROXY_CODE = JULIANG
PROXY_HOST = **.**.cc:12520
PROXY_KEY = ***
PROXY_SECRET = ***
# CRAWLER
NOVEL_START_N_SOURCE_ID = 1
NOVEL_END_N_SOURCE_ID = 500000

View File

@@ -700,6 +700,17 @@ foreach ($arrRoutes['prefixes'] as $platform => $prefixes) {
return view($strView);
});
break;
case 'vindex':
// 首页
$strView = 'pc/index.html';
if ($platform == 'h5') {
$strView = 'index/index.html';
}
Route::get($strRoute, function () use ($strView) {
return view($strView);
});
break;
}
}
}

View File

@@ -36,7 +36,9 @@
</style>
</head>
{block name="strPageCode"}
<?php $strPageCode = 'home'; ?>
{/block}
<body class="active {block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
<header class="myui-header__top clearfix top-fixed headroom--top headroom--not-bottom" id="header-top">
@@ -49,7 +51,18 @@
</a>
</div>
<ul class="myui-header__menu nav-menu">
<li class="{if $Request.route.strParentCategory == ''}active{/if} visible-inline-lg"><a class="logo" href="/">首页</a></li>
{if $DomainModel->info_id > 0}
<li class="{if $strPageCode == 'info'}active{/if} visible-inline-lg">
<a class="logo" href="/">首页</a>
</li>
<li class=' {if $strPageCode == "home"}active{/if} visible-inline-lg' >
<a class="logo" href="/vindex">影视首页</a>
</li>
{else}
<li class=' {if $strPageCode == "home"}active{/if} visible-inline-lg'>
<a class="logo" href="/">首页</a>
</li>
{/if}
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
<li class=" visible-inline-lg {if $val.v_category_en == $Request.route.strParentCategory}active{/if}">

View File

@@ -131,6 +131,10 @@
{block name='body-class'}video-info-page{/block}
{block name="strPageCode"}
<?php $strPageCode = 'info'; ?>
{/block}
{block name="main"}
<div class="container">

View File

@@ -120,6 +120,10 @@
{block name='body-class'}video-play-page active{/block}
{block name="strPageCode"}
<?php $strPageCode = 'play'; ?>
{/block}
{block name="main"}

View File

@@ -28,6 +28,10 @@
</script>
</head>
{block name="strPageCode"}
<?php $strPageCode = 'home'; ?>
{/block}
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
<header class="stui-header__top clearfix top-fixed headroom--top headroom--not-bottom" id="header-top">
<div class="container">
@@ -61,15 +65,16 @@
</div>
<ul class="stui-header__menu type-slide">
{if $DomainModel->info_id > 0}
<li class="{if $Request.route.strParentCategory == ''}active{/if}">
<li class="{if $strPageCode == 'info'}active{/if}">
<a href="/">首页</a>
</li>
<li class="{if $Request.route.strParentCategory == ''}active{/if}">
<li class=' {if $strPageCode == "home"}active{/if} ' >
<a href="/vindex">影视首页</a>
</li>
{else}
<li class="{if $Request.route.strParentCategory == ''}active{/if}">
<li class=' {if $strPageCode == "home"}active{/if} '>
<a href="/">首页</a>
</li>
{/if}

View File

@@ -127,7 +127,9 @@
</script>
{/block}
{block name="strPageCode"}
<?php $strPageCode = 'info'; ?>
{/block}
{block name="main"}
<div class="container">

View File

@@ -120,6 +120,10 @@
{block name='body-class'}video-play-page{/block}
{block name="strPageCode"}
<?php $strPageCode = 'play'; ?>
{/block}
{block name="main"}
<div class="container">

View File

@@ -28,6 +28,9 @@
</script>
</head>
{block name="strPageCode"}
<?php $strPageCode = 'home'; ?>
{/block}
<body class="f9eb6d active {block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
<header class="a23db0 lvshicms-header__top" id="header-top">
@@ -42,7 +45,19 @@
class="d55436 lvshicms-header__menu hidden-sm hidden-xs swiper-initialized swiper-horizontal swiper-pointer-events swiper-free-mode">
<ul class="c308d4 swiper-wrapper" id="swiper-wrapper-15acf77edda9621f" aria-live="polite"
style="transition-duration: 300ms;">
<li class="c1afb6 swiper-slide {if $Request.route.strParentCategory == ''}active{/if}"><a href="/">首页</a></li>
{if $DomainModel->info_id > 0}
<li class="{if $strPageCode == 'info'}active{/if} c1afb6 swiper-slide ">
<a href="/">首页</a>
</li>
<li class=' {if $strPageCode == "home"}active{/if} ' >
<a href="/vindex">影视首页</a>
</li>
{else}
<li class=' {if $strPageCode == "home"}active{/if} '>
<a href="/">首页</a>
</li>
{/if}
{video:categorytype category_type="ONE" d_key="key" d_val="val"}

View File

@@ -131,10 +131,12 @@
{block name='body-class'}video-info-page{/block}
{block name="strPageCode"}
<?php $strPageCode = 'info'; ?>
{/block}
{block name="main"}
<div class="a971eb lvshicms-container-bg detail-info-box" style="margin-top:-20px;">

View File

@@ -120,8 +120,11 @@
{block name='body-class'}video-play-page{/block}
{block name="main"}
{block name="strPageCode"}
<?php $strPageCode = 'play'; ?>
{/block}
{block name="main"}
<div class="aaf99d lvshicms-container-bg padding-0" style="margin-top:-20px;">
<div class="bab1b0 container" style="z-index: 0;">

View File

@@ -33,6 +33,9 @@
</script>
</head>
{block name="strPageCode"}
<?php $strPageCode = 'home'; ?>
{/block}
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
<header class="c4782f header-top top-fixed home vod">
@@ -47,7 +50,19 @@
class="b2f179 header-menu hidden-xs hidden-sm swiper-initialized swiper-horizontal swiper-pointer-events swiper-free-mode">
<ul class="cd86bd swiper-wrapper" id="swiper-wrapper-bcd0b11121af738e" aria-live="polite"
style="transition-duration: 0ms;">
<li class="f823b1 swiper-slide hidden-sm hidden-xs {if $Request.route.strParentCategory == ''}active{/if}"><a href="/">首页</a></li>
{if $DomainModel->info_id > 0}
<li class="{if $strPageCode == 'info'}active{/if} f823b1 swiper-slide hidden-sm hidden-xs ">
<a href="/">首页</a>
</li>
<li class=' {if $strPageCode == "home"}active{/if} f823b1 swiper-slide hidden-sm hidden-xs' >
<a href="/vindex">影视首页</a>
</li>
{else}
<li class=' {if $strPageCode == "home"}active{/if} f823b1 swiper-slide hidden-sm hidden-xs'>
<a href="/">首页</a>
</li>
{/if}
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
<li class="ab5512 swiper-slide hidden-xs {if $val.v_category_en == $Request.route.strParentCategory}active{/if}">

View File

@@ -131,6 +131,10 @@
{block name='body-class'}video-info-page{/block}
{block name="strPageCode"}
<?php $strPageCode = 'info'; ?>
{/block}
{block name="main"}
<div class="d3dea8 container">

View File

@@ -120,6 +120,10 @@
{block name='body-class'}video-play-page{/block}
{block name="strPageCode"}
<?php $strPageCode = 'play'; ?>
{/block}
{block name="main"}
<div class="d0f117 container static">

View File

@@ -27,6 +27,9 @@
</script>
</head>
{block name="strPageCode"}
<?php $strPageCode = 'home'; ?>
{/block}
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
@@ -59,7 +62,20 @@
</div>
</div>
<ul class="stui-header__menu type-slide">
<li class="{if $Request.route.strParentCategory == ''}active{/if}"><a href="/">首页</a></li>
{if $DomainModel->info_id > 0}
<li class="{if $strPageCode == 'info'}active{/if} ">
<a href="/">首页</a>
</li>
<li class=' {if $strPageCode == "home"}active{/if} ' >
<a href="/vindex">影视首页</a>
</li>
{else}
<li class=' {if $strPageCode == "home"}active{/if} '>
<a href="/">首页</a>
</li>
{/if}
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
<li class="{if $val.v_category_en == $Request.route.strParentCategory}active{/if}">
<a href='{site:vciurl parent_category="$val.v_category_en" /}'>

View File

@@ -131,6 +131,10 @@
{block name='body-class'}video-info-page{/block}
{block name="strPageCode"}
<?php $strPageCode = 'info'; ?>
{/block}
{block name="main"}
<div class="container">

View File

@@ -120,8 +120,11 @@
{block name='body-class'}video-play-page{/block}
{block name="main"}
{block name="strPageCode"}
<?php $strPageCode = 'play'; ?>
{/block}
{block name="main"}
<div class="container">