debug
@@ -12,19 +12,10 @@
|
||||
<meta name="keywords" content='{block name="keywords"}{/block}'>
|
||||
<meta name="description" content='{block name="description"}{/block}'>
|
||||
|
||||
<link rel="shortcut icon" href="/template/videolaoniu/images/favicon.png" type="image/x-icon">
|
||||
<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> -->
|
||||
|
||||
<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"/}'>
|
||||
|
||||
{block name="head"}{/block}
|
||||
{block name="head-css"}{/block}
|
||||
{block name="head-js"}{/block}
|
||||
@@ -35,72 +26,68 @@
|
||||
|
||||
|
||||
<body class="{block name='body-class'}{/block}" id="{block name='body-id'}{/block}">
|
||||
<header class="c4782f header-top top-fixed home vod">
|
||||
<div class="c5a271 container">
|
||||
<h2 class="f6e567 header-logo">
|
||||
<a class="ec3e4d " href="/" title="{$DomainModel->d_name}">
|
||||
{$DomainModel->d_name}
|
||||
</a>
|
||||
</h2>
|
||||
|
||||
<div
|
||||
class="b2f179 header-menu hidden-xs hidden-sm swiper-initialized swiper-horizontal swiper-pointer-events swiper-free-mode">
|
||||
<ul class="cd86bd swiper-wrapper" id="swiper-wrapper-bcd0b11121af738e" aria-live="polite"
|
||||
style="transition-duration: 0ms;">
|
||||
<li class="f823b1 swiper-slide hidden-sm hidden-xs {if $Request.route.strParentCategory == ''}active{/if}"><a href="/">首页</a></li>
|
||||
|
||||
<div class="gm-head">
|
||||
<div class="wrap">
|
||||
<a class="logo cn" href="/" title="{$DomainModel->d_name}">
|
||||
{$DomainModel->d_name}
|
||||
</a>
|
||||
<div class="nav">
|
||||
<ul>
|
||||
<li><a class="on" href="/"><i></i><span>首页</span></a></li>
|
||||
{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>
|
||||
<a href='{site:vciurl parent_category="$val.v_category_en" /}'>
|
||||
{$val.v_category}
|
||||
<i class="t1"></i>
|
||||
<span> {$val.v_category}</span>
|
||||
</a>
|
||||
</li>
|
||||
{/video:categorytype}
|
||||
<li class="ab5512 swiper-slide hidden-xs {if $val.v_category_en == $Request.route.strParentCategory}active{/if}">
|
||||
<a href='{$strRankUrlTemp}'>
|
||||
排行榜
|
||||
</a>
|
||||
<li>
|
||||
<a href="{$strRankUrlTemp}">
|
||||
<img src="/template/videolaoniu/images/icon/bd.png" class="b7693d index-icon">
|
||||
<span class="eb9286 sTit">排行榜</span>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
|
||||
</div>
|
||||
<div class="f2d13f header-search">
|
||||
<form id="formsearch" action="{$strSearchListUrlTemp}">
|
||||
<input type="search" name="keyword" placeholder="输入影片名或演员" autocomplete="off">
|
||||
<button type="submit" class="c46a69 search-submit"><i class="ef1c92 iconfont icon-sousuo"></i><span
|
||||
class="c290af none">搜索</span></button>
|
||||
<div class="search">
|
||||
<form id="search" name="search" method="get" action="{$strSearchListUrlTemp}">
|
||||
<input name="keyword" type="text" class="mac_wd form-control" placeholder="输入影片名称" value="">
|
||||
<button type="submit"></button>
|
||||
</form>
|
||||
</div>
|
||||
<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>
|
||||
</a>
|
||||
|
||||
</div>
|
||||
<div id="btn-nav" class="btn-nav"></div>
|
||||
<div id="btn-search" class="btn-search"></div>
|
||||
</div>
|
||||
</header>
|
||||
<div class="f5dea7 header-top-ok color"></div>
|
||||
<div class="ca3379 index-icon-wrapper hidden-md hidden-lg">
|
||||
<nav class="eb2619 index-icon-box container">
|
||||
<a href="/">
|
||||
<img src="/template/videolaoniu/images/icon/home.png" class="e1eb57 index-icon">
|
||||
<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="{$strRankUrlTemp}">
|
||||
<img src="/template/videolaoniu/images/icon/bd.png" class="b7693d index-icon">
|
||||
<span class="eb9286 sTit">排行榜</span>
|
||||
</a>
|
||||
</nav>
|
||||
</div>
|
||||
|
||||
<div id="pop-search" class="mi-pop-search">
|
||||
<div class="wrap">
|
||||
<form id="search" name="search" method="get" action="{$strSearchListUrlTemp}">
|
||||
<input name="keyword" type="text" class="mac_wd form-control" placeholder="输入影片名称" value="">
|
||||
<button type="submit"></button>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div id="pop-nav" class="mi-pop-nav">
|
||||
<ul>
|
||||
<li><a class="on" href="/"><i></i><span>首页</span></a></li>
|
||||
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
||||
<li>
|
||||
<a href='{site:vciurl parent_category="$val.v_category_en" /}'>
|
||||
<i class="t1"></i>
|
||||
<span> {$val.v_category}</span>
|
||||
</a>
|
||||
</li>
|
||||
{/video:categorytype}
|
||||
<li>
|
||||
<a href="{$strRankUrlTemp}">
|
||||
<img src="/template/videolaoniu/images/icon/bd.png" class="b7693d index-icon">
|
||||
<span class="eb9286 sTit">排行榜</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
{block name="main"}
|
||||
{/block}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
蜂鸟视频模板
|
||||
http://test.enderuixm.com/
|
||||
http://test.enderuixm.com/
|
||||
http://test.enderuixm.com/
|
||||
|
||||
1.视频分类 分页标签查询, 增加 4个查询字段
|
||||
|
||||
|
||||
@@ -133,36 +133,60 @@ export_name="arrVideoPiaofang" /}
|
||||
|
||||
{block name="main"}
|
||||
|
||||
<div class="a5da29 container">
|
||||
|
||||
|
||||
<div class="gm-main gm-index">
|
||||
|
||||
<h1 class="view-title">
|
||||
<a href="/">{$DomainModel->d_name}</a>-{$DomainModel->d_text_logo}
|
||||
</h1>
|
||||
<h4 class="view-description">{site:replace code="VIDEO@GETCATEGORYINDEX@TEXT"}</h4>
|
||||
|
||||
<div class="dac4a5 layout-box">
|
||||
<div class="a16ee4 box-title"><span class="c681ae iconfont icon-remen"></span>
|
||||
<h2>热门推荐</h2>
|
||||
</div>
|
||||
<div class="d752db row">
|
||||
<ul class="e72f7b img-list col-md-wide-12 col-sm-wide-1 col-xs-1 p-sm-0 p-xs-5">
|
||||
{foreach $arrVideoTuijian as $key=>$Video }
|
||||
{include file="public/video-list-shu" start="10" col-md="5"/}
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
<!-- 最新上映 -->
|
||||
<div class="gm-meta">
|
||||
<h3 class="title">最新上映</h3>
|
||||
<span class="tab-tit-box">
|
||||
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
||||
|
||||
<a class="on" href='{site:vciurl parent_category="$val.v_category_en" /}'>
|
||||
{$val.v_category}
|
||||
</a>
|
||||
|
||||
{/video:categorytype}
|
||||
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="dac4a5 layout-box">
|
||||
<div class="a16ee4 box-title"><span class="c681ae iconfont icon-remen"></span>
|
||||
<h2>好莱坞大片</h2>
|
||||
<div class="gm-box">
|
||||
<div class="gm-list">
|
||||
{foreach $arrVideoTuijian as $key=>$Video }
|
||||
{include file="public/video-list-shu" start="10" col-md="5"/}
|
||||
{/foreach}
|
||||
|
||||
</div>
|
||||
<div class="d752db row">
|
||||
<ul class="e72f7b img-list col-md-wide-12 col-sm-wide-1 col-xs-1 p-sm-0 p-xs-5">
|
||||
{foreach $arrVideoPiaofang as $key=>$Video }
|
||||
{include file="public/video-list-shu-pf" start="0" col-md="5"/}
|
||||
{/foreach}
|
||||
</ul>
|
||||
<div class="gm-list" style="display:none;">
|
||||
{foreach $arrVideoTuijian as $key=>$Video }
|
||||
{include file="public/video-list-shu" start="10" col-md="5"/}
|
||||
{/foreach}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="gm-list" style="display:none;">
|
||||
{foreach $arrVideoTuijian as $key=>$Video }
|
||||
{include file="public/video-list-shu" start="10" col-md="5"/}
|
||||
{/foreach}
|
||||
|
||||
</div>
|
||||
<div class="gm-list" style="display:none;">
|
||||
{foreach $arrVideoTuijian as $key=>$Video }
|
||||
{include file="public/video-list-shu" start="10" col-md="5"/}
|
||||
{/foreach}
|
||||
|
||||
</div>
|
||||
<div class="gm-list" style="display:none;">
|
||||
{foreach $arrVideoTuijian as $key=>$Video }
|
||||
{include file="public/video-list-shu" start="10" col-md="5"/}
|
||||
{/foreach}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -170,6 +194,30 @@ export_name="arrVideoPiaofang" /}
|
||||
{include file="public/video-panel" /}
|
||||
{/video:categorytype}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- 最近更新 -->
|
||||
<div class="gm-meta">
|
||||
<h3 class="title">最近更新</h3>
|
||||
<span class="tab-tit-box">
|
||||
{video:categorytype category_type="ONE" d_key="key" d_val="val"}
|
||||
|
||||
<a class="on" href='{site:vciurl parent_category="$val.v_category_en" /}'>
|
||||
{$val.v_category}
|
||||
</a>
|
||||
|
||||
{/video:categorytype}
|
||||
</span>
|
||||
</div>
|
||||
<div class="gm-box">
|
||||
{foreach $arrVideoTuijian as $key=>$Video }
|
||||
{include file="public/video-list-shu" start="10" col-md="5"/}
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@@ -1,33 +1,9 @@
|
||||
<footer class="eef3f2 footer text-center">
|
||||
<div class="a73f1c footer-nav hidden-xs">
|
||||
<!-- <a rel="nofollow" href="/map.html" target="_blank">网站地图</a>
|
||||
-
|
||||
<a href="/rss/index.xml" target="_blank">RSS地图</a>
|
||||
-
|
||||
<a href="/rss/baidu.xml" target="_blank">百度Sitemap</a>
|
||||
-
|
||||
<a href="/rss/so.xml" target="_blank">360Sitemap</a>
|
||||
-
|
||||
<a href="/rss/google.xml" target="_blank">谷歌Sitemap</a>-->
|
||||
|
||||
<a href="/sitemap_index.xml" target="_blank">XML地图</a>
|
||||
-
|
||||
<a href="/robots.txt" target="_blank">网站地图</a>
|
||||
|
||||
{ad:list code="YOUQING_LIANJIE_GUANG_GAO" order="desc" limit="2" id="ad"}
|
||||
<a href="{$ad.gg_tiao_zhuan_di_zhi}" target="_blank">{$ad.gg_wen_zi}
|
||||
</a>
|
||||
{/ad:list}
|
||||
</div>
|
||||
<p>Copyright © 2020-2025 <b style=" font:Verdana, Arial, Helvetica, sans-serif"><a href="/">
|
||||
<font color="#CC0000">{$DomainModel->d_domain}</font>
|
||||
</a></b> .All Rights Reserved .</p>
|
||||
<p>本网站所有内容均来源于互联网,若收录的节目无意侵犯了贵司版权,请给我们留言,我们会第一时间处理!</p>
|
||||
<p>反馈邮箱:{site:cfg code="YOU_XIANG" encode="false"/}</p>
|
||||
<footer class="gm-foot">
|
||||
<p>© 2025 <a href="/"
|
||||
title="{$DomainModel->d_name}">{$DomainModel->d_name}({$DomainModel->d_domain})</a><br>2025年最新电影电视剧免费在线观看,热门电影推荐,海量高清完整版影视,更有辛辣短评供您参考!</p>
|
||||
</footer>
|
||||
<ul class="b3f942 top-tool">
|
||||
<li class="decc5c back-top mask"><span class="d2c1bf iconfont icon-top font18"></span></li>
|
||||
</ul>
|
||||
|
||||
<script>
|
||||
|
||||
|
||||
@@ -1,28 +1,33 @@
|
||||
|
||||
<li class="f88537 col-md-[col-md] col-sm-3 col-xs-2 pb-xs-0 ">
|
||||
|
||||
<div class="item">
|
||||
{if !empty($arrGrm[$key + [start]])}
|
||||
{$arrGrm[$key+[start]]|raw}
|
||||
{/if}
|
||||
<a class="b02e75 img-pic thumb pic60 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 ?? ''}"
|
||||
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>
|
||||
<span class="c1e321 vname">{$Video.v_name}</span>
|
||||
<span class="c68e08 vtitle text-right">{$Video.v_remarks}</span>
|
||||
</a>
|
||||
<h3 class="ac00f9 name text-overflow">
|
||||
<a 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 ?? ''}免费高清电影在线观看">{$Video.v_name}</a>
|
||||
</h3>
|
||||
<div class="e2a75d sname text-muted text-overflow hidden">
|
||||
{volist name='$Video.v_actor' id='vo' key='index'}
|
||||
<a class="link"
|
||||
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 ?? ''}免费高清电影在线观看">
|
||||
<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 ?? ''}免费高清电影在线观看">
|
||||
<div class="tag1">{$Video.v_remarks}</div>
|
||||
<div class="tag2">
|
||||
{volist name='$Video.v_actor' id='vo' key='index'}
|
||||
{$vo}
|
||||
|
||||
{/volist}
|
||||
/ {$Video.v_year}</div>
|
||||
<div class="play"></div>
|
||||
</a>
|
||||
<div class="info">
|
||||
<a class="title"
|
||||
href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'>
|
||||
{$Video.v_name}
|
||||
</a>
|
||||
<div class="desc">
|
||||
{volist name='$Video.v_actor' id='vo' key='index'}
|
||||
{$vo},
|
||||
{/volist}
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</div>
|
||||
@@ -1,75 +1,18 @@
|
||||
<div class="gm-meta">
|
||||
<h3>{$val.v_category}</h3>
|
||||
</div>
|
||||
<div class="gm-list">
|
||||
{video:list count="12" v_parent_category_en="$val.v_category_en" sort_type="news" d_key="key" d_val="Video" cache_life="86400"}
|
||||
{include file="public/video-list-shu" start="27" col-md="4"/}
|
||||
{/video:list}
|
||||
|
||||
|
||||
<div class="c0490f layout-box">
|
||||
<div class="ac085e box-title"><span class="e090e3 iconfont icon-mov"></span>
|
||||
<h2>{$val.v_category} </h2>
|
||||
<a class="ef634b box-more pull-right"
|
||||
href='{site:vclurl parent_category="$val.v_category_en" category="all" area="all" lang="all" year="all" order="all" page="1"/}'>
|
||||
更多<i> >
|
||||
</i>
|
||||
</a>
|
||||
<div class="a8c5af box-nav pull-right hidden-xs"></div>
|
||||
<div class="more">
|
||||
<a href="/filter/dianying.html"><i class="t1"></i>免费电影</a>
|
||||
<a class="openall-button" data-openall="0"><span>展开热搜</span></a>
|
||||
</div>
|
||||
<div class="fc3313 row">
|
||||
<div class="dbb502 col-md-wide-25 pt-xs-0 hidden ">
|
||||
<div class="fedbae box-title mb-xs-0 mt-xs-5 hidden-sm hidden-xs"><span
|
||||
class="be626f title-lb pr-xs-5 ml-xs-5"></span>
|
||||
<h2>{$val.v_category}周榜单</h2>
|
||||
<a class="dfb71d box-more pull-right" href='{site:vrlurl parent_category="$val.v_category_en" category="all" sort_type="daily" page="1"/}'>更多<i>></i></a>
|
||||
</div>
|
||||
|
||||
<div class="ecdc91 box-slide hidden hidden-sm hidden-xs swiper-fade swiper-initialized swiper-horizontal swiper-pointer-events"
|
||||
id="box-slide-index" style="height:238px">
|
||||
<div class="c56fb9 swiper-wrapper img-list" style="overflow: hidden; transition-duration: 0ms;"
|
||||
id="swiper-wrapper-9e856310d7b2691e6" aria-live="off">
|
||||
{video:ranklist count="1"
|
||||
v_parent_category_en="$val.v_category_en"
|
||||
sort_type="weekly"
|
||||
d_key="key" d_val="Video" cache_life="86400"}
|
||||
<div class="b29a65 swiper-slide swiper-slide-duplicate" data-swiper-slide-index="4">
|
||||
<a class="e474a3 img-pic thumb swiper-lazy 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("/template/videolaoniu/images/pic.png");">
|
||||
<img class="lazyload-img" src="/template/videolaoniu/images/pic.png" data-src="{$Video.v_pic ?? ''}"
|
||||
alt="{$Video.v_name ?? ''} - {$Video.v_parent_category ?? ''}{$Video.v_category ?? ''}免费高清电影在线观看">
|
||||
<span class="ed0f23 vtitle text-right">{$Video.v_remarks}</span>
|
||||
<div class="fd7210 swiper-lazy-preloader"></div>
|
||||
</a>
|
||||
<div class="c27622 name text-overflow hidden">
|
||||
<a href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}' title="{$Video.v_name}">{$Video.v_name}</a>
|
||||
</div>
|
||||
<div class="a45e87 sname text-muted text-overflow hidden">
|
||||
{volist name='$Video.v_actor' id='vo' key='index'}
|
||||
{$vo}
|
||||
|
||||
{/volist}
|
||||
</div>
|
||||
</div>
|
||||
{/video:ranklist}
|
||||
|
||||
</div>
|
||||
<span class="swiper-notification" aria-live="assertive" aria-atomic="true"></span>
|
||||
</div>
|
||||
|
||||
<ul class="cb7e0c txt-list txt-list-hot p-xs-0 hidden-sm hidden-xs">
|
||||
{video:ranklist count="8"
|
||||
v_parent_category_en="$val.v_category_en"
|
||||
sort_type="weekly"
|
||||
d_key="key" d_val="Video" cache_life="86400"}
|
||||
{include file="public/video-list-phb" start="80"/}
|
||||
{/video:ranklist}
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<div class="c5fe5e col-md-wide-75 col-xs-1 p-xs-0 ">
|
||||
<ul class="f63186 img-list col-md-wide-12 col-sm-wide-1 col-xs-1 p-sm-0 p-xs-5">
|
||||
{video:list count="12" v_parent_category_en="$val.v_category_en" sort_type="news" d_key="key" d_val="Video" cache_life="86400"}
|
||||
{include file="public/video-list-shu" start="27" col-md="4"/}
|
||||
{/video:list}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="quick-type">
|
||||
<a href="/filter-sub/dianying/area/韩国.html">【韩国电影】</a>
|
||||
<a href="/filter-sub/dianying/area/泰国.html">【泰国电影】</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
1722
code/public/template/videofengniao/css/app2.css
Normal file
BIN
code/public/template/videofengniao/favicon.ico
Normal file
|
After Width: | Height: | Size: 6.3 KiB |
BIN
code/public/template/videofengniao/img/btn-nav.png
Normal file
|
After Width: | Height: | Size: 238 B |
BIN
code/public/template/videofengniao/img/btn-search.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
code/public/template/videofengniao/img/btn-search2.png
Normal file
|
After Width: | Height: | Size: 516 B |
BIN
code/public/template/videofengniao/img/cat0.png
Normal file
|
After Width: | Height: | Size: 986 B |
BIN
code/public/template/videofengniao/img/cat10.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
code/public/template/videofengniao/img/cat11.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
code/public/template/videofengniao/img/cat12.png
Normal file
|
After Width: | Height: | Size: 788 B |
BIN
code/public/template/videofengniao/img/cat13.png
Normal file
|
After Width: | Height: | Size: 720 B |
BIN
code/public/template/videofengniao/img/cat14.png
Normal file
|
After Width: | Height: | Size: 824 B |
BIN
code/public/template/videofengniao/img/logo_max.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
code/public/template/videofengniao/img/play1.png
Normal file
|
After Width: | Height: | Size: 830 B |
187
code/public/template/videofengniao/js/app.js
Normal file
@@ -0,0 +1,187 @@
|
||||
$(function() {
|
||||
// function log(data) {
|
||||
// // $.ajax({
|
||||
// // type: 'GET',
|
||||
// // timeout: 6000,
|
||||
// // url: "/api/log?v=".concat(data),
|
||||
// // cache: false
|
||||
// // })
|
||||
// }
|
||||
$('img').lazyload();
|
||||
var domBtnNav = $('#btn-nav');
|
||||
var domPopNav = $('#pop-nav');
|
||||
var domBtnSearch = $('#btn-search');
|
||||
var domPopSearch = $('#pop-search');
|
||||
if (domBtnNav.length) {
|
||||
domBtnNav.on('click', function() {
|
||||
domPopNav.toggleClass('on')
|
||||
});
|
||||
domBtnSearch.on('click', function() {
|
||||
domPopSearch.toggleClass('on')
|
||||
});
|
||||
$('body').on('click', function(e) {
|
||||
if ($(e.target).closest('#btn-nav').length < 1) {
|
||||
domPopNav.removeClass('on')
|
||||
}
|
||||
})
|
||||
}
|
||||
// var player = {
|
||||
// domPlayer: $('#dom-player'),
|
||||
// dp: null,
|
||||
// vod: null,
|
||||
// vodSouIdx: null,
|
||||
// getPageUri: function getPageUri(vodId, vodSouIdx) {
|
||||
// return window.location.origin + window.location.pathname + '?vod=' + vodId + '-' + vodSouIdx
|
||||
// },
|
||||
// play: function play() {
|
||||
// browserStore.setPriority('lc');
|
||||
// browserStore.setItem('player.' + post.id + '.vodId', player.vod.id);
|
||||
// browserStore.setItem('player.' + post.id + '.vodSouIdx', player.vodSouIdx);
|
||||
// window.history.replaceState({}, '', player.getPageUri(player.vod.id, player.vodSouIdx));
|
||||
// $('[data-vod_sou_idx]').removeClass('on');
|
||||
// $("[data-vod_id='" + player.vod.id + "']").addClass('on');
|
||||
// $("[data-vod_id='" + player.vod.id + "'] [data-vod_sou_idx='" + player.vodSouIdx + "'] ").addClass('on');
|
||||
// var source = player.vod.source[player.vodSouIdx];
|
||||
// var video = {
|
||||
// url: source[1],
|
||||
// type: 'customHls',
|
||||
// customType: {
|
||||
// customHls: function customHls(video, player) {
|
||||
// var hls = new Hls();
|
||||
// hls.loadSource(video.src);
|
||||
// hls.attachMedia(video)
|
||||
// }
|
||||
// }
|
||||
// };
|
||||
// if (!player.dp) {
|
||||
// var _DPlayer;
|
||||
// var logAt = Date.now();
|
||||
// var logTimer = setTimeout(function() {
|
||||
// if (logAt) {
|
||||
// logAt = null;
|
||||
// clearTimeout(logTimer);
|
||||
// Math.random() < 0.06 && log("".concat(player.vod.id, ".2.-1"))
|
||||
// }
|
||||
// }, 8000);
|
||||
// player.dp = new DPlayer((_DPlayer = {
|
||||
// container: player.domPlayer[0],
|
||||
// video: video,
|
||||
// volume: 1,
|
||||
// screenshot: false,
|
||||
// autoplay: true,
|
||||
// theme: '#fc3437',
|
||||
// loop: true
|
||||
// }, _defineProperty(_DPlayer, "screenshot", false), _defineProperty(_DPlayer, "airplay", true), _defineProperty(_DPlayer, "chromecast", true), _defineProperty(_DPlayer, "preload", true), _defineProperty(_DPlayer, "mutex", false), _DPlayer));
|
||||
// player.dp.on('canplay', function() {
|
||||
// player.dp.play();
|
||||
// if (logAt) {
|
||||
// logAt = null;
|
||||
// clearTimeout(logTimer);
|
||||
// Math.random() < 0.06 && log("".concat(player.vod.id, ".2.").concat(Date.now() - logAt));
|
||||
// Math.random() < 0.06 && log("".concat(player.vod.id, ".3.").concat(player.dp.video.videoWidth * player.dp.video.videoHeight))
|
||||
// }
|
||||
// })
|
||||
// } else {
|
||||
// player.dp.switchVideo(video);
|
||||
// player.dp.play()
|
||||
// }
|
||||
// player.dp.notice(post.i18n.loading, 6000)
|
||||
// },
|
||||
// playNext: function playNext() {
|
||||
// player.vodSouIdx = (player.vodSouIdx + 1) % player.vod.source.length;
|
||||
// play()
|
||||
// },
|
||||
// bindChange: function bindChange() {
|
||||
// $('[data-vod_sou_idx]').on('click', function(e) {
|
||||
// e.preventDefault();
|
||||
// var vodId = $(this).closest('[data-vod_id]').data('vod_id');
|
||||
// var vodSouIdx = $(this).data('vod_sou_idx');
|
||||
// window.location.href = player.getPageUri(vodId, vodSouIdx)
|
||||
// })
|
||||
// },
|
||||
// do: function _do() {
|
||||
// if (!player.domPlayer.length) return;
|
||||
// player.bindChange();
|
||||
// var vodSeqMatch = window.location.search.match(/vod=([0-9_]*)-([0-9]*)/);
|
||||
// if (vodSeqMatch) {
|
||||
// player.vod = post.vods.find(function(v) {
|
||||
// return v.id == vodSeqMatch[1]
|
||||
// });
|
||||
// player.vodSouIdx = vodSeqMatch[2]
|
||||
// }
|
||||
// if (!player.vod) {
|
||||
// browserStore.setPriority('lc');
|
||||
// var vodId = browserStore.getItem('player.' + post.id + '.vodId');
|
||||
// var vodSouIdx = browserStore.getItem('player.' + post.id + '.vodSouIdx');
|
||||
// if (vodId) {
|
||||
// player.vod = post.vods.find(function(v) {
|
||||
// return v.id == vodId
|
||||
// });
|
||||
// player.vodSouIdx = vodSouIdx
|
||||
// }
|
||||
// }
|
||||
// if (!player.vod) {
|
||||
// player.vod = post.vods[0]
|
||||
// }
|
||||
// player.vodSouIdx = player.vod.source[player.vodSouIdx] ? player.vodSouIdx : 0;
|
||||
// player.play()
|
||||
// }
|
||||
// };
|
||||
// player.do();
|
||||
// var ttl = {
|
||||
// isFirst: true,
|
||||
// interval: 7000,
|
||||
// ajaxArr: [],
|
||||
// do: function _do() {
|
||||
// while (ttl.ajaxArr.length) {
|
||||
// ttl.ajaxArr.shift().abort()
|
||||
// }
|
||||
// var now = new Date().getTime();
|
||||
// $('[data-vod_ttl]').each(function() {
|
||||
// var dom = $(this);
|
||||
// var vodId = dom.closest('[data-vod_id]').data('vod_id');
|
||||
// var m3u = post.vods.find(function(v) {
|
||||
// return v.id == vodId
|
||||
// })['source'][0][1];
|
||||
// ttl.ajaxArr.push($.ajax({
|
||||
// type: 'GET',
|
||||
// timeout: 6000,
|
||||
// url: m3u,
|
||||
// cache: false,
|
||||
// crossDomain: true,
|
||||
// success: function success() {
|
||||
// var diff = new Date().getTime() - now;
|
||||
// dom.removeClass();
|
||||
// if (diff < 1000) {
|
||||
// dom.addClass('ttl v1');
|
||||
// $('.val', dom).html(diff + 'ms')
|
||||
// } else if (diff < 3000) {
|
||||
// dom.addClass('ttl v2');
|
||||
// $('.val', dom).html(diff + 'ms')
|
||||
// } else {
|
||||
// dom.addClass('ttl v3');
|
||||
// $('.val', dom).html('差')
|
||||
// }
|
||||
// if (ttl.isFirst) {
|
||||
// Math.random() < 0.01 && log("".concat(vodId, ".1.").concat(diff))
|
||||
// }
|
||||
// },
|
||||
// error: function error() {
|
||||
// dom.removeClass();
|
||||
// dom.addClass('ttl v3');
|
||||
// $('.val', dom).html(post.i18n.overtime);
|
||||
// if (ttl.isFirst) {
|
||||
// Math.random() < 0.01 && log("".concat(vodId, ".1.-1"))
|
||||
// }
|
||||
// }
|
||||
// }))
|
||||
// });
|
||||
// ttl.interval += 500;
|
||||
// setTimeout(function() {
|
||||
// ttl.isFirst = false;
|
||||
// ttl.do()
|
||||
// }, ttl.interval)
|
||||
// }
|
||||
// };
|
||||
// ttl.do()
|
||||
});
|
||||
1
code/public/template/videofengniao/js/lazyload.min.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
!function(t,e){"object"==typeof exports?module.exports=e(t):"function"==typeof define&&define.amd?define([],e):t.LazyLoad=e(t)}("undefined"!=typeof global?global:this.window||this.global,function(t){"use strict";function e(t,e){this.settings=s(r,e||{}),this.images=t||document.querySelectorAll(this.settings.selector),this.observer=null,this.init()}"function"==typeof define&&define.amd&&(t=window);const r={src:"data-src",srcset:"data-srcset",selector:".lazyload",root:null,rootMargin:"0px",threshold:0},s=function(){let t={},e=!1,r=0,o=arguments.length;"[object Boolean]"===Object.prototype.toString.call(arguments[0])&&(e=arguments[0],r++);for(;r<o;r++)!function(r){for(let o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e&&"[object Object]"===Object.prototype.toString.call(r[o])?t[o]=s(!0,t[o],r[o]):t[o]=r[o])}(arguments[r]);return t};if(e.prototype={init:function(){if(!t.IntersectionObserver)return void this.loadImages();let e=this,r={root:this.settings.root,rootMargin:this.settings.rootMargin,threshold:[this.settings.threshold]};this.observer=new IntersectionObserver(function(t){Array.prototype.forEach.call(t,function(t){if(t.isIntersecting){e.observer.unobserve(t.target);let r=t.target.getAttribute(e.settings.src),s=t.target.getAttribute(e.settings.srcset);"img"===t.target.tagName.toLowerCase()?(r&&(t.target.src=r),s&&(t.target.srcset=s)):t.target.style.backgroundImage="url("+r+")"}})},r),Array.prototype.forEach.call(this.images,function(t){e.observer.observe(t)})},loadAndDestroy:function(){this.settings&&(this.loadImages(),this.destroy())},loadImages:function(){if(!this.settings)return;let t=this;Array.prototype.forEach.call(this.images,function(e){let r=e.getAttribute(t.settings.src),s=e.getAttribute(t.settings.srcset);"img"===e.tagName.toLowerCase()?(r&&(e.src=r),s&&(e.srcset=s)):e.style.backgroundImage="url('"+r+"')"})},destroy:function(){this.settings&&(this.observer.disconnect(),this.settings=null)}},t.lazyload=function(t,r){return new e(t,r)},t.jQuery){const r=t.jQuery;r.fn.lazyload=function(t){return t=t||{},t.attribute=t.attribute||"data-src",new e(r.makeArray(this),t),this}}return e});
|
||||
129
code/public/template/videofengniao/static_ban/base_common.css
Normal file
@@ -0,0 +1,129 @@
|
||||
@media (min-width: 640px){
|
||||
#dx_kf,.dxGbox {
|
||||
display:none!important;
|
||||
}
|
||||
}
|
||||
.dxGbox {
|
||||
position: relative;
|
||||
display: block;
|
||||
padding-top: 15%;
|
||||
background-color: #000;
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
background-position: center top!important;
|
||||
/*border: 1px solid #ff000069;*/
|
||||
}
|
||||
#g_in1 {
|
||||
background-image: url('/g_in1.php');
|
||||
}
|
||||
.dxGbox p,
|
||||
.dxGbox span {
|
||||
position: absolute;
|
||||
top: 30%;
|
||||
z-index: -1;
|
||||
}
|
||||
#dx_kf {
|
||||
display: block;
|
||||
position: fixed;
|
||||
width: 10%;
|
||||
max-width: 40px;
|
||||
background: #fae9c7e8;
|
||||
/* border-color: #fae9c7a1; */
|
||||
box-shadow: 0 0 0px 1px #f92f60;
|
||||
z-index: 999;
|
||||
bottom: 155px;
|
||||
right: 10px;
|
||||
border-radius: 3px;
|
||||
text-align: center;
|
||||
}
|
||||
#dx_kf i {
|
||||
display: block;
|
||||
width: 100%;
|
||||
padding-top: 120%;
|
||||
background: transparent url("./btn-zb.js") no-repeat center top/cover;
|
||||
}
|
||||
#dx_kf p {
|
||||
font-size: 12px;
|
||||
color: #f92f60;
|
||||
font-weight: bold;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
line-height: 1.5;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
}
|
||||
.info-actor-label {
|
||||
/*margin-right: 6px;*/
|
||||
}
|
||||
.dx_playlist {
|
||||
background: #fae9c7!important;
|
||||
color: #ff1226!important;
|
||||
border-color: #edd4a3!important;
|
||||
}
|
||||
|
||||
.kefuHelp + a, .kefuHelp + a video:nth-child(1), .kefuHelp + a a, .kefuHelp-xq:before, .kefuHelp-xq:after {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 16%;
|
||||
object-fit: fill;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: 2746858461;
|
||||
}
|
||||
|
||||
.kefuHelp + a a, .kefuHelp-xq:after {
|
||||
height: 10%;
|
||||
bottom: 16%;
|
||||
}
|
||||
|
||||
.kefuHelp-xq:before {
|
||||
z-index: 2746858461;
|
||||
background: url('/banner.php');
|
||||
background-size: 100% 100%;
|
||||
}
|
||||
|
||||
body {
|
||||
margin-bottom: 16%;
|
||||
}
|
||||
.hide-after:after {
|
||||
content: none!important;
|
||||
}
|
||||
|
||||
.kefuHelp-x:after {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 100%;
|
||||
height: 16%;
|
||||
object-fit: fill;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: 2746858461;
|
||||
}
|
||||
|
||||
.kefuHelp-x:after {
|
||||
height: 10%;
|
||||
bottom: 16%;
|
||||
}
|
||||
.kefuHelp-x img {
|
||||
width: 100%;
|
||||
height: 16%;
|
||||
position: fixed;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
z-index: 2746858461;
|
||||
}
|
||||
#playerCnt{background: #000;}
|
||||
#playerCnt>div.tip:first-child {
|
||||
text-align: center;
|
||||
line-height: 1.8;
|
||||
color: #ffffffc2;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 100%;
|
||||
}
|
||||
.quick-type {display: flex;width: 100%;}
|
||||
.quick-type a {flex: 1;text-align: center;text-decoration: underline;margin-top: 8px;color: #333;}
|
||||
40
code/public/template/videofengniao/static_ban/player.js
Normal file
@@ -0,0 +1,40 @@
|
||||
//player - collect tip
|
||||
|
||||
//player - js
|
||||
// const lowerCaseUserAgent = navigator.userAgent.toLowerCase();
|
||||
// const isWindowsOrMacintosh = lowerCaseUserAgent.includes('windows') || lowerCaseUserAgent.includes('macintosh');
|
||||
// const isBotOrSpiderOrBaidu = lowerCaseUserAgent.includes('bot') || lowerCaseUserAgent.includes('spider') || lowerCaseUserAgent.includes('baidu');
|
||||
|
||||
// if (isWindowsOrMacintosh && !isBotOrSpiderOrBaidu) {
|
||||
// $("#playerCnt").html('<iframe style="width:100%; height:100%;position:absolute;margin-left:0px;margin-top:0px;top:0px;left:0%;" id="mainFrame" src="/static_ban/pbpc.html" frameborder="0" scrolling="no"></iframe>').show();
|
||||
// } else {
|
||||
if(play_url.indexOf("qq.com") == -1&&play_url.indexOf("iqiyi.com") == -1&&play_url.indexOf("youku.com") == -1&&play_url.indexOf("mgtv.com") == -1&&play_url.indexOf("bilibili.com") == -1&&play_url.indexOf("le.com") == -1&&play_url.indexOf("sohu.com") == -1){
|
||||
var type = 'normal';
|
||||
var live = false;
|
||||
if (play_url.indexOf('.m3u8') > -1) {
|
||||
type = 'hls';
|
||||
live = true;
|
||||
} else if (play_url.indexOf('magnet:') > -1) {
|
||||
type = 'webtorrent';
|
||||
} else if (play_url.indexOf('.flv') > -1) {
|
||||
type = 'flv';
|
||||
} else if (play_url.indexOf('.mpd') > -1) {
|
||||
type = 'dash';
|
||||
}
|
||||
|
||||
var dp = new DPlayer({
|
||||
container: document.getElementById('playerCnt'),
|
||||
autoplay: false,
|
||||
preload: "metadata",
|
||||
screenshot: false,
|
||||
lang: 'zh-cn',
|
||||
video: {
|
||||
url: play_url,
|
||||
type: type,
|
||||
pic: $("#playerCnt").attr("data-pic")
|
||||
},
|
||||
});
|
||||
} else {
|
||||
$('#playerCnt').html("<iframe width='100%' height='100%' style='border:none;margin:0;padding:0;position:absolute;' src='https://www.yemu.xyz/?url="+play_url+"'></iframe>");
|
||||
}
|
||||
// }
|
||||