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.
145 lines
5.0 KiB
145 lines
5.0 KiB
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="wap-font-scale" content="no">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
|
<meta name="description" content="" />
|
|
<meta name="keywords" content="" />
|
|
<title>{$page_title}</title>
|
|
<link rel="stylesheet" href="{__PUBLIC__}bootstrap/css/bootstrap.min.css" />
|
|
<link rel="stylesheet" href="{__TPL__}css/swiper.3.1.2.min.css" />
|
|
<link rel="stylesheet" href="{__TPL__}css/style.css" />
|
|
<script type="text/javascript" src="{__TPL__}js/zepto.min.js"></script>
|
|
<script type="text/javascript" src="{__TPL__}js/swiper.min.js"></script>
|
|
<script type="text/javascript" src="{__TPL__}js/ectouch.js"></script>
|
|
<script type="text/javascript" src="{__TPL__}js/ectouch_swiper.js"></script>
|
|
<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
|
|
<script type="text/javascript" src="__PUBLIC__/js/lefttime.js"></script>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="con exchange-con">
|
|
<!---->
|
|
<div class="main">
|
|
<!--商品图片轮播-->
|
|
<div class="swiper-container brand-goods-swiper">
|
|
<div class="swiper-wrapper">
|
|
<div class="goods-info swiper-slide">
|
|
<img src="{$auction_goods.goods_img}" />
|
|
</div>
|
|
</div>
|
|
<!-- 如果需要分页器 -->
|
|
<div class="swiper-pagination brand-goods-pagination"></div>
|
|
</div>
|
|
|
|
<div class="goods-text">
|
|
<!--title-->
|
|
<div class="goods-title">
|
|
<div class="goods-title-left fl">
|
|
<a href="javascript:;">
|
|
<h1>{$auction.goods_name}{if $auction.product_id > 0} [{$products_info}]{/if}</h1>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<!--exchange-->
|
|
<div class="goods-exchange">
|
|
{$auction.formated_current_price}
|
|
</div>
|
|
<!--detail-->
|
|
<ul class="goods-list">
|
|
<li class="goods-list-auction-time">
|
|
<span class="goods-listo fl">剩余时间</span>
|
|
<p class="fl">
|
|
<!-- {if $auction.status_no eq 0} 未开始 -->
|
|
{$lang.au_pre_start}
|
|
<!-- {elseif $auction.status_no eq 1} 进行中 -->
|
|
<span id="leftTime">{$lang.please_waiting}</span>
|
|
<!-- {else} 已结束 -->
|
|
{$lang.au_finished}
|
|
<!-- {/if} -->
|
|
</p>
|
|
</li>
|
|
<li>
|
|
<span class="goods-listo fl">{$lang.au_start_price}</span>
|
|
<p class="fl">{$auction.formated_start_price}</p>
|
|
</li>
|
|
<li>
|
|
<span class="goods-listo fl">{$lang.au_amplitude}</span>
|
|
<p class="fl">{$auction.formated_amplitude}</p>
|
|
</li>
|
|
<!-- {if $auction.end_price gt 0} -->
|
|
<li>
|
|
<span class="goods-listo fl">{$lang.au_end_price}</span>
|
|
<p class="fl">{$auction.formated_end_price}</p>
|
|
</li>
|
|
<!-- {/if} -->
|
|
<!-- {if $auction.deposit gt 0} -->
|
|
<li>
|
|
<span class="goods-listo fl">{$lang.au_deposit}</span>
|
|
<p class="fl">{$auction.formated_deposit}</p>
|
|
</li>
|
|
<!-- {/if} -->
|
|
</ul>
|
|
|
|
<!--商品描述-->
|
|
<div class="brand-description">
|
|
<div class="brand-description-title">{$lang.activity_intro}</div>
|
|
<div class="description-cont" style="display: block;">
|
|
{$auction.act_desc|escape:html|nl2br}
|
|
</div>
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
<!--footer-->
|
|
<footer class="auction-footer">
|
|
<div class="auction-footer-left fl">
|
|
|
|
<!-- {if $auction.status_no eq 0} 未开始 -->
|
|
{$lang.au_pre_start}
|
|
<!-- {elseif $auction.status_no eq 1} 进行中 -->
|
|
<form name="theForm" action="{:U('bid')}" method="post">
|
|
<input name="price" type="text" class="fl" id="price" size="8" placeholder="{$lang.au_i_want_bid}" />
|
|
<button name="bid" type="submit" class="btn btn-default" id="bid" style="vertical-align:middle;">{$lang.button_bid}</button>
|
|
<input name="id" type="hidden" value="{$auction.act_id}" />
|
|
</form>
|
|
<!-- {else} 已结束 -->
|
|
<!-- {if $auction.is_winner} -->
|
|
<form name="theForm" action="{:U('buy')}" method="post">
|
|
<button name="buy" type="submit" class="bnt_blue_1" placeholder="{$lang.au_is_winner}">{$lang.button_buy}</button>
|
|
<input name="id" type="hidden" value="{$auction.act_id}" />
|
|
</form>
|
|
<!-- {else} -->
|
|
{$lang.au_finished}
|
|
<!-- {/if} -->
|
|
<!-- {/if} -->
|
|
|
|
</div>
|
|
<a href="javascript:;">
|
|
<p class="fr auction-footer-record">{$lang.bid_record}</p>
|
|
</a>
|
|
</footer>
|
|
<!--layer-->
|
|
<div class="auction-layer">
|
|
<div class="auction-layer-list">
|
|
<ul>
|
|
<!-- {foreach from=$auction_log item=log name=fe_bid_log} -->
|
|
<li>
|
|
<p class="auction-layer-time fl">{$log.bid_time}</p>
|
|
<p class="auction-layer-price fr">{$log.formated_bid_price}</p>
|
|
<p class="auction-layer-user fr">{$log.user_name}</p>
|
|
</li>
|
|
<!-- {foreachelse} -->
|
|
<li>{$lang.no_bid_log}</li>
|
|
<!-- {/foreach} -->
|
|
</ul>
|
|
<button class="auction-layer-back btn btn-default">返回</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
|
|
</html>
|