|
@@ -31,7 +31,7 @@ Page({
|
|
|
onLoad: function (option) {
|
|
|
console.log(option)
|
|
|
let id = option.id ? option.id : option.scene.replace('QR', '')
|
|
|
- if(option.scene){
|
|
|
+ if(option.scene || option.shareCard ){
|
|
|
this.setData({
|
|
|
goBackHome: true
|
|
|
})
|
|
@@ -197,8 +197,8 @@ Page({
|
|
|
console.log(res.target)
|
|
|
}
|
|
|
return {
|
|
|
- title: this.data.title,
|
|
|
- path: `pages/social/works/works?id=${this.data.id}&title=${this.data.title}`,
|
|
|
+ title: '一样的课文,不一样的味道!我的配音表演已开始,求各位大咖围观、点评!',
|
|
|
+ path: `pages/social/works/works?id=${this.data.id}&title=${this.data.title}&shareCard=true`,
|
|
|
imageUrl: this.data.iconImg
|
|
|
}
|
|
|
},
|