Files
SEONexus/code/app/home/view/videoDadi/base.html
2025-05-02 18:30:50 +08:00

177 lines
7.3 KiB
HTML

<html lang="zh">
<head>
{block name="get-data"}{/block}
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate">
<meta name="robots" content="index, follow">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<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 rel="canonical" href="https://{$DomainModel->d_domain}/">
<link href="/public/layer/need/layer.css" rel="stylesheet">
<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/css/stui_block_color.css" type="text/css">
<link rel="stylesheet" href="/template/videodadi/css/stui_default.css" type="text/css">
<link rel="stylesheet" href="/template/videodadi/css/mytheme-font.css" type="text/css">
<link rel="stylesheet" href="/template/videodadi/css/index.css" type="text/css">
<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>
{block name="head"}{/block}
{block name="head-css"}{/block}
{block name="head-js"}{/block}
<script>
const strPcPath = `{$strPcPath}`;
</script>
</head>
<!-- 高权重站排名 -->
<body>
<header class="stui-header__top clearfix top-fixed headroom--top headroom--not-bottom" id="header-top">
<div class="container">
<div class="row">
<div class="stui-header_bd clearfix">
<div class="stui-header__logo">
{if $DomainModel->d_logo_type == 1}
<a style="color: rgb(146, 198, 165);" class="logo" href="/"></a>
{else}
<a class="logo-text" href="/">{$DomainModel->d_name}</a>
{/if}
</div>
<div class="stui-header__side">
<ul class="stui-header__user">
<li>
<a style="color: rgb(218, 103, 191);" href="javascript:;">
<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>
<div class="stui-header__search">
<form id="search" name="search" method="get" action=""
onsubmit="return qrsearch();">
<input type="text" name="wd" class="mac_wd form-control mac_input" value=""
placeholder="请输入关键词..." autocomplete="off">
<button class="submit" id="searchbutton" type="submit">
<i class="icon iconfont icon-search"></i>
</button>
</form>
</div>
</div>
<ul class="stui-header__menu type-slide">
<!-- 首页 -->
{if $DomainModel->info_id > 0}
<li class="active">
<a style="color: rgb(149, 0, 197);" href="/">首页</a>
</li>
<li class="active">
<a style="color: rgb(149, 0, 197);" href="/vindex">影视首页</a>
</li>
{else}
<li class="active">
<a style="color: rgb(149, 0, 197);" href="/">首页</a>
</li>
{/if}
<!-- 动态分类导航 -->
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
<li class="{if $key == 1}active{/if}">
<a style="color: rgb({:mt_rand(0,255)}, {:mt_rand(0,255)}, {:mt_rand(0,255)});"
href="/vodtype/{$val.v_category_en}" >
{$val.v_category}
</a>
</li>
{/video:categorytype}
<!-- <li class="">
<a style="color: rgb(255, 102, 0);" href="">深度</a>
</li> -->
</ul>
</div>
</div>
</div>
</header>
<!-- <script type="text/javascript">
$(".stui-header__user li,.stui-header__menu li").click(function () { $(this).find(".dropdown").toggle(); });
</script> -->
<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>
document.addEventListener("DOMContentLoaded", function () {
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:site valcode="site_tongji" encode="false"/}
</body>
</html>