init
This commit is contained in:
67
app/usmobile/view/product/new.phtml
Executable file
67
app/usmobile/view/product/new.phtml
Executable file
@@ -0,0 +1,67 @@
|
||||
<!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" /}
|
||||
|
||||
<!--banner-->
|
||||
{include file="include/newbanner" /}
|
||||
|
||||
<!-- <div class="banner img-responsives">
|
||||
<img src="__PUBLIC__/m_web/images/computer/computer_banner.jpg">
|
||||
</div> -->
|
||||
|
||||
<!--产品列表-->
|
||||
|
||||
<?php
|
||||
if (!empty($newProduct)):
|
||||
foreach ($newProduct as $key => $value): ?>
|
||||
<div class="m_Container">
|
||||
<div class="product_list_title">
|
||||
<div class="product_title"><?php echo $value['category_name']; ?></div>
|
||||
</div>
|
||||
<div class="product_list">
|
||||
<ul>
|
||||
<?php $products = $value['list']; ?>
|
||||
|
||||
<?php if ($products): ?>
|
||||
<?php foreach ($products as $v): ?>
|
||||
<li class="img-responsive">
|
||||
<a href="__ORICOROOT__/product/detail/id/<?php echo $v['id']; ?>">
|
||||
<img src="<?php echo getImage($v['list_bk_img']); ?>">
|
||||
<span class="title">
|
||||
<?php
|
||||
|
||||
echo $v['name'];
|
||||
?>
|
||||
</span>
|
||||
<span class="subtitle"><?php echo $v['brand_id']; ?></span>
|
||||
</a>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<!--底部文件-->
|
||||
{include file="include/bottom" /}
|
||||
</div>
|
||||
<script type="text/javascript" src="__PUBLIC__/m_web/js/scroll/iscroll.js"></script>
|
||||
<script type="text/javascript" src="__PUBLIC__/m_web/js/scroll/navbarscroll.js"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user