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

85 lines
2.7 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-seo" /}
{include file="include/head" /}
<script type="text/javascript">
var navID = "1";
</script>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/m_weben/css/subject/video.css">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/montserrat.css">
<script type="text/javascript" src="https://cdn.bootcss.com/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/m_weben/js/scroll/flexible.js"></script>
<script type="text/javascript" src="__PUBLIC__/m_weben/js/scroll/iscroll.js"></script>
<script type="text/javascript" src="__PUBLIC__/m_weben/js/scroll/navbarscroll.js"></script>
</head>
<body>
<div id="content">
<!--头部-->
{include file="include/top" /}
<!--banner-->
<!--banner-->
<div class="banner img-responsives margin-top-90">
<img src="__PUBLIC__/m_weben/images/video/video-banner.png">
<div class="banner_title">Software and Drivers</div>
</div>
<!--视频分类列表-->
<?php
if (!empty($videoCategory)): ?>
<div class="video_content" id="video_category">
<div class="scroller">
<ul class="clearfix">
<?php foreach ($videoCategory as $key => $value): ?>
<li class="<?php if($value['id'] == $category['id']):?>video_on <?php endif; ?>">
<a href="__ORICOROOT__/video/catelists/id/<?php echo $value['id']; ?>">
<?php echo $value['name']; ?></a>
</li>
<?php endforeach; ?>
</ul>
</div>
</div>
<?php endif; ?>
<!--视频播放-->
<?php if (!empty($list)): ?>
<div class="content">
<?php foreach ($list as $key => $value): ?>
<div class="video">
<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>
<div class="text">
<div class="title"><?php echo $value['name']; ?></div>
<div class="des"><?php echo $value['description']; ?></div>
</div>
</div>
<?php endforeach; ?>
</div>
<?php endif; ?>
<!--底部文件-->
{include file="include/bottom" /}
</div>
<script type="text/javascript">
$(function() {
//demo示例一到四 通过lass调取一句可以搞定用于页面中可能有多个导航的情况
$('#video_category').navbarscroll();
});
</script>
<!-- bottom s -->
<!-- bottom e -->
</body>
</html>