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
432 B

// pages/message/index.js
Component({
options: {
addGlobalClass: true,
multipleSlots: true
},
properties: {
dataList: { // 必选,通知本组件收起
type: Array,
value: null,
}
},
methods: {
lookItem: function (e) {
var item = this.data.dataList[e.currentTarget.dataset.index]
wx.navigateTo({
url: '/pages/mall/order-info/index?id=' + item.id
})
}
}
})