You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
980 B
35 lines
980 B
const app = getApp();
|
|
Component({
|
|
data: {
|
|
imageUrl: getApp().globalData.imageUrl,
|
|
bgImage: "background-image: url("+ getApp().globalData.imageUrl + "/sj_beijin.png)",
|
|
questes: []
|
|
},
|
|
methods: {
|
|
toEventDetail(value) {
|
|
let id = value.currentTarget.dataset.id;
|
|
wx.setStorageSync('sRele', id);
|
|
wx.navigateTo({
|
|
url: "/pages/insight/pages/eventInsight/index"
|
|
})
|
|
}
|
|
},
|
|
lifetimes: {
|
|
attached() {
|
|
//页面数据
|
|
app.globalData.request({
|
|
action: 'getHotEventsList0528',
|
|
sType: 'HotEvent',
|
|
token: 't%2BrswgjvzGM=',
|
|
sTimeType: '34',
|
|
iPageIndex: 1,
|
|
iPageSize: 10,
|
|
iTimeType: 0,
|
|
}).then(res => {
|
|
this.setData({
|
|
questes: res
|
|
})
|
|
});
|
|
},
|
|
},
|
|
}) |