前端优化
This commit is contained in:
@@ -386,7 +386,7 @@ $arrRoutes = [
|
|||||||
],
|
],
|
||||||
|
|
||||||
//搜索
|
//搜索
|
||||||
'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'],
|
'video_history' => ['/history', '/reading-history', '/seed-record', '/lishi', '/kan-lishi', '/browse-past', '/jilu', '/zuji', '/seed'],
|
||||||
|
|||||||
@@ -21,6 +21,20 @@
|
|||||||
<script>
|
<script>
|
||||||
const strPcPath = `{$strPcPath}`;
|
const strPcPath = `{$strPcPath}`;
|
||||||
</script>
|
</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>
|
</head>
|
||||||
|
|
||||||
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
||||||
|
|||||||
@@ -28,6 +28,20 @@
|
|||||||
<script>
|
<script>
|
||||||
const strPcPath = `{$strPcPath}`;
|
const strPcPath = `{$strPcPath}`;
|
||||||
</script>
|
</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>
|
</head>
|
||||||
|
|
||||||
{block name="strPageCode"}
|
{block name="strPageCode"}
|
||||||
|
|||||||
@@ -26,6 +26,20 @@
|
|||||||
<script>
|
<script>
|
||||||
const strPcPath = `{$strPcPath}`;
|
const strPcPath = `{$strPcPath}`;
|
||||||
</script>
|
</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>
|
</head>
|
||||||
|
|
||||||
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
||||||
|
|||||||
@@ -20,6 +20,20 @@
|
|||||||
<script>
|
<script>
|
||||||
const strPcPath = `{$strPcPath}`;
|
const strPcPath = `{$strPcPath}`;
|
||||||
</script>
|
</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>
|
</head>
|
||||||
|
|
||||||
<!-- 接收子模板传递的 active_nav -->
|
<!-- 接收子模板传递的 active_nav -->
|
||||||
|
|||||||
@@ -26,6 +26,20 @@
|
|||||||
<script>
|
<script>
|
||||||
const strPcPath = `{$strPcPath}`;
|
const strPcPath = `{$strPcPath}`;
|
||||||
</script>
|
</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>
|
</head>
|
||||||
|
|
||||||
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
||||||
|
|||||||
@@ -19,6 +19,20 @@
|
|||||||
<script>
|
<script>
|
||||||
const strPcPath = `{$strPcPath}`;
|
const strPcPath = `{$strPcPath}`;
|
||||||
</script>
|
</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>
|
</head>
|
||||||
|
|
||||||
<!-- 接收子模板传递的 active_nav -->
|
<!-- 接收子模板传递的 active_nav -->
|
||||||
|
|||||||
@@ -37,6 +37,21 @@
|
|||||||
|
|
||||||
{block name="head"}{/block}
|
{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>
|
</head>
|
||||||
|
|
||||||
<body style="font-size: 14px;" class='{block name="body-class"}{/block}' >
|
<body style="font-size: 14px;" class='{block name="body-class"}{/block}' >
|
||||||
|
|||||||
@@ -28,6 +28,20 @@
|
|||||||
<script>
|
<script>
|
||||||
const strPcPath = `{$strPcPath}`;
|
const strPcPath = `{$strPcPath}`;
|
||||||
</script>
|
</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>
|
</head>
|
||||||
|
|
||||||
<body class="novel_home {block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
<body class="novel_home {block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
||||||
|
|||||||
@@ -1,29 +1,28 @@
|
|||||||
|
|
||||||
|
|
||||||
<!-- footer -->
|
<!-- footer -->
|
||||||
<div id="firendlink">
|
<div id="firendlink">
|
||||||
友情连接:
|
友情连接:
|
||||||
<a href="/sitemap_index.xml">XML地图</a>
|
<a href="/sitemap_index.xml">XML地图</a>
|
||||||
<a href="/robots.txt">网站地图</a>
|
<a href="/robots.txt">网站地图</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div id="firendlink">
|
<div id="firendlink">
|
||||||
最新标签:
|
最新标签:
|
||||||
|
|
||||||
{site:forgelist count="30" d_key="d_key" d_val="ForgeNovel" cache_life="3600"}
|
{site:forgelist count="30" d_key="d_key" d_val="ForgeNovel" cache_life="3600"}
|
||||||
<a
|
<a href='{site:nnurl n_id="$ForgeNovel.n_id" n_py="$ForgeNovel.n_name_pinyin" n_fid="$ForgeNovel.n_forge_id"/}'>
|
||||||
href='{site:nnurl n_id="$ForgeNovel.n_id" n_py="$ForgeNovel.n_name_pinyin" n_fid="$ForgeNovel.n_forge_id"/}'>
|
{$ForgeNovel.n_forge_title}
|
||||||
{$ForgeNovel.n_forge_title}
|
</a>
|
||||||
</a>
|
{/site:forgelist}
|
||||||
{/site:forgelist}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="footer_cont"><p>本站所有小说为转载作品,所有章节均由网友上传,转载至本站只是为了宣传本书让更多读者欣赏。如有侵权,请发送邮箱,我们删除</p>
|
<div class="footer_cont">
|
||||||
<p>Copyright © 2019 All Rights Reserved.</p></div>
|
<p>本站所有小说为转载作品,所有章节均由网友上传,转载至本站只是为了宣传本书让更多读者欣赏。如有侵权,请发送邮箱,我们删除</p>
|
||||||
|
<p>Copyright © 2019 All Rights Reserved.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="s-footer-tel">
|
<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>
|
||||||
|
|
||||||
<div class="footer-box">{site:wz wz="牢记本站域名" /} :
|
<div class="footer-box">{site:wz wz="牢记本站域名" /} :
|
||||||
|
|||||||
@@ -31,13 +31,24 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
||||||
<style type="text/css">
|
<script>
|
||||||
|
(function () {
|
||||||
</style>
|
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>
|
</head>
|
||||||
|
|
||||||
{block name="strPageCode"}
|
{block name="strPageCode"}
|
||||||
<?php $strPageCode = 'home'; ?>
|
<?php $strPageCode = 'home'; ?>
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
<body class="active {block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
<body class="active {block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
||||||
@@ -45,27 +56,28 @@
|
|||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="myui-header_bd clearfix">
|
<div class="myui-header_bd clearfix">
|
||||||
<div class="myui-header__logo" >
|
<div class="myui-header__logo">
|
||||||
<a class="logo" href="/">
|
<a class="logo" href="/">
|
||||||
{$DomainModel->d_name}
|
{$DomainModel->d_name}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<ul class="myui-header__menu nav-menu">
|
<ul class="myui-header__menu nav-menu">
|
||||||
{if $DomainModel->info_id > 0}
|
{if $DomainModel->info_id > 0}
|
||||||
<li class="{if $strPageCode == 'info'}active{/if} visible-inline-lg">
|
<li class="{if $strPageCode == 'info'}active{/if} visible-inline-lg">
|
||||||
<a class="logo" href="/">首页</a>
|
<a class="logo" href="/">首页</a>
|
||||||
</li>
|
</li>
|
||||||
<li class=' {if $strPageCode == "home"}active{/if} visible-inline-lg' >
|
<li class=' {if $strPageCode == "home"}active{/if} visible-inline-lg'>
|
||||||
<a class="logo" href="/vindex">影视首页</a>
|
<a class="logo" href="/vindex">影视首页</a>
|
||||||
</li>
|
</li>
|
||||||
{else}
|
{else}
|
||||||
<li class=' {if $strPageCode == "home"}active{/if} visible-inline-lg'>
|
<li class=' {if $strPageCode == "home"}active{/if} visible-inline-lg'>
|
||||||
<a class="logo" href="/">首页</a>
|
<a class="logo" href="/">首页</a>
|
||||||
</li>
|
</li>
|
||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
{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}">
|
<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" /}'>
|
<a href='{site:vciurl parent_category="$val.v_category_en" /}'>
|
||||||
{$val.v_category}
|
{$val.v_category}
|
||||||
</a>
|
</a>
|
||||||
@@ -78,29 +90,31 @@
|
|||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
|
||||||
<li class="dropdown-hover dropdown-toggle"><a href="javascript:;">频道<i class="fa fa-angle-down"></i></a>
|
<li class="dropdown-hover dropdown-toggle"><a href="javascript:;">频道<i
|
||||||
|
class="fa fa-angle-down"></i></a>
|
||||||
<div class="dropdown-box bottom fadeInDown clearfix">
|
<div class="dropdown-box bottom fadeInDown clearfix">
|
||||||
<ul class="item nav-list clearfix">
|
<ul class="item nav-list clearfix">
|
||||||
<li class="col-lg-5 col-md-5 col-sm-5 col-xs-3 ">
|
<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>
|
<a class="btn btn-sm btn-block {if $Request.route.strParentCategory == ''}btn-warm{else}btn-default{/if}"
|
||||||
|
href="/">首页</a>
|
||||||
</li>
|
</li>
|
||||||
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
{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 ">
|
<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}"
|
<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" /}'>
|
href='{site:vciurl parent_category="$val.v_category_en" /}'>
|
||||||
{$val.v_category}
|
{$val.v_category}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{/video:categorytype}
|
{/video:categorytype}
|
||||||
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
||||||
{foreach $val.children as $intChildrenKey=>$arrChildrenCategory }
|
{foreach $val.children as $intChildrenKey=>$arrChildrenCategory }
|
||||||
<li class="col-lg-5 col-md-5 col-sm-5 col-xs-3 ">
|
<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}"
|
<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"/}'>
|
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}
|
{$arrChildrenCategory.v_category}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
{/video:categorytype}
|
{/video:categorytype}
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
@@ -109,8 +123,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="myui-header__search search-box">
|
<div class="myui-header__search search-box">
|
||||||
<a class="search-select dropdown-hover"
|
<a class="search-select dropdown-hover" href="javascript:;">
|
||||||
href="javascript:;">
|
|
||||||
<span class="text">视频</span>
|
<span class="text">视频</span>
|
||||||
<i class="fa fa-caret-down"></i>
|
<i class="fa fa-caret-down"></i>
|
||||||
<div class="dropdown-box bottom fadeInDown">
|
<div class="dropdown-box bottom fadeInDown">
|
||||||
@@ -120,12 +133,11 @@
|
|||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
<form id="search" name="search" method="get" action="{$strSearchListUrlTemp}">
|
<form id="search" name="search" method="get" action="{$strSearchListUrlTemp}">
|
||||||
<input type="text" id="wd" name="keyword"
|
<input type="text" id="wd" name="keyword" class="search_wd form-control ac_input" value=""
|
||||||
class="search_wd form-control ac_input" value="" placeholder="请输入关键字" autocomplete="off"
|
placeholder="请输入关键字" autocomplete="off" style=" padding-left: 65px; ">
|
||||||
style=" padding-left: 65px; ">
|
<button class="submit search_submit" id="searchbutton" type="submit" name="submit">
|
||||||
<button class="submit search_submit" id="searchbutton" type="submit" name="submit">
|
<i class="fa fa-search"></i>
|
||||||
<i class="fa fa-search"></i>
|
</button>
|
||||||
</button>
|
|
||||||
</form>
|
</form>
|
||||||
<a class="search-close visible-xs" href="javascript:;">
|
<a class="search-close visible-xs" href="javascript:;">
|
||||||
<i class="fa fa-close"></i>
|
<i class="fa fa-close"></i>
|
||||||
@@ -138,8 +150,7 @@
|
|||||||
d_key="key" d_val="Video"
|
d_key="key" d_val="Video"
|
||||||
cache_life="3600"}
|
cache_life="3600"}
|
||||||
<p>
|
<p>
|
||||||
<a class="text-333"
|
<a class="text-333" href='{site:vsurl key="$Video.v_name" p="1"/}'
|
||||||
href='{site:vsurl key="$Video.v_name" p="1"/}'
|
|
||||||
title="{$Video.v_name}">
|
title="{$Video.v_name}">
|
||||||
<span class="badge badge-first">{$key++}</span>
|
<span class="badge badge-first">{$key++}</span>
|
||||||
{$Video.v_name}
|
{$Video.v_name}
|
||||||
@@ -152,12 +163,12 @@
|
|||||||
<ul class="myui-header__user">
|
<ul class="myui-header__user">
|
||||||
<li class="visible-xs">
|
<li class="visible-xs">
|
||||||
<form id="search" name="search" method="get" action="{$strSearchListUrlTemp}">
|
<form id="search" name="search" method="get" action="{$strSearchListUrlTemp}">
|
||||||
<input type="text" id="wd" name="keyword"
|
<input type="text" id="wd" name="keyword" class="search_wd form-control ac_input"
|
||||||
class="search_wd form-control ac_input" value="" placeholder="请输入关键字" autocomplete="off"
|
value="" placeholder="请输入关键字" autocomplete="off" style=" padding-left:2px; ">
|
||||||
style=" padding-left:2px; ">
|
<button class="submit search_submit h5-searchbutton" id="h5-searchbutton" type="submit"
|
||||||
<button class="submit search_submit h5-searchbutton" id="h5-searchbutton" type="submit" name="submit">
|
name="submit">
|
||||||
<i class="fa fa-search"></i>
|
<i class="fa fa-search"></i>
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
</li>
|
</li>
|
||||||
@@ -190,7 +201,7 @@
|
|||||||
{block name="footer-js"}{/block}
|
{block name="footer-js"}{/block}
|
||||||
|
|
||||||
<script type="text/javascript"
|
<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>
|
||||||
|
|
||||||
|
|
||||||
{// 全局统计 }
|
{// 全局统计 }
|
||||||
@@ -200,26 +211,13 @@
|
|||||||
{$DomainModel->d_statis|raw}
|
{$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>
|
|
||||||
|
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
document.addEventListener("DOMContentLoaded", function () {
|
document.addEventListener("DOMContentLoaded", function () {
|
||||||
// 移动端点击切换
|
// 移动端点击切换
|
||||||
$('.dropdown-toggle').on('click', function(e) {
|
$('.dropdown-toggle').on('click', function (e) {
|
||||||
//e.preventDefault(); // 阻止默认行为(避免跳转)
|
//e.preventDefault(); // 阻止默认行为(避免跳转)
|
||||||
var $parent = $(this).closest('.dropdown-hover');
|
var $parent = $(this).closest('.dropdown-hover');
|
||||||
var $dropdownBox = $parent.find('.dropdown-box');
|
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> 标签跳转
|
// 确保不阻止默认行为,允许 <a> 标签跳转
|
||||||
// 如果需要,可以在这里添加其他逻辑(如记录点击)
|
// 如果需要,可以在这里添加其他逻辑(如记录点击)
|
||||||
});
|
});
|
||||||
|
|
||||||
// 点击页面其他地方关闭下拉菜单
|
// 点击页面其他地方关闭下拉菜单
|
||||||
$(document).on('click', function(e) {
|
$(document).on('click', function (e) {
|
||||||
// 仅当点击不在 .dropdown-hover 或其子元素时关闭
|
// 仅当点击不在 .dropdown-hover 或其子元素时关闭
|
||||||
if (!$(e.target).closest('.dropdown-hover').length) {
|
if (!$(e.target).closest('.dropdown-hover').length) {
|
||||||
$('.dropdown-hover').removeClass('active').find('.dropdown-box').slideUp(300);
|
$('.dropdown-hover').removeClass('active').find('.dropdown-box').slideUp(300);
|
||||||
|
|||||||
@@ -517,6 +517,8 @@
|
|||||||
var intJumpTimeTwoEnd = 1;
|
var intJumpTimeTwoEnd = 1;
|
||||||
var arrPlayUrl = {$arrVideo.v_play_url | json_encode | raw};
|
var arrPlayUrl = {$arrVideo.v_play_url | json_encode | raw};
|
||||||
var strPlayUrl = ""
|
var strPlayUrl = ""
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
|
|||||||
@@ -26,10 +26,25 @@
|
|||||||
const strPcPath = `{$strPcPath}`;
|
const strPcPath = `{$strPcPath}`;
|
||||||
|
|
||||||
</script>
|
</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>
|
</head>
|
||||||
|
|
||||||
{block name="strPageCode"}
|
{block name="strPageCode"}
|
||||||
<?php $strPageCode = 'home'; ?>
|
<?php $strPageCode = 'home'; ?>
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
||||||
@@ -70,7 +85,7 @@
|
|||||||
<li class="{if $strPageCode == 'info'}active{/if}">
|
<li class="{if $strPageCode == 'info'}active{/if}">
|
||||||
<a href="/">首页</a>
|
<a href="/">首页</a>
|
||||||
</li>
|
</li>
|
||||||
<li class=' {if $strPageCode == "home"}active{/if} ' >
|
<li class=' {if $strPageCode == "home"}active{/if} '>
|
||||||
<a href="/vindex">影视首页</a>
|
<a href="/vindex">影视首页</a>
|
||||||
</li>
|
</li>
|
||||||
{else}
|
{else}
|
||||||
@@ -136,20 +151,7 @@
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
<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>
|
</body>
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
{if !empty($arrGrm[$key + [start]])}
|
{if !empty($arrGrm[$key + [start]])}
|
||||||
{$arrGrm[$key+[start]]|raw}
|
{$arrGrm[$key+[start]]|raw}
|
||||||
{/if}
|
{/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"/}'
|
class="stui-vodlist__thumb lazyload-bg" href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'
|
||||||
title="{$Video.v_name}"
|
title="{$Video.v_name}"
|
||||||
|
|||||||
@@ -402,6 +402,9 @@
|
|||||||
var intJumpTimeTwoEnd = 1;
|
var intJumpTimeTwoEnd = 1;
|
||||||
var arrPlayUrl = {$arrVideo.v_play_url|json_encode|raw} ;
|
var arrPlayUrl = {$arrVideo.v_play_url|json_encode|raw} ;
|
||||||
var strPlayUrl = ""
|
var strPlayUrl = ""
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
|
|||||||
@@ -13,44 +13,59 @@
|
|||||||
<meta name="description" content='{block name="description"}{/block}'>
|
<meta name="description" content='{block name="description"}{/block}'>
|
||||||
|
|
||||||
<link rel="shortcut icon" href="/template/videodingzhu/images/favicon.ico" type="image/x-icon">
|
<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/plugins.css" type="text/css">
|
||||||
<link rel="stylesheet" href="/template/videodingzhu/css/global.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/style.css" type="text/css">
|
||||||
{//
|
{//
|
||||||
<!-- <link rel="stylesheet" href="/template/videodingzhu/css/color.css" type="text/css" name="default"> -->
|
<!-- <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="/public/layer/layer.css?v=3.5.1" id="layuicss-layer"> -->
|
||||||
}
|
}
|
||||||
{block name="head"}{/block}
|
{block name="head"}{/block}
|
||||||
{block name="head-css"}{/block}
|
{block name="head-css"}{/block}
|
||||||
{block name="head-js"}{/block}
|
{block name="head-js"}{/block}
|
||||||
<script>
|
<script>
|
||||||
const strPcPath = `{$strPcPath}`;
|
const strPcPath = `{$strPcPath}`;
|
||||||
</script>
|
</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>
|
</head>
|
||||||
|
|
||||||
{block name="strPageCode"}
|
{block name="strPageCode"}
|
||||||
<?php $strPageCode = 'home'; ?>
|
<?php $strPageCode = 'home'; ?>
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
<body class="f9eb6d active {block name='body-class'}{/block}" id="{block name='body-id'}{/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">
|
<header class="a23db0 lvshicms-header__top" id="header-top">
|
||||||
<div class="c6f1a2 container">
|
<div class="c6f1a2 container">
|
||||||
<div class="d3071b row">
|
<div class="d3071b row">
|
||||||
<div class="b6bfb3 lvshicms-header__logo">
|
<div class="b6bfb3 lvshicms-header__logo">
|
||||||
<a class="f1c0ad logo" href="/">
|
<a class="f1c0ad logo" href="/">
|
||||||
{$DomainModel->d_name}
|
{$DomainModel->d_name}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="d55436 lvshicms-header__menu hidden-sm hidden-xs swiper-initialized swiper-horizontal swiper-pointer-events swiper-free-mode">
|
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"
|
<ul class="c308d4 swiper-wrapper" id="swiper-wrapper-15acf77edda9621f" aria-live="polite"
|
||||||
style="transition-duration: 300ms;">
|
style="transition-duration: 300ms;">
|
||||||
|
|
||||||
{if $DomainModel->info_id > 0}
|
{if $DomainModel->info_id > 0}
|
||||||
<li class="{if $strPageCode == 'info'}active{/if} c1afb6 swiper-slide ">
|
<li class="{if $strPageCode == 'info'}active{/if} c1afb6 swiper-slide ">
|
||||||
<a href="/">首页</a>
|
<a href="/">首页</a>
|
||||||
</li>
|
</li>
|
||||||
<li class=' {if $strPageCode == "home"}active{/if} ' >
|
<li class=' {if $strPageCode == "home"}active{/if} '>
|
||||||
<a href="/vindex">影视首页</a>
|
<a href="/vindex">影视首页</a>
|
||||||
</li>
|
</li>
|
||||||
{else}
|
{else}
|
||||||
@@ -61,33 +76,34 @@
|
|||||||
|
|
||||||
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
{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}'>
|
<li
|
||||||
<a href='{site:vciurl parent_category="$val.v_category_en" /}'>{$val.v_category}</a>
|
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;">
|
<div class="bed39b dropdown-box bottom fadeInDown clearfix" style="padding-top: 0;">
|
||||||
<ul class="e7213a item nav-list clearfix" style="width: 190px;">
|
<ul class="e7213a item nav-list clearfix" style="width: 190px;">
|
||||||
|
|
||||||
{foreach $val.children as $intChildrenKey=>$arrChildrenCategory }
|
{foreach $val.children as $intChildrenKey=>$arrChildrenCategory }
|
||||||
<li class="b6abc3 col-md-2 col-sm-2 col-xs-1" style="padding: 6px;"><a
|
<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"
|
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"/}'>
|
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}
|
{$arrChildrenCategory.v_category}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{/foreach}
|
{/foreach}
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
{/video:categorytype}
|
{/video:categorytype}
|
||||||
|
|
||||||
<li class="a2d382 swiper-slide "> <a href="{$strRankUrlTemp}">榜单</a> </li>
|
<li class="a2d382 swiper-slide "> <a href="{$strRankUrlTemp}">榜单</a> </li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
|
<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
|
||||||
</div>
|
</div>
|
||||||
<ul class="e4dd97 lvshicms-header__user">
|
<ul class="e4dd97 lvshicms-header__user">
|
||||||
<li class="f7ad8a hist slide-search-toggle hidden-xs hidden-sm">
|
<li class="f7ad8a hist slide-search-toggle hidden-xs hidden-sm">
|
||||||
<form action="{$strSearchListUrlTemp}">
|
<form action="{$strSearchListUrlTemp}">
|
||||||
<input class="d1f534 mobile-search-input" name="keyword" placeholder="搜索免费高清电影或主演">
|
<input class="d1f534 mobile-search-input" name="keyword" placeholder="搜索免费高清电影或主演">
|
||||||
<button class="d3b134 mobile-search-button" type="submit"><i
|
<button class="d3b134 mobile-search-button" type="submit"><i
|
||||||
@@ -95,31 +111,32 @@
|
|||||||
</form>
|
</form>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
<li class="f37351 hist dropdown-hover">
|
<li class="f37351 hist dropdown-hover">
|
||||||
<a href="{$strHistoryUrlTemp}" title="播放记录">
|
<a href="{$strHistoryUrlTemp}" title="播放记录">
|
||||||
<i class="afd2b2 fa fa-clock-o"></i>
|
<i class="afd2b2 fa fa-clock-o"></i>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="d9ad47 mobile-search hidden-md hidden-lg">
|
<div class="d9ad47 mobile-search hidden-md hidden-lg">
|
||||||
<form action="{$strSearchListUrlTemp}">
|
<form action="{$strSearchListUrlTemp}">
|
||||||
<input class="d1f534 mobile-search-input" name="keyword" placeholder="搜索免费高清电影或主演">
|
<input class="d1f534 mobile-search-input" name="keyword" placeholder="搜索免费高清电影或主演">
|
||||||
<button class="d3b134 mobile-search-button" type="submit"><i
|
<button class="d3b134 mobile-search-button" type="submit"><i
|
||||||
class="b2a8c7 fa fa-search"></i></button>
|
class="b2a8c7 fa fa-search"></i></button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
class="ab3059 nav-box hidden-md hidden-lg swiper-initialized swiper-horizontal swiper-pointer-events swiper-free-mode swiper-backface-hidden">
|
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">
|
<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"
|
<li class="a4f250 nav-item swiper-slide {if $Request.route.strParentCategory == ''}active swiper-slide-active{/if}"
|
||||||
aria-label="1 / 8">
|
role="group" aria-label="1 / 8">
|
||||||
<a href="/">
|
<a href="/">
|
||||||
<i class="bd0907 nav-item-icon home"></i>
|
<i class="bd0907 nav-item-icon home"></i>
|
||||||
<span class="b08159 nav-item-text">首页</span>
|
<span class="b08159 nav-item-text">首页</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
{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" /}'>
|
<a href='{site:vciurl parent_category="$val.v_category_en" /}'>
|
||||||
<i class="afd4ea nav-item-icon dy"></i>
|
<i class="afd4ea nav-item-icon dy"></i>
|
||||||
<span class="d8f67b nav-item-text">{$val.v_category}</span>
|
<span class="d8f67b nav-item-text">{$val.v_category}</span>
|
||||||
@@ -127,20 +144,20 @@
|
|||||||
</li>
|
</li>
|
||||||
{/video:categorytype}
|
{/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}">
|
<a href="{$strRankUrlTemp}">
|
||||||
<i class="c739f9 nav-item-icon bd"></i>
|
<i class="c739f9 nav-item-icon bd"></i>
|
||||||
<span class="e34e2d nav-item-text">热播</span>
|
<span class="e34e2d nav-item-text">热播</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
|
<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="f075db lvshicms-header__top_bg hidden-sm hidden-xs"></div>
|
<div class="f075db lvshicms-header__top_bg hidden-sm hidden-xs"></div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class="d61dbe slide-search">
|
<div class="d61dbe slide-search">
|
||||||
<header class="a8408b slide-search-header">
|
<header class="a8408b slide-search-header">
|
||||||
@@ -196,7 +213,7 @@
|
|||||||
{block name="footer-js"}{/block}
|
{block name="footer-js"}{/block}
|
||||||
|
|
||||||
<script type="text/javascript"
|
<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"/}
|
{site:cfg code="PUBLIC_TONGJI_CODE" encode="false"/}
|
||||||
@@ -205,20 +222,7 @@
|
|||||||
{$DomainModel->d_statis|raw}
|
{$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>
|
</body>
|
||||||
|
|
||||||
|
|||||||
@@ -424,6 +424,7 @@
|
|||||||
var intJumpTimeTwoEnd = 1;
|
var intJumpTimeTwoEnd = 1;
|
||||||
var arrPlayUrl = {$arrVideo.v_play_url | json_encode | raw};
|
var arrPlayUrl = {$arrVideo.v_play_url | json_encode | raw};
|
||||||
var strPlayUrl = ""
|
var strPlayUrl = ""
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,8 @@
|
|||||||
|
|
||||||
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
|
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
|
||||||
<link href="/template/videofengniao/css/app2.css" rel="stylesheet">
|
<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"}{/block}
|
||||||
{block name="head-css"}{/block}
|
{block name="head-css"}{/block}
|
||||||
@@ -22,6 +23,21 @@
|
|||||||
<script>
|
<script>
|
||||||
const strPcPath = `{$strPcPath}`;
|
const strPcPath = `{$strPcPath}`;
|
||||||
</script>
|
</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>
|
</head>
|
||||||
|
|
||||||
|
|
||||||
@@ -115,20 +131,7 @@
|
|||||||
{$DomainModel->d_statis|raw}
|
{$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>
|
</body>
|
||||||
|
|
||||||
|
|||||||
@@ -7,8 +7,7 @@
|
|||||||
<a class="b02e75 img-pic thumb pic60 lazyload"
|
<a class="b02e75 img-pic thumb pic60 lazyload"
|
||||||
href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'
|
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 ?? ''}免费高清电影在线观看"
|
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/load.png" data-src="{$Video.v_pic ?? ''}"
|
||||||
alt="{$Video.v_name ?? ''} - {$Video.v_parent_category ?? ''}{$Video.v_category ?? ''}免费高清电影在线观看">
|
alt="{$Video.v_name ?? ''} - {$Video.v_parent_category ?? ''}{$Video.v_category ?? ''}免费高清电影在线观看">
|
||||||
<span class="bb17e9 iconfont icon-play play hidden-xs"></span>
|
<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/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/global.css">
|
||||||
<link rel="stylesheet" type="text/css" href="/template/videolaoniu/css/style.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"}{/block}
|
||||||
{block name="head-css"}{/block}
|
{block name="head-css"}{/block}
|
||||||
@@ -31,10 +24,25 @@
|
|||||||
<script>
|
<script>
|
||||||
const strPcPath = `{$strPcPath}`;
|
const strPcPath = `{$strPcPath}`;
|
||||||
</script>
|
</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>
|
</head>
|
||||||
|
|
||||||
{block name="strPageCode"}
|
{block name="strPageCode"}
|
||||||
<?php $strPageCode = 'home'; ?>
|
<?php $strPageCode = 'home'; ?>
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/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 ">
|
<li class="{if $strPageCode == 'info'}active{/if} f823b1 swiper-slide hidden-sm hidden-xs ">
|
||||||
<a href="/">首页</a>
|
<a href="/">首页</a>
|
||||||
</li>
|
</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>
|
<a href="/vindex">影视首页</a>
|
||||||
</li>
|
</li>
|
||||||
{else}
|
{else}
|
||||||
@@ -65,13 +73,15 @@
|
|||||||
{/if}
|
{/if}
|
||||||
|
|
||||||
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
{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" /}'>
|
<a href='{site:vciurl parent_category="$val.v_category_en" /}'>
|
||||||
{$val.v_category}
|
{$val.v_category}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
{/video:categorytype}
|
{/video:categorytype}
|
||||||
<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='{$strRankUrlTemp}'>
|
<a href='{$strRankUrlTemp}'>
|
||||||
排行榜
|
排行榜
|
||||||
</a>
|
</a>
|
||||||
@@ -90,7 +100,7 @@
|
|||||||
<div id="user-playlog" class="b7004f user-playlog dropdown-hover mac_history">
|
<div id="user-playlog" class="b7004f user-playlog dropdown-hover mac_history">
|
||||||
<a href="{$strHistoryUrlTemp}">
|
<a href="{$strHistoryUrlTemp}">
|
||||||
<i class="abe38c iconfont icon-shijian"></i>
|
<i class="abe38c iconfont icon-shijian"></i>
|
||||||
<span class="dd3ef2 none">观看记录</span>
|
<span class="dd3ef2 none">观看记录</span>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -104,10 +114,10 @@
|
|||||||
<span class="d1f768 sTit">首页</span>
|
<span class="d1f768 sTit">首页</span>
|
||||||
</a>
|
</a>
|
||||||
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
||||||
<a href='{site:vciurl parent_category="$val.v_category_en" /}'>
|
<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">
|
<img src="/template/videolaoniu/images/icon/{$val.v_category_en}.png" class="b7693d index-icon">
|
||||||
<span class="eb9286 sTit"> {$val.v_category}</span>
|
<span class="eb9286 sTit"> {$val.v_category}</span>
|
||||||
</a>
|
</a>
|
||||||
{/video:categorytype}
|
{/video:categorytype}
|
||||||
<a href="{$strRankUrlTemp}">
|
<a href="{$strRankUrlTemp}">
|
||||||
<img src="/template/videolaoniu/images/icon/bd.png" class="b7693d index-icon">
|
<img src="/template/videolaoniu/images/icon/bd.png" class="b7693d index-icon">
|
||||||
@@ -143,20 +153,7 @@
|
|||||||
{$DomainModel->d_statis|raw}
|
{$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>
|
</body>
|
||||||
|
|
||||||
|
|||||||
@@ -7,9 +7,8 @@
|
|||||||
<a class="b02e75 img-pic thumb pic60 lazyload"
|
<a class="b02e75 img-pic thumb pic60 lazyload"
|
||||||
href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'
|
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 ?? ''}免费高清电影在线观看"
|
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/loading.webp" data-src="{$Video.v_pic ?? ''}"
|
||||||
<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 ?? ''}免费高清电影在线观看">
|
alt="{$Video.v_name ?? ''} - {$Video.v_parent_category ?? ''}{$Video.v_category ?? ''}免费高清电影在线观看">
|
||||||
<span class="bb17e9 iconfont icon-play play hidden-xs"></span>
|
<span class="bb17e9 iconfont icon-play play hidden-xs"></span>
|
||||||
<span class="e31f51 score">{$Video.v_box_office ?? 0}亿</span>
|
<span class="e31f51 score">{$Video.v_box_office ?? 0}亿</span>
|
||||||
|
|||||||
@@ -3,12 +3,11 @@
|
|||||||
{if !empty($arrGrm[$key + [start]])}
|
{if !empty($arrGrm[$key + [start]])}
|
||||||
{$arrGrm[$key+[start]]|raw}
|
{$arrGrm[$key+[start]]|raw}
|
||||||
{/if}
|
{/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"/}'
|
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 ?? ''}免费高清电影在线观看"
|
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/loading.webp" data-src="{$Video.v_pic ?? ''}"
|
||||||
<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 ?? ''}免费高清电影在线观看">
|
alt="{$Video.v_name ?? ''} - {$Video.v_parent_category ?? ''}{$Video.v_category ?? ''}免费高清电影在线观看">
|
||||||
<span class="bb17e9 iconfont icon-play play hidden-xs"></span>
|
<span class="bb17e9 iconfont icon-play play hidden-xs"></span>
|
||||||
<span class="e31f51 score">{$Video.v_score}</span>
|
<span class="e31f51 score">{$Video.v_score}</span>
|
||||||
|
|||||||
@@ -371,6 +371,8 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
{/block}
|
{/block}
|
||||||
|
|||||||
@@ -25,10 +25,25 @@
|
|||||||
<script>
|
<script>
|
||||||
const strPcPath = `{$strPcPath}`;
|
const strPcPath = `{$strPcPath}`;
|
||||||
</script>
|
</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>
|
</head>
|
||||||
|
|
||||||
{block name="strPageCode"}
|
{block name="strPageCode"}
|
||||||
<?php $strPageCode = 'home'; ?>
|
<?php $strPageCode = 'home'; ?>
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
||||||
@@ -52,13 +67,12 @@
|
|||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="stui-header__search">
|
<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" id="wd" name="keyword" class="mac_wd form-control mac_input" value=""
|
||||||
<input type="text" id="wd" name="keyword"
|
placeholder="请输入关键词..." autocomplete="off">
|
||||||
class="mac_wd form-control mac_input" value="" placeholder="请输入关键词..."
|
<button class="submit" id="searchbutton" type="submit" name="page"><i
|
||||||
autocomplete="off">
|
class="icon iconfont icon-search"></i></button>
|
||||||
<button class="submit" id="searchbutton" type="submit"
|
</form>
|
||||||
name="page"><i class="icon iconfont icon-search"></i></button></form>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<ul class="stui-header__menu type-slide">
|
<ul class="stui-header__menu type-slide">
|
||||||
@@ -67,7 +81,7 @@
|
|||||||
<li class="{if $strPageCode == 'info'}active{/if} ">
|
<li class="{if $strPageCode == 'info'}active{/if} ">
|
||||||
<a href="/">首页</a>
|
<a href="/">首页</a>
|
||||||
</li>
|
</li>
|
||||||
<li class=' {if $strPageCode == "home"}active{/if} ' >
|
<li class=' {if $strPageCode == "home"}active{/if} '>
|
||||||
<a href="/vindex">影视首页</a>
|
<a href="/vindex">影视首页</a>
|
||||||
</li>
|
</li>
|
||||||
{else}
|
{else}
|
||||||
@@ -118,20 +132,7 @@
|
|||||||
{$DomainModel->d_statis|raw}
|
{$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>
|
</body>
|
||||||
|
|
||||||
|
|||||||
@@ -7,8 +7,7 @@
|
|||||||
<a class="b02e75 img-pic thumb pic60 lazyload"
|
<a class="b02e75 img-pic thumb pic60 lazyload"
|
||||||
href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'
|
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 ?? ''}免费高清电影在线观看"
|
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/load.png" data-src="{$Video.v_pic ?? ''}"
|
||||||
alt="{$Video.v_name ?? ''} - {$Video.v_parent_category ?? ''}{$Video.v_category ?? ''}免费高清电影在线观看">
|
alt="{$Video.v_name ?? ''} - {$Video.v_parent_category ?? ''}{$Video.v_category ?? ''}免费高清电影在线观看">
|
||||||
<span class="bb17e9 iconfont icon-play play hidden-xs"></span>
|
<span class="bb17e9 iconfont icon-play play hidden-xs"></span>
|
||||||
|
|||||||
@@ -8,8 +8,7 @@
|
|||||||
<a class="stui-vodlist__thumb lazyload-bg"
|
<a class="stui-vodlist__thumb lazyload-bg"
|
||||||
href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'
|
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 ?? ''}免费高清电影在线观看"
|
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;"
|
<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 ?? ''}免费高清电影在线观看">
|
alt="{$Video.v_name ?? ''} - {$Video.v_parent_category ?? ''}{$Video.v_category ?? ''}免费高清电影在线观看">
|
||||||
<span class="play hidden-xs"></span>
|
<span class="play hidden-xs"></span>
|
||||||
|
|||||||
@@ -359,6 +359,7 @@
|
|||||||
var strPlayUrl = ""
|
var strPlayUrl = ""
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,8 @@
|
|||||||
<link rel="stylesheet" href="/public/layer/need/layer.css" />
|
<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/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"}{/block}
|
||||||
{block name="head-css"}{/block}
|
{block name="head-css"}{/block}
|
||||||
@@ -27,23 +28,40 @@
|
|||||||
<script>
|
<script>
|
||||||
const strPcPath = `{$strPcPath}`;
|
const strPcPath = `{$strPcPath}`;
|
||||||
</script>
|
</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>
|
</head>
|
||||||
|
|
||||||
{block name="strPageCode"}
|
{block name="strPageCode"}
|
||||||
<?php $strPageCode = 'home'; ?>
|
<?php $strPageCode = 'home'; ?>
|
||||||
{/block}
|
{/block}
|
||||||
|
|
||||||
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
||||||
|
|
||||||
<header class="top">
|
<header class="top">
|
||||||
<a href="/" title="{$DomainModel->d_name}" class='iconfont icon-shouye z fs30 {if $strPageCode == "home"}sv{/if}'></a>
|
<a href="/" title="{$DomainModel->d_name}"
|
||||||
<a href="{$strCategoryIndexUrlTemp}" title="小说书库" class='iconfont icon-iconfonticonfontshujupaixing z fs24 {if $strPageCode == "library"}sv{/if}'></a>
|
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">
|
<div class="y" id="qs_login1">
|
||||||
<a href="{$strUserUrlTemp}" rel="nofollow"
|
<a href="{$strUserUrlTemp}" rel="nofollow"
|
||||||
class='iconfont icon-login y fs24 {if $strPageCode == "history"}sv{/if}'>
|
class='iconfont icon-login y fs24 {if $strPageCode == "history"}sv{/if}'>
|
||||||
</a>
|
</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>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
@@ -61,9 +79,9 @@
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="novel_search">
|
<div class="novel_search">
|
||||||
<form id="novel_search" class="search-form" method="get" action="{$strSearchIndexUrlTemp}"><input type="text" class="bk"
|
<form id="novel_search" class="search-form" method="get" action="{$strSearchIndexUrlTemp}"><input type="text"
|
||||||
name="keyword" placeholder="输入书名/作者进行搜索,宁少字勿错字"><button type="submit" class="submit iconfont icon-so fs20"
|
class="bk" name="keyword" placeholder="输入书名/作者进行搜索,宁少字勿错字"><button type="submit"
|
||||||
form="novel_search" value="submit"></button></form>
|
class="submit iconfont icon-so fs20" form="novel_search" value="submit"></button></form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{block name="main"} {site:wz wz="主内容" /}{/block}
|
{block name="main"} {site:wz wz="主内容" /}{/block}
|
||||||
|
|||||||
@@ -19,6 +19,20 @@
|
|||||||
<script>
|
<script>
|
||||||
const strPcPath = `{$strPcPath}`;
|
const strPcPath = `{$strPcPath}`;
|
||||||
</script>
|
</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>
|
</head>
|
||||||
|
|
||||||
<!-- 接收子模板传递的 active_nav -->
|
<!-- 接收子模板传递的 active_nav -->
|
||||||
|
|||||||
@@ -58,17 +58,18 @@ function isMobile() {
|
|||||||
|
|
||||||
// 懒加载
|
// 懒加载
|
||||||
document.addEventListener("DOMContentLoaded", function () {
|
document.addEventListener("DOMContentLoaded", function () {
|
||||||
|
|
||||||
// 通用懒加载函数
|
// 通用懒加载函数
|
||||||
function lazyLoad(elements, callback) {
|
function lazyLoad(elements, callback) {
|
||||||
const observer = new IntersectionObserver((entries, observer) => {
|
const observer = new IntersectionObserver((entries, observer) => {
|
||||||
entries.forEach(entry => {
|
entries.forEach(entry => {
|
||||||
if (entry.isIntersecting) {
|
if (entry.isIntersecting) {
|
||||||
const element = entry.target;
|
const element = entry.target;
|
||||||
callback(element); // 执行懒加载逻辑
|
callback(element);
|
||||||
observer.unobserve(element); // 停止观察
|
observer.unobserve(element);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
}, {
|
||||||
|
rootMargin: '100px' // 提前 100px 开始加载
|
||||||
});
|
});
|
||||||
|
|
||||||
elements.forEach(element => observer.observe(element));
|
elements.forEach(element => observer.observe(element));
|
||||||
@@ -79,8 +80,16 @@ document.addEventListener("DOMContentLoaded", function () {
|
|||||||
lazyLoad(lazyBackgrounds, (element) => {
|
lazyLoad(lazyBackgrounds, (element) => {
|
||||||
const src = element.getAttribute("data-src");
|
const src = element.getAttribute("data-src");
|
||||||
if (src) {
|
if (src) {
|
||||||
element.style.backgroundImage = `url(${src})`;
|
const img = new Image();
|
||||||
element.classList.remove("lazyload-bg");
|
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) => {
|
lazyLoad(lazyImages, (element) => {
|
||||||
const src = element.getAttribute("data-src");
|
const src = element.getAttribute("data-src");
|
||||||
if (src) {
|
if (src) {
|
||||||
element.setAttribute("src", src);
|
const img = new Image();
|
||||||
element.classList.remove("lazyload-img");
|
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 () {
|
videoPlayer.on('timeupdate', function () {
|
||||||
if (strPlayType == 'default' || strPlayType == 'youzhi') {
|
if (strPlayType == 'default' || strPlayType == 'youzhi') {
|
||||||
if (videoPlayer.video.currentTime >= 476 && videoPlayer.video.currentTime < 494) { //18秒
|
// 07:55 08:14
|
||||||
videoPlayer.seek(495); // 跳过到 494 秒
|
// 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
|
// 30:15 30:32
|
||||||
if (videoPlayer.video.currentTime >= 1812 && videoPlayer.video.currentTime < 1832) { //20秒
|
if (videoPlayer.video.currentTime >= 1812 && videoPlayer.video.currentTime < 1832) { //20秒
|
||||||
videoPlayer.seek(1833); // 跳过到 494 秒
|
videoPlayer.seek(1833); // 跳过到 494 秒
|
||||||
@@ -480,9 +504,42 @@ function initDPlayer(strPlayUrl) {
|
|||||||
if (videoPlayer.video.currentTime >= 6046 && videoPlayer.video.currentTime < 6067) { //19秒
|
if (videoPlayer.video.currentTime >= 6046 && videoPlayer.video.currentTime < 6067) { //19秒
|
||||||
videoPlayer.seek(6068); // 跳过到 494 秒
|
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 (typeof strPlayType !== "undefined"){
|
||||||
if (strPlayType == 'default') {
|
if (strPlayType == 'default') {
|
||||||
strPlayUrl = findFirstUrl(arrPlayUrl)
|
strPlayUrl = findFirstUrl(arrPlayUrl)
|
||||||
|
// checkLine(strPlayType);
|
||||||
} else {
|
} else {
|
||||||
var ActivePlayUrl = arrPlayUrl[strPlayType][intPlayUrlIndex - 1]
|
var ActivePlayUrl = arrPlayUrl[strPlayType][intPlayUrlIndex - 1]
|
||||||
strPlayUrl = ActivePlayUrl.url
|
strPlayUrl = ActivePlayUrl.url
|
||||||
|
checkLine(strPlayType);
|
||||||
}
|
}
|
||||||
initDPlayer(strPlayUrl)
|
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