Showing
4 changed files
with
17 additions
and
5 deletions
@@ -132,10 +132,13 @@ | @@ -132,10 +132,13 @@ | ||
132 | 132 | ||
133 | {{>cart-promotion-btn}} | 133 | {{>cart-promotion-btn}} |
134 | 134 | ||
135 | - {{#if isPriceGift}} | 135 | + {{!--{{#if isPriceGift}} |
136 | {{#if isNotReach}} | 136 | {{#if isNotReach}} |
137 | <a class="btn-clear blue order-pay-link" target="_blank" href="{{promotionPageUrl}}">去凑单 ></a> | 137 | <a class="btn-clear blue order-pay-link" target="_blank" href="{{promotionPageUrl}}">去凑单 ></a> |
138 | {{/if}} | 138 | {{/if}} |
139 | + {{/if}}--}} | ||
140 | + {{#if isNotReach}} | ||
141 | + <a class="btn-clear blue order-pay-link" target="_blank" href="{{promotionPageUrl}}">去凑单 ></a> | ||
139 | {{/if}} | 142 | {{/if}} |
140 | 143 | ||
141 | {{!--{{> cart-sel-gift-tpl }}--}} | 144 | {{!--{{> cart-sel-gift-tpl }}--}} |
@@ -320,8 +323,6 @@ | @@ -320,8 +323,6 @@ | ||
320 | </textarea> | 323 | </textarea> |
321 | </div> | 324 | </div> |
322 | 325 | ||
323 | - {{#if cart.isEmpty}} | ||
324 | - | ||
325 | <div class="bottom-tab bottom-tab-slide"> | 326 | <div class="bottom-tab bottom-tab-slide"> |
326 | <span class="bottom-title {{#if cart.deleteShop}}cur{{/if}} {{#unless cart.deleteShop}}none{{/unless}}">凑单商品</span> | 327 | <span class="bottom-title {{#if cart.deleteShop}}cur{{/if}} {{#unless cart.deleteShop}}none{{/unless}}">凑单商品</span> |
327 | <span class="bottom-title {{#unless cart.deleteShop}}cur{{/unless}}">为您优选</span> | 328 | <span class="bottom-title {{#unless cart.deleteShop}}cur{{/unless}}">为您优选</span> |
@@ -364,7 +365,6 @@ | @@ -364,7 +365,6 @@ | ||
364 | </div> | 365 | </div> |
365 | </div> | 366 | </div> |
366 | {{> cart-together-tpl }} | 367 | {{> cart-together-tpl }} |
367 | - {{/if}} | ||
368 | {{/unless}} | 368 | {{/unless}} |
369 | 369 | ||
370 | <div class="loading"><span></span>请稍后...</div> | 370 | <div class="loading"><span></span>请稍后...</div> |
@@ -43,6 +43,9 @@ | @@ -43,6 +43,9 @@ | ||
43 | {{#promotionInfos}} | 43 | {{#promotionInfos}} |
44 | <li>{{promotionTitle}} | 44 | <li>{{promotionTitle}} |
45 | {{>cart-promotion-btn}} | 45 | {{>cart-promotion-btn}} |
46 | + {{#if isNotReach}} | ||
47 | + <a class="btn-clear blue order-pay-link" target="_blank" href="{{promotionPageUrl}}">去凑单 ></a> | ||
48 | + {{/if}} | ||
46 | </li> | 49 | </li> |
47 | {{/promotionInfos}} | 50 | {{/promotionInfos}} |
48 | </ul> | 51 | </ul> |
1 | <div class="yoho-dialog cart-preSell-dialog" | 1 | <div class="yoho-dialog cart-preSell-dialog" |
2 | data-role="cart-pre-sell" | 2 | data-role="cart-pre-sell" |
3 | style="margin-top:-200px;margin-left: -350px; display:none;"> | 3 | style="margin-top:-200px;margin-left: -350px; display:none;"> |
4 | + | ||
4 | <span class="close"> | 5 | <span class="close"> |
5 | <i class="iconfont"></i> | 6 | <i class="iconfont"></i> |
6 | </span> | 7 | </span> |
@@ -8,7 +9,7 @@ | @@ -8,7 +9,7 @@ | ||
8 | <div class="detail-body"> | 9 | <div class="detail-body"> |
9 | {{#advanceCart}} | 10 | {{#advanceCart}} |
10 | <div class="slide-img"> | 11 | <div class="slide-img"> |
11 | - <p class="sell-class-title">预售商品<strong>3</strong> 总金额<strong>¥809.00</strong></p> | 12 | + <p class="sell-class-title">预售商品<strong>{{stat.selectedGoodsCount}}</strong> 总金额<strong>¥809.00</strong></p> |
12 | <div class="side-img-dd"> | 13 | <div class="side-img-dd"> |
13 | <div class="side-img-container"> | 14 | <div class="side-img-container"> |
14 | <ul class="img-list"> | 15 | <ul class="img-list"> |
@@ -175,6 +175,13 @@ $(function() { | @@ -175,6 +175,13 @@ $(function() { | ||
175 | $('.img-brand-switch .next').trigger('click'); | 175 | $('.img-brand-switch .next').trigger('click'); |
176 | }); | 176 | }); |
177 | 177 | ||
178 | + // 商品子优惠显示和隐藏 | ||
179 | + $('.sale-info').mouseenter(function() { | ||
180 | + $(this).addClass('active').children('ul').removeClass('none'); | ||
181 | + }).mouseleave(function() { | ||
182 | + $(this).removeClass('active').children('ul').addClass('none'); | ||
183 | + }); | ||
184 | + | ||
178 | 185 | ||
179 | isCheckAll(); | 186 | isCheckAll(); |
180 | isCheckFav(); | 187 | isCheckFav(); |
@@ -208,3 +215,4 @@ $cartGoodsDetail.on('click', '.btn-favCount', function() { | @@ -208,3 +215,4 @@ $cartGoodsDetail.on('click', '.btn-favCount', function() { | ||
208 | require('./cart-action'); | 215 | require('./cart-action'); |
209 | require('./cart-color-panel'); | 216 | require('./cart-color-panel'); |
210 | require('./cart-goods-win'); | 217 | require('./cart-goods-win'); |
218 | +require('./cart-together'); |
-
Please register or login to post a comment