Files
orico-official-website-old/app/mobile/view/video/catelists.phtml
2024-10-29 14:04:59 +08:00

78 lines
2.3 KiB
PHTML
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
{include file="include/head" /}
<script type="text/javascript">
var navID = "1";
</script>
</head>
<body>
<!--top-->
<div id="content">
<!--头部-->
{include file="include/top" /}
<!--banner-->
<div class="banner img-responsive margin-top-90">
<img src="__PUBLIC__/m_web/images/video/video-banner.jpg">
</div>
<!--视频分类列表-->
<?php if (!empty($videoCategory)): ?>
<div class="video_category" id="video_category">
<div class="scroller">
<ul class="clearfix">
<?php foreach ($videoCategory as $key => $value): ?>
<li>
<a href="__ORICOROOT__/video/catelists/id/<?php echo $value['id']; ?>">
<div class="category_list">
<img src="<?php echo getImage($value['m_icon']); ?>">
<p><?php echo $value['name']; ?></p>
</div>
</a>
</li>
<?php endforeach; ?>
</ul>
</div>
</div>
<?php endif; ?>
<!--热门视频-->
<?php if (!empty($list)): ?>
<div class="m_Container">
<div class="video_hot subtitle_margin-top">
<ul>
<?php foreach ($list as $key => $value): ?>
<li>
<video controls poster="<?php echo getImage($value['picture']); ?>">
<source src="<?php echo $value['videopath'];?>" type="video/mp4" />
您的浏览器不支持 video 标签。
Your browser does not support HTML5 video.
</video>
<span class="title text_center margin-top-30"><strong><?php echo $value['name']; ?></strong></span>
<span class="des_text text_center"><?php echo $value['description']; ?></span>
</li>
<?php endforeach; ?>
</ul>
</div>
</div>
<?php endif; ?>
<!--底部文件-->
{include file="include/bottom" /}
</div>
<script type="text/javascript" src="js/scroll/iscroll.js"></script>
<script type="text/javascript" src="js/scroll/navbarscroll.js"></script>
<script type="text/javascript">
$(function(){
//demo示例一到四 通过lass调取一句可以搞定用于页面中可能有多个导航的情况
$('.video_category').navbarscroll();
});
</script>
<!-- bottom s -->
<!-- bottom e -->
</body>
</html>