...
|
...
|
@@ -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'),
|
...
|
...
|
@@ -277,3 +281,21 @@ $(window).scroll(function() { |
|
|
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 |
...
|
...
|
|