|
@@ -84,6 +84,19 @@
|
|
|
},
|
|
|
onLoad(param) {
|
|
|
this.requestParam.id = param.id;
|
|
|
+ // #ifdef MP-WEIXIN
|
|
|
+ //分享按钮
|
|
|
+ uni.showShareMenu({
|
|
|
+ withShareTicket: true,
|
|
|
+ menus: ['shareAppMessage', 'shareTimeline']
|
|
|
+ })
|
|
|
+ // #endif
|
|
|
+ },
|
|
|
+ onShareAppMessage(obj) {
|
|
|
+ return {
|
|
|
+ title: this.activeInfo.name,
|
|
|
+ path: '/pages/coupon/active?id='+this.requestParam.id,
|
|
|
+ }
|
|
|
},
|
|
|
onShow() {
|
|
|
// 登录提示
|