You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

102 lines
6.4 KiB

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Keywords" content="{$keywords}" />
<meta name="Description" content="{$description}" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>预售首页</title>
<!-- TemplateEndEditable -->
<!-- TemplateBeginEditable name="head" -->
<!-- TemplateEndEditable -->
<link rel="shortcut icon" href="favicon.ico" />
<link rel="icon" href="animated_favicon.gif" type="image/gif" />
<link rel="stylesheet" type="text/css" href="themes/<?php echo $GLOBALS['_CFG']['template']; ?>/base.css" />
<link href="{$ecs_css_path}" rel="stylesheet" type="text/css" />
<link href="themes/<?php echo $GLOBALS['_CFG']['template']; ?>/select.css" rel="stylesheet" type="text/css" />
<link rel="alternate" type="application/rss+xml" title="RSS|{$page_title}" href="{$feed_url}" />
<link rel="stylesheet" type="text/css" href="themes/<?php echo $GLOBALS['_CFG']['template']; ?>/quickLinks.css" />
<link rel="stylesheet" href="themes/<?php echo $GLOBALS['_CFG']['template']; ?>/purebox.css">
{* 包含脚本文件 *}
{insert_scripts files='jquery-1.9.1.min.js,jquery.json.js,transport_jquery.js'}
{insert_scripts files='common.js,global.js,utils.js,compare.js,search_category_menu.js,cart_common.js,cart_quick_links.js'}
<script type="text/javascript" src="themes/<?php echo $GLOBALS['_CFG']['template']; ?>/js/sc_common.js"></script>
<script type="text/javascript" src="themes/<?php echo $GLOBALS['_CFG']['template']; ?>/js/jquery.SuperSlide.2.1.1.js"></script>
<script type="text/javascript" src="themes/<?php echo $GLOBALS['_CFG']['template']; ?>/js/ecsc-nav.js"></script>
<script type="text/javascript" src="themes/<?php echo $GLOBALS['_CFG']['template']; ?>/js/jquery.yomi.js"></script>
<script type="text/javascript" src="themes/<?php echo $GLOBALS['_CFG']['template']; ?>/js/rotate3di.js"></script>
<script type="text/javascript" src="themes/<?php echo $GLOBALS['_CFG']['template']; ?>/js/scroll_city.js"></script>
</head>
<body>
<!-- #BeginLibraryItem "/library/page_header_presale_index.lbi" --><!-- #EndLibraryItem -->
{* ECSHOP 提醒您:动态载入presale_banner.lbi,显示首页分类小广告 *}{insert name='get_adv_child' ad_arr=$presale_banner}
<div id="content">
<div class="ecsc-sign w1200">
<h1 class="preSale_title">招牌推荐</h1>
<div class="sign-warpper">
{* ECSHOP 提醒您:动态载入presale_banner_small_left.lbi,显示首页分类小广告 *}{insert name='get_adv_child' ad_arr=$presale_banner_small_left}
{* ECSHOP 提醒您:动态载入presale_banner_small.lbi,显示首页分类小广告 *}{insert name='get_adv_child' ad_arr=$presale_banner_small}
{* ECSHOP 提醒您:动态载入presale_banner_small_right.lbi,显示首页分类小广告 *}{insert name='get_adv_child' ad_arr=$presale_banner_small_right}
</div>
</div>
<div class="special-list w1200 pb40">
<!-- {foreach from=$pre_cat_goods item=cat_goods name=pregoods } 遍历分类数据 -->
<!-- {if $cat_goods.count_goods neq 0} 如果分类下商品不为空 -->
<div class="special-item">
<div class="title"><h3>{$cat_goods.c_name}</h3><a href="presale.php?act=category&cid={$cat_goods.cid}"><i class="special-icon special-icon-1"></i></a></div>
<div class="special-product">
<ul>
<!-- {foreach from=$cat_goods.goods item=goods} 遍历分类下的商品 -->
<li>
<div class="s-warp">
<div class="p-img"><a href="./presale.php?act=view&id={$goods.act_id}" target="_blank"><img src="themes/<?php echo $GLOBALS['_CFG']['template']; ?>/images/loadGoods.gif" width="255" height="255" class="lazy" data-original="{$goods.thumb}"/></a></div>
<div class="p-name"><a href="./presale.php?act=view&id={$goods.act_id}" target="_blank">{$goods.goods_name}</a></div>
<div class="p-info">
<div class="p-price">
<span><em>¥</em>{$goods.shop_price}</span>
<del><em>¥</em>{$goods.market_price}</del>
</div>
<div class="p-right">
<span class="appointment">已有<em>{$goods.sales_volume}</em>人预约</span>
<!-- {if $goods.no_start} -->
<div class="time" data-time="{$goods.start_time_date}">
距开始<span class="days">00</span>天&nbsp;<span class="hours">01</span>:<span class="minutes">56</span>:<span class="seconds">23</span>
</div>
<!-- {else} -->
<div class="time" data-time="{$goods.end_time_date}">
倒计时<span class="days">00</span>天&nbsp;<span class="hours">01</span>:<span class="minutes">56</span>:<span class="seconds">23</span>
</div>
<!-- {/if} -->
</div>
</div>
</div>
</li>
<!-- {/foreach} -->
</ul>
</div>
</div>
<!-- {/if} -->
<!-- {/foreach} -->
</div>
</div>
<!-- #BeginLibraryItem "/library/page_footer.lbi" --><!-- #EndLibraryItem -->
{* ECSHOP 提醒您:动态载入user_menu_position.lbi,显示首页分类小广告 *}{insert name='user_menu_position'}
<script type="text/javascript" src="themes/<?php echo $GLOBALS['_CFG']['template']; ?>/js/jquery.purebox.js"></script>
<script type="text/javascript">
$(".pre-banner").slide({titCell:".hd ul",mainCell:".bd ul",effect:"top",interTime:3500,delayTime:500,autoPlay:true,autoPage:true});
$(".sign-content").slide({titCell:".hd ul",mainCell:".bd ul",effect:"leftLoop",autoPlay:false,pnLoop:true,autoPage:true});
//倒计时
$(".time").each(function(){
$(this).yomi();
});
</script>
</body>
</html>