...
|
...
|
@@ -118,10 +118,10 @@ var Bll = { |
|
|
//获取品牌
|
|
|
Bll.getBrands();
|
|
|
|
|
|
$(document).on('click', '.brand-index', function() {
|
|
|
var brandIndex = $(this).text();
|
|
|
$('.brand-wrap').find('[name="' + brandIndex + '"]').show().siblings().hide();
|
|
|
});
|
|
|
// $(document).on('click', '.brand-index', function() {
|
|
|
// var brandIndex = $(this).text();
|
|
|
// $('.brand-wrap').find('[name="' + brandIndex + '"]').show().siblings().hide();
|
|
|
// });
|
|
|
|
|
|
/*渲染页面*/
|
|
|
$("#panel-body").html(common.util.__template2($("#tempalte1").html(), ViewModel));
|
...
|
...
|
@@ -422,7 +422,7 @@ $(document).on("click", ".goodsSelectBtn", function() { |
|
|
if (!i) {
|
|
|
Bll.module.data[index].cover = {
|
|
|
cover: item.default_images,
|
|
|
maxSortId: item.product_id
|
|
|
maxSortId: 1
|
|
|
};
|
|
|
}
|
|
|
});
|
...
|
...
|
|