This commit is contained in:
make
2025-05-11 13:51:57 +08:00
parent dcde3b826c
commit e6ac75cda1
31 changed files with 1580 additions and 1459 deletions

View File

@@ -249,31 +249,39 @@
<div class="f611b9 box-title"> <span class="d56ee0 title-lb"></span>
<h2>播放列表</h2>
</div>
<?php $intStart = 29 ;?>
{foreach $arrVideo.v_play_url as $strPlayGroupName=>$arrPlayUrlType }
<?php $intStart + 10 ;?>
<div class="b0484f details-play-title clearfix playlist-slide">
<ul class="afde5f details-play-nav clearfix">
<li class="ed860e play-list-toggle"><a class="d6ceac gico wjm3u8">{$strPlayGroupName}</a></li>
<?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">
<ul class="a398d0 play-list fade-in clearfix">
<?php $intKey = 1 ;?>
<?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 $intKey ++ ;?>
<li class="aa7fdb col-lg-8 col-md-6 col-sm-5 col-xs-4 p-xs-5 ewave-width-auto"
<?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%;">
{if !empty($arrGrm[$intKey + $intStart])}
{$arrGrm[$intKey+$intStart]|raw}
{/if}
<a href='{site:vpurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" play_type="$strPlayGroupName" play_index="$i" /}'>{$arrPlayUrl.name}</a>
<a
href='{site:vpurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" play_type="$strPlayGroupName" play_index="$keyLine" /}'>{$arrPlayUrl.name}</a>
</li>
{/volist}
</ul>
{/foreach}
</div>
{/foreach}
</div>

View File

@@ -239,32 +239,38 @@
<div class="cfff79 box-title"> <span class="c51a40 title-lb"></span>
<h2>播放列表</h2>
</div>
<?php $intStart = 29 ;?>
{foreach $arrVideo.v_play_url as $strPlayGroupName=>$arrPlayUrlType }
<?php $intStart + 10 ;?>
<div class="b0484f details-play-title clearfix playlist-slide">
<ul class="afde5f details-play-nav clearfix">
<li class="ed860e play-list-toggle"><a class="d6ceac gico wjm3u8">{$strPlayGroupName}</a></li>
<?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">
<ul class="a398d0 play-list fade-in clearfix">
<?php $intKey = 1 ;?>
<?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="$keyLineGroup" value="1"}active {/eq}' id="playlist_{$strPlayGroupName}">
<?php $keyLine = 1 ;?>
{volist name='$arrPlayUrlType' id='arrPlayUrl'}
<?php $intKey ++ ;?>
<li class="aa7fdb col-lg-8 col-md-6 col-sm-5 col-xs-4 p-xs-5 ewave-width-auto"
<?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%;">
{if !empty($arrGrm[$intKey + $intStart])}
{$arrGrm[$intKey+$intStart]|raw}
{/if}
<a
href='{site:vpurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" play_type="$strPlayGroupName" play_index="$i" /}'>{$arrPlayUrl.name}</a>
href='{site:vpurl v_id="$arrVideo.v_id" v_py="$arrVideo.v_name_en" play_type="$strPlayGroupName" play_index="$keyLine" /}'>{$arrPlayUrl.name}</a>
</li>
{/volist}
</ul>
{/foreach}
</div>
{/foreach}
</div>
<div class="e46d16 pannel-box clearfix">
<div class="d12a41 box-title"> <span class="b30c2f title-lb"></span>
@@ -330,7 +336,7 @@
document.addEventListener('DOMContentLoaded', function () {
const trigger = document.querySelector('.check-desc-btn');
const trigger = document.querySelector('.check-desc-btn');
trigger.addEventListener('click', function () {
const parent = trigger.closest('.lvshicms-vodlist__box') || trigger.parentElement;
@@ -346,7 +352,7 @@
}
});
});
});
</script>
{/block}