diff --git a/gasStation-uni/pagesHome/Activity/index.vue b/gasStation-uni/pagesHome/Activity/index.vue index cccc9fc98..ee2a56855 100644 --- a/gasStation-uni/pagesHome/Activity/index.vue +++ b/gasStation-uni/pagesHome/Activity/index.vue @@ -10,11 +10,11 @@ - + - {{item.title || "活动标题"}} - {{item.size || "内容"}} + {{item.name || "活动标题"}} + {{item.des || "内容"}} 活动时间 @@ -35,40 +35,14 @@ data() { return { title: '', - activityList: [{ - title: "活动名称", - size: '文字信息文字信息文字信息文字信息文字信息文字信息文字信息文字信息', - path: null, - time: "2023.1.24-2035.1.24 " - }, - { - title: "活动名称", - size: '文字信息文字信息文字信息文字信息文字信息文字信息文字信息文字信息', - path: null, - time: "2023.1.24-2035.1.24 " - }, - { - title: "活动名称", - size: '文字信息文字信息文字信息文字信息文字信息文字信息文字信息文字信息', - path: null, - time: "2023.1.24-2035.1.24 " - }, - ] - - - - - } - }, - datas() { - return { - datas: [{ - "activeDescribe": "" - }] + activityList: [], } }, components: { + }, + onShow() { + this.getData(); }, methods: { intoOtherPage() { @@ -77,19 +51,12 @@ }) }, getData() { - // request({ - // url: '/business/marketingActivity/activeConsumption/AppletList', - // method: 'get', - // success: function(res) { - // this.datas = res.data - // } - // }) request({ - url: '/business/marketingActivity/activeConsumption/AppletList', + url: 'business/marketingActivity/activeExchange/applet', method: 'get', }).then(res => { console.log(res); - this.datas = res.data + this.activityList = res.data }) }, getactvity(url) { diff --git a/gasStation-uni/static/imgs/hd.png b/gasStation-uni/static/imgs/hd.png new file mode 100644 index 000000000..670093a3f Binary files /dev/null and b/gasStation-uni/static/imgs/hd.png differ