feat: 添加积分抽奖页面的微信分享功能

This commit is contained in:
From-wh 2025-09-28 10:07:50 +08:00
parent 2606f82bf8
commit 477fb37c06

View File

@ -166,6 +166,14 @@ export default {
} else {
toLogin();
}
},
// 分享朋友圈及朋友
onShareAppMessage() {
return {
title: '积分抽奖',
path: '/pages/goods/lottery/grids/index?type=' + this.type + '&lottery_id=' + this.lottery_id + '&spread=' + this.$store.state.app.uid,
imageUrl: this.image
}
},
methods: {
//#ifdef H5