Feat(专题页):增加分享朋友圈
This commit is contained in:
@@ -44,6 +44,18 @@ export const themeMixins = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
onShareTimeline() {
|
||||||
|
uni.updateShareMenu({
|
||||||
|
isPrivateMessage: false,
|
||||||
|
withShareTicket: false
|
||||||
|
})
|
||||||
|
const title = this.pageData.forwardTitle || this.share.title
|
||||||
|
return {
|
||||||
|
title,
|
||||||
|
query: `id=${this.pageData.id}`,
|
||||||
|
imageUrl: this.pageData.forwardImage || this.share.imageUrl
|
||||||
|
}
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
topImageClick() {
|
topImageClick() {
|
||||||
if (this.templateProperties.page1CouponEnable === 1 && this.templateProperties.page1CouponId) {
|
if (this.templateProperties.page1CouponEnable === 1 && this.templateProperties.page1CouponId) {
|
||||||
|
|||||||
Reference in New Issue
Block a user