Authored by weiqingting

提交

... ... @@ -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
};
}
});
... ...
... ... @@ -616,13 +616,13 @@ exports.res = [
action:"/ajax/guang/article/addArticle"
},
params:[
{name:"id",type:"String"}
{name:"id",type:"Number"}
]
},
{
route:'/guang/article/getArticleDetail',
method:'POST',
src:'/guang/article/getDetail',
url:'/guang/article/getDetail',
params:[
{name:"id",type:"Number"}
]
... ...