Authored by OF1706

n

... ... @@ -385,7 +385,7 @@ const getCartData = (uid, shoppingKey, cartDelList) => {
return co(function * () {
let result = {
isEmpty: false,
isEmpty: true,
isLogin: !!uid,
searchUrl: helpers.urlFormat('', null, 'search'), // 搜索链接(再逛逛)
listUrl: helpers.urlFormat('', null, 'list'),
... ...
... ... @@ -94,8 +94,8 @@
</div>
</li>
<div class="img-brand-switch">
<a class="prev iconfont" href="javascript:;"></a>
<a class="next iconfont" href="javascript:;"></a>
<a class="prev iconfont" href="javascript:;">&#xe609;</a>
<a class="next iconfont" href="javascript:;">&#xe608;</a>
</div>
</ul>
</div>
... ...
... ... @@ -297,12 +297,6 @@ function renderAndShowSelWin($item, pinfo) {
var Cart = {
addToCart: function(params) {
$payWapper.find('.cart-item-check').each(function() {
var $item = $(this);
var $chk = $item.find('.cart-item-check');
if ($chk.hasClass('cart-item-checked')) {
},
toggleSelectOne: function() { // 单选
var $this = $(this);
... ...
... ... @@ -15,7 +15,7 @@
}
.detail-body {
width: 610px;
width: 611px;
padding: 15px;
margin: 0 auto;
*zoom: 1;
... ... @@ -411,6 +411,29 @@
.side-img-dd {
height: 90px;
overflow: hidden;
.img-brand-switch{
a {
position: absolute;
top: 90px;
font-size: 22px;
color: #000;
width: 20px;
height: 32px;
padding-top: 8px;
text-align: center;
background-color: #fff;
&.prev {
left: 55px;
}
&.next {
right: 55px;
}
&.active{
background-color: #e9e9e9;
border: none;
}
}
}
}
.slide-img {
... ... @@ -452,13 +475,14 @@
ul {
height: 100%;
li {
position: relative;
float: left;
width: 65px;
height: 90px;
border: 1px solid #e9e9e9;
box-sizing: border-box;
overflow: hidden;
margin-right: 20px;
margin-right: 21px;
position: relative;
&:nth-child(7n){
margin-right: 0;
... ... @@ -476,7 +500,7 @@
}
.good {
float: left;
width: 65px;
width: 63px;
a {
cursor: pointer;
border: none;
... ...
... ... @@ -1380,7 +1380,7 @@
.individual-slide {
width: 990px;
height: 386px;
height: 368px;
overflow: hidden;
.individual-item {
width:100%;
... ... @@ -1389,8 +1389,8 @@
.goods {
width: 990px;
height: 346px;
margin: 20px 0;
height: 338px;
margin: 20px 0 10px;
overflow: hidden;
}
... ... @@ -1454,6 +1454,9 @@
-webkit-border-radius: 0;
-moz-border-radius: 0;
background-color: #fff;
padding: 0;
cursor: pointer;
outline: none;
}
}
}
... ...