Authored by ccbikai

maybelike 底线

... ... @@ -65,10 +65,12 @@ $(window).scroll(function() {
function rightBarBindClick() {
$('#right-bar .con').find('b').unbind().on('touchstart', function(e) {
var index = $(this).index();
var index = $(this).index(),
top;
if ($('.bar-' + index).size() > 0) {
document.body.scrollTop = parseInt($('.bar-' + index)[0].offsetTop) - parseInt(brandSwipe - 1);
top = parseInt($('.bar-' + index)[0].offsetTop) - parseInt(brandSwipe - 1);
$(document).scrollTop(top);
}
e.stopPropagation();
});
... ...
.maybe-like {
position: relative;
background: #fff;
padding-left: 15rem / $pxConvertRem;
border-top: 1px solid #ccc;
// border-bottom: 1px solid #ccc;
margin-top: 30rem / $pxConvertRem;
&:before {
content: '';
position: absolute;
border-top: 1px solid #ccc;
left: 0;
top: 80rem / $pxConvertRem;
width: 640rem / $pxConvertRem;
height: 0;
}
.title {
height: 104rem / $pxConvertRem;
font-size: 38rem / $pxConvertRem;
... ...
... ... @@ -7,7 +7,7 @@
<a href="javascript:void(0);" class="no-search">取消</a>
<div class="search-box">
<input type="hidden" name="from" value="search">
<input type="text" name="query" placeholder="搜索">
<input type="text" name="query" placeholder="搜索" autocomplete="off">
<span class="iconfont clear-text">&#xe623;</span>
<span class="iconfont search-icon">&#xe60f;</span>
</div>
... ...