...
|
...
|
@@ -38,8 +38,8 @@ |
|
|
<div class="price-date">
|
|
|
{{# goodsPrice}}
|
|
|
<div class="goods-price">
|
|
|
{{#if isSecKil}}
|
|
|
<h1 class="current-price">{{secKillPrice}}</h1>
|
|
|
{{#if ../isSecKill}}
|
|
|
<h1 class="current-price">{{../isSecKill/secKillPrice}}</h1>
|
|
|
{{else}}
|
|
|
<h1 class="current-price">{{currentPrice}}</h1>
|
|
|
{{/if}}
|
...
|
...
|
@@ -67,18 +67,24 @@ |
|
|
<h1 >{{periodOfMarket}}</h1>
|
|
|
</div>
|
|
|
{{/if}}
|
|
|
{{#if isSecKil/notStart}}
|
|
|
<div class="seckill-time">
|
|
|
{{#isSecKill}}
|
|
|
{{#if startIng}}
|
|
|
<div class="seckill-time seckill-time-border">
|
|
|
<span>距结束 </span>
|
|
|
<span>{{startTime}}</span>
|
|
|
<span class="end-time">
|
|
|
<i class="tick hour">00</i>:
|
|
|
<i class="tick minute">00</i>:
|
|
|
<i class="tick second">00</i>
|
|
|
</span>
|
|
|
</div>
|
|
|
{{/if}}
|
|
|
{{#if isSecKil}}
|
|
|
<div class="seckill-time">
|
|
|
{{#if notStart}}
|
|
|
<div class="seckill-time notStart">
|
|
|
<span class="seckill-time-pic">秒杀预告</span>
|
|
|
<span>8月27日 12:00</span>
|
|
|
<span class="seckill-time-c">月日</span>
|
|
|
</div>
|
|
|
{{/if}}
|
|
|
{{/isSecKill}}
|
|
|
</div>
|
|
|
|
|
|
{{#if studentPrice}}
|
...
|
...
|
@@ -174,7 +180,8 @@ |
|
|
<div id="productDesc"> </div>
|
|
|
{{> detail/recommend-for-you}}
|
|
|
{{> cart/chose-panel}}
|
|
|
{{# is_secKil}}
|
|
|
{{# isSecKill}}
|
|
|
{{# notStart}}
|
|
|
<div class="seckill-count">
|
|
|
<div class="seckill-count-bg"></div>
|
|
|
<div class="seckill-count-num">距开抢
|
...
|
...
|
@@ -182,42 +189,52 @@ |
|
|
<i class="tick minute">00</i>:
|
|
|
<i class="tick second">00</i>
|
|
|
</div>
|
|
|
<input type="hidden" class="secKill-date" value="{{secKillTime}}">
|
|
|
</div>
|
|
|
{{/is_secKil}}
|
|
|
{{/notStart}}
|
|
|
{{/isSecKill}}
|
|
|
{{#cartInfo}}
|
|
|
<div class="cart-bar">
|
|
|
<a href="{{cartUrl}}" class="num-incart iconfont"><span class="num-tag hide"></span></a>
|
|
|
{{#if ../isSecKill/noneLeft}}
|
|
|
<a href="javascript:;" class="sold-out">已售罄</a>
|
|
|
{{else if ../isSecKill/startIng}}
|
|
|
<a href="javascript:;" id="addtoCart" class="addto-cart">立即购买</a>
|
|
|
{{else if ../isSecKill/notStart}}
|
|
|
<a href="javascript:;" class="sold-out">即将开抢</a>
|
|
|
{{else}}
|
|
|
{{#if addToCartUrl}}
|
|
|
<a id="addtoCart" href="javascript:;" class="addto-cart">{{#if ../tickets}}立即购买{{else}}加入购物车{{/if}}</a>
|
|
|
{{/if}}
|
|
|
|
|
|
{{#if addToCartUrl}}
|
|
|
<a id="addtoCart" href="javascript:;" class="addto-cart">{{#if ../tickets}}立即购买{{else}}加入购物车{{/if}}</a>
|
|
|
{{/if}}
|
|
|
{{#if soldOut}}
|
|
|
<a href="javascript:;" class="sold-out">已售罄</a>
|
|
|
{{/if}}
|
|
|
|
|
|
{{#if soldOut}}
|
|
|
<a href="javascript:;" class="sold-out">已售罄</a>
|
|
|
{{/if}}
|
|
|
{{#if notForSale}}
|
|
|
<a href="javascript:;" class="sold-out">非卖品</a>
|
|
|
{{/if}}
|
|
|
|
|
|
{{#if notForSale}}
|
|
|
<a href="javascript:;" class="sold-out">非卖品</a>
|
|
|
{{/if}}
|
|
|
{{#if limitNotForSale}}
|
|
|
<a href="javascript:;" class="sold-out limit">即将发售</a>
|
|
|
{{/if}}
|
|
|
|
|
|
{{#if limitNotForSale}}
|
|
|
<a href="javascript:;" class="sold-out limit">即将发售</a>
|
|
|
{{/if}}
|
|
|
{{#if canBuyLimit}}
|
|
|
<a href="javascript:;" id="addtoCart" class="addto-cart">立即购买</a>
|
|
|
{{/if}}
|
|
|
|
|
|
{{#if canBuyLimit}}
|
|
|
<a href="javascript:;" id="addtoCart" class="addto-cart">立即购买</a>
|
|
|
{{/if}}
|
|
|
{{#if noLimitCode}}
|
|
|
<a href="javascript:;" class="sold-out limit">立即购买</a>
|
|
|
{{/if}}
|
|
|
|
|
|
{{#if noLimitCode}}
|
|
|
<a href="javascript:;" class="sold-out limit">立即购买</a>
|
|
|
{{/if}}
|
|
|
<input type="hidden" id="limitCodeUrl" name="limitCodeUrl" value="{{limitCodeUrl}}">
|
|
|
<input type="hidden" id="limitProductPay" name="limitProductPay" value="{{limitProductPay}}">
|
|
|
{{#limitProductCode}}
|
|
|
<input type="hidden" id="limitProductCode" name="limitProductCode" value="{{.}}">
|
|
|
{{/limitProductCode}}
|
|
|
<input type="hidden" id="limitCodeUrl" name="limitCodeUrl" value="{{limitCodeUrl}}">
|
|
|
|
|
|
<input type="hidden" id="limitProductPay" name="limitProductPay" value="{{limitProductPay}}">
|
|
|
|
|
|
{{#limitProductCode}}
|
|
|
<input type="hidden" id="limitProductCode" name="limitProductCode" value="{{.}}">
|
|
|
{{/limitProductCode}}
|
|
|
|
|
|
{{/if}}
|
|
|
<a href="javascript:;" id="likeBtn" class="favorite iconfont {{#isCollect}}liked{{/isCollect}}"></a>
|
|
|
</div>
|
|
|
{{/cartInfo}}
|
...
|
...
|
@@ -249,4 +266,8 @@ |
|
|
{{/if}}
|
|
|
|
|
|
</div>
|
|
|
{{# isSecKill}}
|
|
|
<input type="hidden" class="start-time-text" value={{startTime}} />
|
|
|
<input type="hidden" class="end-time-text" value={{endTime}} />
|
|
|
{{/isSecKill}}
|
|
|
{{/ result}} |
...
|
...
|
|