onShareAppMessage: function (res) {
let that = this;
return {
desc: '',
title: 'title',
// 必须以 / 开头
path: "/pages/news/detail?id="+that.data.id,
// 软件目录/resources/images,imageUrl 的配置以 'resources' 开头,'./resources' 和 '/resources' 都不行
imageUrl: 'resources/images/logoicon.png'
}
}