Browse Source

上传代码

master
前端-胡立永 8 months ago
parent
commit
0247f267ec
1 changed files with 4 additions and 5 deletions
  1. +4
    -5
      pages/publish/actorDetail.vue

+ 4
- 5
pages/publish/actorDetail.vue View File

@ -133,16 +133,14 @@
}, },
onShareAppMessage(res) { onShareAppMessage(res) {
return { 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 path: '/pages/publish/actorDetail?id=' + this.id
} }
}, },
//2. //2.
onShareTimeline(res) { onShareTimeline(res) {
return { 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 path: '/pages/publish/actorDetail?id=' + this.id
} }
}, },
@ -184,7 +182,6 @@
}) })
}, },
submit(){ submit(){
console.log(1);
this.$refs.confirmationPopup.open() this.$refs.confirmationPopup.open()
}, },
// //
@ -206,9 +203,11 @@
success: function (res) { success: function (res) {
console.log('支付成功',res); console.log('支付成功',res);
self.getData() self.getData()
self.$refs.confirmationPopup.close()
}, },
fail: function (err) { fail: function (err) {
console.log('支付失败',err); console.log('支付失败',err);
self.$refs.confirmationPopup.close()
uni.showToast({ uni.showToast({
icon:'none', icon:'none',
title:"支付失败" title:"支付失败"


Loading…
Cancel
Save