This commit is contained in:
make
2025-05-05 13:09:19 +08:00
parent cc61365c5d
commit 925000f736
9 changed files with 104 additions and 183 deletions

View File

@@ -26,9 +26,8 @@
const strPushApi = `{site:cfg code="PUSH_API_DOMAIN" encode="false"/}`;
</script>
<script src="/public/jquery/jquery-3.7.1.min.js" type="module" charset="utf-8"></script>
<!-- <script type="text/javascript" src='/template/videodadi/cctv/json.js?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}'></script> -->
<script type="text/javascript" src='/template/videodadi/cctv/index.js?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}'></script>
<script type="text/javascript" src='/public/video/common.js?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}'></script>
<script type="text/javascript"
src='/public/video/common.js?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}'></script>
{block name="head"}{/block}
{block name="head-css"}{/block}
@@ -39,9 +38,6 @@
</script>
</head>
<!-- 高权重站排名 -->
<body>
<header class="stui-header__top clearfix top-fixed headroom--top headroom--not-bottom" id="header-top">
<div class="container">
@@ -49,34 +45,22 @@
<div class="stui-header_bd clearfix">
<h2 class="stui-header__logo">
{if $DomainModel->d_logo_type == 1}
<a style="color: rgb(146, 198, 165);" class="logo" href="/"></a>
<a style="color: rgb(146, 198, 165);" class="logo" href="/"></a>
{else}
<a class="logo-text" href="/">{$DomainModel->d_name}</a>
<a class="logo-text" href="/">{$DomainModel->d_name}</a>
{/if}
</h2>
<div class="stui-header__side">
<ul class="stui-header__user">
<li>
<a style="color: rgb(218, 103, 191);" href="{$strHistoryUrlTemp}">
<i class="icon iconfont icon-clock"></i>
</a>
<!-- <div class="dropdown history">
<h5 class="margin-0 text-muted">
<a style="color: rgb(202, 246, 69);" class="historyclean text-muted pull-right"
href="">清空</a>
播放记录
</h5>
<ul class="clearfix" id="stui_history">
<p style="padding: 80px 0; text-align: center">您还没有看过影片哦</p>
</ul>
</div> -->
</li>
</ul>
<!-- onsubmit="return qrsearch();" -->
<div class="stui-header__search">
<form id="search" name="search" method="get" action="{$strSearchListUrlTemp}"
>
<form id="search" name="search" method="get" action="{$strSearchListUrlTemp}">
<input type="text" name="keyword" class="mac_wd form-control mac_input" value=""
placeholder="请输入关键词..." autocomplete="off">
<button class="submit" id="searchbutton" type="submit">
@@ -85,7 +69,7 @@
</form>
</div>
</div>
<ul class="stui-header__menu type-slide">
<!-- 首页 -->
{if $DomainModel->info_id > 0}
@@ -93,42 +77,41 @@
<a href="/">首页</a>
</li>
<li class="{if $Request.route.strParentCategory == ''}active{/if}">
<a href="/vindex">影视首页</a>
<a href="/vindex">影视首页</a>
</li>
{else}
<li class="{if $Request.route.strParentCategory == ''}active{/if}">
<a href="/">首页</a>
<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 prent_category="$val.v_category_en" /}' >
<a href='{site:vciurl prent_category="$val.v_category_en" /}'>
{$val.v_category}
</a>
</li>
{/video:categorytype}
<li >
<a href="{$strRankUrlTemp}">排行榜</a>
<li>
<a href="{$strRankUrlTemp}">排行榜</a>
</li>
</ul>
</div>
</div>
</div>
</header>
<div class="s-main-box-middle cctv-hf-list-top">
<div
class="swiper swiper-top-zxcv swiper-initialized swiper-horizontal swiper-pointer-events swiper-ios swiper-backface-hidden">
<div class="swiper-wrapper ">
</div>
<div class="swiper-pagination"></div>
</div>
@@ -145,37 +128,6 @@
{/block}
<script>
// document.addEventListener("DOMContentLoaded", function () {
// $(".stui-header__user li,.stui-header__menu li").click(function () { $(this).find(".dropdown").toggle(); });
// const lazyImages = document.querySelectorAll(".lazyload");
// const observer = new IntersectionObserver((entries, observer) => {
// entries.forEach(entry => {
// if (entry.isIntersecting) {
// const img = entry.target;
// const src = img.getAttribute("data-src");
// if (src) {
// img.style.backgroundImage = `url(${src})`;
// img.classList.remove("lazyload");
// observer.unobserve(img);
// }
// }
// });
// });
// lazyImages.forEach(img => observer.observe(img));
// });
</script>
<!-- 全局统计 -->
{site:cfg code="PUBLIC_TONGJI_CODE" encode="false"/}
@@ -183,7 +135,7 @@
{$DomainModel->d_statis|raw}
</body>
</html>