This commit is contained in:
make
2025-11-13 16:47:27 +08:00
parent a8c71d28cb
commit a18222deac
16 changed files with 160 additions and 388 deletions

View File

@@ -1,8 +1,6 @@
<html lang="zh">
<head>
{block name="get-data"}{/block}
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
{// 移动端适配 }
@@ -22,24 +20,19 @@
<!-- <link rel="manifest" href="/manifest.json"> -->
{// 搜索引擎收录控制 }
<meta name="robots" content="index, follow">
<title>{block name="title"}{/block}</title>
<meta name="keywords" content='{block name="keywords"}{/block}'>
<meta name="description" content='{block name="description"}{/block}'>
<link rel="shortcut icon" href="/template/videodadi/img/favicon.ico" type="image/x-icon">
<link href="/public/layer/need/layer.css" rel="stylesheet">
<!-- <link href="/public/layer/need/layer.css" rel="stylesheet"> -->
{// 提前加载 CSS }
<link rel="preload" href="/template/videodadi/font/iconfont.css" type="text/css">
<link rel="preload" href="/template/videodadi/css/stui_block.css" type="text/css">
<link rel="preload" href="/template/videodadi/font/iconfont-min.css" type="text/css">
<link rel="preload" href="/template/videodadi/css/stui_block-min.css" type="text/css">
<link rel="preload" href="/template/videodadi/css/mytheme-font.css" type="text/css">
<link rel="stylesheet" href="/template/videodadi/font/iconfont.css" type="text/css">
<link rel="stylesheet" href="/template/videodadi/css/stui_block.css" type="text/css">
<link rel="stylesheet" href="/template/videodadi/font/iconfont-min.css" type="text/css">
<link rel="stylesheet" href="/template/videodadi/css/stui_block-min.css" type="text/css">
<link rel="stylesheet" href="/template/videodadi/css/mytheme-font.css" type="text/css">
<link rel="stylesheet" href="/public/fu/fu.css" type="text/css">
{block name="head"}{/block}
{block name="head-css"}{/block}
{block name="head-js"}{/block}
@@ -47,7 +40,6 @@
const strPcPath = `{$strPcPath}`;
const strYouQingLiangJieTemp = `{$strYouQingLiangJieTemp}`;
</script>
<script>
(function () {
var bp = document.createElement('script');
@@ -62,10 +54,7 @@
s.parentNode.insertBefore(bp, s);
})();
</script>
</head>
{block name="strPageCode"}
<?php $strPageCode = 'home'; ?>
{/block}
@@ -82,7 +71,6 @@
<a class="logo-text" href="/">{$DomainModel->d_name}</a>
{/if}
</h2>
<div class="stui-header__side">
<ul class="stui-header__user">
<li>
@@ -101,9 +89,7 @@
</form>
</div>
</div>
<ul class="stui-header__menu type-slide">
{if $DomainModel->info_id > 0}
<li class="{if $strPageCode == 'info'}active{/if}">
<a href="/">首页</a>
@@ -116,7 +102,6 @@
<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" /}'>
@@ -124,63 +109,34 @@
</a>
</li>
{/video:categorytype}
<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>
</div>
{block name="main"}
{/block}
{include file="public/footer" /}
{block name="customize"}{/block}
<script>
const strPushApi = `{site:cfg code="PUSH_API_DOMAIN" encode="false"/}`;
const strTemplate = `{$TemplatesModel->t_code}`;
</script>
<script src="/public/jquery/jquery-3.7.1.min.js" type="module" charset="utf-8"></script>
<script src="https://cdn.staticfile.org/jquery/3.7.1/jquery.min.js" type="module" charset="utf-8"></script>
<!-- <script src="/public/jquery/jquery-3.7.1.min.js" type="module" charset="utf-8"></script> -->
{block name="footer-js"}{/block}
<script type="text/javascript"
src='/public/video/common.js?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}'></script>
<script type="text/javascript"
<!-- <script type="text/javascript"
src='/public/fu/env.js?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}'></script>
<script type="text/javascript"
src='/public/fu/fu.js?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}'></script>
src='/public/fu/fu.js?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}'></script> -->
{// 全局统计 }
{site:cfg code="PUBLIC_TONGJI_CODE" encode="false"/}
{// 站点统计 }
{$DomainModel->d_statis|raw}
</body>
</html>