This commit is contained in:
2024-10-29 14:04:59 +08:00
commit 48bf3e6f33
2839 changed files with 762707 additions and 0 deletions

98
app/us/view/product/new.phtml Executable file
View File

@@ -0,0 +1,98 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
{include file="include/head-seo" /}
{include file="include/head" /}
<script type="text/javascript" src="__PUBLIC__/web/scripts/jquery.nicescroll.js"></script>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/web/scripts/bxslider/jquery.bxslider-list.css">
<script type="text/javascript" src="__PUBLIC__/web/scripts/bxslider/jquery.bxslider.min.js"></script>
<script type="text/javascript">
var navID = "1";
</script>
</head>
<body>
<!--top-->
<header class="header-PC header-Index">
<div id="header" class="theme-white">
{include file="include/top" /}
{include file="include/top-header" /}
</div>
</header>
<!--top End-->
{include file="include/newbanner" /}
<!-- 背景灰色 内容区 s -->
<div class="indexbox-list cdbox">
<div class="swt-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>
<a href="__ORICOROOT__<?php echo url_rewrite('productdetail', ['id' => $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>
<!-- bottom s -->
{include file="include/bottom" /}
<!-- bottom e -->
</body>
</html>