...
|
...
|
@@ -7,6 +7,10 @@ |
|
|
var $ = require('yoho.zepto'),
|
|
|
lazyLoad = require('yoho.zeptolazyload');
|
|
|
|
|
|
//品牌页参数
|
|
|
var $brandHeader = $('#brand-header'),
|
|
|
$introBox = $('#intro-box');
|
|
|
|
|
|
var filter = require('../plugin/filter');
|
|
|
|
|
|
var $goodsContainer = $('#goods-container'),
|
...
|
...
|
@@ -276,4 +280,22 @@ $(window).scroll(function() { |
|
|
$(document).height() - 0.25 * $goodsContainer.height()) {
|
|
|
search();
|
|
|
}
|
|
|
});
|
|
|
|
|
|
//品牌介绍
|
|
|
$brandHeader.children('.btn-intro').bind('touchstart', function() {
|
|
|
$introBox.removeClass('hide');
|
|
|
});
|
|
|
|
|
|
$('.close-intro, .brand-intro-box').click(function() {
|
|
|
$introBox.addClass('hide');
|
|
|
});
|
|
|
|
|
|
$('#brand-intro').click(function(e) {
|
|
|
e.stopPropagation();
|
|
|
});
|
|
|
|
|
|
//品牌收藏
|
|
|
$brandHeader.children('.btn-col').bind('touchstart', function() {
|
|
|
$(this).toggleClass('coled');
|
|
|
}); |
|
|
\ No newline at end of file |
...
|
...
|
|