Authored by zzzzzzz

修改样式兼容ios 8

... ... @@ -334,7 +334,7 @@ $.ajax({
// sale倒计时
var saleTime = function(elem, offsetTime) {
var hour = parseInt(offsetTime % (60 * 60 * 24) / (60 * 60), 10),
var hour = parseInt(offsetTime / (60 * 60), 10),
minute = parseInt(offsetTime % (60 * 60) / 60, 10),
second = offsetTime % 60;
... ...
... ... @@ -47,13 +47,13 @@
span {
display: inline-block;
height: 35px;
width: 35px;
background: #fff;
border-radius: 2px;
color: #444;
line-height: 35px;
text-align: center;
margin-right: 7px;
padding: 0 2px;
}
}
... ... @@ -72,8 +72,6 @@
float: left;
height: 180px;
width: 87px;
background: #fff;
border-bottom: 1px solid #b0b0b0;
img {
height: 100%;
... ...
... ... @@ -56,23 +56,15 @@
}
}
.swiper-wrapper {
white-space: nowrap;
}
.swiper-slide {
text-align: center;
font-size: 18px;
background: #fff;
/* Center slide text vertically */
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
background: #fff;
}
.recom-shop {
... ... @@ -82,6 +74,7 @@
margin-top: 26px;
margin-right: 26px;
border-radius: 5px;
vertical-align: top;
}
.recom-active {
... ...