Authored by yyq

Merge branch 'feature/shoppingCart' of git.yoho.cn:fe/yohobuy-node into feature/shoppingCart

... ... @@ -278,9 +278,74 @@ const getTogetherProduct = (req, res) => {
message: '凑单商品'
};*/
let ret = yield service.getTogetherProduct(page);
return res.send(ret);
// let ret = yield service.getTogetherProduct(page);
// return res.send(ret);
// test
return res.send({
'code': 200,
'message': '',
'data': {
'header': '\u51d1\u5355\u5546\u54c1',
'hasPrev': true,
'hasNext': true,
'item': [{
'id': 675944,
'skn': 51486050,
'href': '\/\/item.yohobuy.com\/product\/pro_675944_831288\/MYFUN yinliaopingxiuhuanvmianwa 1611DPA0195.html',
'title': 'MY FUN \u996e\u6599\u74f6\u7ee3\u82b1\u5973\u68c9\u889c',
'img': '\/\/img10.static.yhbimg.com\/goodsimg\/2017\/01\/12\/08\/01fcff8810cf74104dcb166d971a3fca91.jpg?imageMogr2\/thumbnail\/100x100\/extent\/100x100\/background\/d2hpdGU=\/position\/center\/quality\/80',
'alt': 'MY FUN \u996e\u6599\u74f6\u7ee3\u82b1\u5973\u68c9\u889c',
'price': '19.00',
'marketPrice': '49.00'
}, {
'id': 675942,
'skn': 51486048,
'href': '\/\/item.yohobuy.com\/product\/pro_675942_831286\/MYFUN siyecaoxiuhuanvmianwa 1611DPA0194.html',
'title': 'MY FUN \u56db\u53f6\u8349\u7ee3\u82b1\u5973\u68c9\u889c',
'img': '\/\/img10.static.yhbimg.com\/goodsimg\/2017\/01\/12\/08\/01b5f0a983a76de8fe730e67247cdac0e6.jpg?imageMogr2\/thumbnail\/100x100\/extent\/100x100\/background\/d2hpdGU=\/position\/center\/quality\/80',
'alt': 'MY FUN \u56db\u53f6\u8349\u7ee3\u82b1\u5973\u68c9\u889c',
'price': '19.00',
'marketPrice': '49.00'
}, {
'id': 675876,
'skn': 51485982,
'href': '\/\/item.yohobuy.com\/product\/pro_675876_831220\/MYFUN caitiaowennanshizhangtongwa 1611DPA0045.html',
'title': 'MYFUN \u5f69\u6761\u7eb9\u7537\u58eb\u957f\u7b52\u889c',
'img': '\/\/img12.static.yhbimg.com\/goodsimg\/2017\/01\/12\/10\/0290b5aafe4137bc7c5ec90f3963546cb9.jpg?imageMogr2\/thumbnail\/100x100\/extent\/100x100\/background\/d2hpdGU=\/position\/center\/quality\/80',
'alt': 'MYFUN \u5f69\u6761\u7eb9\u7537\u58eb\u957f\u7b52\u889c',
'price': '19.00',
'marketPrice': '39.00'
}, {
'id': 675874,
'skn': 51485980,
'href': '\/\/item.yohobuy.com\/product\/pro_675874_831218\/MYFUN caitiaowennanshizhangtongwa 1611DPA0043.html',
'title': 'MY FUN \u5f69\u6761\u7eb9\u7537\u58eb\u957f\u7b52\u889c',
'img': '\/\/img10.static.yhbimg.com\/goodsimg\/2017\/01\/12\/10\/01604804248080b4c8cd60dd623e569d24.jpg?imageMogr2\/thumbnail\/100x100\/extent\/100x100\/background\/d2hpdGU=\/position\/center\/quality\/80',
'alt': 'MY FUN \u5f69\u6761\u7eb9\u7537\u58eb\u957f\u7b52\u889c',
'price': '19.00',
'marketPrice': '39.00'
}, {
'id': 675872,
'skn': 51485978,
'href': '\/\/item.yohobuy.com\/product\/pro_675872_831216\/MYFUN ertiaogangnanshizhongtongwa 1611DPA0034.html',
'title': 'MY FUN \u7537\u58eb\u4e2d\u7b52\u889c',
'img': '\/\/img12.static.yhbimg.com\/goodsimg\/2017\/01\/12\/10\/02888bca5ef68cb669a0c47ae31232d87e.jpg?imageMogr2\/thumbnail\/100x100\/extent\/100x100\/background\/d2hpdGU=\/position\/center\/quality\/80',
'alt': 'MY FUN \u7537\u58eb\u4e2d\u7b52\u889c',
'price': '15.00',
'marketPrice': '29.00'
}, {
'id': 675870,
'skn': 51485976,
'href': '\/\/item.yohobuy.com\/product\/pro_675870_831214\/MYFUN ertiaogangnanshizhongtongwa 1611DPA0033.html',
'title': 'MY FUN \u7537\u58eb\u4e2d\u7b52\u889c',
'img': '\/\/img10.static.yhbimg.com\/goodsimg\/2017\/01\/12\/10\/015ef2fb172c81a128b8c6603f89671f03.jpg?imageMogr2\/thumbnail\/100x100\/extent\/100x100\/background\/d2hpdGU=\/position\/center\/quality\/80',
'alt': 'MY FUN \u7537\u58eb\u4e2d\u7b52\u889c',
'price': '15.00',
'marketPrice': '29.00'
}]
}
});
})();
};
... ... @@ -300,9 +365,72 @@ const getRecommendProductAction = (req, res) => {
page = 1;
}
let ret = yield service.getRecommendProduct(channel, uid, udid, page);
res.send(ret);
// let ret = yield service.getRecommendProduct(channel, uid, udid, page);
// res.send(ret);
res.send({
'code': 200,
'message': '',
'data': {
'header': '\u4e3a\u60a8\u4f18\u9009',
'hasPrev': false,
'hasNext': true,
'item': [{
'id': 493102,
'skn': 51295054,
'href': '\/\/item.yohobuy.com\/product\/pro_493102_450622\/LIFEAFTERLIFEDaYiLALA603WO97.html',
'title': 'Life\u00b7After Life \u6e14\u592b\u6263\u5927\u8863\u3010\u591a\u8272\u53ef\u9009\u3011',
'img': '\/\/img11.static.yhbimg.com\/goodsimg\/2016\/10\/08\/17\/01a6ac4cfb94fc6ca1bf4c8450ab7828c9.jpg?imageMogr2\/thumbnail\/100x100\/extent\/100x100\/background\/d2hpdGU=\/position\/center\/quality\/80',
'alt': 'Life\u00b7After Life \u6e14\u592b\u6263\u5927\u8863\u3010\u591a\u8272\u53ef\u9009\u3011',
'price': '589.00',
'marketPrice': '1389.00'
}, {
'id': 599258,
'skn': 51404992,
'href': '\/\/item.yohobuy.com\/product\/pro_599258_575876\/VEIL KEIOS x GARFIELD Sports Cap: Monday landicixiudiandaojiafei heisewanyanmao GFK-007.html',
'title': 'keios under the veil \u84dd\u5e95\u523a\u7ee3\u985b\u5012\u52a0\u83f2 \u9ed1\u8272\u5f2f\u6a90\u5e3d',
'img': '\/\/img10.static.yhbimg.com\/goodsimg\/2016\/10\/08\/14\/01816e75629f40c58a138a30aee2a9eca6.jpg?imageMogr2\/thumbnail\/100x100\/extent\/100x100\/background\/d2hpdGU=\/position\/center\/quality\/80',
'alt': 'keios under the veil \u84dd\u5e95\u523a\u7ee3\u985b\u5012\u52a0\u83f2 \u9ed1\u8272\u5f2f\u6a90\u5e3d',
'price': '248.00'
}, {
'id': 494118,
'skn': 51296096,
'href': '\/\/item.yohobuy.com\/product\/pro_494118_451958\/PHANTACIPH16LTT02TXu.html',
'title': '\u3010JAY CHOU\u5730\u8868\u6700\u5f3a\u6f14\u5531\u4f1a\u7ebf\u4e0a\u72ec\u5bb6\u4e13\u5c5e\u3011PHANTACi X LOONEYTUNES X THEINVINCIBLE TEE-White',
'img': '\/\/img12.static.yhbimg.com\/goodsimg\/2016\/10\/12\/09\/022e6b74072cdce1c4df430707905fc4c6.jpg?imageMogr2\/thumbnail\/100x100\/extent\/100x100\/background\/d2hpdGU=\/position\/center\/quality\/80',
'alt': '\u3010JAY CHOU\u5730\u8868\u6700\u5f3a\u6f14\u5531\u4f1a\u7ebf\u4e0a\u72ec\u5bb6\u4e13\u5c5e\u3011PHANTACi X LOONEYTUNES X THEINVINCIBLE TEE-White',
'price': '119.00',
'marketPrice': '300.00'
}, {
'id': 657894,
'skn': 51466614,
'href': '\/\/item.yohobuy.com\/product\/pro_657894_644268\/converse JACK PURCELL MODERN 155020Cnan.html',
'title': 'converse JACK PURCELL MODERN Man',
'img': '\/\/img10.static.yhbimg.com\/goodsimg\/2016\/12\/18\/14\/01cb0aef0bd168ebcb1de93cefc0d2e376.jpg?imageMogr2\/thumbnail\/100x100\/extent\/100x100\/background\/d2hpdGU=\/position\/center\/quality\/80',
'alt': 'converse JACK PURCELL MODERN Man',
'price': '989.00',
'marketPrice': '1099.00'
}, {
'id': 646540,
'skn': 51454606,
'href': '\/\/item.yohobuy.com\/product\/pro_646540_631202\/5cm MEN SWEAT SHIRT 5CXSWX3503W67BKX.html',
'title': '5cm X KYE \u540e\u80cc\u5370\u82b1\u8fde\u5e3d\u536b\u8863',
'img': '\/\/img11.static.yhbimg.com\/goodsimg\/2016\/12\/08\/10\/0116d5eb256f45a66f082ab54d9ed7926f.jpg?imageMogr2\/thumbnail\/100x100\/extent\/100x100\/background\/d2hpdGU=\/position\/center\/quality\/80',
'alt': '5cm X KYE \u540e\u80cc\u5370\u82b1\u8fde\u5e3d\u536b\u8863',
'price': '1099.00'
}, {
'id': 496860,
'skn': 51298904,
'href': '\/\/item.yohobuy.com\/product\/pro_496860_454976\/INTOTHERAINBOWDuanXiuTXuITRMA603TE103.html',
'title': 'Into The Rainbow \u7f8e\u56fd\u961f\u957f75\u5468\u5e74 \u77ed\u8896T\u6064',
'img': '\/\/img10.static.yhbimg.com\/goodsimg\/2016\/07\/18\/16\/01497d761773446050fcc57c414bee4653.jpg?imageMogr2\/thumbnail\/100x100\/extent\/100x100\/background\/d2hpdGU=\/position\/center\/quality\/80',
'alt': 'Into The Rainbow \u7f8e\u56fd\u961f\u957f75\u5468\u5e74 \u77ed\u8896T\u6064',
'price': '89.00',
'marketPrice': '299.00'
}]
}
});
})();
};
... ...
... ... @@ -70,7 +70,7 @@ const formatCartGoods = (cartGoods, isAdvanceCart, inValid, isOffShelves, analys
pid: it.product_id,
isChecked: it.selected === 'Y',
productTitle: it.product_name,
imgCover: it.goods_images ? helpers.image(it.goods_images, 66, 90) : '',
imgCover: it.goods_images ? helpers.image(it.goods_images, 64,88) : '',
productColor: it.factory_goods_name,
productSize: it.size_name,
productPrice: transPrice(it.last_vip_price), // self::transPrice($value['real_price']);
... ...
<div class="order-ensure-page shop-cart yoho-page clearfix">
<div class="shop-cart yoho-page clearfix">
<div class="order-edit order-cart" id="cart-page">
<div class="order-title cart-page-title order-ensure-title">
{{> shopping-step}}
... ... @@ -32,14 +32,13 @@
<table>
{{# cart.deleteShop}}
<tr data-productnum="{{productNum}}" data-productsku="{{productSku}}">
<td style="width:40%; text-align: left;">成功删除<a class="title" href="{{link}}"
<td style="width:35%; text-align: left;">成功删除<a class="title" href="{{link}}"
target="_blank">{{productTitle}}</a>
</td>
<td style="width:10%;"><span class="productPrice">{{productPrice}}</span></td>
<td style="width:10%;"></td>
<td style="width:10%;">{{productNum}}</td>
<td style="width:10%;"></td>
<td style="width:20%; border-right: none; text-align: right;">
<td style="width:14%;"><span class="productPrice">{{productPrice}}</span></td>
<td style="width:15%;">{{productNum}}</td>
<td style="width:16%;"></td>
<td style="width:11.8%; border-right: none; text-align: right;">
<a href="javascript:void(0);"><span class="goBack">撤销本次删除</span></a>
</td>
</tr>
... ... @@ -54,11 +53,11 @@
<p class="left" style="width:6%;">
<i class="cart-item-check iconfont cart-item-checked"></i>&nbsp;&nbsp;全选
</p>
<p style="width:40%">商品信息</p>
<p style="width:35%">商品信息</p>
<p style="width:14%">单价</p>
<p style="width:13%;">数量</p>
<p style="width:16%;">小计(元)</p>
<p class="right" style="width:11%;">操作</p>
<p style="width:15%;">数量</p>
<p style="width:16%;">小计</p>
<p class="right" style="width:11.8%;">操作</p>
</div>
{{#advanceCart}}
... ... @@ -292,6 +291,25 @@
{{#if noSelectGiftTip}}data-noSelectGiftTip="true"{{/if}}>去结算</a>
</div>
{{/stat}}
<div class="cart-del-goods">
<p class="cart-del-goods-title">已删除商品,您可以重新购买或移入收藏:</p>
<ul>
<li>
<span class="good-name" style="width: 392px;">TEEBACOO虎头字母短袖T恤</span>
<span class="good-price" style="width: 148px;">¥760.00</span>
<span class="good-num" style="width: 128px;">2</span>
<span class="good-operate" style="width: 260px;"><a>重新购买</a><a>移入收藏</a></span>
</li>
<li>
<span class="good-name" style="width: 392px;">TEEBACOO虎头字母短袖T恤</span>
<span class="good-price" style="width: 148px;">¥760.00</span>
<span class="good-num" style="width: 128px;">2</span>
<span class="good-operate" style="width: 260px;"><a>重新购买</a><a>移入收藏</a></span>
</li>
</ul>
</div>
{{> cart-pre-sell-tpl }}
</div>
{{/cart}}
... ... @@ -330,7 +348,7 @@
<div class="individual-slide">
<div data-role="together-slide"></div>
<div data-role="recommend-slide"></div>
<div data-role="fine-slide"></div>
<div data-role="latestWalk-slide"></div>
... ... @@ -369,12 +387,15 @@
{{/unless}}
<div class="loading"><span></span>请稍后...</div>
<div id="Y_goodsSelectWin" class="goods-select-win yoho-dialog cart-togetherGoods" style="top:50px;display:none;">
<div class="close">
<i class="iconfont">&#xe60d;</i>
<div class="modal-overflow" style="display: none;">
<div class="body-modal-black"></div>
<div id="Y_goodsSelectWin" class="goods-select-win yoho- cart-togetherGoods" style="top:50px;">
<div class="close">
<i class="iconfont">&#xe60d;</i>
</div>
<div class="content goods-select-content">
</div>
</div>
<div class="content goods-select-content"></div>
</div>
</div>
... ...
... ... @@ -561,7 +561,7 @@
<ul class="table">
<li class="pre-sell-box tr tr-disabled" {{#if pid}}data-pid="{{pid}}"{{/if}} {{#if id}}data-id="{{id}}"{{/if}} {{#if skn}}data-skn="{{skn}}"{{/if}} {{#if sku}}data-sku="{{sku}}"{{/if}} {{#if productNum}}data-productnum="{{productNum}}"{{/if}} {{#if goodsType}}data-goodstype="{{goodsType}}"{{/if}}>
<div class="pay-pro td" style="width: 45%;">
<del class="cart-item-disabled">失效</del>
<i class="cart-item-disabled iconfont"></i>
<a class="pay-pro-icon" href="{{link}}" target="_blank">
<img src="{{imgCover}}">
<span class="incentive">预售</span>
... ...
... ... @@ -13,10 +13,11 @@
data-size="{{productSize}}"
{{#if isGift}} data-isgift="true"{{/if}}
{{#if isPriceGift}}data-ispricegift="true"{{/if}} >
<div class="pay-pro td" style="width: 45%;">
<sub class="out-of-stock">您勾选的商品库存不足</sub>
<div class="pay-pro td" style="width: 368px;">
{{#unless isGift}}
{{#if inValid}}
<i class="cart-item-disabled">失效</i>
<i class="cart-item-disabled iconfont"></i>
{{else}}
<i class="cart-item-check iconfont {{#isChecked}}cart-item-checked{{/isChecked}}"
data-role="cart-item-check"
... ... @@ -30,11 +31,11 @@
{{#if isAdvance}}<span class="incentive">预售</span>{{/if}}
</a>
<p class="pay-pro-info">
<a href="{{link}}" target="_blank"><code class="good-mark">7777{{tag}}</code>{{productTitle}}</a>
<a href="{{link}}" target="_blank">{{#if tag}}<code class="good-mark">{{tag}}</code>{{/if}}{{productTitle}}</a>
<em class="pay-pro-detail"><span><b title="{{productColor}}">颜色:{{productColor}}</b> 尺码:{{productSize}}<i class="iconfont">&#xe6c7;</i></span></em>
</p>
</div>
<div class="product-price td" style="width:17%;">¥{{productPrice}}
<div class="product-price td" style="width:148px;">¥{{productPrice}}
{{#if promotionInfos}}
<div class="sale-info">
<span class="sale-info-title">促销信息<i></i></span>
... ... @@ -51,7 +52,7 @@
</div>
{{/if}}
</div>
<div style="width:10%;" class="adjust-cart-num td">
<div style="width:128px;" class="adjust-cart-num td">
{{#if isGift}}
<div>{{productNum}}</div>
{{^}}
... ... @@ -68,13 +69,13 @@
{{/if}}
{{/if}}
</div>
<div style="width:17%;" class="sub-total red td">
<div style="width:160px;" class="sub-total red td">
¥{{productSubtotal}}
{{#if yohoIcon}}
<p class="tip-message tip-message-coin"><i class="yoho-coin"></i>{{yohoIcon}}有货币</p>
{{/if}}
</div>
<div style="width:11%;" class="cart-operation td">
<div style="width:100px;" class="cart-operation td">
<span class="cart-del-btn" data-role="cart-del-btn">删除</span>
<span class="cart-col-btn" data-role="cart-mov2fav-btn">移入收藏</span>
</div>
... ...
No preview for this file type
... ... @@ -2,7 +2,7 @@
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
<svg xmlns="http://www.w3.org/2000/svg">
<metadata>
Created by FontForge 20120731 at Mon Jan 9 15:15:32 2017
Created by FontForge 20120731 at Mon Jan 16 14:33:27 2017
By admin
</metadata>
<defs>
... ... @@ -16,7 +16,7 @@ Created by FontForge 20120731 at Mon Jan 9 15:15:32 2017
ascent="896"
descent="-128"
x-height="792"
bbox="-6 -212 1160 996"
bbox="-6 -212 2176 996"
underline-thickness="0"
underline-position="0"
unicode-range="U+0078-E701"
... ... @@ -275,15 +275,9 @@ d="M512 -62q-91 0 -173.5 35.5t-142 95t-95 142t-35.5 173.5t35.5 173.5t95 142t142
t139 139t51 192t-51 192t-139 139t-192 51zM464 592q0 -20 14 -34t34 -14t34 14t14 34t-14 34t-34 14t-34 -14t-14 -34zM512 128q-13 0 -22.5 9.5t-9.5 22.5v288q0 13 9.5 22.5t22.5 9.5t22.5 -9.5t9.5 -22.5v-288q0 -13 -9.5 -22.5t-22.5 -9.5z" />
<glyph glyph-name="yuanxingweixuanzhong" unicode="&#xe6c3;"
d="M512 -64q-185 0 -316.5 131.5t-131.5 316.5t131.5 316.5t316.5 131.5t316.5 -131.5t131.5 -316.5t-131.5 -316.5t-316.5 -131.5zM512 768q-159 0 -271.5 -112.5t-112.5 -271.5t112.5 -271.5t271.5 -112.5t271.5 112.5t112.5 271.5t-112.5 271.5t-271.5 112.5z" />
<glyph glyph-name="qianbi" unicode="&#xe6c7;"
d="M921.5 780.5q-39.5 39.5 -95 39.5t-95.5 -39l-15 -16l190 -191l16 16q39 39 39 95t-39.5 95.5zM904 640l-123 123q25 15 56.5 11t52.5 -25q22 -22 25.5 -53t-11.5 -56zM658 693l177 -178l25 26l-177 178zM126 7l76 153l-35 45l-101 -258l284 75l-46 36zM405 134l-127 127
l377 370l-36 36l-415 -420l187 -188l418 418l-36 36z" />
<glyph glyph-name="Fill" unicode="&#xe6c9;"
d="M512 52q-34 0 -58.5 24.5t-24.5 59t24.5 58.5t58.5 24t58.5 -24t24.5 -58.5t-24.5 -59t-58.5 -24.5zM457 660q0 23 16 39.5t39 16.5t39 -16.5t16 -39.5v-304q0 -22 -16 -38.5t-39 -16.5t-39 16.5t-16 38.5v304zM512 896h-6q-104 0 -199 -40.5t-163.5 -109t-109 -163.5
t-40.5 -199t40.5 -199t109 -163.5t163.5 -109t199 -40.5h6h6q104 0 199 40.5t163.5 109t109 163.5t40.5 199t-40.5 199t-109 163.5t-163.5 109t-199 40.5h-6z" />
<glyph glyph-name="xuanzhong" unicode="&#xe6cb;"
d="M512 832q-91 0 -174 -35.5t-143 -95.5t-95.5 -142.5t-35.5 -174t35.5 -174t95.5 -142.5t143 -95.5t174 -35.5t174 35.5t143 95.5t95 142.5t35 174t-35 174t-95 142.5t-143 95.5t-174 35.5zM758 508l-266 -267v0l-2 -1l-17 -17q-2 -3 -5 -5l-2 -2q-2 -1 -6 -1t-6 1l-2 3
l-6 4l-15 16l-2 3h-1l-163 171q-12 14 -6 20l26 25q7 6 20 -7l156 -164l259 259q13 13 19 6l26 -25q6 -7 -7 -19z" />
<glyph glyph-name="konggouwuche" unicode="&#xe6cc;"
d="M1007 686q-20 23 -55 23h-6h-665q-13 53 -25 106q-4 16 -12.5 28.5t-16.5 19.5t-18 12t-14 6t-7 2h-140h-2q-16 -4 -31 -19.5t-15 -41.5q0 -13 4.5 -25t10.5 -18.5t13.5 -11.5l10.5 -7t6 -2l61 -1q118 -480 137 -555q7 -26 18 -45t21.5 -28t22.5 -14.5t17.5 -6t9.5 -0.5
v0q189 -1 333 -1q127 0 155 1q38 1 60 23.5t27 45.5q100 332 115 432q8 50 -15 77zM1000 612q-14 -88 -115 -429q0 -3 -1.5 -7t-6.5 -12.5t-11.5 -15t-18.5 -12t-27 -6.5q-28 -1 -155 -1h-49h-51t-50 0.5t-47.5 0.5h-43.5h-37.5h-28.5h-19h-7q-3 0 -6.5 0.5t-12.5 5
... ... @@ -301,5 +295,31 @@ q-42 -57 -105.5 -93.5t-135.5 -46.5q-72 -9 -141 9t-126 61q-19 14 -44 10.5t-39 -23
<glyph glyph-name="yz" unicode="&#xe6d2;"
d="M255 743q113 85 252.5 96.5t262.5 -51.5l83 83q25 25 63 12q18 0 28.5 -15t10.5 -36v-248q0 -24 -17 -40.5t-41 -16.5h-254q-38 0 -57 38q-12 48 12 64l70 70q-79 35 -174 22t-169 -73q-78 -59 -115.5 -148.5t-26 -186t71.5 -174.5q43 -57 106.5 -93.5t135.5 -46.5
q71 -9 140 9t127 61q19 14 43.5 10.5t39 -23t10.5 -44t-23 -38.5q-133 -102 -293 -102q-44 0 -63 6q-97 15 -179.5 62t-139.5 123q-78 106 -92.5 235t35.5 248t153 197z" />
<glyph glyph-name="hh" unicode="&#xe6d3;" horiz-adv-x="1170"
d="M995 91q97 131 110 291.5t-59 301.5l95 95q29 29 15 73q0 21 -17.5 32.5t-41.5 11.5h-285q-28 0 -47 -19t-19 -47v-285q0 -44 44 -66q54 -13 73 15l81 80q40 -97 25.5 -206.5t-84.5 -195.5q-68 -90 -171 -133t-213.5 -29.5t-200.5 81.5q-66 50 -108 123t-53 155t10 162
t70 146q17 22 12.5 50t-26.5 44.5t-50.5 12t-44.5 -26.5q-51 -68 -80.5 -153t-29.5 -176q0 -51 7 -73q17 -111 71.5 -206t140.5 -160q119 -93 266 -111.5t283.5 38t226.5 175.5z" />
<glyph glyph-name="sc" unicode="&#xe6d5;"
d="M409.5 787q124.5 0 212.5 -88t88 -212.5t-88 -212.5t-212.5 -88t-212.5 88t-88 212.5t88 212.5t212.5 88zM409.5 896q-110.5 0 -204.5 -55.5t-149.5 -149.5t-55.5 -204.5t55.5 -205t149.5 -149.5t204.5 -55t205 55t149.5 149.5t55 205t-55 204.5t-149.5 149.5t-205 55.5z
M890 -109l-269 269l115 115l269 -269q14 -14 14 -38t-14 -38l-39 -39q-14 -19 -35.5 -19t-40.5 19z" />
<glyph glyph-name="w" unicode="&#xe6d6;"
d="M512 823q89 0 170 -35t140 -94t94 -140t35 -170t-35 -170t-94 -140t-140 -94t-170 -35t-170 35t-140 94t-94 140t-35 170t35 170t94 140t140 94t170 35zM512 896q-105 0 -200 -40t-163.5 -108.5t-108.5 -163.5t-40 -200q0 -140 68 -258t186 -186t258 -68t258 68t186 186
t68 258q0 105 -40 200t-108.5 163.5t-163.5 108.5t-200 40zM505 245q-18 0 -31 11.5t-13 32.5q0 48 23.5 85.5t64.5 60.5q26 11 42 35.5t16 52.5q0 44 -29 73t-73 29t-73.5 -29t-29.5 -73q0 -16 -13.5 -30t-30 -14t-30 14t-13.5 30q0 77 56.5 133.5t133 56.5t133.5 -56.5
t57 -133.5q0 -56 -27 -101.5t-76 -66.5q-43 -30 -43 -66q0 -18 -12 -31t-32 -13zM505 128zM439 128q0 -27 19 -46.5t46.5 -19.5t47 19.5t19.5 46.5t-19.5 46.5t-47 19.5t-46.5 -19.5t-19 -46.5z" />
<glyph glyph-name="Slice" unicode="&#xe6d8;" horiz-adv-x="2176"
d="M1696 566h-105q-24 -64 -45 -96q21 0 42 12q3 -30 17 -92q13 -61 37 -115q30 56 43.5 149.5t10.5 141.5zM1792 50q-47 24 -87 58q-36 32 -66 71q-38 -36 -79 -65q-40 -28 -119 -70q-15 33 -51 54q39 5 108 46q69 40 105 80q-24 50 -37 105q-15 61 -26 123l-21 -37
q-12 34 -36 61q36 54 66 135q30 80 42 153q36 -18 78 -27q-15 -15 -30 -47q-18 -39 -33 -79q189 0 231 3v-51q-38 3 -77 3h-4q-3 -92 -21 -182q-18 -94 -57 -160q9 -28 59 -63q47 -36 103 -54q-36 -21 -48 -57v0zM1285 165q-32 -34 -102 -88q-22 28 -54 48q45 21 84 51
q45 33 87 93q-37 32 -99 84l30 41q52 -42 99 -77q24 38 33 98q30 -14 60 -24q-22 -57 -48 -113l84 -84q-27 -21 -51 -45q-21 33 -66 78q-23 -27 -57 -62zM1194 484q28 48 40 82q33 -18 60 -39q-12 -9 -39 -51q-36 -55 -75 -108q-26 17 -54 33q40 37 68 83zM1012 71
q-37 14 -87.5 41t-83.5 50q-84 59 -126 143q-36 -78 -105 -141.5t-186 -113.5q-17 32 -45 57q42 10 95 37t87 54q79 64 103 143h-174q-47 0 -105 -3v56q60 -3 105 -3h186q9 63 9 136h-174q-30 -54 -63 -105q-27 16 -57 27q54 65 83 129q28 62 37 111q36 -18 66 -27
q-15 -16 -45 -84h153q0 108 -3 162q38 -4 69 -6q-6 -43 -7.5 -76t-1.5 -80h141q49 0 99 2v-56q-48 3 -99 3h-141q0 -67 -6 -136h201q45 0 99 3v-56q-49 2 -99 3h-177q36 -81 123 -132q88 -51 171 -69q-24 -31 -42 -69zM1489 436q-27 -15 -51 -35q-43 64 -90 126q24 11 48 35
q20 -29 45 -62zM1132 634q41 -3 87 -3h180q45 0 81 3v-51q-37 4 -74 4l-4 -1h-183q-49 0 -87 -3v51v0zM1318 758q24 -46 42 -93q-28 -13 -57 -24q-19 48 -42 96q29 9 57 21v0zM1664 896h-1152q-138 0 -256 -69t-187 -187t-69 -256t69 -256t187 -187t256 -69h1152
q138 0 256 69t187 187t69 256t-69 256t-187 187t-256 69v0z" />
<glyph glyph-name="icon-right" unicode="&#xe6dc;"
d="M734 452l-444 444l-68 -68l445 -444l-445 -444l68 -68l512 512z" />
<glyph glyph-name="icon-test" unicode="&#xe6cb;"
d="M512 896q-103 0 -197.5 -41t-163.5 -110t-110 -163.5t-41 -197.5t41 -197.5t110 -163.5t163.5 -110t197.5 -41t197.5 41t163.5 110t110 163.5t41 197.5t-41 197.5t-110 163.5t-163.5 110t-197.5 41zM847 548l-335 -471q-11 -21 -36 -28t-46 7l-232 205q-20 10 -25.5 36
t4.5 46q11 21 36.5 28t45.5 -7l185 -171l293 416q11 21 36 28t46 -7q25 -15 32 -38.5t-4 -43.5z" />
<glyph glyph-name="bi" unicode="&#xe6c7;"
d="M973 845q-51 51 -119 51t-119 -51l-591 -592q-14 -13 -14 -20l-122 -292q-9 -25 6 -55q26 -26 55 -7l292 123q7 0 21 13l591 592q46 51 46 119t-46 119zM239 206v13l483 483h13l102 -102v-13l-285 -279l-204 -204h-14zM912 777q21 -25 19.5 -57t-26.5 -52l-7 -7h-13
l-102 96v13l13 14q25 21 60.5 19.5t55.5 -26.5zM123 -5l61 143l82 -82z" />
</font>
</defs></svg>
... ...
No preview for this file type
No preview for this file type

49.7 KB | W: | H:

40.4 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
... ... @@ -215,6 +215,10 @@ var Cart = {
promotion_id: $item.data('promotionid') ? $item.data('promotionid') : 0
};
if ($this.hasClass('has-col-btn')) {
return;
}
capi.cartItemDel(item);
},
toFavAll: function() {
... ...
... ... @@ -294,52 +294,44 @@ function getProductByPromotionId(promotionId) {
function getFineProduct(page) {
$.ajax({
return $.ajax({
type: 'GET',
dataType: 'json',
url: '/cart/data/recommendProduct',
data: page
}).then(function(d) {
return d;
/* if (d.code === 200 && d.data.item.length > 0) {
$obj.html(' ');
togetherProductStr = togetherProductTemplate(d.data);
$obj.append($(togetherProductStr));
$('#orderProduct li:last').addClass('end');
$('.gift').removeClass('none');
// 为您优选埋点
/* if ($obj.hasClass('givePoint')) {
$.each(d.data.item, function(key, val) {
PRDID.push(val.id);
});
//为您优选埋点
if ($obj.hasClass('givePoint')) {
$.each(d.data.item, function(key, val) {
PRDID.push(val.id);
});
window.givePoint({
'REC_POSE': 120003,
'PRD_ID': PRDID.join(','),
'PRD_NUM': d.data.item.length,
'ACTION_ID': 0,
'page_num': page && page.page ? page.page : 1
});
$('.givePoint ul a').unbind('click').bind('click', function() {
window.givePoint({
'REC_POSE': 120003,
'PRD_ID': PRDID.join(','),
'PRD_NUM': d.data.item.length,
'ACTION_ID': 0,
'PRD_ID': $(this).closest('li').find('.btn_view_s').data('id'),
'PRD_NUM': $(this).closest('li').index() + 1,
'ACTION_ID': 1,
'page_num': page && page.page ? page.page : 1
});
$('.givePoint ul a').unbind('click').bind('click', function() {
window.givePoint({
'REC_POSE': 120003,
'PRD_ID': $(this).closest('li').find('.btn_view_s').data('id'),
'PRD_NUM': $(this).closest('li').index() + 1,
'ACTION_ID': 1,
'page_num': page && page.page ? page.page : 1
});
return true;
});
}
return true;
});
}*/
return d;
});
}
function getTogetherProduct(page) {
var PRDID = [];
// var PRDID = [];
return $.ajax({
type: 'GET',
... ...
... ... @@ -9,18 +9,26 @@ var $payWapper = $('.pay-wapper'),
giftsWinTpl = require('hbs/cart/cart-gifts-win-tpl.hbs'),
productInfoTpl = require('hbs/cart/cart-product-info-tpl.hbs'),
$goodsSelWin = $('#Y_goodsSelectWin');
$ModalOverflow = $('.modal-overflow');
var capi = require('./cart-api');
$(function () {
$(".body-modal-black").css({
height: $(document).height(),
width: $(document).width()
});
})
function renderAndShowGiftWin(plist) {
$goodsSelWin.find('.content').empty().html(giftsWinTpl(plist));
$goodsSelWin.show();
$ModalOverflow.show();
$ModalOverflow.closest('body').css({"overflow":'hidden',"position":"relative"});
}
/** 赠品加价购弹窗 **/
var GoodsWinAction = {
showGiftWin: function() {
showGiftWin: function () {
var $this = $(this);
var $wrap = $this.closest('[data-role="promotion-wrap"]');
... ... @@ -49,7 +57,7 @@ var GoodsWinAction = {
$promotionPool.find('[data-role=pitem][data-ispricegift], [data-role=pitem][data-isgift]');
if (!promotionInfo) {
capi.getProductByPromotionId(promotionid).done(function(pinfo) {
capi.getProductByPromotionId(promotionid).done(function (pinfo) {
if (!pinfo && pinfo.code !== 200) {
... ... @@ -64,7 +72,7 @@ var GoodsWinAction = {
$wrap.data('_promotionInfo', promotionInfo);
renderAndShowGiftWin(promotionInfo);
}).fail(function() {
}).fail(function () {
new Alert('获取商品失败,请稍后再试!').show();
});
return;
... ... @@ -72,10 +80,10 @@ var GoodsWinAction = {
renderAndShowGiftWin(promotionInfo);
},
closeWin: function() {
$goodsSelWin.hide();
closeWin: function () {
$ModalOverflow.hide();
},
changeGoods: function() {
changeGoods: function () {
var $this = $(this);
var id = $this.data('id');
... ... @@ -88,7 +96,7 @@ var GoodsWinAction = {
$goodsSelWin.find('.product-detail-info').empty().append(productInfoTpl(res));
});
},
selThumb: function() {
selThumb: function () {
var $this = $(this);
var idx = $(this).index();
... ... @@ -96,7 +104,7 @@ var GoodsWinAction = {
$this.addClass('active');
$goodsSelWin.find('.detail-bigpic:not(.none) .bigpic').hide().eq(idx).show();
},
selThumbPrevNext: function() {
selThumbPrevNext: function () {
var $this = $(this);
var $detailBigpic = $this.closest('.detail-bigpic');
var curIndex = Number($detailBigpic.data('_index') || 0);
... ... @@ -119,7 +127,7 @@ var GoodsWinAction = {
$lis.removeClass('active').eq(curIndex).addClass('active');
$detailBigpic.find('.bigpic').hide().eq(curIndex).show();
},
selColor: function() {
selColor: function () {
var $this = $(this);
var idx = $this.index();
... ... @@ -151,7 +159,7 @@ var GoodsWinAction = {
$curDetailBig.find('.con li').removeClass('active');
$curDetailBig.find('.con li').eq(bigPicIndex).addClass('active');
$sizes.eq(idx).find('span').each(function() {
$sizes.eq(idx).find('span').each(function () {
if ($(this).hasClass('null-atcivec')) {
$goodsSelWin.find('.addcart').addClass('none');
$goodsSelWin.find('.btn_sellout').removeClass('none');
... ... @@ -162,7 +170,7 @@ var GoodsWinAction = {
}
});
},
selSize: function() {
selSize: function () {
var $this = $(this);
... ... @@ -180,7 +188,7 @@ var GoodsWinAction = {
$goodsSelWin.find('.btn_sellout').removeClass('none');
}
},
changeNum: function() {
changeNum: function () {
var $this = $(this);
var $pinfo = $this.closest('.product-detail-info');
... ... @@ -212,7 +220,7 @@ var GoodsWinAction = {
}
},
add2Cart: function() {
add2Cart: function () {
var $this = $(this);
var $curSize = $goodsSelWin.find('[data-role=sizes] .size-row:not(.none) .active');
... ...
... ... @@ -3,7 +3,7 @@
*/
var capi = require('./cart-api');
var togetherTpl = require('hbs/cart/cart-together-item');
var togetherTpl = require('hbs/cart/cart-together-item.hbs');
var $togetherSlide = $('[data-role=together-slide]');
var $fineSlide = $('[data-role=fine-slide]');
... ... @@ -92,7 +92,10 @@ loadSlideGoods();
function loadTogetherProduct(page) {
capi.getTogetherProduct(page).done(function(togetherInfo) {
$togetherSlide.html(togetherTpl(togetherInfo));
if (togetherInfo && togetherInfo.code === 200) {
$togetherSlide.html(togetherTpl(togetherInfo.data));
}
});/* .fail(function() {
});*/
... ... @@ -100,7 +103,9 @@ function loadTogetherProduct(page) {
function loadFineProduct(page) {
capi.getFineProduct(page).done(function(fineInfo) {
$fineSlide.html(togetherTpl(fineInfo));
if (fineInfo && fineInfo.code === 200) {
$fineSlide.html(togetherTpl(fineInfo.data));
}
});/* .fail(function() {
});*/
... ... @@ -110,3 +115,27 @@ setTimeout(function() {
loadTogetherProduct(1);
loadFineProduct(1);
}, 0);
// 凑单商品翻页
$togetherSlide.on('click', '.pagenext, .pageprev', function() {
loadTogetherProduct(Math.ceil(Math.random() * 100) + 1);
});
// 为您优选翻页
$fineSlide.on('click', '.pagenext, .pageprev', function() {
var pageNum = Number($fineSlide.data('pagenum') || 1);
if ($(this).hasClass('pagenext')) {
if (pageNum !== 5) {
pageNum++;
} else {
pageNum = 1;
}
} else {
--pageNum > 0 || (pageNum = 1);
}
$fineSlide.data('pagenum', pageNum);
loadFineProduct(pageNum);
});
... ...
... ... @@ -57,7 +57,7 @@ function isCheckFav() {
data: {
pidList: pidArray.join(',')
}
}).then(function(result) {
}).done(function(result) {
$.each(result.data, function(pid, obj) {
if (obj.code !== 200) {
... ... @@ -66,7 +66,6 @@ function isCheckFav() {
if (obj.data) {
$sellBox.each(function() {
if (String($(this).data('pid')) === String(pid)) {
$(this).find('.cart-col-btn').addClass('has-col-btn').html('已收藏');
return false;
... ...
.order-ensure-page{
.none{
display: none !important;
}
.curser-button {
cursor: pointer;
}
.gift{
position: relative;
width: 988px;
height: 50px;
background:resolve(cart/cart_gift.png) 0 0 repeat;
border: 1px solid #ccc;
text-align: center;
p{
background:resolve(cart/cart_gift_banner.jpg) 0 0 no-repeat;
display: inline-block;
width: 450px;
height: 50px;
overflow: hidden;
}
i{
width: 30px;
height: 30px;
overflow: hidden;
position: absolute;
top: 10px;
right: 5px;
cursor: pointer;
}
.up{
background: url(/cart/btn_gift_up.png);
}
.down{
background: url(/cart/btn_gift_down.png);
}
}
.loading{
width: 120px;
height: 28px;
overflow: hidden;
position: absolute;
left: 50%;
top: 50%;
display: none;
line-height: 30px;
border:1px solid #ccc;
font-size: 12px;
text-indent: 10px;
background: #fff;
span{
width: 20px;
height: 20px;
float: left;
margin: 4px 4px 4px 13px;
background: resolve(cart/loading_s.gif) 2px 2px no-repeat;
}
}
.dev-revocation {
border: 1px solid #fcd081;
background: #fff8d9;
margin-bottom: 15px;
td{
border: none;
a{
color: #468fa2;
margin-left: 12px;
&:hover{
text-decoration:underline;
}
}
}
}
.salesPromotion{
width: 990px;
height: 36px;
border-bottom: #ccc solid 1px;
font-size: 12px;
p{
width: 800px;
height: 36px;
line-height: 36px;
float: left;
padding: 0 10px;
b{
margin-right: 5px;
background: #6c6c6c;
border-radius: 4px;
padding: 1px 5px;
color: #fff;
}
}
span{
width: 150px;
height: 36px;
padding: 0 10px;
line-height: 36px;
float: right;
text-align: right;
position: relative;
i{
position: absolute;
top: 11px;
left: 108px;
float: left;
width: 13px;
height: 13px;
background: url(/cart/checkout.png);
}
}
.modal-overflow{
overflow-x: hidden;
overflow-y: auto;
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 99;
-webkit-transition: opacity .15s linear;
-o-transition: opacity .15s linear;
transition: opacity .15s linear;
-webkit-overflow-scrolling: touch;
outline: 0;
}
.body-modal-black{
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 100;
background: #000;
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";
opacity: 0.2;
-webkit-transition: opacity .15s linear;
-o-transition: opacity .15s linear;
transition: opacity .15s linear;
&.fade {
opacity: 0;
}
.pay-wapper {
&+.yoho-dialog{
position: relative;
.free{
display: inline-block;
width: 39px;
height: 20px;
background: url(/cart/icon_charge_free.png);
}
.none{
display: none;
}
.fold{
display: none;
}
.vipPrice{
color: #e8044f;
display: block;
}
.presell {
color: #c21250;
display: block;
}
.giftInfo{
margin-left: 30px;
}
.pre-sell-box {
.cart-empty{
border: none;
padding: 100px 0 100px 260px ;
background: resolve(cart/cart_empty.gif) 200px 56px no-repeat;
a{
display: inline-block;
width: 90px;
height: 35px;
background: url(/cart/icons02.png);
overflow: hidden;
color: #666;
line-height: 32px;
}
}
/*.incentive {*/
/*background: #000100;*/
/*color: #fff;*/
/*&.red {*/
/*background: #ff575c;*/
/*}*/
/*}*/
}
.cart-add-btn{
width: 118px;
height: 32px;
display: inline-block;
overflow: hidden;
border: 0px;
cursor: pointer;
line-height: 32px;
}
.zp{
background: url(/cart/btn_select_zp.png);
}
.order{
background: url(/cart/btn_order.png);
}
.cart-yetremove-btn {
height: 20px;
line-height: 21px;
padding:0 10px;
display: inline-block;
color: #b3b3b3;
position: relative;
border: 1px solid #dcdcdc;
background: #ebebeb;
border-radius: 3px;
}
.special-limit-7day{
display: block;
height: 16px;
line-height: 16px;
}
.special-limit-7day i{
float: left;
display: block;
width: 16px;
height: 16px;
margin-right: 2px;
background: url(/cart/7day-limit.png) no-repeat;
}
.promotion-pool{
margin-bottom:20px;
}
}
.cartnew-goodslist {
margin-bottom: 10px;
font-size: 12px;
border: 1px solid #ccc;
.title {
height: 20px;
padding: 8px 10px;
background: #efefef;
h2 {
height: 20px;
line-height: 24px;
overflow: hidden;
font-size: 12px;
float: left;
cursor: pointer;
i {
width: 15px;
height: 15px;
float: left;
position: relative;
top: 4px;
margin-right: 5px;
}
.icon-minus{
background: url(/cart/i_minus.png);
}
.icon-add{
background: url(/cart/iadd.png);
}
}
}
.right {
float: right;
span{
width: 28px;
height: 22px;
display: inline-block;
}
.pageprev{
background: url(/cart/pc_pre.png);
}
.pagenext{
background: url(/cart/pc_next.png);
}
}
.main {
height: 230px;
border-top: 1px #e3e3e3 solid;
display: block;
ul {
height: auto;
width: 100%;
overflow: hidden;
}
li {
width: 16.6667%;
box-sizing: border-box;
height: 230px;
border-right: 1px #e3e3e3 solid;
float: left;
&.end {
border: none;
}
}
.list {
width: 102px;
padding: 10px 0 0px 0;
margin: 0 auto;
}
.thumb {
height: 110px;
img{
display: block;
margin:0 auto;
}
}
.name {
height: 35px;
overflow: hidden;
font-size: 12px;
h3 {
height: 30px;
line-height: 15px;
font-size: 12px;
font-weight: normal;
color: #333;
cursor: pointer;
overflow: hidden;
}
a {
color: #333;
text-decoration: underline;
}
}
.price {
color: #333;
height: 25px;
line-height: 25px;
font-weight: bold;
white-space: nowrap;
overflow: hidden;
text-align: center;
font-size: 12px;
del{
color: #999;
}
}
.op {
text-align: center;
padding: 0 0 5px 0;
}
.btn_view_s {
width: 100px;
height: 22px;
background: url(/cart/btn_view_s.png);
display: inline-block;
border: 0;
}
}
-webkit-transition: -webkit-transform .3s ease-out;
-o-transition: -o-transform .3s ease-out;
transition: transform .3s ease-out;
-webkit-transform: translate(0,-25%);
-ms-transform: translate(0,-25%);
-o-transform: translate(0,-25%);
transform: translate(0,-25%);
-webkit-transform: translate(0,0);
-ms-transform: translate(0,0);
-o-transform: translate(0,0);
transform: translate(0,0);
}
}
.shop-cart {
width: 990px;
margin: 40px auto;
.red {
color: #d0021b;
... ... @@ -381,6 +81,28 @@
background-color: transparent;
}
.loading{
width: 120px;
height: 28px;
overflow: hidden;
position: absolute;
left: 50%;
top: 50%;
display: none;
line-height: 30px;
border:1px solid #ccc;
font-size: 12px;
text-indent: 10px;
background: #fff;
span{
width: 20px;
height: 20px;
float: left;
margin: 4px 4px 4px 13px;
background: resolve(cart/loading_s.gif) 2px 2px no-repeat;
}
}
.order-ensure-title {
position: relative;
margin: 40px auto 50px;
... ... @@ -753,20 +475,26 @@
}
.cart-item-disabled {
/*display: block;*/
/*font-size: 13px;*/
/*color: #fff;*/
/*padding:2px 5px;*/
/*border-radius: 50%;*/
/*-webkit-border-radius: 50%;*/
/*-moz-border-radius: 50%;*/
/*background-color: #000100;*/
position: absolute;
top: 63px;
left: 15px;
width: 15px;
height: 15px;
color: #3a3a3a;
float: left;
margin-top: 0;
margin-left: 15px;
display: inline-block;
cursor: not-allowed;
&:before {
content: "\e6d8";
}
}
.out-of-stock {
position: absolute;
top: 30px;
left: -35px;
left: 21px;
display: inline-block;
font-size: 12px;
color: #000;
... ... @@ -1029,6 +757,7 @@
position: relative;
width: 98px;
height: 30px;
margin-left: 15px;
.minus {
position: absolute;
top: 0;
... ... @@ -1176,12 +905,13 @@
display: block;
position: relative;
img {
max-width: 66px;
max-width: 64px;
width: 100%;
}
.incentive {
position: absolute;
left: -1px;
bottom: 0px;
bottom: -1px;
width: 66px;
display: block;
height: 18px;
... ... @@ -1302,6 +1032,7 @@
}
.cart-title {
position: relative;
.cart-item-check {
&.cart-item-checked{
color: #fff;
... ... @@ -1368,7 +1099,65 @@
cursor: pointer;
}
}
}
.cart-del-goods {
.cart-del-goods-title {
margin-top: 28px;
padding-left: 30px;
line-height:14px;
height:14px;
color: #818181;
font-size: 14px;
text-align: left;
}
li {
margin-top: 10px;
padding: 9px 30px 9px 30px;
background-color: #f0f0f0;
*zoom: 1;
&:after {
content: '';
display: block;
height: 0;
overflow: hidden;
clear: both;
}
}
[class^="good-"]{
display: block;
float: left;
line-height: 14px;
}
.good-name {
font-size: 14px;
color: #000;
text-align: left;
}
.good-price {
font-size: 14px;
color: #000;
text-align: center;
}
.good-num {
font-size: 14px;
color: #000;
text-align: center;
}
.good-operate {
font-size: 14px;
color: #000;
text-align: right;
a {
cursor: pointer;
display: inline-block;
margin-right: 20px;
&:last-child {
margin-right: 0;
}
}
}
}
... ... @@ -1409,7 +1198,6 @@
.cur {
border-bottom: 2px solid #3a3a3a;
}
}
}
... ...