Authored by htoooth

fix css

... ... @@ -304,7 +304,7 @@ const _getSkuDataByProductBaseInfo = (data) => {
if (cur.images_list) {
// 商品列表
goodsGroup.productSkc = cur.product_skc;
goodsGroup.src = helpers.image(cur.color_image, 40, 40);
goodsGroup.src = cur.color_image;
goodsGroup.title = `${_.trim(data.product_name)} ${cur.factory_goods_name}`;
goodsGroup.name = cur.factory_goods_name;
goodsGroup.focus = false;
... ...
... ... @@ -4,7 +4,7 @@
{{#each colors}}
<li class="{{#if focus}}focus{{/if}} {{#if disable}}disable{{/if}} pull-left"
title="{{title}}" data-color="{{name}}" data-total="{{total}}">
<img src="{{src}}"><span class="color-name">{{name}}</span>
<img src="{{image src 25 32}}"><span class="color-name">{{name}}</span>
</li>
{{/each}}
</ul>
... ...
... ... @@ -51,7 +51,9 @@
{{# vipPrice}}
<span class="vip-price">
{{#if unLogin}}
<span class="unlogin">
登录后即可查看vip价格
</span>
<a class="login-url" href="{{unLogin}}">立即登录</a>
{{/if}}
... ...
... ... @@ -1659,8 +1659,10 @@ $('.shoppingCar').on('click', '.option', function(e) {
if ($this.hasClass('comment')) {
window.fetchComment();
window.fetchRecommend();
} else if ($this.hasClass('consult')) {
window.fetchConsult();
window.fetchRecommend();
}
e.stopPropagation();
... ...
... ... @@ -188,8 +188,6 @@
}
.market-price {
margin-top: 8px;
}
.sale-price {
... ... @@ -227,7 +225,7 @@
.has-other-price {
color: #999;
text-decoration: line-through;
font-size: 12px;
font-size: 13px;
}
.arrival-date {
... ... @@ -257,17 +255,24 @@
.vip-price {
line-height: 14px;
color: #707070;
margin-top: 5px;
font-size: 13px;
display: inline-block;
height: 22px;
vertical-align: top;
.login-url,
.cur {
color: #f02200;
font-weight: bold;
display: inline-block;
font-size: 13px;
padding-top: 3px;
margin-left: 20px;
vertical-align: top;
}
.unlogin {
display: inline-block;
padding-top: 3px;
}
.vip-price-item {
... ... @@ -285,7 +290,6 @@
width: 43px;
height: 18px;
margin-right: 10px;
margin-bottom: -2px;
background: resolve("product/vip.png") no-repeat;
}
... ... @@ -293,7 +297,6 @@
display: inline-block;
width: 30px;
height: 18px;
margin-bottom: -2px;
background: resolve("product/vip-1.png") no-repeat;
}
... ... @@ -301,7 +304,6 @@
display: inline-block;
width: 30px;
height: 18px;
margin-bottom: -2px;
background: resolve("product/vip-2.png") no-repeat;
}
... ... @@ -309,7 +311,6 @@
display: inline-block;
width: 30px;
height: 18px;
margin-bottom: -2px;
background: resolve("product/vip-3.png") no-repeat;
}
}
... ... @@ -474,8 +475,8 @@
img {
float: left;
display: inline-block;
width: 25px;
height: 34px;
width: 34px;
}
li {
... ... @@ -519,11 +520,11 @@
line-height: 24px;
margin-right: 10px;
margin-bottom: 5px;
padding: 0 5px;
padding: 0 10px;
border: 1px solid #bbbbbb;
text-align: center;
cursor: pointer;
min-width: 28px;
min-width: 10px;
&.disable {
opacity: 0.5;
... ...