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

@@ -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}">