From a95b4987c1d5fac4289df98f52e0ad153ae50826 Mon Sep 17 00:00:00 2001 From: iceling Date: Sun, 19 Jan 2020 15:27:21 +0800 Subject: [PATCH] 节日营销的图片路径错误更改 --- pages/giftpack/festival/festival.js | 2 +- pages/index/index/index.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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); -- libgit2 0.21.4