12.31移动端开源代码更新

This commit is contained in:
hejinfu1026
2021-12-31 15:52:11 +08:00
parent d4ad623cc3
commit 6c0981748b
9 changed files with 86 additions and 773 deletions

View File

@@ -534,7 +534,7 @@
that.attribute.productAttr = res.data.productAttr || [];
that.productValue = res.data.productValue;
that.onceNum = res.data.storeCombination.onceNum;
that.DefaultSelect();
// that.PromotionCode = res.data.storeInfo.code_base
// #ifdef H5
that.setShare();
@@ -548,8 +548,19 @@
// #ifndef H5
that.downloadFilestoreImage();
// #endif
let productAttr = res.data.productAttr.map(item => {
return {
attrName : item.attrName,
attrValues: item.attrValues.split(','),
id:item.id,
isDel:item.isDel,
productId:item.productId,
type:item.type
}
});
that.$set(that.attribute,'productAttr',productAttr);
// that.setProductSelect();
that.DefaultSelect();
setTimeout(function() {
that.infoScroll();