Commit f33fe91d by 前端

Merge branch 'wuwx_dev_v2.7.0' into 'v2.7.0'

Wuwx dev v2.7.0

See merge request !296
2 parents f0eb9fa5 47ad3b78
......@@ -317,7 +317,6 @@ export default {
goodsImage: ''
}
},
souce: '',
bannerRadioList: [
{ confId: '1', confName: '商品' },
{ confId: '2', confName: '图文介绍' },
......@@ -503,13 +502,8 @@ export default {
customerServerUserTitle: res.customerServerUserTitle
})
}
if(res.bannerList && res.bannerList.length) {
this.souce = res.bannerList[0].source
} else {
this.souce = 1
}
if (res.bannerList && res.bannerList.length) {
res.bannerList.forEach(item => {
res.bannerList.forEach((item,inx) => {
var params = {
bannerImg: item.bannerImg,
goodsId: item.goods ? item.goods.id : '',
......@@ -517,7 +511,7 @@ export default {
linkUrl: item.linkUrl,
imgLinkUrl: '',
videoLinkUrl: '',
source: this.souce
source: res.bannerList[inx].source || 1
}
if (item.bannerType == '2') {
params.imgLinkUrl = item.linkUrl
......@@ -779,7 +773,7 @@ export default {
bannerType: +item.bannerType,
linkUrl: '',
goods: {},
source: this.souce
source: item.source || 1
})
if (item.bannerType == '1' && item.goodsId) {
params.bannerList[idx].goodsId = item.goodsId
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!