Authored by ccbikai

首页bug 修复

... ... @@ -34,7 +34,7 @@ $('#float-layer-close').bind('tap', function () {
});
});
$('#float-layer-btn').tap(function () {
$('#float-layer-btn').bind('tap', function () {
downLoadApp('bottom');
});
... ... @@ -76,10 +76,10 @@ $searchBox.find('input').on('focus', function () {
$('.clear-text, .no-search').hide();
});
$searchBox.find('.clear-text').tap(function () {
$searchBox.find('.clear-text').bind('tap', function () {
$searchBox.find('input').val('').trigger('focus');
});
$searchBox.find('.search-icon').tap(function () {
$searchBox.find('.search-icon').bind('tap', function () {
$indexSearch.submit();
});
\ No newline at end of file
... ...
... ... @@ -85,7 +85,7 @@
font-size: 22rem / $pxConvertRem;
}
}
li:nth-child(4), li:nth-child(5) {
border-top: 1px solid #e0e0e0;
}
// li:nth-child(4), li:nth-child(5) {
// border-top: 1px solid #e0e0e0;
// }
}
\ No newline at end of file
... ...
... ... @@ -7,7 +7,7 @@
img {
display: block;
width: 100%;
height: 100%;
height: 198rem / $pxConvertRem;
}
}
.category-list {
... ... @@ -16,7 +16,7 @@
li {
float: left;
width: 158rem / $pxConvertRem;
height: 174rem / $pxConvertRem;
height: 154rem / $pxConvertRem;
border-top: 1px solid #e0e0e0;
border-left: 1px solid #e0e0e0;
overflow: hidden;
... ... @@ -24,7 +24,7 @@
.img-box {
width: 100%;
height: 100%;
line-height: 174rem / $pxConvertRem;
line-height: 154rem / $pxConvertRem;
text-align: center;
overflow: hidden;
font-size: 0;
... ...
... ... @@ -36,7 +36,7 @@
height: 44px;
text-align: center;
color: #fff;
background-color: #000;
background-image: linear-gradient(#323232, #0f0f0f);
border-radius: 10px;
}
}
... ...
... ... @@ -2,7 +2,7 @@
{{> home/floor_header}}
{{# banner}}
<a class="banner" href="{{url}}">
<a class="category-banner" href="{{url}}">
<img class="lazy" data-original="{{img}}">
</a>
{{/ banner}}
... ... @@ -13,7 +13,6 @@
<div class="img-box">
<img class="lazy" data-original="{{img}}" alt="">
</div>
<p class="category-title">{{textCn}}</p>
</a>
</li>
{{/ list}}
... ...