📄 group_buy_list.dwt
字号:
<!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=GBK" />
<meta name="Keywords" content="{$keywords}" />
<meta name="Description" content="{$description}" />
<!-- TemplateBeginEditable name="doctitle" -->
<title>{$page_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 href="style.css" rel="stylesheet" type="text/css" />
{* 包含脚本文件 *}
{insert_scripts files='common.js'}
</head>
<body>
<div id="globalWrapper">
<div id="wrapper">
<!-- #BeginLibraryItem "/library/page_header.lbi" --><!-- #EndLibraryItem -->
<table width="100" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="8"></td>
</tr>
</table>
<div id="search-bar">
<!-- TemplateBeginEditable name="导航栏下方" -->
<!-- #BeginLibraryItem "/library/search_form.lbi" --><!-- #EndLibraryItem -->
<!-- TemplateEndEditable -->
</div>
<!-- TemplateBeginEditable name="通栏广告位" --><!-- TemplateEndEditable -->
<div id="container4">
<div id="page-left">
<!-- TemplateBeginEditable name="主区域左侧" -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="8"></td>
</tr>
</table>
<!-- #BeginLibraryItem "/library/category_tree.lbi" --><!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/top10.lbi" --><!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/history.lbi" --><!-- #EndLibraryItem -->
<!-- TemplateEndEditable -->
<p style="text-align:center;"><a href="{$feed_url}"><img src="images/xml_rss2.gif" width="80" height="15" alt="" border="0" /></a></p>
</div>
<!-- #BeginLibraryItem "/library/ur_here.lbi" --><!-- #EndLibraryItem -->
<div class="page-main">
<div class="mcontent-div">
<div class="goods-li-bg">
<div class="goods-li">团购商品</div>
</div>
<!-- {if $gb_list} 如果有团购活动 -->
<!-- {foreach from=$gb_list item=group_buy} 循环团购活动开始 -->
<table width="100%" border="0" cellpadding="5" cellspacing="1" class="goods-list">
<tr>
<td align="center" width="30%">
<a href="{$group_buy.url}">
<img src="{$group_buy.goods_thumb}" border="0" alt="{$group_buy.goods_name|escape:html}" style="vertical-align: middle" /></a>
</td>
<td valign="top">
<table width="100%" border="0">
<tr>
<th width="30%">{$lang.gb_goods_name}</th>
<td><span style="font-size: 12px; font-weight: bold; color: #2359B1;">
<a href="{$group_buy.url}">{$group_buy.goods_name|escape:html}</a></span>
</td>
</tr>
<tr>
<th>{$lang.gb_start_date}</th>
<td>{$group_buy.formated_start_date}</td>
</tr>
<tr>
<th>{$lang.gb_end_date}</th>
<td>{$group_buy.formated_end_date}</td>
</tr>
<tr>
<th>{$lang.gb_price_ladder}</th>
<td valign="top">
<table width="100%" border="0">
<!-- {foreach from=$group_buy.price_ladder item=item} -->
<tr>
<td width="50%"><font color="#E44087">{$lang.gb_ladder_amount} {$item.amount}</font></td>
<td width="50%"><font color="#E44087">{$lang.gb_ladder_price} {$item.formated_price}</font></td>
</tr>
<!-- {/foreach} -->
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!--{/foreach}-->
<!-- {else} -->
<span style="margin:2px 10px; font-size:14px; line-height:36px;">{$lang.group_goods_empty}</span>
<!-- {/if} -->
</div>
<!-- #BeginLibraryItem "/library/pages.lbi" --><!-- #EndLibraryItem -->
</div>
<div class="clear"></div>
</div>
<!-- #BeginLibraryItem "/library/help.lbi" --><!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "/library/page_footer.lbi" --><!-- #EndLibraryItem -->
</div>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -