前端优化
This commit is contained in:
@@ -384,9 +384,9 @@ $arrRoutes = [
|
||||
'/:strParentCategory-:strSortType/:strCategory-phb',
|
||||
|
||||
],
|
||||
|
||||
|
||||
//搜索
|
||||
'video_search' => ['/search', '/explore', '/sousuo', '/find', '/query', '/keywords'],
|
||||
'video_search' => ['/search', '/explore', '/sousuo', '/find', '/query', '/keywords', '/get', '/key', '/s'],
|
||||
|
||||
// 历史记录
|
||||
'video_history' => ['/history', '/reading-history', '/seed-record', '/lishi', '/kan-lishi', '/browse-past', '/jilu', '/zuji', '/seed'],
|
||||
|
||||
@@ -21,6 +21,20 @@
|
||||
<script>
|
||||
const strPcPath = `{$strPcPath}`;
|
||||
</script>
|
||||
<script>
|
||||
(function () {
|
||||
var bp = document.createElement('script');
|
||||
var curProtocol = window.location.protocol.split(':')[0];
|
||||
if (curProtocol === 'https') {
|
||||
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
|
||||
}
|
||||
else {
|
||||
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
|
||||
}
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(bp, s);
|
||||
})();
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
||||
|
||||
@@ -28,6 +28,20 @@
|
||||
<script>
|
||||
const strPcPath = `{$strPcPath}`;
|
||||
</script>
|
||||
<script>
|
||||
(function () {
|
||||
var bp = document.createElement('script');
|
||||
var curProtocol = window.location.protocol.split(':')[0];
|
||||
if (curProtocol === 'https') {
|
||||
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
|
||||
}
|
||||
else {
|
||||
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
|
||||
}
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(bp, s);
|
||||
})();
|
||||
</script>
|
||||
</head>
|
||||
|
||||
{block name="strPageCode"}
|
||||
|
||||
@@ -26,6 +26,20 @@
|
||||
<script>
|
||||
const strPcPath = `{$strPcPath}`;
|
||||
</script>
|
||||
<script>
|
||||
(function () {
|
||||
var bp = document.createElement('script');
|
||||
var curProtocol = window.location.protocol.split(':')[0];
|
||||
if (curProtocol === 'https') {
|
||||
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
|
||||
}
|
||||
else {
|
||||
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
|
||||
}
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(bp, s);
|
||||
})();
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
||||
|
||||
@@ -20,6 +20,20 @@
|
||||
<script>
|
||||
const strPcPath = `{$strPcPath}`;
|
||||
</script>
|
||||
<script>
|
||||
(function () {
|
||||
var bp = document.createElement('script');
|
||||
var curProtocol = window.location.protocol.split(':')[0];
|
||||
if (curProtocol === 'https') {
|
||||
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
|
||||
}
|
||||
else {
|
||||
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
|
||||
}
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(bp, s);
|
||||
})();
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<!-- 接收子模板传递的 active_nav -->
|
||||
|
||||
@@ -26,6 +26,20 @@
|
||||
<script>
|
||||
const strPcPath = `{$strPcPath}`;
|
||||
</script>
|
||||
<script>
|
||||
(function () {
|
||||
var bp = document.createElement('script');
|
||||
var curProtocol = window.location.protocol.split(':')[0];
|
||||
if (curProtocol === 'https') {
|
||||
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
|
||||
}
|
||||
else {
|
||||
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
|
||||
}
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(bp, s);
|
||||
})();
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
||||
|
||||
@@ -19,6 +19,20 @@
|
||||
<script>
|
||||
const strPcPath = `{$strPcPath}`;
|
||||
</script>
|
||||
<script>
|
||||
(function () {
|
||||
var bp = document.createElement('script');
|
||||
var curProtocol = window.location.protocol.split(':')[0];
|
||||
if (curProtocol === 'https') {
|
||||
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
|
||||
}
|
||||
else {
|
||||
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
|
||||
}
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(bp, s);
|
||||
})();
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<!-- 接收子模板传递的 active_nav -->
|
||||
|
||||
@@ -37,6 +37,21 @@
|
||||
|
||||
{block name="head"}{/block}
|
||||
|
||||
<script>
|
||||
(function () {
|
||||
var bp = document.createElement('script');
|
||||
var curProtocol = window.location.protocol.split(':')[0];
|
||||
if (curProtocol === 'https') {
|
||||
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
|
||||
}
|
||||
else {
|
||||
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
|
||||
}
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(bp, s);
|
||||
})();
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body style="font-size: 14px;" class='{block name="body-class"}{/block}' >
|
||||
|
||||
@@ -28,6 +28,20 @@
|
||||
<script>
|
||||
const strPcPath = `{$strPcPath}`;
|
||||
</script>
|
||||
<script>
|
||||
(function () {
|
||||
var bp = document.createElement('script');
|
||||
var curProtocol = window.location.protocol.split(':')[0];
|
||||
if (curProtocol === 'https') {
|
||||
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
|
||||
}
|
||||
else {
|
||||
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
|
||||
}
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(bp, s);
|
||||
})();
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body class="novel_home {block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
||||
|
||||
@@ -1,33 +1,32 @@
|
||||
|
||||
|
||||
<!-- footer -->
|
||||
<div id="firendlink">
|
||||
友情连接:
|
||||
<a href="/sitemap_index.xml">XML地图</a>
|
||||
<a href="/robots.txt">网站地图</a>
|
||||
|
||||
友情连接:
|
||||
<a href="/sitemap_index.xml">XML地图</a>
|
||||
<a href="/robots.txt">网站地图</a>
|
||||
|
||||
</div>
|
||||
<div id="firendlink">
|
||||
最新标签:
|
||||
|
||||
最新标签:
|
||||
|
||||
{site:forgelist count="30" d_key="d_key" d_val="ForgeNovel" cache_life="3600"}
|
||||
<a
|
||||
href='{site:nnurl n_id="$ForgeNovel.n_id" n_py="$ForgeNovel.n_name_pinyin" n_fid="$ForgeNovel.n_forge_id"/}'>
|
||||
{$ForgeNovel.n_forge_title}
|
||||
</a>
|
||||
{/site:forgelist}
|
||||
<a href='{site:nnurl n_id="$ForgeNovel.n_id" n_py="$ForgeNovel.n_name_pinyin" n_fid="$ForgeNovel.n_forge_id"/}'>
|
||||
{$ForgeNovel.n_forge_title}
|
||||
</a>
|
||||
{/site:forgelist}
|
||||
</div>
|
||||
|
||||
<div class="footer_cont"><p>本站所有小说为转载作品,所有章节均由网友上传,转载至本站只是为了宣传本书让更多读者欣赏。如有侵权,请发送邮箱,我们删除</p>
|
||||
<p>Copyright © 2019 All Rights Reserved.</p></div>
|
||||
<div class="footer_cont">
|
||||
<p>本站所有小说为转载作品,所有章节均由网友上传,转载至本站只是为了宣传本书让更多读者欣赏。如有侵权,请发送邮箱,我们删除</p>
|
||||
<p>Copyright © 2019 All Rights Reserved.</p>
|
||||
</div>
|
||||
|
||||
<div class="s-footer-tel">
|
||||
|
||||
{site:wz wz="反馈邮箱:" /} {site:cfg code="YOU_XIANG" encode="false"/}
|
||||
|
||||
{site:wz wz="反馈邮箱:" /} {site:cfg code="YOU_XIANG" encode="false"/}
|
||||
</div>
|
||||
|
||||
<div class="footer-box">{site:wz wz="牢记本站域名" /} :
|
||||
<a href="https://{$DomainModel->d_domain}">
|
||||
{$DomainModel->d_domain}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@@ -31,175 +31,6 @@
|
||||
</script>
|
||||
|
||||
|
||||
<style type="text/css">
|
||||
|
||||
</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">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="myui-header_bd clearfix">
|
||||
<div class="myui-header__logo" >
|
||||
<a class="logo" href="/">
|
||||
{$DomainModel->d_name}
|
||||
</a>
|
||||
</div>
|
||||
<ul class="myui-header__menu nav-menu">
|
||||
{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}">
|
||||
<a href='{site:vciurl parent_category="$val.v_category_en" /}'>
|
||||
{$val.v_category}
|
||||
</a>
|
||||
</li>
|
||||
{/video:categorytype}
|
||||
<li class=" visible-inline-lg">
|
||||
<a href='{$strRankUrlTemp}'>
|
||||
榜单
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="dropdown-hover dropdown-toggle"><a href="javascript:;">频道<i class="fa fa-angle-down"></i></a>
|
||||
<div class="dropdown-box bottom fadeInDown clearfix">
|
||||
<ul class="item nav-list clearfix">
|
||||
<li class="col-lg-5 col-md-5 col-sm-5 col-xs-3 ">
|
||||
<a class="btn btn-sm btn-block {if $Request.route.strParentCategory == ''}btn-warm{else}btn-default{/if}" href="/">首页</a>
|
||||
</li>
|
||||
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
||||
<li class="col-lg-5 col-md-5 col-sm-5 col-xs-3 ">
|
||||
<a class="btn btn-sm btn-block {if $val.v_category_en == $Request.route.strParentCategory}btn-warm{else}btn-default{/if}"
|
||||
href='{site:vciurl parent_category="$val.v_category_en" /}'>
|
||||
{$val.v_category}
|
||||
</a>
|
||||
</li>
|
||||
{/video:categorytype}
|
||||
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
||||
{foreach $val.children as $intChildrenKey=>$arrChildrenCategory }
|
||||
<li class="col-lg-5 col-md-5 col-sm-5 col-xs-3 ">
|
||||
<a class="btn btn-sm btn-block {if $arrChildrenCategory.v_category_en == $Request.route.strCategory}btn-warm{else}btn-default{/if}"
|
||||
href='{site:vclurl parent_category="$Request.route.strParentCategory" category="$arrChildrenCategory.v_category_en" area="all" lang="all" year="all" order="all" page="1"/}'>
|
||||
{$arrChildrenCategory.v_category}
|
||||
</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
{/video:categorytype}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="myui-header__search search-box">
|
||||
<a class="search-select dropdown-hover"
|
||||
href="javascript:;">
|
||||
<span class="text">视频</span>
|
||||
<i class="fa fa-caret-down"></i>
|
||||
<div class="dropdown-box bottom fadeInDown">
|
||||
<ul class="item">
|
||||
<li class="vod" data-action="{$strSearchListUrlTemp}">视频</li>
|
||||
</ul>
|
||||
</div>
|
||||
</a>
|
||||
<form id="search" name="search" method="get" action="{$strSearchListUrlTemp}">
|
||||
<input type="text" id="wd" name="keyword"
|
||||
class="search_wd form-control ac_input" value="" placeholder="请输入关键字" autocomplete="off"
|
||||
style=" padding-left: 65px; ">
|
||||
<button class="submit search_submit" id="searchbutton" type="submit" name="submit">
|
||||
<i class="fa fa-search"></i>
|
||||
</button>
|
||||
</form>
|
||||
<a class="search-close visible-xs" href="javascript:;">
|
||||
<i class="fa fa-close"></i>
|
||||
</a>
|
||||
<div class="search-dropdown-hot dropdown-box bottom fadeInDown">
|
||||
<div class="item">
|
||||
<p class="text-muted">热门搜索</p>
|
||||
{video:list count="6"
|
||||
sort_type="news"
|
||||
d_key="key" d_val="Video"
|
||||
cache_life="3600"}
|
||||
<p>
|
||||
<a class="text-333"
|
||||
href='{site:vsurl key="$Video.v_name" p="1"/}'
|
||||
title="{$Video.v_name}">
|
||||
<span class="badge badge-first">{$key++}</span>
|
||||
{$Video.v_name}
|
||||
</a>
|
||||
</p>
|
||||
{/video:list}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<ul class="myui-header__user">
|
||||
<li class="visible-xs">
|
||||
<form id="search" name="search" method="get" action="{$strSearchListUrlTemp}">
|
||||
<input type="text" id="wd" name="keyword"
|
||||
class="search_wd form-control ac_input" value="" placeholder="请输入关键字" autocomplete="off"
|
||||
style=" padding-left:2px; ">
|
||||
<button class="submit search_submit h5-searchbutton" id="h5-searchbutton" type="submit" name="submit">
|
||||
<i class="fa fa-search"></i>
|
||||
</button>
|
||||
</form>
|
||||
|
||||
</li>
|
||||
<li class="dropdown-hover">
|
||||
<a href="{$strHistoryUrlTemp}" title="播放记录">
|
||||
<i class="fa fa-clock-o"></i>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{block name="main"}
|
||||
{/block}
|
||||
|
||||
|
||||
{include file="public/footer" /}
|
||||
|
||||
{block name="customize"}{/block}
|
||||
|
||||
<script>
|
||||
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>
|
||||
|
||||
{block name="footer-js"}{/block}
|
||||
|
||||
<script type="text/javascript"
|
||||
src='/public/video/common.js?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}'></script>
|
||||
|
||||
|
||||
{// 全局统计 }
|
||||
{site:cfg code="PUBLIC_TONGJI_CODE" encode="false"/}
|
||||
|
||||
{// 站点统计 }
|
||||
{$DomainModel->d_statis|raw}
|
||||
|
||||
|
||||
<script>
|
||||
(function () {
|
||||
var bp = document.createElement('script');
|
||||
@@ -214,12 +45,179 @@
|
||||
s.parentNode.insertBefore(bp, s);
|
||||
})();
|
||||
</script>
|
||||
|
||||
</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">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="myui-header_bd clearfix">
|
||||
<div class="myui-header__logo">
|
||||
<a class="logo" href="/">
|
||||
{$DomainModel->d_name}
|
||||
</a>
|
||||
</div>
|
||||
<ul class="myui-header__menu nav-menu">
|
||||
{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}">
|
||||
<a href='{site:vciurl parent_category="$val.v_category_en" /}'>
|
||||
{$val.v_category}
|
||||
</a>
|
||||
</li>
|
||||
{/video:categorytype}
|
||||
<li class=" visible-inline-lg">
|
||||
<a href='{$strRankUrlTemp}'>
|
||||
榜单
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
<li class="dropdown-hover dropdown-toggle"><a href="javascript:;">频道<i
|
||||
class="fa fa-angle-down"></i></a>
|
||||
<div class="dropdown-box bottom fadeInDown clearfix">
|
||||
<ul class="item nav-list clearfix">
|
||||
<li class="col-lg-5 col-md-5 col-sm-5 col-xs-3 ">
|
||||
<a class="btn btn-sm btn-block {if $Request.route.strParentCategory == ''}btn-warm{else}btn-default{/if}"
|
||||
href="/">首页</a>
|
||||
</li>
|
||||
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
||||
<li class="col-lg-5 col-md-5 col-sm-5 col-xs-3 ">
|
||||
<a class="btn btn-sm btn-block {if $val.v_category_en == $Request.route.strParentCategory}btn-warm{else}btn-default{/if}"
|
||||
href='{site:vciurl parent_category="$val.v_category_en" /}'>
|
||||
{$val.v_category}
|
||||
</a>
|
||||
</li>
|
||||
{/video:categorytype}
|
||||
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
||||
{foreach $val.children as $intChildrenKey=>$arrChildrenCategory }
|
||||
<li class="col-lg-5 col-md-5 col-sm-5 col-xs-3 ">
|
||||
<a class="btn btn-sm btn-block {if $arrChildrenCategory.v_category_en == $Request.route.strCategory}btn-warm{else}btn-default{/if}"
|
||||
href='{site:vclurl parent_category="$Request.route.strParentCategory" category="$arrChildrenCategory.v_category_en" area="all" lang="all" year="all" order="all" page="1"/}'>
|
||||
{$arrChildrenCategory.v_category}
|
||||
</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
{/video:categorytype}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="myui-header__search search-box">
|
||||
<a class="search-select dropdown-hover" href="javascript:;">
|
||||
<span class="text">视频</span>
|
||||
<i class="fa fa-caret-down"></i>
|
||||
<div class="dropdown-box bottom fadeInDown">
|
||||
<ul class="item">
|
||||
<li class="vod" data-action="{$strSearchListUrlTemp}">视频</li>
|
||||
</ul>
|
||||
</div>
|
||||
</a>
|
||||
<form id="search" name="search" method="get" action="{$strSearchListUrlTemp}">
|
||||
<input type="text" id="wd" name="keyword" class="search_wd form-control ac_input" value=""
|
||||
placeholder="请输入关键字" autocomplete="off" style=" padding-left: 65px; ">
|
||||
<button class="submit search_submit" id="searchbutton" type="submit" name="submit">
|
||||
<i class="fa fa-search"></i>
|
||||
</button>
|
||||
</form>
|
||||
<a class="search-close visible-xs" href="javascript:;">
|
||||
<i class="fa fa-close"></i>
|
||||
</a>
|
||||
<div class="search-dropdown-hot dropdown-box bottom fadeInDown">
|
||||
<div class="item">
|
||||
<p class="text-muted">热门搜索</p>
|
||||
{video:list count="6"
|
||||
sort_type="news"
|
||||
d_key="key" d_val="Video"
|
||||
cache_life="3600"}
|
||||
<p>
|
||||
<a class="text-333" href='{site:vsurl key="$Video.v_name" p="1"/}'
|
||||
title="{$Video.v_name}">
|
||||
<span class="badge badge-first">{$key++}</span>
|
||||
{$Video.v_name}
|
||||
</a>
|
||||
</p>
|
||||
{/video:list}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<ul class="myui-header__user">
|
||||
<li class="visible-xs">
|
||||
<form id="search" name="search" method="get" action="{$strSearchListUrlTemp}">
|
||||
<input type="text" id="wd" name="keyword" class="search_wd form-control ac_input"
|
||||
value="" placeholder="请输入关键字" autocomplete="off" style=" padding-left:2px; ">
|
||||
<button class="submit search_submit h5-searchbutton" id="h5-searchbutton" type="submit"
|
||||
name="submit">
|
||||
<i class="fa fa-search"></i>
|
||||
</button>
|
||||
</form>
|
||||
|
||||
</li>
|
||||
<li class="dropdown-hover">
|
||||
<a href="{$strHistoryUrlTemp}" title="播放记录">
|
||||
<i class="fa fa-clock-o"></i>
|
||||
</a>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
{block name="main"}
|
||||
{/block}
|
||||
|
||||
|
||||
{include file="public/footer" /}
|
||||
|
||||
{block name="customize"}{/block}
|
||||
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
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>
|
||||
|
||||
{block name="footer-js"}{/block}
|
||||
|
||||
<script type="text/javascript"
|
||||
src='/public/video/common.js?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}'></script>
|
||||
|
||||
|
||||
{// 全局统计 }
|
||||
{site:cfg code="PUBLIC_TONGJI_CODE" encode="false"/}
|
||||
|
||||
{// 站点统计 }
|
||||
{$DomainModel->d_statis|raw}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
// 移动端点击切换
|
||||
$('.dropdown-toggle').on('click', function(e) {
|
||||
$('.dropdown-toggle').on('click', function (e) {
|
||||
//e.preventDefault(); // 阻止默认行为(避免跳转)
|
||||
var $parent = $(this).closest('.dropdown-hover');
|
||||
var $dropdownBox = $parent.find('.dropdown-box');
|
||||
@@ -239,13 +237,13 @@
|
||||
});
|
||||
|
||||
// 点击下拉菜单中的链接,允许跳转
|
||||
$('.dropdown-box a').on('click', function(e) {
|
||||
$('.dropdown-box a').on('click', function (e) {
|
||||
// 确保不阻止默认行为,允许 <a> 标签跳转
|
||||
// 如果需要,可以在这里添加其他逻辑(如记录点击)
|
||||
});
|
||||
|
||||
// 点击页面其他地方关闭下拉菜单
|
||||
$(document).on('click', function(e) {
|
||||
$(document).on('click', function (e) {
|
||||
// 仅当点击不在 .dropdown-hover 或其子元素时关闭
|
||||
if (!$(e.target).closest('.dropdown-hover').length) {
|
||||
$('.dropdown-hover').removeClass('active').find('.dropdown-box').slideUp(300);
|
||||
|
||||
@@ -517,6 +517,8 @@
|
||||
var intJumpTimeTwoEnd = 1;
|
||||
var arrPlayUrl = {$arrVideo.v_play_url | json_encode | raw};
|
||||
var strPlayUrl = ""
|
||||
|
||||
|
||||
</script>
|
||||
{/block}
|
||||
|
||||
|
||||
@@ -26,10 +26,25 @@
|
||||
const strPcPath = `{$strPcPath}`;
|
||||
|
||||
</script>
|
||||
|
||||
<script>
|
||||
(function () {
|
||||
var bp = document.createElement('script');
|
||||
var curProtocol = window.location.protocol.split(':')[0];
|
||||
if (curProtocol === 'https') {
|
||||
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
|
||||
}
|
||||
else {
|
||||
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
|
||||
}
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(bp, s);
|
||||
})();
|
||||
</script>
|
||||
</head>
|
||||
|
||||
{block name="strPageCode"}
|
||||
<?php $strPageCode = 'home'; ?>
|
||||
<?php $strPageCode = 'home'; ?>
|
||||
{/block}
|
||||
|
||||
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
||||
@@ -65,12 +80,12 @@
|
||||
</div>
|
||||
|
||||
<ul class="stui-header__menu type-slide">
|
||||
|
||||
|
||||
{if $DomainModel->info_id > 0}
|
||||
<li class="{if $strPageCode == 'info'}active{/if}">
|
||||
<a href="/">首页</a>
|
||||
</li>
|
||||
<li class=' {if $strPageCode == "home"}active{/if} ' >
|
||||
<li class=' {if $strPageCode == "home"}active{/if} '>
|
||||
<a href="/vindex">影视首页</a>
|
||||
</li>
|
||||
{else}
|
||||
@@ -117,7 +132,7 @@
|
||||
{include file="public/footer" /}
|
||||
|
||||
{block name="customize"}{/block}
|
||||
|
||||
|
||||
|
||||
<script>
|
||||
const strPushApi = `{site:cfg code="PUSH_API_DOMAIN" encode="false"/}`;
|
||||
@@ -135,21 +150,8 @@
|
||||
{$DomainModel->d_statis|raw}
|
||||
|
||||
|
||||
|
||||
<script>
|
||||
(function () {
|
||||
var bp = document.createElement('script');
|
||||
var curProtocol = window.location.protocol.split(':')[0];
|
||||
if (curProtocol === 'https') {
|
||||
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
|
||||
}
|
||||
else {
|
||||
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
|
||||
}
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(bp, s);
|
||||
})();
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
{if !empty($arrGrm[$key + [start]])}
|
||||
{$arrGrm[$key+[start]]|raw}
|
||||
{/if}
|
||||
<a style="color: rgb(233, 93, 80); background-image: url("/static/img/default.jpg");"
|
||||
<a style="color: rgb(233, 93, 80); background-image: url("/static/img/loading.webp");"
|
||||
|
||||
class="stui-vodlist__thumb lazyload-bg" href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'
|
||||
title="{$Video.v_name}"
|
||||
|
||||
@@ -402,6 +402,9 @@
|
||||
var intJumpTimeTwoEnd = 1;
|
||||
var arrPlayUrl = {$arrVideo.v_play_url|json_encode|raw} ;
|
||||
var strPlayUrl = ""
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
{/block}
|
||||
|
||||
|
||||
@@ -13,44 +13,59 @@
|
||||
<meta name="description" content='{block name="description"}{/block}'>
|
||||
|
||||
<link rel="shortcut icon" href="/template/videodingzhu/images/favicon.ico" type="image/x-icon">
|
||||
<link rel="stylesheet" href="/template/videodingzhu/css/plugins.css" type="text/css">
|
||||
<link rel="stylesheet" href="/template/videodingzhu/css/global.css" type="text/css">
|
||||
<link rel="stylesheet" href="/template/videodingzhu/css/style.css" type="text/css">
|
||||
{//
|
||||
<!-- <link rel="stylesheet" href="/template/videodingzhu/css/color.css" type="text/css" name="default"> -->
|
||||
<!-- <link rel="stylesheet" href="/public/layer/layer.css?v=3.5.1" id="layuicss-layer"> -->
|
||||
}
|
||||
<link rel="stylesheet" href="/template/videodingzhu/css/plugins.css" type="text/css">
|
||||
<link rel="stylesheet" href="/template/videodingzhu/css/global.css" type="text/css">
|
||||
<link rel="stylesheet" href="/template/videodingzhu/css/style.css" type="text/css">
|
||||
{//
|
||||
<!-- <link rel="stylesheet" href="/template/videodingzhu/css/color.css" type="text/css" name="default"> -->
|
||||
<!-- <link rel="stylesheet" href="/public/layer/layer.css?v=3.5.1" id="layuicss-layer"> -->
|
||||
}
|
||||
{block name="head"}{/block}
|
||||
{block name="head-css"}{/block}
|
||||
{block name="head-js"}{/block}
|
||||
<script>
|
||||
const strPcPath = `{$strPcPath}`;
|
||||
</script>
|
||||
|
||||
<script>
|
||||
(function () {
|
||||
var bp = document.createElement('script');
|
||||
var curProtocol = window.location.protocol.split(':')[0];
|
||||
if (curProtocol === 'https') {
|
||||
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
|
||||
}
|
||||
else {
|
||||
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
|
||||
}
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(bp, s);
|
||||
})();
|
||||
</script>
|
||||
</head>
|
||||
|
||||
{block name="strPageCode"}
|
||||
<?php $strPageCode = 'home'; ?>
|
||||
<?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">
|
||||
<div class="c6f1a2 container">
|
||||
<div class="d3071b row">
|
||||
<div class="b6bfb3 lvshicms-header__logo">
|
||||
<header class="a23db0 lvshicms-header__top" id="header-top">
|
||||
<div class="c6f1a2 container">
|
||||
<div class="d3071b row">
|
||||
<div class="b6bfb3 lvshicms-header__logo">
|
||||
<a class="f1c0ad logo" href="/">
|
||||
{$DomainModel->d_name}
|
||||
</a>
|
||||
</div>
|
||||
<div
|
||||
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;">
|
||||
</div>
|
||||
<div
|
||||
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;">
|
||||
|
||||
{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} ' >
|
||||
<li class=' {if $strPageCode == "home"}active{/if} '>
|
||||
<a href="/vindex">影视首页</a>
|
||||
</li>
|
||||
{else}
|
||||
@@ -60,87 +75,89 @@
|
||||
{/if}
|
||||
|
||||
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
||||
|
||||
<li class='ac50b3 swiper-slide dropdown-hover {if $val.v_category_en == $Request.route.strParentCategory}active{/if}'>
|
||||
<a href='{site:vciurl parent_category="$val.v_category_en" /}'>{$val.v_category}</a>
|
||||
|
||||
<div class="bed39b dropdown-box bottom fadeInDown clearfix" style="padding-top: 0;">
|
||||
<ul class="e7213a item nav-list clearfix" style="width: 190px;">
|
||||
<li
|
||||
class='ac50b3 swiper-slide dropdown-hover {if $val.v_category_en == $Request.route.strParentCategory}active{/if}'>
|
||||
<a href='{site:vciurl parent_category="$val.v_category_en" /}'>{$val.v_category}</a>
|
||||
|
||||
<div class="bed39b dropdown-box bottom fadeInDown clearfix" style="padding-top: 0;">
|
||||
<ul class="e7213a item nav-list clearfix" style="width: 190px;">
|
||||
|
||||
{foreach $val.children as $intChildrenKey=>$arrChildrenCategory }
|
||||
<li class="b6abc3 col-md-2 col-sm-2 col-xs-1" style="padding: 6px;"><a
|
||||
class="c11c57 btn btn-sm btn-block btn-default"
|
||||
href='{site:vclurl parent_category="$Request.route.strParentCategory" category="$arrChildrenCategory.v_category_en" area="all" lang="all" year="all" order="all" page="1"/}'>
|
||||
<li class="b6abc3 col-md-2 col-sm-2 col-xs-1" style="padding: 6px;"><a
|
||||
class="c11c57 btn btn-sm btn-block btn-default"
|
||||
href='{site:vclurl parent_category="$Request.route.strParentCategory" category="$arrChildrenCategory.v_category_en" area="all" lang="all" year="all" order="all" page="1"/}'>
|
||||
{$arrChildrenCategory.v_category}
|
||||
</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
{/video:categorytype}
|
||||
|
||||
<li class="a2d382 swiper-slide "> <a href="{$strRankUrlTemp}">榜单</a> </li>
|
||||
{/foreach}
|
||||
|
||||
</ul>
|
||||
<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
|
||||
</div>
|
||||
<ul class="e4dd97 lvshicms-header__user">
|
||||
<li class="f7ad8a hist slide-search-toggle hidden-xs hidden-sm">
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
{/video:categorytype}
|
||||
|
||||
<li class="a2d382 swiper-slide "> <a href="{$strRankUrlTemp}">榜单</a> </li>
|
||||
|
||||
</ul>
|
||||
<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
|
||||
</div>
|
||||
<ul class="e4dd97 lvshicms-header__user">
|
||||
<li class="f7ad8a hist slide-search-toggle hidden-xs hidden-sm">
|
||||
<form action="{$strSearchListUrlTemp}">
|
||||
<input class="d1f534 mobile-search-input" name="keyword" placeholder="搜索免费高清电影或主演">
|
||||
<button class="d3b134 mobile-search-button" type="submit"><i
|
||||
class="b2a8c7 fa fa-search"></i></button>
|
||||
</form>
|
||||
</li>
|
||||
|
||||
<li class="f37351 hist dropdown-hover">
|
||||
|
||||
<li class="f37351 hist dropdown-hover">
|
||||
<a href="{$strHistoryUrlTemp}" title="播放记录">
|
||||
<i class="afd2b2 fa fa-clock-o"></i>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="d9ad47 mobile-search hidden-md hidden-lg">
|
||||
<form action="{$strSearchListUrlTemp}">
|
||||
<input class="d1f534 mobile-search-input" name="keyword" placeholder="搜索免费高清电影或主演">
|
||||
<button class="d3b134 mobile-search-button" type="submit"><i
|
||||
class="b2a8c7 fa fa-search"></i></button>
|
||||
</form>
|
||||
</div>
|
||||
<div
|
||||
class="ab3059 nav-box hidden-md hidden-lg swiper-initialized swiper-horizontal swiper-pointer-events swiper-free-mode swiper-backface-hidden">
|
||||
<ul class="f34760 swiper-wrapper" id="swiper-wrapper-cc8105579edaa1a3" aria-live="polite">
|
||||
<li class="a4f250 nav-item swiper-slide {if $Request.route.strParentCategory == ''}active swiper-slide-active{/if}" role="group"
|
||||
aria-label="1 / 8">
|
||||
</li>
|
||||
</ul>
|
||||
<div class="d9ad47 mobile-search hidden-md hidden-lg">
|
||||
<form action="{$strSearchListUrlTemp}">
|
||||
<input class="d1f534 mobile-search-input" name="keyword" placeholder="搜索免费高清电影或主演">
|
||||
<button class="d3b134 mobile-search-button" type="submit"><i
|
||||
class="b2a8c7 fa fa-search"></i></button>
|
||||
</form>
|
||||
</div>
|
||||
<div
|
||||
class="ab3059 nav-box hidden-md hidden-lg swiper-initialized swiper-horizontal swiper-pointer-events swiper-free-mode swiper-backface-hidden">
|
||||
<ul class="f34760 swiper-wrapper" id="swiper-wrapper-cc8105579edaa1a3" aria-live="polite">
|
||||
<li class="a4f250 nav-item swiper-slide {if $Request.route.strParentCategory == ''}active swiper-slide-active{/if}"
|
||||
role="group" aria-label="1 / 8">
|
||||
<a href="/">
|
||||
<i class="bd0907 nav-item-icon home"></i>
|
||||
<span class="b08159 nav-item-text">首页</span>
|
||||
</a>
|
||||
</li>
|
||||
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
||||
<li class='e544e2 nav-item swiper-slide swiper-slide-next {if $val.v_category_en == $Request.route.strParentCategory}active swiper-slide-active{/if}' role="group" aria-label="2 / 8">
|
||||
<li class='e544e2 nav-item swiper-slide swiper-slide-next {if $val.v_category_en == $Request.route.strParentCategory}active swiper-slide-active{/if}'
|
||||
role="group" aria-label="2 / 8">
|
||||
<a href='{site:vciurl parent_category="$val.v_category_en" /}'>
|
||||
<i class="afd4ea nav-item-icon dy"></i>
|
||||
<span class="d8f67b nav-item-text">{$val.v_category}</span>
|
||||
</a>
|
||||
</li>
|
||||
{/video:categorytype}
|
||||
|
||||
<li class="d0f97c nav-item swiper-slide" role="group" aria-label="7 / 8">
|
||||
|
||||
<li class="d0f97c nav-item swiper-slide" role="group" aria-label="7 / 8">
|
||||
<a href="{$strRankUrlTemp}">
|
||||
<i class="c739f9 nav-item-icon bd"></i>
|
||||
<span class="e34e2d nav-item-text">热播</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="f075db lvshicms-header__top_bg hidden-sm hidden-xs"></div>
|
||||
</header>
|
||||
|
||||
</ul>
|
||||
<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="f075db lvshicms-header__top_bg hidden-sm hidden-xs"></div>
|
||||
</header>
|
||||
|
||||
<div class="d61dbe slide-search">
|
||||
<header class="a8408b slide-search-header">
|
||||
@@ -159,9 +176,9 @@
|
||||
|
||||
<ul class="ab08b9 slide-search-list">
|
||||
<li class="bfcc70 slide-search-title">热门搜索</li>
|
||||
{video:list count="6"
|
||||
{video:list count="6"
|
||||
sort_type="news"
|
||||
d_key="key" d_val="Video"
|
||||
d_key="key" d_val="Video"
|
||||
cache_life="3600"}
|
||||
|
||||
<li class="cbc4a0 slide-search-item">
|
||||
@@ -171,15 +188,15 @@
|
||||
<span class="ddcfc6 slide-search-name">{$Video.v_name}</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
|
||||
{/video:list}
|
||||
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="e2b25c slide-search-bg"></div>
|
||||
|
||||
|
||||
{block name="main"}
|
||||
{/block}
|
||||
|
||||
@@ -187,7 +204,7 @@
|
||||
{include file="public/footer" /}
|
||||
|
||||
{block name="customize"}{/block}
|
||||
|
||||
|
||||
<script>
|
||||
const strPushApi = `{site:cfg code="PUSH_API_DOMAIN" encode="false"/}`;
|
||||
</script>
|
||||
@@ -196,30 +213,17 @@
|
||||
{block name="footer-js"}{/block}
|
||||
|
||||
<script type="text/javascript"
|
||||
src='/public/video/common.js?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}'></script>
|
||||
src='/public/video/common.js?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}'></script>
|
||||
|
||||
{// 全局统计 }
|
||||
{site:cfg code="PUBLIC_TONGJI_CODE" encode="false"/}
|
||||
|
||||
{// 站点统计 }
|
||||
{$DomainModel->d_statis|raw}
|
||||
|
||||
|
||||
<script>
|
||||
(function () {
|
||||
var bp = document.createElement('script');
|
||||
var curProtocol = window.location.protocol.split(':')[0];
|
||||
if (curProtocol === 'https') {
|
||||
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
|
||||
}
|
||||
else {
|
||||
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
|
||||
}
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(bp, s);
|
||||
})();
|
||||
</script>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -424,6 +424,7 @@
|
||||
var intJumpTimeTwoEnd = 1;
|
||||
var arrPlayUrl = {$arrVideo.v_play_url | json_encode | raw};
|
||||
var strPlayUrl = ""
|
||||
|
||||
</script>
|
||||
{/block}
|
||||
|
||||
|
||||
@@ -14,14 +14,30 @@
|
||||
|
||||
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
|
||||
<link href="/template/videofengniao/css/app2.css" rel="stylesheet">
|
||||
<link rel="stylesheet" type="text/css" href='/template/videofengniao/static_ban/base_common.css?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}'>
|
||||
|
||||
<link rel="stylesheet" type="text/css"
|
||||
href='/template/videofengniao/static_ban/base_common.css?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}'>
|
||||
|
||||
{block name="head"}{/block}
|
||||
{block name="head-css"}{/block}
|
||||
{block name="head-js"}{/block}
|
||||
<script>
|
||||
const strPcPath = `{$strPcPath}`;
|
||||
</script>
|
||||
|
||||
<script>
|
||||
(function () {
|
||||
var bp = document.createElement('script');
|
||||
var curProtocol = window.location.protocol.split(':')[0];
|
||||
if (curProtocol === 'https') {
|
||||
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
|
||||
}
|
||||
else {
|
||||
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
|
||||
}
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(bp, s);
|
||||
})();
|
||||
</script>
|
||||
</head>
|
||||
|
||||
|
||||
@@ -42,12 +58,12 @@
|
||||
<span> {$val.v_category}</span>
|
||||
</a>
|
||||
</li>
|
||||
{/video:categorytype}
|
||||
{/video:categorytype}
|
||||
<li>
|
||||
<a href="{$strRankUrlTemp}">
|
||||
<img src="/template/videolaoniu/images/icon/bd.png" class="b7693d index-icon">
|
||||
<span class="eb9286 sTit">排行榜</span>
|
||||
</a>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -79,12 +95,12 @@
|
||||
<span> {$val.v_category}</span>
|
||||
</a>
|
||||
</li>
|
||||
{/video:categorytype}
|
||||
{/video:categorytype}
|
||||
<li>
|
||||
<a href="{$strRankUrlTemp}">
|
||||
<img src="/template/videolaoniu/images/icon/bd.png" class="b7693d index-icon">
|
||||
<span class="eb9286 sTit">排行榜</span>
|
||||
</a>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
@@ -115,20 +131,7 @@
|
||||
{$DomainModel->d_statis|raw}
|
||||
|
||||
|
||||
<script>
|
||||
(function () {
|
||||
var bp = document.createElement('script');
|
||||
var curProtocol = window.location.protocol.split(':')[0];
|
||||
if (curProtocol === 'https') {
|
||||
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
|
||||
}
|
||||
else {
|
||||
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
|
||||
}
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(bp, s);
|
||||
})();
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
|
||||
@@ -7,8 +7,7 @@
|
||||
<a class="b02e75 img-pic thumb pic60 lazyload"
|
||||
href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'
|
||||
title="{$Video.v_name ?? ''} - {$Video.v_parent_category ?? ''}{$Video.v_category ?? ''}免费高清电影在线观看"
|
||||
data-src="{$Video.v_pic ?? ''}"
|
||||
style="background-image: url("/static/img/load.png");">
|
||||
>
|
||||
<img class="lazyload-img" src="/static/img/load.png" data-src="{$Video.v_pic ?? ''}"
|
||||
alt="{$Video.v_name ?? ''} - {$Video.v_parent_category ?? ''}{$Video.v_category ?? ''}免费高清电影在线观看">
|
||||
<span class="bb17e9 iconfont icon-play play hidden-xs"></span>
|
||||
|
||||
@@ -16,14 +16,7 @@
|
||||
<link rel="stylesheet" type="text/css" href="/template/videolaoniu/css/swiper-bundle.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="/template/videolaoniu/css/global.css">
|
||||
<link rel="stylesheet" type="text/css" href="/template/videolaoniu/css/style.css">
|
||||
<!--
|
||||
<script>var maccms = { "path": "", "mid": "", "url": "www.xgcs8888.com", "wapurl": "", "mob_status": "0" };</script>
|
||||
<script src="/template/videolaoniu/js/jquery.min.js"></script>
|
||||
<script src="/template/videolaoniu/js/jquery.lazyload.min.js"></script>
|
||||
<script src="/template/videolaoniu//static/js/home.js"></script>
|
||||
<script src="/template/videolaoniu/js/swiper-bundle.min.js"></script>
|
||||
<script src="/template/videolaoniu/js/ewave-global.js"></script>
|
||||
<script src="/template/videolaoniu/js/ewave-common.js"></script> -->
|
||||
|
||||
|
||||
{block name="head"}{/block}
|
||||
{block name="head-css"}{/block}
|
||||
@@ -31,10 +24,25 @@
|
||||
<script>
|
||||
const strPcPath = `{$strPcPath}`;
|
||||
</script>
|
||||
|
||||
<script>
|
||||
(function () {
|
||||
var bp = document.createElement('script');
|
||||
var curProtocol = window.location.protocol.split(':')[0];
|
||||
if (curProtocol === 'https') {
|
||||
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
|
||||
}
|
||||
else {
|
||||
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
|
||||
}
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(bp, s);
|
||||
})();
|
||||
</script>
|
||||
</head>
|
||||
|
||||
{block name="strPageCode"}
|
||||
<?php $strPageCode = 'home'; ?>
|
||||
<?php $strPageCode = 'home'; ?>
|
||||
{/block}
|
||||
|
||||
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
||||
@@ -55,7 +63,7 @@
|
||||
<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' >
|
||||
<li class=' {if $strPageCode == "home"}active{/if} f823b1 swiper-slide hidden-sm hidden-xs'>
|
||||
<a href="/vindex">影视首页</a>
|
||||
</li>
|
||||
{else}
|
||||
@@ -65,13 +73,15 @@
|
||||
{/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}">
|
||||
<li
|
||||
class="ab5512 swiper-slide hidden-xs {if $val.v_category_en == $Request.route.strParentCategory}active{/if}">
|
||||
<a href='{site:vciurl parent_category="$val.v_category_en" /}'>
|
||||
{$val.v_category}
|
||||
</a>
|
||||
</li>
|
||||
{/video:categorytype}
|
||||
<li class="ab5512 swiper-slide hidden-xs {if $val.v_category_en == $Request.route.strParentCategory}active{/if}">
|
||||
{/video:categorytype}
|
||||
<li
|
||||
class="ab5512 swiper-slide hidden-xs {if $val.v_category_en == $Request.route.strParentCategory}active{/if}">
|
||||
<a href='{$strRankUrlTemp}'>
|
||||
排行榜
|
||||
</a>
|
||||
@@ -90,9 +100,9 @@
|
||||
<div id="user-playlog" class="b7004f user-playlog dropdown-hover mac_history">
|
||||
<a href="{$strHistoryUrlTemp}">
|
||||
<i class="abe38c iconfont icon-shijian"></i>
|
||||
<span class="dd3ef2 none">观看记录</span>
|
||||
<span class="dd3ef2 none">观看记录</span>
|
||||
</a>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
@@ -104,15 +114,15 @@
|
||||
<span class="d1f768 sTit">首页</span>
|
||||
</a>
|
||||
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
||||
<a href='{site:vciurl parent_category="$val.v_category_en" /}'>
|
||||
<img src="/template/videolaoniu/images/icon/{$val.v_category_en}.png" class="b7693d index-icon">
|
||||
<span class="eb9286 sTit"> {$val.v_category}</span>
|
||||
</a>
|
||||
{/video:categorytype}
|
||||
<a href='{site:vciurl parent_category="$val.v_category_en" /}'>
|
||||
<img src="/template/videolaoniu/images/icon/{$val.v_category_en}.png" class="b7693d index-icon">
|
||||
<span class="eb9286 sTit"> {$val.v_category}</span>
|
||||
</a>
|
||||
{/video:categorytype}
|
||||
<a href="{$strRankUrlTemp}">
|
||||
<img src="/template/videolaoniu/images/icon/bd.png" class="b7693d index-icon">
|
||||
<span class="eb9286 sTit">排行榜</span>
|
||||
</a>
|
||||
</a>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
@@ -143,20 +153,7 @@
|
||||
{$DomainModel->d_statis|raw}
|
||||
|
||||
|
||||
<script>
|
||||
(function () {
|
||||
var bp = document.createElement('script');
|
||||
var curProtocol = window.location.protocol.split(':')[0];
|
||||
if (curProtocol === 'https') {
|
||||
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
|
||||
}
|
||||
else {
|
||||
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
|
||||
}
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(bp, s);
|
||||
})();
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
|
||||
@@ -7,9 +7,8 @@
|
||||
<a class="b02e75 img-pic thumb pic60 lazyload"
|
||||
href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'
|
||||
title="{$Video.v_name ?? ''} - {$Video.v_parent_category ?? ''}{$Video.v_category ?? ''}免费高清电影在线观看"
|
||||
data-src="{$Video.v_pic ?? ''}"
|
||||
style="background-image: url("/static/img/load.png");">
|
||||
<img class="lazyload-img" src="/static/img/load.png" data-src="{$Video.v_pic ?? ''}"
|
||||
>
|
||||
<img class="lazyload-img" src="/static/img/loading.webp" data-src="{$Video.v_pic ?? ''}"
|
||||
alt="{$Video.v_name ?? ''} - {$Video.v_parent_category ?? ''}{$Video.v_category ?? ''}免费高清电影在线观看">
|
||||
<span class="bb17e9 iconfont icon-play play hidden-xs"></span>
|
||||
<span class="e31f51 score">{$Video.v_box_office ?? 0}亿</span>
|
||||
|
||||
@@ -3,12 +3,11 @@
|
||||
{if !empty($arrGrm[$key + [start]])}
|
||||
{$arrGrm[$key+[start]]|raw}
|
||||
{/if}
|
||||
<a class="b02e75 img-pic thumb pic60 lazyload-bg"
|
||||
<a class="b02e75 img-pic thumb pic60 "
|
||||
href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'
|
||||
title="{$Video.v_name ?? ''} - {$Video.v_parent_category ?? ''}{$Video.v_category ?? ''}免费高清电影在线观看"
|
||||
data-src="{$Video.v_pic ?? ''}"
|
||||
style="background-image: url("/static/img/load.png");">
|
||||
<img class="lazyload-img" src="/static/img/load.png" data-src="{$Video.v_pic ?? ''}"
|
||||
>
|
||||
<img class="lazyload-img" src="/static/img/loading.webp" data-src="{$Video.v_pic ?? ''}"
|
||||
alt="{$Video.v_name ?? ''} - {$Video.v_parent_category ?? ''}{$Video.v_category ?? ''}免费高清电影在线观看">
|
||||
<span class="bb17e9 iconfont icon-play play hidden-xs"></span>
|
||||
<span class="e31f51 score">{$Video.v_score}</span>
|
||||
|
||||
@@ -371,6 +371,8 @@
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
});
|
||||
</script>
|
||||
{/block}
|
||||
|
||||
@@ -25,10 +25,25 @@
|
||||
<script>
|
||||
const strPcPath = `{$strPcPath}`;
|
||||
</script>
|
||||
|
||||
<script>
|
||||
(function () {
|
||||
var bp = document.createElement('script');
|
||||
var curProtocol = window.location.protocol.split(':')[0];
|
||||
if (curProtocol === 'https') {
|
||||
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
|
||||
}
|
||||
else {
|
||||
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
|
||||
}
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(bp, s);
|
||||
})();
|
||||
</script>
|
||||
</head>
|
||||
|
||||
{block name="strPageCode"}
|
||||
<?php $strPageCode = 'home'; ?>
|
||||
<?php $strPageCode = 'home'; ?>
|
||||
{/block}
|
||||
|
||||
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
||||
@@ -50,15 +65,14 @@
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<div class="stui-header__search">
|
||||
<form id="search" name="search" method="get" action="{$strSearchListUrlTemp}"
|
||||
>
|
||||
<input type="text" id="wd" name="keyword"
|
||||
class="mac_wd form-control mac_input" value="" placeholder="请输入关键词..."
|
||||
autocomplete="off">
|
||||
<button class="submit" id="searchbutton" type="submit"
|
||||
name="page"><i class="icon iconfont icon-search"></i></button></form>
|
||||
<form id="search" name="search" method="get" action="{$strSearchListUrlTemp}">
|
||||
<input type="text" id="wd" name="keyword" class="mac_wd form-control mac_input" value=""
|
||||
placeholder="请输入关键词..." autocomplete="off">
|
||||
<button class="submit" id="searchbutton" type="submit" name="page"><i
|
||||
class="icon iconfont icon-search"></i></button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<ul class="stui-header__menu type-slide">
|
||||
@@ -67,7 +81,7 @@
|
||||
<li class="{if $strPageCode == 'info'}active{/if} ">
|
||||
<a href="/">首页</a>
|
||||
</li>
|
||||
<li class=' {if $strPageCode == "home"}active{/if} ' >
|
||||
<li class=' {if $strPageCode == "home"}active{/if} '>
|
||||
<a href="/vindex">影视首页</a>
|
||||
</li>
|
||||
{else}
|
||||
@@ -82,7 +96,7 @@
|
||||
{$val.v_category}
|
||||
</a>
|
||||
</li>
|
||||
{/video:categorytype}
|
||||
{/video:categorytype}
|
||||
<li class="{if $val.v_category_en == $Request.route.strParentCategory}active{/if}">
|
||||
<a href='{$strRankUrlTemp}'>
|
||||
排行榜
|
||||
@@ -118,20 +132,7 @@
|
||||
{$DomainModel->d_statis|raw}
|
||||
|
||||
|
||||
<script>
|
||||
(function () {
|
||||
var bp = document.createElement('script');
|
||||
var curProtocol = window.location.protocol.split(':')[0];
|
||||
if (curProtocol === 'https') {
|
||||
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
|
||||
}
|
||||
else {
|
||||
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
|
||||
}
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(bp, s);
|
||||
})();
|
||||
</script>
|
||||
|
||||
|
||||
</body>
|
||||
|
||||
|
||||
@@ -7,8 +7,7 @@
|
||||
<a class="b02e75 img-pic thumb pic60 lazyload"
|
||||
href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'
|
||||
title="{$Video.v_name ?? ''} - {$Video.v_parent_category ?? ''}{$Video.v_category ?? ''}免费高清电影在线观看"
|
||||
data-src="{$Video.v_pic ?? ''}"
|
||||
style="background-image: url("/static/img/load.png");">
|
||||
>
|
||||
<img class="lazyload-img" src="/static/img/load.png" data-src="{$Video.v_pic ?? ''}"
|
||||
alt="{$Video.v_name ?? ''} - {$Video.v_parent_category ?? ''}{$Video.v_category ?? ''}免费高清电影在线观看">
|
||||
<span class="bb17e9 iconfont icon-play play hidden-xs"></span>
|
||||
|
||||
@@ -8,8 +8,7 @@
|
||||
<a class="stui-vodlist__thumb lazyload-bg"
|
||||
href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'
|
||||
title="{$Video.v_name ?? ''} - {$Video.v_parent_category ?? ''}{$Video.v_category ?? ''}免费高清电影在线观看"
|
||||
data-src="{$Video.v_pic ?? ''}"
|
||||
style="background-image: url("/static/img/load.png");">
|
||||
>
|
||||
<img class="lazyload-img" src="/static/img/load.png" data-src="{$Video.v_pic ?? ''}" style="display: none;"
|
||||
alt="{$Video.v_name ?? ''} - {$Video.v_parent_category ?? ''}{$Video.v_category ?? ''}免费高清电影在线观看">
|
||||
<span class="play hidden-xs"></span>
|
||||
|
||||
@@ -357,6 +357,7 @@
|
||||
var intJumpTimeTwoEnd = 1;
|
||||
var arrPlayUrl = {$arrVideo.v_play_url | json_encode | raw};
|
||||
var strPlayUrl = ""
|
||||
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
@@ -19,7 +19,8 @@
|
||||
<link rel="stylesheet" href="/public/layer/need/layer.css" />
|
||||
|
||||
<link href="/template/xiongmao/style2_m/css/iconfont.css" rel="stylesheet" type="text/css">
|
||||
<link href='/template/xiongmao/style2_m/css/style.css?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}' rel="stylesheet" type="text/css">
|
||||
<link href='/template/xiongmao/style2_m/css/style.css?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}'
|
||||
rel="stylesheet" type="text/css">
|
||||
|
||||
{block name="head"}{/block}
|
||||
{block name="head-css"}{/block}
|
||||
@@ -27,23 +28,40 @@
|
||||
<script>
|
||||
const strPcPath = `{$strPcPath}`;
|
||||
</script>
|
||||
<script>
|
||||
(function () {
|
||||
var bp = document.createElement('script');
|
||||
var curProtocol = window.location.protocol.split(':')[0];
|
||||
if (curProtocol === 'https') {
|
||||
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
|
||||
}
|
||||
else {
|
||||
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
|
||||
}
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(bp, s);
|
||||
})();
|
||||
</script>
|
||||
</head>
|
||||
|
||||
{block name="strPageCode"}
|
||||
<?php $strPageCode = 'home'; ?>
|
||||
<?php $strPageCode = 'home'; ?>
|
||||
{/block}
|
||||
|
||||
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
||||
|
||||
<header class="top">
|
||||
<a href="/" title="{$DomainModel->d_name}" class='iconfont icon-shouye z fs30 {if $strPageCode == "home"}sv{/if}'></a>
|
||||
<a href="{$strCategoryIndexUrlTemp}" title="小说书库" class='iconfont icon-iconfonticonfontshujupaixing z fs24 {if $strPageCode == "library"}sv{/if}'></a>
|
||||
|
||||
<a href="/" title="{$DomainModel->d_name}"
|
||||
class='iconfont icon-shouye z fs30 {if $strPageCode == "home"}sv{/if}'></a>
|
||||
<a href="{$strCategoryIndexUrlTemp}" title="小说书库"
|
||||
class='iconfont icon-iconfonticonfontshujupaixing z fs24 {if $strPageCode == "library"}sv{/if}'></a>
|
||||
|
||||
<div class="y" id="qs_login1">
|
||||
<a href="{$strUserUrlTemp}" rel="nofollow"
|
||||
class='iconfont icon-login y fs24 {if $strPageCode == "history"}sv{/if}'>
|
||||
</a>
|
||||
<a href="{$strHistoryUrlTemp}" rel="nofollow" class='iconfont icon-liulanliang y fs24 {if $strPageCode == "user"}sv{/if}'></a>
|
||||
<a href="{$strHistoryUrlTemp}" rel="nofollow"
|
||||
class='iconfont icon-liulanliang y fs24 {if $strPageCode == "user"}sv{/if}'></a>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
@@ -61,9 +79,9 @@
|
||||
</ul>
|
||||
</div>
|
||||
<div class="novel_search">
|
||||
<form id="novel_search" class="search-form" method="get" action="{$strSearchIndexUrlTemp}"><input type="text" class="bk"
|
||||
name="keyword" placeholder="输入书名/作者进行搜索,宁少字勿错字"><button type="submit" class="submit iconfont icon-so fs20"
|
||||
form="novel_search" value="submit"></button></form>
|
||||
<form id="novel_search" class="search-form" method="get" action="{$strSearchIndexUrlTemp}"><input type="text"
|
||||
class="bk" name="keyword" placeholder="输入书名/作者进行搜索,宁少字勿错字"><button type="submit"
|
||||
class="submit iconfont icon-so fs20" form="novel_search" value="submit"></button></form>
|
||||
</div>
|
||||
|
||||
{block name="main"} {site:wz wz="主内容" /}{/block}
|
||||
@@ -75,7 +93,7 @@
|
||||
<script>
|
||||
const strPushApi = `{site:cfg code="PUSH_API_DOMAIN" encode="false"/}`;
|
||||
</script>
|
||||
|
||||
|
||||
<script src="/public/jquery/jquery-3.7.1.min.js"></script>
|
||||
<script src="/public/layer/layer.js" type="module" charset="utf-8"></script>
|
||||
<script src='/template/default/js/common.js?v={site:cfg code="STATIC_FILE_VERSION" encode="false"/}'></script>
|
||||
|
||||
@@ -19,6 +19,20 @@
|
||||
<script>
|
||||
const strPcPath = `{$strPcPath}`;
|
||||
</script>
|
||||
<script>
|
||||
(function () {
|
||||
var bp = document.createElement('script');
|
||||
var curProtocol = window.location.protocol.split(':')[0];
|
||||
if (curProtocol === 'https') {
|
||||
bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
|
||||
}
|
||||
else {
|
||||
bp.src = 'http://push.zhanzhang.baidu.com/push.js';
|
||||
}
|
||||
var s = document.getElementsByTagName("script")[0];
|
||||
s.parentNode.insertBefore(bp, s);
|
||||
})();
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<!-- 接收子模板传递的 active_nav -->
|
||||
|
||||
@@ -58,17 +58,18 @@ function isMobile() {
|
||||
|
||||
// 懒加载
|
||||
document.addEventListener("DOMContentLoaded", function () {
|
||||
|
||||
// 通用懒加载函数
|
||||
function lazyLoad(elements, callback) {
|
||||
const observer = new IntersectionObserver((entries, observer) => {
|
||||
entries.forEach(entry => {
|
||||
if (entry.isIntersecting) {
|
||||
const element = entry.target;
|
||||
callback(element); // 执行懒加载逻辑
|
||||
observer.unobserve(element); // 停止观察
|
||||
callback(element);
|
||||
observer.unobserve(element);
|
||||
}
|
||||
});
|
||||
}, {
|
||||
rootMargin: '100px' // 提前 100px 开始加载
|
||||
});
|
||||
|
||||
elements.forEach(element => observer.observe(element));
|
||||
@@ -79,8 +80,16 @@ document.addEventListener("DOMContentLoaded", function () {
|
||||
lazyLoad(lazyBackgrounds, (element) => {
|
||||
const src = element.getAttribute("data-src");
|
||||
if (src) {
|
||||
element.style.backgroundImage = `url(${src})`;
|
||||
element.classList.remove("lazyload-bg");
|
||||
const img = new Image();
|
||||
img.src = src;
|
||||
img.onload = () => {
|
||||
element.style.backgroundImage = `url(${src})`;
|
||||
element.classList.remove("lazyload-bg");
|
||||
};
|
||||
img.onerror = () => {
|
||||
// console.error(`Failed to load background image: ${src}`);
|
||||
// 可选:设置默认背景或错误提示
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
@@ -89,8 +98,16 @@ document.addEventListener("DOMContentLoaded", function () {
|
||||
lazyLoad(lazyImages, (element) => {
|
||||
const src = element.getAttribute("data-src");
|
||||
if (src) {
|
||||
element.setAttribute("src", src);
|
||||
element.classList.remove("lazyload-img");
|
||||
const img = new Image();
|
||||
img.src = src;
|
||||
img.onload = () => {
|
||||
element.setAttribute("src", src);
|
||||
element.classList.remove("lazyload-img");
|
||||
};
|
||||
img.onerror = () => {
|
||||
// console.error(`Failed to load image: ${src}`);
|
||||
// 可选:设置占位图或错误提示
|
||||
};
|
||||
}
|
||||
});
|
||||
});
|
||||
@@ -465,9 +482,16 @@ function initDPlayer(strPlayUrl) {
|
||||
// 监听当前播放时间
|
||||
videoPlayer.on('timeupdate', function () {
|
||||
if (strPlayType == 'default' || strPlayType == 'youzhi') {
|
||||
if (videoPlayer.video.currentTime >= 476 && videoPlayer.video.currentTime < 494) { //18秒
|
||||
videoPlayer.seek(495); // 跳过到 494 秒
|
||||
// 07:55 08:14
|
||||
// if (videoPlayer.video.currentTime >= 476 && videoPlayer.video.currentTime < 494) { //18秒
|
||||
// videoPlayer.seek(495); // 跳过到 494 秒
|
||||
// }
|
||||
|
||||
// 06:55 07:12
|
||||
if (videoPlayer.video.currentTime >= 415 && videoPlayer.video.currentTime < 432) { //20秒
|
||||
videoPlayer.seek(1833); // 跳过到 494 秒
|
||||
}
|
||||
|
||||
// 30:15 30:32
|
||||
if (videoPlayer.video.currentTime >= 1812 && videoPlayer.video.currentTime < 1832) { //20秒
|
||||
videoPlayer.seek(1833); // 跳过到 494 秒
|
||||
@@ -480,8 +504,41 @@ function initDPlayer(strPlayUrl) {
|
||||
if (videoPlayer.video.currentTime >= 6046 && videoPlayer.video.currentTime < 6067) { //19秒
|
||||
videoPlayer.seek(6068); // 跳过到 494 秒
|
||||
}
|
||||
}else if (strPlayType == 'fengchao') {
|
||||
// if (videoPlayer.video.currentTime >= 476 && videoPlayer.video.currentTime < 494) { //18秒
|
||||
// videoPlayer.seek(495); // 跳过到 494 秒
|
||||
// }
|
||||
// // 30:15 30:32
|
||||
// if (videoPlayer.video.currentTime >= 1812 && videoPlayer.video.currentTime < 1832) { //20秒
|
||||
// videoPlayer.seek(1833); // 跳过到 494 秒
|
||||
// }
|
||||
// // 01:00:32 - 01:00:50
|
||||
// if (videoPlayer.video.currentTime >= 3631 && videoPlayer.video.currentTime < 3650) { //19秒
|
||||
// videoPlayer.seek(3651); // 跳过到 494 秒
|
||||
// }
|
||||
// // 01:40:48 - 01:40:48
|
||||
// if (videoPlayer.video.currentTime >= 6046 && videoPlayer.video.currentTime < 6067) { //19秒
|
||||
// videoPlayer.seek(6068); // 跳过到 494 秒
|
||||
// }
|
||||
}else if (strPlayType == 'wuxian') {
|
||||
// if (videoPlayer.video.currentTime >= 476 && videoPlayer.video.currentTime < 494) { //18秒
|
||||
// videoPlayer.seek(495); // 跳过到 494 秒
|
||||
// }
|
||||
// // 30:15 30:32
|
||||
// if (videoPlayer.video.currentTime >= 1812 && videoPlayer.video.currentTime < 1832) { //20秒
|
||||
// videoPlayer.seek(1833); // 跳过到 494 秒
|
||||
// }
|
||||
// // 01:00:32 - 01:00:50
|
||||
// if (videoPlayer.video.currentTime >= 3631 && videoPlayer.video.currentTime < 3650) { //19秒
|
||||
// videoPlayer.seek(3651); // 跳过到 494 秒
|
||||
// }
|
||||
// // 01:40:48 - 01:40:48
|
||||
// if (videoPlayer.video.currentTime >= 6046 && videoPlayer.video.currentTime < 6067) { //19秒
|
||||
// videoPlayer.seek(6068); // 跳过到 494 秒
|
||||
// }
|
||||
}
|
||||
|
||||
|
||||
|
||||
});
|
||||
}
|
||||
@@ -543,9 +600,11 @@ document.addEventListener("DOMContentLoaded", function () {
|
||||
if (typeof strPlayType !== "undefined"){
|
||||
if (strPlayType == 'default') {
|
||||
strPlayUrl = findFirstUrl(arrPlayUrl)
|
||||
// checkLine(strPlayType);
|
||||
} else {
|
||||
var ActivePlayUrl = arrPlayUrl[strPlayType][intPlayUrlIndex - 1]
|
||||
strPlayUrl = ActivePlayUrl.url
|
||||
checkLine(strPlayType);
|
||||
}
|
||||
initDPlayer(strPlayUrl)
|
||||
}
|
||||
|
||||
BIN
code/public/static/img/loading.webp
Normal file
BIN
code/public/static/img/loading.webp
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 7.5 KiB |
BIN
code/public/static/img/loading3.gif
Normal file
BIN
code/public/static/img/loading3.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 17 KiB |
BIN
code/public/static/img/loading4.gif
Normal file
BIN
code/public/static/img/loading4.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
Reference in New Issue
Block a user