94 lines
4.4 KiB
PHTML
Executable File
94 lines
4.4 KiB
PHTML
Executable File
<!DOCTYPE html>
|
||
<html lang="en">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<title>新品上市</title>
|
||
<meta name="keywords" content="Honors and Certificates, ORICO">
|
||
<meta name="description" content="ORICO is a brand that is deeply rooted in the exploration and application of USB technology. It has achieved remarkable results in fields of USB storage, charging and transmission for many years.">
|
||
{include file="include/head" /}
|
||
<script type="text/javascript">
|
||
var navID = "1";
|
||
</script>
|
||
<!--link rel="stylesheet" type="text/css" href="__PUBLIC__/m_weben/css/subject/honor.css"-->
|
||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/m_web/css/app.css?v={:time()}">
|
||
</head>
|
||
<body style="background-color:#FFF;">
|
||
<div id="content">
|
||
<!--头部-->
|
||
{include file="include/top_back1" /}
|
||
|
||
|
||
<!-- 背景灰色 内容区 s -->
|
||
<div class="indexbox-list cdbox">
|
||
<div class="m_Container">
|
||
<?php
|
||
if (!empty($newProduct)):
|
||
foreach ($newProduct as $k1 => $pc1): ?>
|
||
<div class="daily">
|
||
<div class="datit">
|
||
<p class="da1"><?php echo $pc1['category_name']; ?></p>
|
||
<div class="clear"></div>
|
||
</div>
|
||
|
||
|
||
|
||
<?php
|
||
$products = $pc1['list'];
|
||
|
||
if ($products):
|
||
?>
|
||
<ul class="darh">
|
||
<?php foreach ($products as $product): ?>
|
||
<li class="img-responsive">
|
||
<a href="__ORICOROOT__/product/detail/id/<?php echo $product['id']; ?>" target="_blank">
|
||
<div class="daimg"><img src="<?php echo getImage($product['list_bk_img']); ?>"></div>
|
||
<div class="datext">
|
||
<p class="dat1"><?php echo $product['name']; ?></p>
|
||
<p class="dat2"><?php echo $product['brand_id']; ?></p>
|
||
</div>
|
||
<?php if ($product['isnew']): ?><div class="newcp">New</div><?php endif; ?>
|
||
</a>
|
||
</li>
|
||
<?php endforeach; ?>
|
||
</ul>
|
||
<?php endif; ?>
|
||
<div class="clear"></div>
|
||
|
||
</div>
|
||
<?php endforeach; ?>
|
||
<?php endif; ?>
|
||
|
||
</div>
|
||
</div>
|
||
<!-- 背景灰色 内容区 e -->
|
||
|
||
<script type="text/javascript">
|
||
$(function() {
|
||
$(".hd ul li").hover(
|
||
function() {
|
||
$(this).children(".bds").stop(true, true).show();
|
||
},
|
||
function() {
|
||
$(this).children(".bds").stop(true, true).hide();
|
||
}
|
||
);
|
||
});
|
||
|
||
/*轮播滚动条*/
|
||
$('.hd').niceScroll({
|
||
cursorcolor: "transparent",//#CC0071 光标颜色
|
||
cursoropacitymax: 1, //改变不透明度非常光标处于活动状态(scrollabar“可见”状态),范围从1到0
|
||
touchbehavior: false, //使光标拖动滚动像在台式电脑触摸设备
|
||
cursorwidth: "5px", //像素光标的宽度
|
||
cursorborder: "0", // 游标边框css定义
|
||
cursorborderradius: "5px",//以像素为光标边界半径
|
||
autohidemode: false //是否隐藏滚动条
|
||
});
|
||
</script>
|
||
</div>
|
||
|
||
<!--底部-->
|
||
{include file="include/bottom1" /}
|
||
|
||
</body>
|
||
</html>
|