Merge branch 'feature/shoppingCart' of http://git.yoho.cn/fe/yohobuy-node into feature/shoppingCart
Showing
6 changed files
with
23 additions
and
17 deletions
@@ -392,9 +392,9 @@ const formatPromotion = (it, selectedGiftsList) => { | @@ -392,9 +392,9 @@ const formatPromotion = (it, selectedGiftsList) => { | ||
392 | let tipTxt = `差${ -Math.round(info.conditionValue * 100) / 100}`; | 392 | let tipTxt = `差${ -Math.round(info.conditionValue * 100) / 100}`; |
393 | 393 | ||
394 | if (info.conditionUnit === 1) { | 394 | if (info.conditionUnit === 1) { |
395 | - tipTxt += '件 '; | 395 | + tipTxt += '件满足 '; |
396 | } else if (info.conditionUnit === 2) { | 396 | } else if (info.conditionUnit === 2) { |
397 | - tipTxt += '元 '; | 397 | + tipTxt += '元满足 '; |
398 | } | 398 | } |
399 | 399 | ||
400 | info.promotionTitle = tipTxt + info.promotionTitle; | 400 | info.promotionTitle = tipTxt + info.promotionTitle; |
@@ -54,7 +54,7 @@ | @@ -54,7 +54,7 @@ | ||
54 | <li>{{promotionTitle}} | 54 | <li>{{promotionTitle}} |
55 | {{>mix/cart/cart-promotion-btn}} | 55 | {{>mix/cart/cart-promotion-btn}} |
56 | {{#if isNotReach}} | 56 | {{#if isNotReach}} |
57 | - <a class="btn-clear blue order-pay-link" target="_blank" href="{{promotionPageUrl}}">去凑单 ></a> | 57 | + <a class="btn-clear blue order-pay-link" target="_blank" href="{{promotionPageUrl}}">去凑单 </a> |
58 | {{/if}} | 58 | {{/if}} |
59 | </li> | 59 | </li> |
60 | {{/promotionInfos}} | 60 | {{/promotionInfos}} |
@@ -76,15 +76,15 @@ | @@ -76,15 +76,15 @@ | ||
76 | </div> | 76 | </div> |
77 | {{/if}} | 77 | {{/if}} |
78 | 78 | ||
79 | - {{#if promotionInfos}} | ||
80 | - <div class="gift-sell"> | ||
81 | - {{#promotionInfos}} | ||
82 | - <p class="gift-sell-info"><code class="order-pay-mark">{{tag}}</code>{{promotionTitle}} | ||
83 | - <!--<a class="btn-clear blue" data-together-id="6">去凑单 ></a>--> | ||
84 | - </p> | ||
85 | - {{/promotionInfos}} | ||
86 | - </div> | ||
87 | - {{/if}} | 79 | + <!--{{#if promotionInfos}}--> |
80 | + <!--<div class="gift-sell">--> | ||
81 | + <!--{{#promotionInfos}}--> | ||
82 | + <!--<p class="gift-sell-info"><code class="order-pay-mark">{{tag}}</code>{{promotionTitle}}--> | ||
83 | + <!--<!–<a class="btn-clear blue" data-together-id="6">去凑单 ></a>–>--> | ||
84 | + <!--</p>--> | ||
85 | + <!--{{/promotionInfos}}--> | ||
86 | + <!--</div>--> | ||
87 | + <!--{{/if}}--> | ||
88 | </div> | 88 | </div> |
89 | {{/advanceCart}} | 89 | {{/advanceCart}} |
90 | 90 | ||
@@ -232,7 +232,7 @@ | @@ -232,7 +232,7 @@ | ||
232 | data-promotionid="{{promotionId}}" | 232 | data-promotionid="{{promotionId}}" |
233 | data-num="{{productNum}}"> | 233 | data-num="{{productNum}}"> |
234 | <span class="good-name" style="width: 392px;"> | 234 | <span class="good-name" style="width: 392px;"> |
235 | - <a href="{{link}}" target="_blank">{{productTitle}}</a> | 235 | + <a href="{{link}}" target="_blank" title="{{productTitle}}">{{productTitle}}</a> |
236 | </span> | 236 | </span> |
237 | <span class="good-price" style="width: 148px;">{{productPrice}}</span> | 237 | <span class="good-price" style="width: 148px;">{{productPrice}}</span> |
238 | <span class="good-num" style="width: 128px;">{{productNum}}</span> | 238 | <span class="good-num" style="width: 128px;">{{productNum}}</span> |
@@ -57,7 +57,7 @@ | @@ -57,7 +57,7 @@ | ||
57 | <div class="go-full-cart"> | 57 | <div class="go-full-cart"> |
58 | <div> | 58 | <div> |
59 | <p data-role="totalinfo" | 59 | <p data-role="totalinfo" |
60 | - data-total="{{total}}">购物车里还有<span data-role="last-num"></span>件商品</p> | 60 | + data-total="{{total}}">购物车里还有<span data-role="last-num">{{total}}</span>件商品</p> |
61 | <a href="//www.yohobuy.com/shopping/cart">查看我的购物车</a> | 61 | <a href="//www.yohobuy.com/shopping/cart">查看我的购物车</a> |
62 | </div> | 62 | </div> |
63 | </div> | 63 | </div> |
@@ -739,7 +739,7 @@ | @@ -739,7 +739,7 @@ | ||
739 | padding: 30px 15px; | 739 | padding: 30px 15px; |
740 | border: 1px solid #000; | 740 | border: 1px solid #000; |
741 | background-color: #fff; | 741 | background-color: #fff; |
742 | - z-index: 20; | 742 | + z-index: 24; |
743 | display:none; | 743 | display:none; |
744 | &:after{ | 744 | &:after{ |
745 | position: absolute; | 745 | position: absolute; |
@@ -1000,6 +1000,7 @@ | @@ -1000,6 +1000,7 @@ | ||
1000 | position: absolute; | 1000 | position: absolute; |
1001 | text-align: left; | 1001 | text-align: left; |
1002 | left: 22%; | 1002 | left: 22%; |
1003 | + z-index: 21; | ||
1003 | } | 1004 | } |
1004 | } | 1005 | } |
1005 | .sale-info { | 1006 | .sale-info { |
@@ -1068,8 +1069,8 @@ | @@ -1068,8 +1069,8 @@ | ||
1068 | margin-top: 0; | 1069 | margin-top: 0; |
1069 | } | 1070 | } |
1070 | a { | 1071 | a { |
1071 | - position: absolute; | ||
1072 | - right: 0; | 1072 | + /*position: absolute;*/ |
1073 | + /*right: 0;*/ | ||
1073 | display: inline-block; | 1074 | display: inline-block; |
1074 | color: #ff575c; | 1075 | color: #ff575c; |
1075 | cursor: pointer; | 1076 | cursor: pointer; |
@@ -1333,6 +1334,9 @@ | @@ -1333,6 +1334,9 @@ | ||
1333 | font-size: 14px; | 1334 | font-size: 14px; |
1334 | color: #000; | 1335 | color: #000; |
1335 | text-align: left; | 1336 | text-align: left; |
1337 | + overflow: hidden; | ||
1338 | + text-overflow: ellipsis; | ||
1339 | + white-space: nowrap; | ||
1336 | } | 1340 | } |
1337 | .good-price { | 1341 | .good-price { |
1338 | font-size: 14px; | 1342 | font-size: 14px; |
-
Please register or login to post a comment