Authored by 毕凯

添加到购物车 模板对应数据结构更新

framework @ 75bbc3b0
Subproject commit e9d066dd88a8e7e37103021c427a205a5cfcdcec
Subproject commit 75bbc3b075de19f239532f60c5995d06c5f814e2
... ...
... ... @@ -35,12 +35,13 @@ function getProductInfo(skn, promotionId) {
tip.show('网络错误');
return;
}
console.log(res);
if (!panelTmpl) {
return;
}
if (res.code === 200) {
$chosePanel.html(panelTmpl(res.data));
$chosePanel.html(panelTmpl({
cartInfo: res.data
}));
chosePanel.show();
} else {
tip.show(res.message || '网络错误');
... ...