Showing
5 changed files
with
36 additions
and
15 deletions
@@ -385,7 +385,7 @@ const getCartData = (uid, shoppingKey, cartDelList) => { | @@ -385,7 +385,7 @@ const getCartData = (uid, shoppingKey, cartDelList) => { | ||
385 | 385 | ||
386 | return co(function * () { | 386 | return co(function * () { |
387 | let result = { | 387 | let result = { |
388 | - isEmpty: false, | 388 | + isEmpty: true, |
389 | isLogin: !!uid, | 389 | isLogin: !!uid, |
390 | searchUrl: helpers.urlFormat('', null, 'search'), // 搜索链接(再逛逛) | 390 | searchUrl: helpers.urlFormat('', null, 'search'), // 搜索链接(再逛逛) |
391 | listUrl: helpers.urlFormat('', null, 'list'), | 391 | listUrl: helpers.urlFormat('', null, 'list'), |
@@ -94,8 +94,8 @@ | @@ -94,8 +94,8 @@ | ||
94 | </div> | 94 | </div> |
95 | </li> | 95 | </li> |
96 | <div class="img-brand-switch"> | 96 | <div class="img-brand-switch"> |
97 | - <a class="prev iconfont" href="javascript:;"></a> | ||
98 | - <a class="next iconfont" href="javascript:;"></a> | 97 | + <a class="prev iconfont" href="javascript:;"></a> |
98 | + <a class="next iconfont" href="javascript:;"></a> | ||
99 | </div> | 99 | </div> |
100 | </ul> | 100 | </ul> |
101 | </div> | 101 | </div> |
@@ -297,12 +297,6 @@ function renderAndShowSelWin($item, pinfo) { | @@ -297,12 +297,6 @@ function renderAndShowSelWin($item, pinfo) { | ||
297 | var Cart = { | 297 | var Cart = { |
298 | addToCart: function(params) { | 298 | addToCart: function(params) { |
299 | 299 | ||
300 | - $payWapper.find('.cart-item-check').each(function() { | ||
301 | - | ||
302 | - var $item = $(this); | ||
303 | - var $chk = $item.find('.cart-item-check'); | ||
304 | - if ($chk.hasClass('cart-item-checked')) { | ||
305 | - }, | ||
306 | toggleSelectOne: function() { // 单选 | 300 | toggleSelectOne: function() { // 单选 |
307 | 301 | ||
308 | var $this = $(this); | 302 | var $this = $(this); |
@@ -15,7 +15,7 @@ | @@ -15,7 +15,7 @@ | ||
15 | } | 15 | } |
16 | 16 | ||
17 | .detail-body { | 17 | .detail-body { |
18 | - width: 610px; | 18 | + width: 611px; |
19 | padding: 15px; | 19 | padding: 15px; |
20 | margin: 0 auto; | 20 | margin: 0 auto; |
21 | *zoom: 1; | 21 | *zoom: 1; |
@@ -411,6 +411,29 @@ | @@ -411,6 +411,29 @@ | ||
411 | .side-img-dd { | 411 | .side-img-dd { |
412 | height: 90px; | 412 | height: 90px; |
413 | overflow: hidden; | 413 | overflow: hidden; |
414 | + .img-brand-switch{ | ||
415 | + a { | ||
416 | + position: absolute; | ||
417 | + top: 90px; | ||
418 | + font-size: 22px; | ||
419 | + color: #000; | ||
420 | + width: 20px; | ||
421 | + height: 32px; | ||
422 | + padding-top: 8px; | ||
423 | + text-align: center; | ||
424 | + background-color: #fff; | ||
425 | + &.prev { | ||
426 | + left: 55px; | ||
427 | + } | ||
428 | + &.next { | ||
429 | + right: 55px; | ||
430 | + } | ||
431 | + &.active{ | ||
432 | + background-color: #e9e9e9; | ||
433 | + border: none; | ||
434 | + } | ||
435 | + } | ||
436 | + } | ||
414 | } | 437 | } |
415 | 438 | ||
416 | .slide-img { | 439 | .slide-img { |
@@ -452,13 +475,14 @@ | @@ -452,13 +475,14 @@ | ||
452 | ul { | 475 | ul { |
453 | height: 100%; | 476 | height: 100%; |
454 | li { | 477 | li { |
478 | + position: relative; | ||
455 | float: left; | 479 | float: left; |
456 | width: 65px; | 480 | width: 65px; |
457 | height: 90px; | 481 | height: 90px; |
458 | border: 1px solid #e9e9e9; | 482 | border: 1px solid #e9e9e9; |
459 | box-sizing: border-box; | 483 | box-sizing: border-box; |
460 | overflow: hidden; | 484 | overflow: hidden; |
461 | - margin-right: 20px; | 485 | + margin-right: 21px; |
462 | position: relative; | 486 | position: relative; |
463 | &:nth-child(7n){ | 487 | &:nth-child(7n){ |
464 | margin-right: 0; | 488 | margin-right: 0; |
@@ -476,7 +500,7 @@ | @@ -476,7 +500,7 @@ | ||
476 | } | 500 | } |
477 | .good { | 501 | .good { |
478 | float: left; | 502 | float: left; |
479 | - width: 65px; | 503 | + width: 63px; |
480 | a { | 504 | a { |
481 | cursor: pointer; | 505 | cursor: pointer; |
482 | border: none; | 506 | border: none; |
@@ -1380,7 +1380,7 @@ | @@ -1380,7 +1380,7 @@ | ||
1380 | 1380 | ||
1381 | .individual-slide { | 1381 | .individual-slide { |
1382 | width: 990px; | 1382 | width: 990px; |
1383 | - height: 386px; | 1383 | + height: 368px; |
1384 | overflow: hidden; | 1384 | overflow: hidden; |
1385 | .individual-item { | 1385 | .individual-item { |
1386 | width:100%; | 1386 | width:100%; |
@@ -1389,8 +1389,8 @@ | @@ -1389,8 +1389,8 @@ | ||
1389 | 1389 | ||
1390 | .goods { | 1390 | .goods { |
1391 | width: 990px; | 1391 | width: 990px; |
1392 | - height: 346px; | ||
1393 | - margin: 20px 0; | 1392 | + height: 338px; |
1393 | + margin: 20px 0 10px; | ||
1394 | overflow: hidden; | 1394 | overflow: hidden; |
1395 | } | 1395 | } |
1396 | 1396 | ||
@@ -1454,6 +1454,9 @@ | @@ -1454,6 +1454,9 @@ | ||
1454 | -webkit-border-radius: 0; | 1454 | -webkit-border-radius: 0; |
1455 | -moz-border-radius: 0; | 1455 | -moz-border-radius: 0; |
1456 | background-color: #fff; | 1456 | background-color: #fff; |
1457 | + padding: 0; | ||
1458 | + cursor: pointer; | ||
1459 | + outline: none; | ||
1457 | } | 1460 | } |
1458 | } | 1461 | } |
1459 | } | 1462 | } |
-
Please register or login to post a comment