debug
This commit is contained in:
@@ -133,171 +133,164 @@
|
||||
|
||||
{block name="main"}
|
||||
|
||||
|
||||
|
||||
<div class="a971eb lvshicms-container-bg detail-info-box" style="margin-top:-20px;">
|
||||
|
||||
|
||||
<div class="f969ad container">
|
||||
<h1 class="view-title">
|
||||
{site:replace code="VIDEO@GETVIDEOINFO@H1" diff="$arrVideo.v_id"}
|
||||
</h1>
|
||||
<h4 class="view-description">{site:replace code="VIDEO@GETVIDEOINFO@TEXT" diff="$arrVideo.v_id"}</h4>
|
||||
|
||||
<nav class="breadcrumb" aria-label="breadcrumb">
|
||||
<ol itemscope itemtype="https://schema.org/BreadcrumbList">
|
||||
<li style="margin-right:10px"><label><i class="baf725 fa fa-map-marker"></i></label></li>
|
||||
|
||||
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||||
<a href="/" itemprop="item">
|
||||
<span itemprop="name">首页</span>
|
||||
</a>
|
||||
<meta itemprop="position" content="1" />
|
||||
</li>
|
||||
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||||
<a href='{site:vciurl parent_category="$arrVideo.v_parent_category_en" /}' itemprop="item">
|
||||
<span itemprop="name">{$arrVideo.v_parent_category}</span>
|
||||
</a>
|
||||
<meta itemprop="position" content="2" />
|
||||
</li>
|
||||
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||||
<a href='{site:vclurl parent_category="$arrVideo.v_parent_category_en" category="$arrVideo.v_parent_category_en" area="all" lang="all" year="all" order="all" page="1"/}'
|
||||
itemprop="item">
|
||||
<span itemprop="name">{$arrVideo.v_category}</span>
|
||||
</a>
|
||||
<meta itemprop="position" content="3" />
|
||||
</li>
|
||||
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||||
<a href='{site:vurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en"/}'
|
||||
itemprop="item">
|
||||
<span itemprop="name">{$arrVideo.v_name}</span>
|
||||
</a>
|
||||
<meta itemprop="position" content="4" />
|
||||
</li>
|
||||
</ol>
|
||||
</nav>
|
||||
|
||||
|
||||
<div class="fc40de row">
|
||||
<div class="f147ce lvshicms-panel margin-0 clearfix">
|
||||
<div class="a193f5 lvshicms-panel-box clearfix">
|
||||
<div class="dea615 col-xs-1 detail-box">
|
||||
<div class="b97972 lvshicms-content__thumb">
|
||||
<a class="f2880b lvshicms-vodlist__thumb video-info-lvshicms-vodlist__thumb picture" href="/product/90860-1-1.html"
|
||||
title="{$arrVideo.v_name}">
|
||||
<img class="f20604 lazyload" src="{$arrVideo.v_pic}">
|
||||
<span class="c5512d detail-icon play"></span>
|
||||
<span class="a555ce pic-text text-right">已完结</span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="eecb94 lvshicms-content__detail">
|
||||
<h1 class="edfc9f title">{$arrVideo.v_name}</h1>
|
||||
<p class="fe7a76 data"><span class="dcb052 text-muted">主演:</span>
|
||||
{volist name='$arrVideo.v_actor' id='vo' key='index'}
|
||||
<a href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a>
|
||||
|
||||
{/volist}
|
||||
</p>
|
||||
<p class="d53452 data"><span class="a0dae5 text-muted">导演:</span>
|
||||
{volist name='$arrVideo.v_director' id='vo' key='index'}
|
||||
<a href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a>
|
||||
|
||||
{/volist}
|
||||
</p>
|
||||
<p class="bb52e4 data">
|
||||
<span class="ed25a2 text-muted">分类:</span>
|
||||
<a
|
||||
href='{site:vsurl key="$arrVideo.v_parent_category" p="1"/}'>{$arrVideo.v_parent_category}</a>
|
||||
</p>
|
||||
<p class="bb52e4 data">
|
||||
<span class="ed25a2 text-muted">类型:</span>
|
||||
<a href='{site:vsurl key="$arrVideo.v_category" p="1"/}'>{$arrVideo.v_category}</a>
|
||||
</p>
|
||||
<p class="d994f6 data">
|
||||
<span class="d8c8c2 text-muted">地区:</span>
|
||||
{volist name='$arrVideo.v_area' id='vo' key='index'}
|
||||
<a href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a>
|
||||
|
||||
{/volist}
|
||||
</p>
|
||||
<p class="e027e7 data"><span class="ca5df1 text-muted">更新:</span>{$arrVideo.v_publish_date}
|
||||
</p>
|
||||
|
||||
<div class="ca86f6 detail-info-btn">
|
||||
<li>
|
||||
<a class="c82c25 btn btn-warm"
|
||||
href='{site:vpurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" play_type="default" play_index="1" /}'>
|
||||
<i class="b6a199 fa fa-play"></i>
|
||||
立即播放
|
||||
</a>
|
||||
</li>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="d3dea8 container">
|
||||
<div class="bcf409 layout-box top-weizhi mb-xs-10 hidden-sm hidden-xs">
|
||||
<nav class="breadcrumb" aria-label="breadcrumb">
|
||||
<ol itemscope itemtype="https://schema.org/BreadcrumbList">
|
||||
<li style="margin-right:10px"><label><i class="baf725 fa fa-map-marker"></i></label></li>
|
||||
|
||||
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||||
<a href="/" itemprop="item">
|
||||
<span itemprop="name">首页</span>
|
||||
</a>
|
||||
<meta itemprop="position" content="1" />
|
||||
</li>
|
||||
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||||
<a href='{site:vciurl parent_category="$arrVideo.v_parent_category_en" /}' itemprop="item">
|
||||
<span itemprop="name">{$arrVideo.v_parent_category}</span>
|
||||
</a>
|
||||
<meta itemprop="position" content="2" />
|
||||
</li>
|
||||
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||||
<a href='{site:vclurl parent_category="$arrVideo.v_parent_category_en" category="$arrVideo.v_parent_category_en" area="all" lang="all" year="all" order="all" page="1"/}'
|
||||
itemprop="item">
|
||||
<span itemprop="name">{$arrVideo.v_category}</span>
|
||||
</a>
|
||||
<meta itemprop="position" content="3" />
|
||||
</li>
|
||||
<li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
||||
<a href='{site:vurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en"/}'
|
||||
itemprop="item">
|
||||
<span itemprop="name">{$arrVideo.v_name}</span>
|
||||
</a>
|
||||
<meta itemprop="position" content="4" />
|
||||
</li>
|
||||
</ol>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="b949ce container">
|
||||
<div class="d4cf89 row">
|
||||
<div class="f608c5 col-xs-1 col-md-wide-75">
|
||||
{foreach $arrVideo.v_play_url as $strPlayGroupName=>$arrPlayUrlType }
|
||||
<div class="cfd65a lvshicms-panel lvshicms-panel-bg clearfix">
|
||||
<div class="b3a7e3 lvshicms-panel-box clearfix">
|
||||
<div class="e8c33d lvshicms-panel_hd">
|
||||
<div class="f238a4 lvshicms-panel__head bottom-line active clearfix">
|
||||
<div class="a65698 container clearfix static">
|
||||
|
||||
<h3 class="d82c55 title"> {$strPlayGroupName} </h3>
|
||||
<span class="ace011 more text-muted"></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="af83ff lvshicms-panel_bd clearfix">
|
||||
<ul class="ec7fc4 lvshicms-content__list sort-list clearfix">
|
||||
{volist name='$arrPlayUrlType' id='arrPlayUrl'}
|
||||
<li class="fe7195 col-lg-6 col-md-5 col-sm-4 col-xs-3">
|
||||
<a class="bd8e2d btn btn-default"
|
||||
href='{site:vpurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" play_type="$strPlayGroupName" play_index="$i" /}'>{$arrPlayUrl.name}
|
||||
</a>
|
||||
</li>
|
||||
<h1 class="view-title">
|
||||
{site:replace code="VIDEO@GETVIDEOINFO@H1" diff="$arrVideo.v_id"}
|
||||
</h1>
|
||||
<h4 class="view-description">{site:replace code="VIDEO@GETVIDEOINFO@TEXT" diff="$arrVideo.v_id"}</h4>
|
||||
|
||||
<div class="a31376 row static">
|
||||
<div class="c47acd col-md-wide-75 pt-xs-0 pr-xs-5 clearfix main-left static">
|
||||
<div class="c876e8 pannel-box p-xs-10 clearfix detail-info-box">
|
||||
<div class="cab11a vod-detail-pic col-md-wide-25 col-xs-wide-35 p-xs-0">
|
||||
<a class="ba572d vod-detail-thumb lazyload-bg" href='{site:vurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en"/}'
|
||||
data-src="{$arrVideo.v_pic}"
|
||||
style="background-image: url("{$arrVideo.v_pic}");">
|
||||
<span class="b76b48 b-play"></span>
|
||||
</a>
|
||||
</div>
|
||||
<div class="d4efa2 col-md-wide-75 col-xs-wide-65 vod-detail-info pt-xs-0 pb-xs-0">
|
||||
<ul class="a85bd5 img-list clearfix">
|
||||
<li class="a336bf col-xs-1">
|
||||
<h2>{$arrVideo.v_name}</h2>
|
||||
</li>
|
||||
<li class="f84af4 col-md-1 txt-hidden one">
|
||||
<span class="aa48a0 text-ccc">主演:</span>
|
||||
{volist name='$arrVideo.v_actor' id='vo' key='index'}
|
||||
<a href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a>
|
||||
|
||||
{/volist}
|
||||
</ul>
|
||||
</li>
|
||||
<li class="ad2714 col-xs-1">
|
||||
<span class="d00822 text-ccc">导演:</span>
|
||||
{volist name='$arrVideo.v_director' id='vo' key='index'}
|
||||
<a href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a>
|
||||
|
||||
{/volist}
|
||||
</li>
|
||||
<li class="cfcbda col-xs-1 text-overflow">
|
||||
<span class="d99311 text-ccc">类型:</span>
|
||||
<a href='{site:vciurl parent_category="$arrVideo.v_parent_category" /}'>{$arrVideo.v_parent_category}</a>
|
||||
</li>
|
||||
<li class="ea7d24 col-xs-1">
|
||||
<span class="ec29ec text-ccc">提醒:</span>
|
||||
<span style="color: #5ab46a;">{$arrVideo.v_remarks}</span>
|
||||
</li>
|
||||
<li class="e6fae1 col-xs-1">
|
||||
<span class="ba33b1 text-ccc">对白:</span>
|
||||
{volist name='$arrVideo.v_lang' id='vo' key='index'}
|
||||
<a href='{site:vsurl key="$vo" p="1"/}'>{$vo}</a>
|
||||
|
||||
{/volist}
|
||||
</li>
|
||||
<li class="eaec77 col-xs-1">
|
||||
<span class="bcfccd text-ccc">更新:</span>
|
||||
{$arrVideo.v_publish_date}
|
||||
</li>
|
||||
</ul>
|
||||
<div class="bf9ad1 detail-play-btn-box">
|
||||
<a class="ff37cc detail-play-btn" href='{site:vpurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" play_type="default" play_index="1" /}'>
|
||||
立即播放
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
|
||||
<div class="fbb509 lvshicms-panel lvshicms-panel-bg clearfix">
|
||||
<div class="de59fa lvshicms-panel-box clearfix">
|
||||
<div class="c42a28 lvshicms-panel_hd">
|
||||
<div class="bb7fba lvshicms-panel__head clearfix">
|
||||
<h3 class="f3d3f6 title">剧情介绍</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="f42eb6 lvshicms-panel_bd">
|
||||
<ul class="fee9ad lvshicms-vod-content col-pd clearfix">
|
||||
<li class="ba9e50 col-pd">
|
||||
<div class="d154e9 shrink-box shrinked">
|
||||
<div class="acf872 shrink-text">
|
||||
{$arrVideo.v_description|raw}</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="ecd28f pannel-box clearfix">
|
||||
<div class="c83885 box-title"> <span class="a9af85 title-lb"></span>
|
||||
<h2>剧情介绍</h2>
|
||||
</div>
|
||||
<div class="e43487 col-md-1 col-sm-1 col-xs-1 detail-info">
|
||||
<p class="cf2b48 txt-hidden one pointer v-description-centent">{$arrVideo.v_description|raw}</p>
|
||||
<div class="eecdf1 text-center text-ccc slidedown pointer check-desc-btn" id="check-desc-btn"><span
|
||||
class="fb1305 iconfont icon-down"></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="d6c745 pannel-box clearfix">
|
||||
<div class="f611b9 box-title"> <span class="d56ee0 title-lb"></span>
|
||||
<h2>播放列表</h2>
|
||||
</div>
|
||||
|
||||
<div class="b0484f details-play-title clearfix playlist-slide">
|
||||
<ul class="afde5f details-play-nav clearfix">
|
||||
<?php $keyLineGroup = 0;?>
|
||||
{foreach $arrVideo.v_play_url as $strPlayGroupName=>$arrPlayUrlType }
|
||||
<?php $keyLineGroup ++ ;?>
|
||||
<li class='ed860e play-list-toggle play-group-head {eq name="$keyLineGroup" value="1"}active {/eq}'
|
||||
id="line_head_{$strPlayGroupName}" onclick="checkLine('{$strPlayGroupName}')"
|
||||
>
|
||||
<a class="d6ceac gico wjm3u8">{$strPlayGroupName}</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="d0d414 details-play-list clearfix p-sm-5 p-xs-5 tab-content">
|
||||
<?php $keyLineGroup = 0;?>
|
||||
{foreach $arrVideo.v_play_url as $strPlayGroupName=>$arrPlayUrlType }
|
||||
<?php $keyLineGroup ++ ;?>
|
||||
<ul class='a398d0 play-list fade-in clearfix play-group-list {eq name="$keyLine" value="1"}active {/eq}' id="playlist_{$strPlayGroupName}">
|
||||
<?php $keyLine = 1 ;?>
|
||||
{volist name='$arrPlayUrlType' id='arrPlayUrl'}
|
||||
<?php $keyLine ++ ;?>
|
||||
<li class="aa7fdb col-lg-8 col-md-6 col-sm-5 col-xs-4 p-xs-5 ewave-width-auto {if $keyLine == $Request.route.intPlayIndex}active{/if}"
|
||||
style="width:auto;max-width:100%;">
|
||||
<a
|
||||
href='{site:vpurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" play_type="$strPlayGroupName" play_index="$keyLine" /}'>{$arrPlayUrl.name}</a>
|
||||
|
||||
<div class="cf2f0c lvshicms-panel lvshicms-panel-bg clearfix">
|
||||
<div class="c47e1e lvshicms-panel-box clearfix">
|
||||
<div class="e83124 lvshicms-panel_hd">
|
||||
<div class="afb3ca lvshicms-panel__head bottom-line active clearfix">
|
||||
<h3 class="d3b7c4 title">同类型</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="d5b99f lvshicms-panel_bd">
|
||||
<ul class="bc7e71 lvshicms-vodlist__bd clearfix">
|
||||
{video:list count="12"
|
||||
</li>
|
||||
{/volist}
|
||||
</ul>
|
||||
{/foreach}
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="a9d500 pannel-box clearfix">
|
||||
<div class="f88e08 box-title"> <span class="f79d7f title-lb"></span>
|
||||
<h2>同类型</h2>
|
||||
</div>
|
||||
<ul class="b58cd4 img-list clearfix">
|
||||
{video:list count="10"
|
||||
v_category_en="$arrVideo.v_category_en"
|
||||
v_lang_en="all"
|
||||
v_area_en="all"
|
||||
@@ -305,64 +298,33 @@
|
||||
sort_type="news"
|
||||
d_key="d_key" d_val="Video" cache_life="86400"}
|
||||
|
||||
{include file="public/video-list-shu" start="0" col-lg="4"/}
|
||||
{include file="public/video-list-shu" start="0" col-md="5"/}
|
||||
{/video:list}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="d6bc14 lvshicms-panel lvshicms-panel-bg clearfix">
|
||||
<div class="e81862 lvshicms-panel-box clearfix">
|
||||
<div class="fcdb67 lvshicms-panel_hd">
|
||||
<div class="b6114e lvshicms-panel__head bottom-line active clearfix">
|
||||
<h3 class="ae5ab2 title">猜你喜欢</h3>
|
||||
<span class="fdf3d7 text-muted more pull-right"><a rel="nofollow" href="/case/tv.html">更多 <i
|
||||
class="f36af8 fa fa-angle-right"></i></a></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="b29ef1 lvshicms-panel_bd">
|
||||
<ul class="d95dd8 lvshicms-vodlist__bd clearfix">
|
||||
{video:list count="12"
|
||||
v_category_en="$arrVideo.v_category_en"
|
||||
v_lang_en="all"
|
||||
v_area_en="all"
|
||||
v_year="all"
|
||||
sort_type="news"
|
||||
d_key="d_key" d_val="Video" cache_life="86400"}
|
||||
|
||||
{include file="public/video-list-shu" start="0" col-lg="4"/}
|
||||
{/video:list}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="e1d6ee hidden-xs hidden-sm col-md-wide-25">
|
||||
<div class="cad2e9 lvshicms-panel lvshicms-panel-bg clearfix">
|
||||
<div class="c161d4 lvshicms-panel-box clearfix">
|
||||
<div class="b068f7 lvshicms-panel_hd">
|
||||
<div class="cb5cbd lvshicms-panel__head bottom-line active clearfix">
|
||||
<h3 class="b12e07 title">热播{$arrVideo.v_parent_category}</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="cf4a36 lvshicms-panel_bd clearfix">
|
||||
<ul class="f9a6ab lvshicms-vodlist__text col-pd clearfix">
|
||||
{video:ranklist count="18"
|
||||
<div class="ef7d26 col-md-wide-25 pt-xs-0 clearfix main-right hidden-sm hidden-xs ewave-sticky"
|
||||
style="top:-50px;">
|
||||
<div class="c5c45c pannel-box clearfix" style="margin-top:10px;">
|
||||
<div class="ac3e46 box-title "><span class="d93c76 iconfont icon-remen"></span>
|
||||
<h2>热播推荐</h2>
|
||||
</div>
|
||||
<ul class="d1fd25 txt-list txt-list-hot p-xs-0">
|
||||
{video:ranklist count="18"
|
||||
v_parent_category_en="$arrVideo.v_parent_category_en"
|
||||
sort_type="weekly"
|
||||
d_key="key" d_val="Video" cache_life="86400"}
|
||||
{include file="public/video-list-phb" start="25"/}
|
||||
{include file="public/video-list-phb" start="11"/}
|
||||
{/video:ranklist}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
const strVideoId = `{$arrVideo.v_id}`;
|
||||
@@ -378,6 +340,25 @@
|
||||
'v_year': `{$arrVideo['v_year']}`,
|
||||
|
||||
};
|
||||
|
||||
document.addEventListener('DOMContentLoaded', function () {
|
||||
const trigger = document.querySelector('.check-desc-btn');
|
||||
|
||||
trigger.addEventListener('click', function () {
|
||||
const parent = trigger.closest('.lvshicms-vodlist__box') || trigger.parentElement;
|
||||
const description = parent.querySelector('p.v-description-centent');
|
||||
if (description) {
|
||||
description.classList.toggle('txt-hidden');
|
||||
const icon = trigger.querySelector('.iconfont');
|
||||
if (icon) {
|
||||
icon.classList.toggle('icon-down');
|
||||
icon.classList.toggle('icon-up');
|
||||
}
|
||||
trigger.setAttribute('aria-expanded', !description.classList.contains('txt-hidden'));
|
||||
}
|
||||
});
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
{/block}
|
||||
|
||||
Reference in New Issue
Block a user