Authored by 沈志敏

fix bug

... ... @@ -2,6 +2,10 @@
.re-pos-search {
top: 170px !important;
&.iswechat {
top: 80px !important;
}
}
.hide-when-loading {
display: none;
... ... @@ -18,6 +22,10 @@
top: 90px;
border-bottom: 1px solid #e1e1e1;
background-color: #fff;
&.iswechat {
top: 0;
}
ul{
width: 100%;
... ... @@ -137,6 +145,10 @@
top: 90px;
position: fixed;
z-index: 2;
&.iswechat {
top: 0;
}
.search-box {
position: relative;
... ... @@ -207,6 +219,10 @@
.banner-top {
padding-top: 258px;
background-color:#f8f8f8;
&.iswechat {
padding-top: 168px;
}
}
.hot-brands {
... ... @@ -359,5 +375,9 @@
.search-result {
padding-top: 165px;
&.iswechat {
padding-top: 75px;
}
}
}
\ No newline at end of file
... ...
... ... @@ -101,4 +101,13 @@
{{/channel}}
<script type="text/javascript">
var isWechat = /micromessenger/i.test(navigator.userAgent || '');
if (isWechat) {
document.getElementById('genderNav')[0].classList.add('iswechat');
document.getElementById('re-pos-search')[0].classList.add('iswechat');
document.getElementById('banner-top')[0].classList.add('iswechat');
}
</script>
{{> layout/footer}}
... ...
... ... @@ -56,4 +56,11 @@
<script id="brands-data" type="text/tmpl">
{{{brandList}}}
</script>
<script type="text/javascript">
var isWechat = /micromessenger/i.test(navigator.userAgent || '');
if (isWechat) {
document.getElementById('newbrand-search')[0].classList.add('iswechat');
document.getElementById('search-result')[0].classList.add('iswechat');
}
</script>
{{> layout/footer}}
... ...