...
|
...
|
@@ -132,10 +132,17 @@ $brandMore.click(function() { |
|
|
});
|
|
|
|
|
|
//【品牌】索引
|
|
|
$('.brands-index').on('click', 'span', function() {
|
|
|
$('.brands-index').on('mouseenter', 'span', function() {
|
|
|
var $this = $(this),
|
|
|
index = $this.data('index');
|
|
|
|
|
|
if ($this.hasClass('hover')) {
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
$this.siblings('span.hover').removeClass('hover');
|
|
|
$this.addClass('hover');
|
|
|
|
|
|
if ($this.index() === 0) {
|
|
|
|
|
|
//全部
|
...
|
...
|
|