refacotr: 视频
This commit is contained in:
@@ -20,8 +20,8 @@
|
||||
</div>
|
||||
<!-- tab切换 -->
|
||||
<div class="tab">
|
||||
{notempty name="categorys"}
|
||||
{volist name="categorys" id="ca"}
|
||||
{notempty name="attachment_categorys"}
|
||||
{volist name="attachment_categorys" id="ca"}
|
||||
<a href="{:url('attachment/index', ['id' => $ca.id])}">
|
||||
<div class="tabit">
|
||||
{$ca.name}
|
||||
@@ -33,57 +33,42 @@
|
||||
</div>
|
||||
<!-- VIDEO 切换 -->
|
||||
<div class="vidotabs">
|
||||
{notempty name="video_categorys"}
|
||||
<div class="hd">
|
||||
<ul>
|
||||
<li class="vli von">Data Storage</li>
|
||||
<li class="vli">Power Transmission</li>
|
||||
<li class="vli">Smart Life</li>
|
||||
<li class="vli">Accessories</li>
|
||||
{volist name="video_categorys" id="vca"}
|
||||
<li class="vli {eq name='vca.id' value='Request.get.id' }von{/eq}">
|
||||
<a href="{:url('attachment/video', ['id' => $vca.id])}" style="display: block;">{$vca.name}</a>
|
||||
</li>
|
||||
{/volist}
|
||||
</ul>
|
||||
</div>
|
||||
{/notempty}
|
||||
<!-- 视频内容 -->
|
||||
{notempty name="videos"}
|
||||
<div class="bdconten">
|
||||
<ul >
|
||||
<dl class="video_hotul">
|
||||
{volist name="videos" id="vo"}
|
||||
<dd>
|
||||
<div class="hot1">
|
||||
<video preload="none" controls="controls">
|
||||
<source src="/uploads/uk/video/entertainment/RP1 .mp4" type="video/mp4">
|
||||
<video poster="{$vo.image}" preload="none" controls="controls">
|
||||
<source src="{$vo.video}" type="video/mp4">
|
||||
</video>
|
||||
</div>
|
||||
<div class="htit">
|
||||
<div class="htit1">ORICO RP1 Headphones</div>
|
||||
<div class="htit2"> ORICO RP1 in-ear music headphones, skin-friendly and
|
||||
comfortable for long time wearing; black, white, red and blue, four
|
||||
colors for you to choose. ORICO 2169U3 full mesh 2.5 inch hard drive
|
||||
enclosure, all-round heat-dissipation; compatible with SATA HDD below
|
||||
9.5mm. </div>
|
||||
</div>
|
||||
</dd>
|
||||
<dd>
|
||||
<div class="hot1">
|
||||
<video preload="none" controls="controls">
|
||||
<source src="/uploads/uk/video/entertainment/BS16.mp4" type="video/mp4">
|
||||
</video>
|
||||
</div>
|
||||
<div class="htit">
|
||||
<div class="htit1">ORICO BS16 Bluetooth Speaker</div>
|
||||
<div class="htit2"> ORICO BS16 unique and delicate pocket Bluetooth speaker,
|
||||
bring you beautiful music; smaller size, unprecedented endurance. ORICO
|
||||
2169U3 full mesh 2.5 inch hard drive enclosure, all-round
|
||||
heat-dissipation; compatible with SATA HDD below 9.5mm. </div>
|
||||
<div class="htit1">{$vo.name}</div>
|
||||
<div class="htit2">{$vo.desc}</div>
|
||||
</div>
|
||||
</dd>
|
||||
{/volist}
|
||||
<div class="clear"></div>
|
||||
</dl>
|
||||
<div id="page39">
|
||||
<!-- 分页 s -->
|
||||
<!-- 分页 e -->
|
||||
</div>
|
||||
<div>{$page|raw}</div>
|
||||
</ul>
|
||||
</div>
|
||||
{/notempty}
|
||||
</div>
|
||||
<!-- 如果切换的是 Videos-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user