Authored by uedxwg

flex样式兼容修改 @ 赵彪

... ... @@ -16,9 +16,9 @@ var introUrl = $('#introUrl').val(),
end = false;
var sizeSwiper,
d = document.documentElement.style
refSwiper;
var UA = navigator.userAgent.toLowerCase().toString();
//判断是否要显示向左滑动提示
function hiddenTips($ele) {
... ... @@ -38,6 +38,7 @@ function hiddenTips($ele) {
}
}
function search() {
if (searching || end) {
return;
... ... @@ -71,8 +72,9 @@ function search() {
hiddenTips($('#size-swiper-container'));
hiddenTips($('#reference-swiper-container'));
if (UA.indexOf('mqqbrowser') > 0) {
$('.detail > div').removeClass('column').addClass('oldbox');
if (('flexWrap' in d) || ('WebkitFlexWrap' in d))) {
$('.detail .column').removeClass('column').addClass('oldbox');
}
searching = false;
end = true;
... ...
... ... @@ -88,9 +88,11 @@
position: relative;
float: left;
color: #fff;
font-size: pxToRem(22px);
line-height: pxToRem(38px);
font-size: pxToRem(32px);
width: pxToRem(213px);
p{
font-size: pxToRem(22px);
}
&:after {
content: '';
... ...
... ... @@ -113,7 +113,9 @@
display: block;
}
}
.cost {
padding: 0 0 0 30rem / $pxConvertRem;
}
.cost li {
height: 90rem / $pxConvertRem;
line-height: 90rem / $pxConvertRem;
... ... @@ -125,6 +127,7 @@
}
> span {
float: right;
padding: 0 30rem / $pxConvertRem 0 0;
}
}
... ...