Merge branch 'feature/shoppingCart' of http://git.yoho.cn/fe/yohobuy-node into feature/shoppingCart
Showing
4 changed files
with
110 additions
and
37 deletions
@@ -393,18 +393,34 @@ const formatPromotion = (it, selectedGiftsList) => { | @@ -393,18 +393,34 @@ const formatPromotion = (it, selectedGiftsList) => { | ||
393 | // 判断赠品/加价购商品,是否被选中 | 393 | // 判断赠品/加价购商品,是否被选中 |
394 | info.giftGoodsList = checkGoodsIsSel(info.giftGoodsList, info.promotionId, selectedGiftsList); | 394 | info.giftGoodsList = checkGoodsIsSel(info.giftGoodsList, info.promotionId, selectedGiftsList); |
395 | 395 | ||
396 | + function toDecimal(x) { | ||
397 | + var f = Math.round(x * 100) / 100; | ||
398 | + var s = f.toString(); | ||
399 | + var rs = s.indexOf('.'); | ||
400 | + if (rs < 0) { | ||
401 | + rs = s.length; | ||
402 | + s += '.'; | ||
403 | + } | ||
404 | + while (s.length <= rs + 2) { | ||
405 | + s += '0'; | ||
406 | + } | ||
407 | + return s; | ||
408 | + } | ||
409 | + | ||
396 | if (status === 0) { | 410 | if (status === 0) { |
397 | - let tipTxt = `差${ -Math.round(info.conditionValue * 100) / 100}`; | 411 | + |
412 | + console.log(toDecimal(info.conditionValue)); | ||
413 | + let tipTxt = `还差${ -(Math.round(parseFloat(info.conditionValue) * 100) / 100)}`; | ||
398 | 414 | ||
399 | if (info.conditionUnit === 1) { | 415 | if (info.conditionUnit === 1) { |
400 | - tipTxt += '件满足 '; | 416 | + tipTxt += '件满足'; |
401 | } else if (info.conditionUnit === 2) { | 417 | } else if (info.conditionUnit === 2) { |
402 | - tipTxt += '元满足 '; | 418 | + tipTxt += '元满足'; |
403 | } | 419 | } |
404 | 420 | ||
405 | - info.promotionTitle = tipTxt + info.promotionTitle; | 421 | + info.promotionTitle = tipTxt + '(' + info.promotionTitle + ')'; |
406 | } else if (status === 10) { | 422 | } else if (status === 10) { |
407 | - info.promotionTitle = '已满足' + info.promotionTitle; | 423 | + info.promotionTitle = '已满足' + '(' + info.promotionTitle + ')'; |
408 | } | 424 | } |
409 | 425 | ||
410 | if (info.giftGoodsList) { | 426 | if (info.giftGoodsList) { |
@@ -44,7 +44,7 @@ | @@ -44,7 +44,7 @@ | ||
44 | </span> | 44 | </span> |
45 | </em> | 45 | </em> |
46 | {{#and isAdvance preSellDate}} | 46 | {{#and isAdvance preSellDate}} |
47 | - <span class="presell">上市期:{{preSellDate}}</span> | 47 | + <span class="presell">上市期:{{preSellDate}}</span> |
48 | {{/and}} | 48 | {{/and}} |
49 | </p> | 49 | </p> |
50 | </div> | 50 | </div> |
@@ -193,7 +193,7 @@ | @@ -193,7 +193,7 @@ | ||
193 | <a href="javascript:void(0);" class="btn_h" | 193 | <a href="javascript:void(0);" class="btn_h" |
194 | style="display:none;"><span>清空商品</span></a> | 194 | style="display:none;"><span>清空商品</span></a> |
195 | <i class="cart-item-check iconfont" id="cbSelAllGoods"></i> | 195 | <i class="cart-item-check iconfont" id="cbSelAllGoods"></i> |
196 | - <span>全选</span> | 196 | + <span class="check-all-sum">全选</span> |
197 | <a class="delAll delete-all-sel" href="javascript:void(0);">删除选中商品</a> | 197 | <a class="delAll delete-all-sel" href="javascript:void(0);">删除选中商品</a> |
198 | <a class="removeAll remove-all-2fav" href="javascript:void(0);">移入收藏夹</a> | 198 | <a class="removeAll remove-all-2fav" href="javascript:void(0);">移入收藏夹</a> |
199 | <a class="emptyDisabled clean-all-disable" | 199 | <a class="emptyDisabled clean-all-disable" |
@@ -205,10 +205,10 @@ | @@ -205,10 +205,10 @@ | ||
205 | {{#if gainYohoCoin}} | 205 | {{#if gainYohoCoin}} |
206 | <a href="/help/?category_id=87" class="yoho-coin" target="_blank"></a> | 206 | <a href="/help/?category_id=87" class="yoho-coin" target="_blank"></a> |
207 | 共返有货币:{{gainYohoCoin}}个  {{/if}} | 207 | 共返有货币:{{gainYohoCoin}}个  {{/if}} |
208 | - 已选商品<strong class="ins">{{selectedGoodsCount}}件</strong>   | 208 | + 已选商品<strong class="ins">{{selectedGoodsCount}}</strong>件   |
209 | 商品金额:<b>¥ {{orderAmount}}</b> | 209 | 商品金额:<b>¥ {{orderAmount}}</b> |
210 | </p> | 210 | </p> |
211 | - {{#if discountAmount}}<p>活动优惠:<b>-¥ {{discountAmount}}</b></p>{{/if}} | 211 | + {{#if discountAmount}}<p>活动优惠:<b>- ¥ {{discountAmount}}</b></p>{{/if}} |
212 | <!--<p>优惠码/优惠券:<b>¥ 8888.00</b></p>--> | 212 | <!--<p>优惠码/优惠券:<b>¥ 8888.00</b></p>--> |
213 | <p class="sum"> | 213 | <p class="sum"> |
214 | 应付金额(不含邮费):<strong><kbd>¥ </kbd>{{lastOrderAmount}}</strong></p> | 214 | 应付金额(不含邮费):<strong><kbd>¥ </kbd>{{lastOrderAmount}}</strong></p> |
@@ -80,7 +80,7 @@ | @@ -80,7 +80,7 @@ | ||
80 | } | 80 | } |
81 | 81 | ||
82 | .blue { | 82 | .blue { |
83 | - color: #0883d1 !important; | 83 | + color: #017cf8 !important; |
84 | } | 84 | } |
85 | 85 | ||
86 | .mt20 { | 86 | .mt20 { |
@@ -131,6 +131,7 @@ | @@ -131,6 +131,7 @@ | ||
131 | line-height: 30px; | 131 | line-height: 30px; |
132 | border:1px solid #ccc; | 132 | border:1px solid #ccc; |
133 | font-size: 12px; | 133 | font-size: 12px; |
134 | + font-weight: 300; | ||
134 | text-indent: 10px; | 135 | text-indent: 10px; |
135 | background: #fff; | 136 | background: #fff; |
136 | span{ | 137 | span{ |
@@ -164,6 +165,7 @@ | @@ -164,6 +165,7 @@ | ||
164 | .shopping-step { | 165 | .shopping-step { |
165 | width: 440px; | 166 | width: 440px; |
166 | font-size: 15px; | 167 | font-size: 15px; |
168 | + font-weight: 300; | ||
167 | display: block; | 169 | display: block; |
168 | border-top: 2px solid #b0b0b0; | 170 | border-top: 2px solid #b0b0b0; |
169 | position: absolute; | 171 | position: absolute; |
@@ -260,6 +262,7 @@ | @@ -260,6 +262,7 @@ | ||
260 | background: #fff; | 262 | background: #fff; |
261 | color: #818181; | 263 | color: #818181; |
262 | font-size: 14px; | 264 | font-size: 14px; |
265 | + font-weight: 300; | ||
263 | height: 30px; | 266 | height: 30px; |
264 | line-height: 30px; | 267 | line-height: 30px; |
265 | padding-left: 30px; | 268 | padding-left: 30px; |
@@ -285,6 +288,7 @@ | @@ -285,6 +288,7 @@ | ||
285 | background-color: #ff575c; | 288 | background-color: #ff575c; |
286 | color: #fff; | 289 | color: #fff; |
287 | font-size: 12px; | 290 | font-size: 12px; |
291 | + font-weight: 300; | ||
288 | text-align: center; | 292 | text-align: center; |
289 | &.order-pay-mark-white { | 293 | &.order-pay-mark-white { |
290 | color: #ff575c; | 294 | color: #ff575c; |
@@ -295,7 +299,9 @@ | @@ -295,7 +299,9 @@ | ||
295 | } | 299 | } |
296 | .gift-sell-info{ | 300 | .gift-sell-info{ |
297 | font-size: 14px; | 301 | font-size: 14px; |
302 | + font-weight:300; | ||
298 | color: #444; | 303 | color: #444; |
304 | + text-align: left; | ||
299 | line-height: 1; | 305 | line-height: 1; |
300 | margin-bottom: 8px; | 306 | margin-bottom: 8px; |
301 | &:last-child { | 307 | &:last-child { |
@@ -314,11 +320,12 @@ | @@ -314,11 +320,12 @@ | ||
314 | line-height: 20px; | 320 | line-height: 20px; |
315 | padding: 0; | 321 | padding: 0; |
316 | font-size: 14px; | 322 | font-size: 14px; |
323 | + font-weight: 300; | ||
317 | color: #000; | 324 | color: #000; |
318 | cursor: pointer; | 325 | cursor: pointer; |
319 | outline: none; | 326 | outline: none; |
320 | &.blue { | 327 | &.blue { |
321 | - color: #0883d1; | 328 | + color: #017cf8; |
322 | } | 329 | } |
323 | } | 330 | } |
324 | } | 331 | } |
@@ -327,6 +334,7 @@ | @@ -327,6 +334,7 @@ | ||
327 | height: auto; | 334 | height: auto; |
328 | overflow: hidden; | 335 | overflow: hidden; |
329 | font-size: 12px; | 336 | font-size: 12px; |
337 | + font-weight: 300; | ||
330 | margin-bottom: 10px; | 338 | margin-bottom: 10px; |
331 | .tipsbox { | 339 | .tipsbox { |
332 | position: relative; | 340 | position: relative; |
@@ -337,6 +345,7 @@ | @@ -337,6 +345,7 @@ | ||
337 | padding: 4px 0 4px 0; | 345 | padding: 4px 0 4px 0; |
338 | color: #818181; | 346 | color: #818181; |
339 | font-size: 14px; | 347 | font-size: 14px; |
348 | + font-weight: 300; | ||
340 | background-color: #f0f0f0; | 349 | background-color: #f0f0f0; |
341 | .btn_close { | 350 | .btn_close { |
342 | width: 13px; | 351 | width: 13px; |
@@ -367,6 +376,7 @@ | @@ -367,6 +376,7 @@ | ||
367 | background-color: #ff575c; | 376 | background-color: #ff575c; |
368 | color: #fff; | 377 | color: #fff; |
369 | font-size: 12px; | 378 | font-size: 12px; |
379 | + font-weight: 300; | ||
370 | text-align: center; | 380 | text-align: center; |
371 | vertical-align: top; | 381 | vertical-align: top; |
372 | } | 382 | } |
@@ -393,10 +403,10 @@ | @@ -393,10 +403,10 @@ | ||
393 | height: 50px; | 403 | height: 50px; |
394 | line-height: 50px; | 404 | line-height: 50px; |
395 | font-size: 16px; | 405 | font-size: 16px; |
406 | + font-weight: 300; | ||
396 | color: #fff; | 407 | color: #fff; |
397 | vertical-align: middle; | 408 | vertical-align: middle; |
398 | text-align: center; | 409 | text-align: center; |
399 | - font-weight: 400; | ||
400 | &.left { | 410 | &.left { |
401 | text-align: left; | 411 | text-align: left; |
402 | } | 412 | } |
@@ -556,6 +566,7 @@ | @@ -556,6 +566,7 @@ | ||
556 | float: left; | 566 | float: left; |
557 | padding: 30px 0; | 567 | padding: 30px 0; |
558 | font-size: 15px; | 568 | font-size: 15px; |
569 | + font-weight: 300; | ||
559 | text-align:center; | 570 | text-align:center; |
560 | } | 571 | } |
561 | } | 572 | } |
@@ -617,6 +628,7 @@ | @@ -617,6 +628,7 @@ | ||
617 | left: 21px; | 628 | left: 21px; |
618 | display: inline-block; | 629 | display: inline-block; |
619 | font-size: 12px; | 630 | font-size: 12px; |
631 | + font-weight: 300; | ||
620 | color: #000; | 632 | color: #000; |
621 | background-color: #f0f0f0; | 633 | background-color: #f0f0f0; |
622 | padding: 8px 10px; | 634 | padding: 8px 10px; |
@@ -640,16 +652,17 @@ | @@ -640,16 +652,17 @@ | ||
640 | float: left; | 652 | float: left; |
641 | text-align: left; | 653 | text-align: left; |
642 | padding-left: 15px; | 654 | padding-left: 15px; |
643 | - padding-top: 5px; | 655 | + padding-top: 0; |
644 | margin-left: 0; | 656 | margin-left: 0; |
645 | a { | 657 | a { |
646 | display:block; | 658 | display:block; |
647 | width:280px; | 659 | width:280px; |
648 | - min-height: 36px; | 660 | + min-height: 44px; |
649 | padding-left: 3px; | 661 | padding-left: 3px; |
650 | color: #444; | 662 | color: #444; |
651 | font-size: 15px; | 663 | font-size: 15px; |
652 | - line-height: 1.25; | 664 | + font-weight: 300; |
665 | + line-height: 1.5; | ||
653 | text-decoration: none; | 666 | text-decoration: none; |
654 | text-align:left; | 667 | text-align:left; |
655 | overflow: hidden; | 668 | overflow: hidden; |
@@ -666,7 +679,7 @@ | @@ -666,7 +679,7 @@ | ||
666 | } | 679 | } |
667 | } | 680 | } |
668 | .pay-pro-detail{ | 681 | .pay-pro-detail{ |
669 | - margin-top: 4px; | 682 | + margin-top: 0; |
670 | display:inline-block; | 683 | display:inline-block; |
671 | border: 1px dashed transparent; | 684 | border: 1px dashed transparent; |
672 | box-sizing: border-box; | 685 | box-sizing: border-box; |
@@ -692,6 +705,7 @@ | @@ -692,6 +705,7 @@ | ||
692 | display: inline-block; | 705 | display: inline-block; |
693 | padding-left: 3px; | 706 | padding-left: 3px; |
694 | font-size: 13px; | 707 | font-size: 13px; |
708 | + font-weight: 300; | ||
695 | color: #9a9a9a; | 709 | color: #9a9a9a; |
696 | text-align: left; | 710 | text-align: left; |
697 | b { | 711 | b { |
@@ -703,10 +717,11 @@ | @@ -703,10 +717,11 @@ | ||
703 | text-overflow: ellipsis; | 717 | text-overflow: ellipsis; |
704 | white-space: nowrap; | 718 | white-space: nowrap; |
705 | font-style: normal; | 719 | font-style: normal; |
706 | - font-weight: 400; | 720 | + font-weight: 300; |
707 | } | 721 | } |
708 | i { | 722 | i { |
709 | font-size: 14px; | 723 | font-size: 14px; |
724 | + font-weight: 300; | ||
710 | margin-left: 40px; | 725 | margin-left: 40px; |
711 | display: inline-block; | 726 | display: inline-block; |
712 | width: 14px; | 727 | width: 14px; |
@@ -722,6 +737,7 @@ | @@ -722,6 +737,7 @@ | ||
722 | margin-top: 5px; | 737 | margin-top: 5px; |
723 | padding-left: 3px; | 738 | padding-left: 3px; |
724 | font-size: 13px; | 739 | font-size: 13px; |
740 | + font-weight: 300; | ||
725 | height: 13px; | 741 | height: 13px; |
726 | line-height: 13px; | 742 | line-height: 13px; |
727 | color: #9a9a9a; | 743 | color: #9a9a9a; |
@@ -825,6 +841,7 @@ | @@ -825,6 +841,7 @@ | ||
825 | padding-right: 6px; | 841 | padding-right: 6px; |
826 | height: 16px; | 842 | height: 16px; |
827 | font-size: 12px; | 843 | font-size: 12px; |
844 | + font-weight: 300; | ||
828 | color: #000; | 845 | color: #000; |
829 | text-align: center; | 846 | text-align: center; |
830 | line-height: 16px; | 847 | line-height: 16px; |
@@ -855,6 +872,7 @@ | @@ -855,6 +872,7 @@ | ||
855 | float: left; | 872 | float: left; |
856 | color: #000; | 873 | color: #000; |
857 | font-size: 13px; | 874 | font-size: 13px; |
875 | + font-weight: 300; | ||
858 | margin-right: 7px; | 876 | margin-right: 7px; |
859 | } | 877 | } |
860 | .dt { | 878 | .dt { |
@@ -877,6 +895,7 @@ | @@ -877,6 +895,7 @@ | ||
877 | -webkit-border-radius: 0; | 895 | -webkit-border-radius: 0; |
878 | -moz-border-radius: 0; | 896 | -moz-border-radius: 0; |
879 | font-size: 12px; | 897 | font-size: 12px; |
898 | + font-weight: 300; | ||
880 | padding: 0; | 899 | padding: 0; |
881 | border: none; | 900 | border: none; |
882 | line-height: 22px; | 901 | line-height: 22px; |
@@ -900,6 +919,7 @@ | @@ -900,6 +919,7 @@ | ||
900 | .cart-del-btn,.cart-col-btn { | 919 | .cart-del-btn,.cart-col-btn { |
901 | display: block; | 920 | display: block; |
902 | font-size:12px; | 921 | font-size:12px; |
922 | + font-weight: 300; | ||
903 | color:#000; | 923 | color:#000; |
904 | text-align:right; | 924 | text-align:right; |
905 | cursor: pointer; | 925 | cursor: pointer; |
@@ -944,6 +964,7 @@ | @@ -944,6 +964,7 @@ | ||
944 | height: 30px; | 964 | height: 30px; |
945 | color: #444; | 965 | color: #444; |
946 | font-size: 15px; | 966 | font-size: 15px; |
967 | + font-weight: 300; | ||
947 | border: 1px solid #e0e0e0; | 968 | border: 1px solid #e0e0e0; |
948 | } | 969 | } |
949 | .cart-num-btn { | 970 | .cart-num-btn { |
@@ -955,12 +976,27 @@ | @@ -955,12 +976,27 @@ | ||
955 | cursor: pointer; | 976 | cursor: pointer; |
956 | font-size: 14px; | 977 | font-size: 14px; |
957 | box-sizing: border-box; | 978 | box-sizing: border-box; |
979 | + | ||
980 | + &:hover { | ||
981 | + background-color: #e0e0e0; | ||
982 | + .icon-minus,.icon-plus { | ||
983 | + color: #666; | ||
984 | + } | ||
985 | + } | ||
986 | + &.disabled { | ||
987 | + &:hover { | ||
988 | + .icon-minus,.icon-plus { | ||
989 | + color: #f0f0f0; | ||
990 | + } | ||
991 | + } | ||
992 | + } | ||
958 | } | 993 | } |
959 | .icon-minus { | 994 | .icon-minus { |
960 | font-size: 18px; | 995 | font-size: 18px; |
961 | display: inline-block; | 996 | display: inline-block; |
997 | + margin-top: 1px; | ||
962 | vertical-align: middle; | 998 | vertical-align: middle; |
963 | - color: #b4b4b4; | 999 | + color: #b0b0b0; |
964 | text-stroke-width: .5px; | 1000 | text-stroke-width: .5px; |
965 | -webkit-text-stroke-width: .5px; | 1001 | -webkit-text-stroke-width: .5px; |
966 | &:before { | 1002 | &:before { |
@@ -971,14 +1007,14 @@ | @@ -971,14 +1007,14 @@ | ||
971 | display: inline-block; | 1007 | display: inline-block; |
972 | vertical-align: middle; | 1008 | vertical-align: middle; |
973 | font-size: 17px; | 1009 | font-size: 17px; |
974 | - color: #b4b4b4; | 1010 | + color: #b0b0b0; |
975 | &:before { | 1011 | &:before { |
976 | content:'\e644'; | 1012 | content:'\e644'; |
977 | } | 1013 | } |
978 | } | 1014 | } |
979 | .disabled { | 1015 | .disabled { |
980 | i { | 1016 | i { |
981 | - color: rgba(180,180,180,.3); | 1017 | + color: #f0f0f0; |
982 | cursor: not-allowed; | 1018 | cursor: not-allowed; |
983 | } | 1019 | } |
984 | } | 1020 | } |
@@ -987,6 +1023,7 @@ | @@ -987,6 +1023,7 @@ | ||
987 | .tip-message { | 1023 | .tip-message { |
988 | background: transparent; | 1024 | background: transparent; |
989 | font-size: 14px; | 1025 | font-size: 14px; |
1026 | + font-weight: 300; | ||
990 | margin-top: 5px; | 1027 | margin-top: 5px; |
991 | color:#ff575c; | 1028 | color:#ff575c; |
992 | &.tip-message-coin { | 1029 | &.tip-message-coin { |
@@ -1024,6 +1061,7 @@ | @@ -1024,6 +1061,7 @@ | ||
1024 | display: inline-block; | 1061 | display: inline-block; |
1025 | padding: 0 10px; | 1062 | padding: 0 10px; |
1026 | font-size: 12px; | 1063 | font-size: 12px; |
1064 | + font-weight: 300; | ||
1027 | color: #000; | 1065 | color: #000; |
1028 | border: 1px solid #000; | 1066 | border: 1px solid #000; |
1029 | background-color: #fff; | 1067 | background-color: #fff; |
@@ -1061,6 +1099,7 @@ | @@ -1061,6 +1099,7 @@ | ||
1061 | width: 190px; | 1099 | width: 190px; |
1062 | text-align: left; | 1100 | text-align: left; |
1063 | font-size: 12px; | 1101 | font-size: 12px; |
1102 | + font-weight: 300; | ||
1064 | color: #000; | 1103 | color: #000; |
1065 | text-align: justify; | 1104 | text-align: justify; |
1066 | padding: 0; | 1105 | padding: 0; |
@@ -1104,10 +1143,11 @@ | @@ -1104,10 +1143,11 @@ | ||
1104 | height: 18px; | 1143 | height: 18px; |
1105 | line-height: 18px; | 1144 | line-height: 18px; |
1106 | font-size:12px; | 1145 | font-size:12px; |
1146 | + font-weight: 300; | ||
1107 | text-align: center; | 1147 | text-align: center; |
1108 | color: #fff; | 1148 | color: #fff; |
1109 | cursor: pointer; | 1149 | cursor: pointer; |
1110 | - background: #000100; | 1150 | + background: #3a3a3a; |
1111 | color: #fff; | 1151 | color: #fff; |
1112 | &.red { | 1152 | &.red { |
1113 | background-color: #ff575c; | 1153 | background-color: #ff575c; |
@@ -1137,6 +1177,12 @@ | @@ -1137,6 +1177,12 @@ | ||
1137 | height: auto; | 1177 | height: auto; |
1138 | overflow: hidden; | 1178 | overflow: hidden; |
1139 | font-size: 14px; | 1179 | font-size: 14px; |
1180 | + font-weight: 300; | ||
1181 | + | ||
1182 | + .check-all-sum { | ||
1183 | + font-size: 16px; | ||
1184 | + color: #444; | ||
1185 | + } | ||
1140 | 1186 | ||
1141 | .cart-item-check { | 1187 | .cart-item-check { |
1142 | margin-top:0; | 1188 | margin-top:0; |
@@ -1146,7 +1192,7 @@ | @@ -1146,7 +1192,7 @@ | ||
1146 | float: left; | 1192 | float: left; |
1147 | 1193 | ||
1148 | a { | 1194 | a { |
1149 | - color: #0883d1; | 1195 | + color: #017cf8; |
1150 | margin-left: 20px; | 1196 | margin-left: 20px; |
1151 | &:hover { | 1197 | &:hover { |
1152 | color: #d0021b; | 1198 | color: #d0021b; |
@@ -1162,11 +1208,18 @@ | @@ -1162,11 +1208,18 @@ | ||
1162 | float: right; | 1208 | float: right; |
1163 | text-align: right; | 1209 | text-align: right; |
1164 | 1210 | ||
1211 | + p { | ||
1212 | + height: 30px; | ||
1213 | + line-height: 30px; | ||
1214 | + } | ||
1215 | + | ||
1165 | strong { | 1216 | strong { |
1166 | color: #d0021b; | 1217 | color: #d0021b; |
1167 | - font-size: 18px; | 1218 | + font-size: 20px; |
1219 | + font-weight: 300; | ||
1168 | &.ins { | 1220 | &.ins { |
1169 | font-size: 14px; | 1221 | font-size: 14px; |
1222 | + font-weight: 300; | ||
1170 | width: initial; | 1223 | width: initial; |
1171 | font-weight: normal; | 1224 | font-weight: normal; |
1172 | } | 1225 | } |
@@ -1175,22 +1228,11 @@ | @@ -1175,22 +1228,11 @@ | ||
1175 | b,strong{ | 1228 | b,strong{ |
1176 | display: inline-block; | 1229 | display: inline-block; |
1177 | font-style: normal; | 1230 | font-style: normal; |
1178 | - width: 120px; | 1231 | + width: 110px; |
1179 | text-align: right; | 1232 | text-align: right; |
1180 | } | 1233 | } |
1181 | } | 1234 | } |
1182 | 1235 | ||
1183 | - /*.sale-info-title {*/ | ||
1184 | - /*position: absolute;*/ | ||
1185 | - /*bottom: 15px;*/ | ||
1186 | - /*&:nth-child(1) {*/ | ||
1187 | - /*left: 50px;*/ | ||
1188 | - /*}*/ | ||
1189 | - /*&:nth-child(2) {*/ | ||
1190 | - /*left: 178px;*/ | ||
1191 | - /*}*/ | ||
1192 | - /*}*/ | ||
1193 | - | ||
1194 | .sum { | 1236 | .sum { |
1195 | color: #333; | 1237 | color: #333; |
1196 | strong { | 1238 | strong { |
@@ -1240,16 +1282,18 @@ | @@ -1240,16 +1282,18 @@ | ||
1240 | display: inline-block; | 1282 | display: inline-block; |
1241 | margin-left: 30px; | 1283 | margin-left: 30px; |
1242 | font-size: 14px; | 1284 | font-size: 14px; |
1285 | + font-weight: 300; | ||
1243 | color: #000; | 1286 | color: #000; |
1244 | } | 1287 | } |
1245 | .btn-account { | 1288 | .btn-account { |
1246 | - width: 160px; | 1289 | + width: 150px; |
1247 | height: 50px; | 1290 | height: 50px; |
1248 | padding: 0; | 1291 | padding: 0; |
1249 | text-align: center; | 1292 | text-align: center; |
1250 | border: 0; | 1293 | border: 0; |
1251 | line-height: 50px; | 1294 | line-height: 50px; |
1252 | - font-size: 16px; | 1295 | + font-size: 20px; |
1296 | + font-weight: 300; | ||
1253 | color: #fff; | 1297 | color: #fff; |
1254 | font-weight: bold; | 1298 | font-weight: bold; |
1255 | display: inline-block; | 1299 | display: inline-block; |
@@ -1278,6 +1322,7 @@ | @@ -1278,6 +1322,7 @@ | ||
1278 | p { | 1322 | p { |
1279 | margin-top: 40px; | 1323 | margin-top: 40px; |
1280 | font-size: 18px; | 1324 | font-size: 18px; |
1325 | + font-weight: 300; | ||
1281 | color: #4d4d4d; | 1326 | color: #4d4d4d; |
1282 | text-align: center; | 1327 | text-align: center; |
1283 | } | 1328 | } |
@@ -1288,6 +1333,7 @@ | @@ -1288,6 +1333,7 @@ | ||
1288 | height: 34px; | 1333 | height: 34px; |
1289 | line-height: 34px; | 1334 | line-height: 34px; |
1290 | font-size: 15px; | 1335 | font-size: 15px; |
1336 | + font-weight: 300; | ||
1291 | color:#000; | 1337 | color:#000; |
1292 | border: 1px solid #000; | 1338 | border: 1px solid #000; |
1293 | box-sizing: border-box; | 1339 | box-sizing: border-box; |
@@ -1304,6 +1350,7 @@ | @@ -1304,6 +1350,7 @@ | ||
1304 | height:14px; | 1350 | height:14px; |
1305 | color: #818181; | 1351 | color: #818181; |
1306 | font-size: 14px; | 1352 | font-size: 14px; |
1353 | + font-weight: 300; | ||
1307 | text-align: left; | 1354 | text-align: left; |
1308 | } | 1355 | } |
1309 | li { | 1356 | li { |
@@ -1332,6 +1379,7 @@ | @@ -1332,6 +1379,7 @@ | ||
1332 | } | 1379 | } |
1333 | .good-name { | 1380 | .good-name { |
1334 | font-size: 14px; | 1381 | font-size: 14px; |
1382 | + font-weight: 300; | ||
1335 | color: #000; | 1383 | color: #000; |
1336 | text-align: left; | 1384 | text-align: left; |
1337 | overflow: hidden; | 1385 | overflow: hidden; |
@@ -1340,16 +1388,19 @@ | @@ -1340,16 +1388,19 @@ | ||
1340 | } | 1388 | } |
1341 | .good-price { | 1389 | .good-price { |
1342 | font-size: 14px; | 1390 | font-size: 14px; |
1391 | + font-weight: 300; | ||
1343 | color: #000; | 1392 | color: #000; |
1344 | text-align: center; | 1393 | text-align: center; |
1345 | } | 1394 | } |
1346 | .good-num { | 1395 | .good-num { |
1347 | font-size: 14px; | 1396 | font-size: 14px; |
1397 | + font-weight: 300; | ||
1348 | color: #000; | 1398 | color: #000; |
1349 | text-align: center; | 1399 | text-align: center; |
1350 | } | 1400 | } |
1351 | .good-operate { | 1401 | .good-operate { |
1352 | font-size: 14px; | 1402 | font-size: 14px; |
1403 | + font-weight: 300; | ||
1353 | color: #000; | 1404 | color: #000; |
1354 | text-align: right; | 1405 | text-align: right; |
1355 | a { | 1406 | a { |
@@ -1376,6 +1427,7 @@ | @@ -1376,6 +1427,7 @@ | ||
1376 | text-align: center; | 1427 | text-align: center; |
1377 | margin:0 13px; | 1428 | margin:0 13px; |
1378 | font-size: 18px; | 1429 | font-size: 18px; |
1430 | + font-weight: 300; | ||
1379 | color: #444; | 1431 | color: #444; |
1380 | display: inline-block; | 1432 | display: inline-block; |
1381 | font-weight: normal; | 1433 | font-weight: normal; |
@@ -1389,6 +1441,7 @@ | @@ -1389,6 +1441,7 @@ | ||
1389 | cursor: pointer; | 1441 | cursor: pointer; |
1390 | float: right; | 1442 | float: right; |
1391 | font-size: 16px; | 1443 | font-size: 16px; |
1444 | + font-weight: 300; | ||
1392 | margin-right: 0; | 1445 | margin-right: 0; |
1393 | &.cur { | 1446 | &.cur { |
1394 | border-bottom: none; | 1447 | border-bottom: none; |
@@ -1423,6 +1476,7 @@ | @@ -1423,6 +1476,7 @@ | ||
1423 | width:100%; | 1476 | width:100%; |
1424 | overflow: hidden; | 1477 | overflow: hidden; |
1425 | font-size: 12px; | 1478 | font-size: 12px; |
1479 | + font-weight: 300; | ||
1426 | 1480 | ||
1427 | .goods { | 1481 | .goods { |
1428 | width: 990px; | 1482 | width: 990px; |
@@ -1453,6 +1507,7 @@ | @@ -1453,6 +1507,7 @@ | ||
1453 | .name { | 1507 | .name { |
1454 | display: block; | 1508 | display: block; |
1455 | font-size: 12px; | 1509 | font-size: 12px; |
1510 | + font-weight: 300; | ||
1456 | color: #222; | 1511 | color: #222; |
1457 | text-align: center; | 1512 | text-align: center; |
1458 | height: 12px; | 1513 | height: 12px; |
@@ -1487,6 +1542,7 @@ | @@ -1487,6 +1542,7 @@ | ||
1487 | margin: 0 auto; | 1542 | margin: 0 auto; |
1488 | color: #3a3a3a; | 1543 | color: #3a3a3a; |
1489 | font-size: 14px; | 1544 | font-size: 14px; |
1545 | + font-weight: 300; | ||
1490 | width: 110px; | 1546 | width: 110px; |
1491 | height: 28px; | 1547 | height: 28px; |
1492 | line-height: 28px; | 1548 | line-height: 28px; |
@@ -1585,6 +1641,7 @@ | @@ -1585,6 +1641,7 @@ | ||
1585 | margin-top: 23px; | 1641 | margin-top: 23px; |
1586 | margin-bottom: 23px; | 1642 | margin-bottom: 23px; |
1587 | font-size: 14px; | 1643 | font-size: 14px; |
1644 | + font-weight: 300; | ||
1588 | color: #444; | 1645 | color: #444; |
1589 | line-height: 1.5; | 1646 | line-height: 1.5; |
1590 | font-weight: normal; | 1647 | font-weight: normal; |
-
Please register or login to post a comment