This commit is contained in:
linxi
2025-07-11 10:01:28 +08:00
+12 -11
View File
@@ -1,23 +1,24 @@
export default{
data(){
return {
//设置默认的分享参数
//设置默认的分享参数
sharePagePath: '/pages/home/index',
share:{
title:'云南香道滇官方商城',
path:'/pages/Loading/index',
imageUrl:'http://admin-api.xdd618.com/file/pic/20210617211221217375.jpg',
desc:'',
content:''
title: '云南香道滇官方商城',
path: this.sharePagePath,
imageUrl: this.$VUE_APP_RESOURCES_URL + '/20210617211221217375.jpg?' + new Date().getTime(),
desc: '',
content: ''
}
}
},
onShareAppMessage(res) {
return {
title:this.share.title,
path:this.share.path,
imageUrl:this.share.imageUrl,
desc:this.share.desc,
content:this.share.content,
title: this.share.title,
path: this.share.path,
imageUrl: this.share.imageUrl,
desc: this.share.desc,
content: this.share.content,
success(res){
uni.showToast({
title:'分享成功'