46 lines
2.1 KiB
HTML
46 lines
2.1 KiB
HTML
|
|
<section class="{$TpStyle.dom_prefix}-recC-block">
|
|
<header class="{$TpStyle.dom_prefix}-recC-top">
|
|
<h2 class="{$TpStyle.dom_prefix}-recC-title">今日主打</h2>
|
|
<span class="{$TpStyle.dom_prefix}-recC-tip">为你挑选的一些好片</span>
|
|
</header>
|
|
|
|
<div class="{$TpStyle.dom_prefix}-recC-body">
|
|
{volist name="arrVideoRecommend" id="vo" offset="0" length="1"}
|
|
<div class="{$TpStyle.dom_prefix}-recC-main">
|
|
<a href="/detail/{$vo.v_id}.html" class="{$TpStyle.dom_prefix}-recC-mainLink">
|
|
<div class="{$TpStyle.dom_prefix}-recC-mainCover">
|
|
<img
|
|
loading="lazy"
|
|
src="{site:cfg code='PUBLIC_COVER_DOMAIN' encode='false'/}{$vo.v_pic}"
|
|
alt="{$vo.v_name}"
|
|
class="{$TpStyle.dom_prefix}-recC-mainImg"
|
|
>
|
|
<span class="{$TpStyle.dom_prefix}-recC-mainBadge">主推</span>
|
|
</div>
|
|
<div class="{$TpStyle.dom_prefix}-recC-mainText">
|
|
<h3 class="{$TpStyle.dom_prefix}-recC-mainName">{$vo.v_name}</h3>
|
|
{if !empty($vo.v_remarks)}
|
|
<p class="{$TpStyle.dom_prefix}-recC-mainRemark">{$vo.v_remarks}</p>
|
|
{/if}
|
|
</div>
|
|
</a>
|
|
</div>
|
|
{/volist}
|
|
|
|
<ul class="{$TpStyle.dom_prefix}-recC-side">
|
|
{volist name="arrVideoRecommend" id="vo" offset="1" length="6" key="k"}
|
|
<li class="{$TpStyle.dom_prefix}-recC-sideItem">
|
|
<a href="/detail/{$vo.v_id}.html" class="{$TpStyle.dom_prefix}-recC-sideLink">
|
|
<span class="{$TpStyle.dom_prefix}-recC-sideNo">{:sprintf('%02d',$k)}</span>
|
|
<span class="{$TpStyle.dom_prefix}-recC-sideName">{$vo.v_name}</span>
|
|
{if !empty($vo.v_remarks)}
|
|
<span class="{$TpStyle.dom_prefix}-recC-sideRemark">{$vo.v_remarks}</span>
|
|
{/if}
|
|
</a>
|
|
</li>
|
|
{/volist}
|
|
</ul>
|
|
</div>
|
|
</section>
|