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>
|
||||
95
app/usmobile/view/video/lists.online.phtml
Executable file
95
app/usmobile/view/video/lists.online.phtml
Executable file
@@ -0,0 +1,95 @@
|
||||
<!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>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="content">
|
||||
<!--头部-->
|
||||
{include file="include/top-white" /}
|
||||
<!--banner-->
|
||||
<div class="banner img-responsive">
|
||||
<img src="__PUBLIC__/m_web/images/video/video-banner.jpg">
|
||||
</div>
|
||||
<!--视频分类列表-->
|
||||
<div class="m_Container video_Category img-responsive overflow-h">
|
||||
<ul>
|
||||
<li>
|
||||
<img src="__PUBLIC__/m_web/images/video/video-Computer.jpg">
|
||||
<p>电脑周边</p>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/m_web/images/video/video-Phone.jpg">
|
||||
<p>手机周边</p>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/m_web/images/video/video-Electronics.jpg">
|
||||
<p>电子电工</p>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/m_web/images/video/video-Entertainment.jpg">
|
||||
<p>影音娱乐</p>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/m_web/images/video/video-PersonalCare.jpg">
|
||||
<p>个人护理</p>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/m_web/images/video/video-Life.jpg">
|
||||
<p>生活周边</p>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/m_web/images/video/video-Gaming.jpg">
|
||||
<p>高端游戏</p>
|
||||
</li>
|
||||
<li>
|
||||
<img src="__PUBLIC__/m_web/images/video/video-Other.jpg">
|
||||
<p>其他</p>
|
||||
</li>
|
||||
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<!--热门视频-->
|
||||
<div class="m_Container">
|
||||
<div class="title text_center title_margin-top">热门视频</div>
|
||||
<div class="video_hot subtitle_margin-top">
|
||||
<ul>
|
||||
<li>
|
||||
<video controls poster="__PUBLIC__/m_web/images/video/video-hot01.jpg">
|
||||
<source src="__PUBLIC__/m_web/images/video/video-hot01.mp4" type="video/mp4" />
|
||||
您的浏览器不支持 video 标签。
|
||||
Your browser does not support HTML5 video.
|
||||
</video>
|
||||
<span class="title text_center margin-top-30">ORICO海外代理商大会-工艺宣传片</span>
|
||||
<span class="des_text text_center">精湛的技艺,完善的生产体系,只是ORICO的一部分,在工艺宣传视频中,我们将带领大家走进工厂,走进细节,传递安心···</span>
|
||||
</li>
|
||||
<li>
|
||||
<video controls poster="__PUBLIC__/m_web/images/video/video-hot02.jpg">
|
||||
<source src="__PUBLIC__/m_web/images/video/video-hot02.mp4" type="video/mp4" />
|
||||
您的浏览器不支持 video 标签。
|
||||
Your browser does not support HTML5 video.
|
||||
</video>
|
||||
<span class="title text_center margin-top-30">ORICO海外代理商大会-品牌升级宣传视频</span>
|
||||
<span class="des_text text_center">在ORICO海外代理商大会-品牌升级宣传视频中,我们运用品牌新的VI元素概念和部分具有代表性的产品镜头快切,带领大家领略一个全新的ORICO,点到线,线到面,我们不断的汇集改变;</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--底部文件-->
|
||||
{include file="include/bottom" /}
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
69
app/usmobile/view/video/lists.phtml
Executable file
69
app/usmobile/view/video/lists.phtml
Executable file
@@ -0,0 +1,69 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Video</title>
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="content">
|
||||
<!--头部-->
|
||||
{include file="include/top" /}
|
||||
<!--banner-->
|
||||
<div class="banner img-responsive">
|
||||
<img src="__PUBLIC__/m_web/images/video/video-banner.jpg">
|
||||
</div>
|
||||
<!--视频分类列表-->
|
||||
<?php if (!empty($videoCategory)): ?>
|
||||
<div class="m_Container video_Category img-responsive overflow-h margin-top-10">
|
||||
<div class="list_two">
|
||||
<ul>
|
||||
<?php foreach ($videoCategory as $key => $value): ?>
|
||||
<li>
|
||||
<a href="__ORICOROOT__/video/catelists/id/<?php echo $value['id']; ?>">
|
||||
<img src="<?php echo getImage($value['m_bg']); ?>">
|
||||
<p><?php echo $value['name']; ?></p>
|
||||
</a>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<!--热门视频-->
|
||||
<div class="m_Container">
|
||||
<div class="title text_center title_margin-top">Hot Video</div>
|
||||
<?php $hot_video = getDifferentVideo('ishot', 2); ?>
|
||||
<?php if ($hot_video): ?>
|
||||
<div class="video_hot subtitle_margin-top">
|
||||
<ul>
|
||||
<?php foreach ($hot_video 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"><?php echo $value['name']; ?></span>
|
||||
<span class="des_text text_center"><?php echo $value['description']; ?></span>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
</ul>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<!--底部文件-->
|
||||
{include file="include/bottom" /}
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user