<!--{template "tttuangou_header"}-->
<script language="javascript">
var time={$product['time']};
</script>
<script language="javascript" src="./templates/default/js/time.js"></script>
<div class="m960">
<div class="t_l">
<div class="t_area_out">
<div class="t_area_in" style=" _width:695px; *height:100%">
<table class="at_jrat">
<tbody>
<tr>
<td width="150px" style="color:#000000">今日团购：</td>
<td>{$product['name']}</td>
</tr>
</tbody>
</table>
<div style="position: relative;" class="t_deal">
<div style="height: 160px; padding-top: 30px;" class="t_deal_l">
<div class="at_zk">{$product['agio']}</div>
原价<strong style="text-decoration: line-through;">&yen;{$product['price']}</strong><br>
节省&yen;{$product['price']-$product['nowprice']}
<div class="at_buy"> 
<div class="deal_m">&yen; {$product['nowprice']} </div>
<div class="deal_b"><a href="?mod=index&code=buy&id={$product['id']}"><img src="templates/default/images/logo_m.gif"></a> </div></div>
</div>
<div id="tuanState" style="float: left;" class="t_deal_l mb_0625">
<div style="text-align: center;"> {$product['num']}人已购买<br>
<span class="txt12">数量有限行动要快哦</span><br>
<!--{if $product['success']<=0}-->
<img src="images/sue.gif" />
已达最低团购人数要求，团购成功，仍可继续购买
<!--{else}-->
达成团购还需{$product['success']}人 <BR>
<a <a href="{eval echo $this->Config[site_url]; }/?u={MEMBER_ID}" onclick="copyText(this.href);">邀请朋友一起买，返利{$this->config['default_payfinder']}元</a>
<!--{/if}-->
</div>
</div>
<div class="t_deal_l mb_0625"> 
剩余时间
<div class="deal_djs" id="remainTime"></div>
</div>
</div>
<script type="text/javascript">
function changeImg(mypic){
var xw=450;
var xl=268;
var width = mypic.width;
var height = mypic.height;
if (width > xw ) mypic.width = xw;
if (height > xl ) mypic.height = xl;
}
</script>
<div class="t_deal_r">  <div class="t_deal_r_img">
<img src="images/product/{$product['img']}" onload="changeImg(this)" />
</div>
<div style="height: 150px; margin: 10px 0pt; clear: both;">
<p>{$product['intro']}</p>
</div>
</div>
<div style="clear: both; height: 0px;">&nbsp;</div>
</div>
</div>
<div class="t_area_out">
<div style="position: relative;" class="t_area_in t_padding">
<div class="t_detail_l">
<h4>本单详情</h4>
<div class="t_detail_txt">{$product['content']}</div>
<h4>特别提示</h4>
<div class="t_detail_txt">{$product['cue']}</div>
<h4>他们说</h4>
<div class="t_detail_txt">{$product['theysay']}</div>
<div class="at_xts">
<div class="at_xts_t"><div class="sName">{$this->Config[site_name]}说</div></div>
<div class="at_xts_m">
<p><span style="font-size: 14px;"><span style="font-family: 宋体;">{$product['wesay']}</span></span></p>
</div>
<div class="at_xts_f"></div></div>
</div>
<div class="t_detail_r">
<h1>{$product['sellername']}</h1>
<b>地址：</b>{$product['selleraddress']}<br/>
<b>电话：</b>{$product['sellerphone']}<br/>
<a href="{$product['sellerurl']}" target="_blank">{$product['sellerurl']}</a><br/>
{if $sellermap[0]!=''}
<button id="img1">查看地图</button>
{/if} </div>
<div style="clear: both;"></div>
</div>
</div>
</div>
<div class="t_r">
<!--{template "tttuangou_myfinder"}-->
<div class="t_area_out">
<h1>天天问答</h1>
<div class="t_area_in"> <a target="_blank" href="?mod=list&code=question#q_form">我要提问</a> | <a target="_blank" href="?mod=list&code=question">查看全部</a> {loop $question $i $value} <a target="_blank" class="txt13" href="?mod=list&code=question#id{$value['id']}">{$value['content']}</a> {/loop} </div>
</div>
<!--{template tttuangou_mail}-->
</div>
</div>
{if $sellermap[0]!=''}
<script type="text/javascript">
$(document).ready(function() {
$("#img1").click(function() {
tipsWindown("商家地图","img:http://ditu.google.cn/staticmap?center={$sellermap[0]},{$sellermap[1]}&zoom={$sellermap[2]}&size=512x512&maptype=mobile&markers={$sellermap[0]},{$sellermap[1]},reda&key={$this->config['default_googlemapkey']}&sensor=false","512","512","true","","true","img")
});
});
</script>
{/if}
<!--{template "tttuangou_footer"}-->
