视图优化-排行榜展示点击量

This commit is contained in:
make
2025-07-05 17:02:58 +08:00
parent 6f2c4ae1b0
commit 76b0d5fa04
5 changed files with 24 additions and 4 deletions

View File

@@ -175,7 +175,7 @@ export_name="arrVideoPiaofang" /}
<div class="a0c205 lvshicms-panel_bd"> <div class="a0c205 lvshicms-panel_bd">
<ul class="f39a35 lvshicms-vodlist__text col-pd clearfix"> <ul class="f39a35 lvshicms-vodlist__text col-pd clearfix">
{foreach $arrVideoPiaofang as $key=>$Video } {foreach $arrVideoPiaofang as $key=>$Video }
{include file="public/video-list-phb" start="27" /} {include file="public/video-list-phb-pf" start="27" /}
{/foreach} {/foreach}
</ul> </ul>
</div> </div>

View File

@@ -0,0 +1,21 @@
<li>
{if !empty($arrGrm[$key + [start]])}
{$arrGrm[$key+[start]]|raw}
{/if}
<?php $key ++ ?>
<a class="ae5cfc text-overflow" href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'
title="{$Video.v_name}">
<span class='c4df4f pull-right text-muted visible-lg '>
{$Video.v_box_office ?? 0}
</span>
<span class='dd3e38 badge
{eq name="$key" value="1"}badge-first {/eq}
{eq name="$key" value="2"}badge-second {/eq}
{eq name="$key" value="3"}badge-third {/eq}'>
{$key}
</span>
{$Video.v_name}
</a>
</li>

View File

@@ -8,7 +8,7 @@
<a class="ae5cfc text-overflow" href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}' <a class="ae5cfc text-overflow" href='{site:vurl v_id="$Video.v_id" v_py="$Video.v_name_en"/}'
title="{$Video.v_name}"> title="{$Video.v_name}">
<span class='c4df4f pull-right text-muted visible-lg '> <span class='c4df4f pull-right text-muted visible-lg '>
{$Video.v_box_office ?? 0} {$Video.vc_clicks ?? 0}
</span> </span>
<span class='dd3e38 badge <span class='dd3e38 badge
{eq name="$key" value="1"}badge-first {/eq} {eq name="$key" value="1"}badge-first {/eq}

View File

@@ -3,7 +3,7 @@
<li> <li>
<?php $key ++ ?> <?php $key ++ ?>
<i>{$key}</i> <i>{$key}</i>
<span class="eed7e3 text-color pull-right">{$Video.v_box_office ?? 0}</span> <span class="eed7e3 text-color pull-right">{$Video.vc_clicks ?? 0}</span>
{if !empty($arrGrm[$key + [start]])} {if !empty($arrGrm[$key + [start]])}
{$arrGrm[$key+[start]]|raw} {$arrGrm[$key+[start]]|raw}
{/if} {/if}

View File

@@ -61,7 +61,6 @@
{include file="public/video-list-phb" start="80"/} {include file="public/video-list-phb" start="80"/}
{/video:ranklist} {/video:ranklist}
</ul> </ul>
</div> </div>
<div class="c5fe5e col-md-wide-75 col-xs-1 p-xs-0 "> <div class="c5fe5e col-md-wide-75 col-xs-1 p-xs-0 ">