|
|
@ -133,16 +133,14 @@ |
|
|
|
}, |
|
|
|
onShareAppMessage(res) { |
|
|
|
return { |
|
|
|
title: this.item.details.title, |
|
|
|
desc: this.item.details.content && this.item.details.content.slice(0, 30), |
|
|
|
title: this.item.details.name, |
|
|
|
path: '/pages/publish/actorDetail?id=' + this.id |
|
|
|
} |
|
|
|
}, |
|
|
|
//2.分享到朋友圈 |
|
|
|
onShareTimeline(res) { |
|
|
|
return { |
|
|
|
title: this.item.details.title, |
|
|
|
desc: this.item.details.content && this.item.details.content.slice(0, 30), |
|
|
|
title: this.item.details.name, |
|
|
|
path: '/pages/publish/actorDetail?id=' + this.id |
|
|
|
} |
|
|
|
}, |
|
|
@ -184,7 +182,6 @@ |
|
|
|
}) |
|
|
|
}, |
|
|
|
submit(){ |
|
|
|
console.log(1); |
|
|
|
this.$refs.confirmationPopup.open() |
|
|
|
}, |
|
|
|
// 付费查看联系方式 |
|
|
@ -206,9 +203,11 @@ |
|
|
|
success: function (res) { |
|
|
|
console.log('支付成功',res); |
|
|
|
self.getData() |
|
|
|
self.$refs.confirmationPopup.close() |
|
|
|
}, |
|
|
|
fail: function (err) { |
|
|
|
console.log('支付失败',err); |
|
|
|
self.$refs.confirmationPopup.close() |
|
|
|
uni.showToast({ |
|
|
|
icon:'none', |
|
|
|
title:"支付失败" |
|
|
|