init
This commit is contained in:
85
app/usmobile/view/video/catelists.phtml
Executable file
85
app/usmobile/view/video/catelists.phtml
Executable file
@@ -0,0 +1,85 @@
|
||||
<!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>
|
||||
Reference in New Issue
Block a user