diff --git a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activeRecommend/service/impl/ActiveRecommendServiceImpl.java b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activeRecommend/service/impl/ActiveRecommendServiceImpl.java index b393a5a6c..21ce19902 100644 --- a/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activeRecommend/service/impl/ActiveRecommendServiceImpl.java +++ b/fuintBackend/fuint-application/src/main/java/com/fuint/business/marketingActivity/activeRecommend/service/impl/ActiveRecommendServiceImpl.java @@ -164,29 +164,31 @@ public class ActiveRecommendServiceImpl extends ServiceImpl 最新活动 - + @@ -24,7 +24,7 @@ {{item.name || "活动标题"}} - {{item.des || "内容"}} + {{item.discountActiveDescribe || "内容"}} - 赠送{{datas.point || ''}}积分 + 赠送{{item.points || ''}}积分 - 赠送{{datas.growValue || ''}}成长值 + 赠送{{item.growaValue || ''}}成长值 - + 活动介绍 - {{datas.recommendActiveDescribeIn || ""}} - {{datas.recommendActiveDescribeOut || ""}} + {{item.discountActiveDescribe || ""}} - 活动时间:{{datas.time}} + 活动时间:{{item.time}} - 赠送{{datas.point || ''}}积分 + 赠送{{item.points || ''}}积分 - 赠送{{datas.growValue || ''}}成长值 + 赠送{{item.growaValue || ''}}成长值 @@ -196,7 +195,6 @@ oilName: [], title: '', datas: [], - } }, components: { @@ -206,7 +204,8 @@ this.query.storeId = uni.getStorageSync("storeId"); this.title = option.name console.log(option.name); - this.getData(option.name); + this.getInfo(option.type) + // this.getData(option.name); }, methods: { goTopup() { @@ -245,6 +244,23 @@ url: '/pagesHome/oilRecharge/oilRecharge' }) */ }, + getInfo(type){ + uni.showLoading({ + title: '加载中' + }); + this.query.type = type + request({ + url: 'business/marketingActivity/activeApplet/appletActiveByType', + method: 'get', + params: this.query + }).then(res => { + if (res.code == 200) { + this.datas = res.data, + uni.hideLoading(); + } + + }) + }, getData(name) { uni.showLoading({ //title: '加载中'