锦水居民端小程序
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.

22 lines
528 B

import { getGuideInfo} from "../../utils/api"
5 years ago
Page({
data: {
partyGroupId: "",
5 years ago
todayTopic: {},
guideInfoData: []
},
onLoad: function (options) {
this.data.partyGroupId = options.partyGroupId
getGuideInfo(this.data.partyGroupId).then(res => {
if (res.data.length > 0) {
this.todayTopic = {...res.data[0]}
res.data.shift()
this.setData({
todayTopic: this.todayTopic,
guideInfoData: res.data
})
}
})
}
})