diff --git a/pages/giftpack/festival/festival.js b/pages/giftpack/festival/festival.js index c2fa8f3..5375ff3 100644 --- a/pages/giftpack/festival/festival.js +++ b/pages/giftpack/festival/festival.js @@ -182,7 +182,7 @@ Page({ }).then(res => { if (res.data.code == 0) { th.setData({ - bimg: res.data.data.actBoundImg, + bimg: res.data.data.actImg, actFontColor: res.data.data.actFontColor, //字体颜色 actBgColor: res.data.data.actBgColor, //背景颜色 diff --git a/pages/index/index/index.js b/pages/index/index/index.js index e836597..a94c78e 100644 --- a/pages/index/index/index.js +++ b/pages/index/index/index.js @@ -747,9 +747,9 @@ Page({ var giftBagId = res.data.data.gifBagId; //礼包id var nav_url = "/pages/giftpack/festival/festival?actId=" + actid + '&' + 'actType=' + 3 + '&' + 'giftBagId=' + giftBagId; var swiperimage = th.data.swiperimage; - var actImg = res.data.data.actImg; + var actBoundImg = res.data.data.actBoundImg; actBoundImg var img = { - image: actImg, + image: actBoundImg, nav_url: nav_url } swiperimage.unshift(img);