Authored by 沈志敏

style lint

... ... @@ -143,4 +143,4 @@ class ListController extends Controller {
}
}
module.exports = ListController;
\ No newline at end of file
module.exports = ListController;
... ...
... ... @@ -24,7 +24,6 @@
.info h2 {
text-align: left;
margin-bottom: 5px;
font-size: 28px;
font-weight: normal;
margin: 0;
... ... @@ -75,7 +74,10 @@
font-size: 25px;
}
.details img, .size img, .good-sure img, .brand-intro img {
.details img,
.size img,
.good-sure img,
.brand-intro img {
width: 100%;
}
... ... @@ -102,7 +104,7 @@
text-align: center;
}
.details table{
.details table {
display: none;
}
... ... @@ -123,25 +125,31 @@
text-align: center;
color: #444;
}
.recommend-for-you .swiper-container {
padding: 30px 0 20px;
width: 100%;
}
.recommend-for-you .swiper-container .swiper-slide {
padding: 0 10px;
float: left;
width: 156px;
}
.recommend-for-you .swiper-container .swiper-slide:first-child {
padding-left: 30px;
}
.recommend-for-you .swiper-container .swiper-slide:last-child {
padding-right: 30px;
}
.recommend-for-you .swiper-container .swiper-slide img {
width: 100%;
height: 208px;
}
.recommend-for-you .sale-name {
overflow: hidden;
text-overflow: ellipsis;
... ... @@ -150,22 +158,26 @@
margin-top: 20px;
color: gray;
}
.recommend-for-you .price {
position: relative;
margin-top: 8px;
font-size: 24px;
line-height: 1;
}
.recommend-for-you .price .sale-price {
display: block;
color: #d9134f;
margin-right: 8px;
}
.recommend-for-you .price .old-price {
display: block;
color: #b0b0b0;
text-decoration: line-through;
}
.recommend-for-you .price .no-price {
color: #444;
}
... ... @@ -174,39 +186,39 @@
line-height: 30px;
text-indent: 0;
position: relative;
padding:0 20px 0 42px;
padding: 0 20px 0 42px;
margin: 20px 0;
}
.service-cont>li {
padding: 10px 0 0 0;
.service-cont > li {
padding: 10px 0 0;
margin-left: 20px;
border-bottom: 1px solid #e0e0e0;
}
.service-cont>li:last-child {
.service-cont > li:last-child {
border-bottom: none;
}
.service-cont .service-prob:before,
.service-cont .service-answer:before {
content: '';
content: "";
width: 30.8px;
height: 30.8px;
float: left;
margin-right: 20px;
position: absolute;
left: 0px;
left: 0;
background-size: contain;
}
.service-cont .service-prob:before {
background-image: url('http://cdn.yoho.cn/global/images/service-q.png');
background-image: url("http://cdn.yoho.cn/global/images/service-q.png");
background-repeat: no-repeat;
}
.service-cont .service-answer:before {
background-image: url('http://cdn.yoho.cn/global/images/service-a.png');
background-image: url("http://cdn.yoho.cn/global/images/service-a.png");
background-repeat: no-repeat;
}
... ... @@ -235,12 +247,12 @@
}
.shrink-btn-down {
background-image: url('http://cdn.yoho.cn/global/images/service_down.png');
background-image: url("http://cdn.yoho.cn/global/images/service_down.png");
background-repeat: no-repeat;
}
.shrink-btn-up {
background-image: url('http://cdn.yoho.cn/global/images/service_up.png');
background-image: url("http://cdn.yoho.cn/global/images/service_up.png");
background-repeat: no-repeat;
}
... ... @@ -253,4 +265,4 @@
cursor: pointer;
background-size: contain;
}
}
\ No newline at end of file
}
... ...
@import "detail";
@import "global_product";
@import "layout/swiper";
@import "channel/banner-top";
\ No newline at end of file
@import "channel/banner-top";
... ...