Merge branch 'develop' of http://git.dev.yoho.cn/platform/yohobuy-portal-fe into develop
Showing
1 changed file
with
4 additions
and
4 deletions
@@ -132,10 +132,10 @@ var Bll = { | @@ -132,10 +132,10 @@ var Bll = { | ||
132 | //获取品牌 | 132 | //获取品牌 |
133 | Bll.getBrands(); | 133 | Bll.getBrands(); |
134 | 134 | ||
135 | -// $(document).on('click', '.brand-index', function() { | ||
136 | -// var brandIndex = $(this).text(); | ||
137 | -// $('.brand-wrap').find('[name="' + brandIndex + '"]').show().siblings().hide(); | ||
138 | -// }); | 135 | +$(document).on('click', '.brand-index', function() { |
136 | + var brandIndex = $(this).text(); | ||
137 | + $('.brand-wrap').find('[name="' + brandIndex + '"]').show().siblings().hide(); | ||
138 | +}); | ||
139 | /*渲染页面*/ | 139 | /*渲染页面*/ |
140 | Bll.__render("#panel-body","tempalte1",ViewModel); | 140 | Bll.__render("#panel-body","tempalte1",ViewModel); |
141 | /*渲染品牌*/ | 141 | /*渲染品牌*/ |
-
Please register or login to post a comment