Rorschach 6 years ago
parent
commit
0abbd70ec4
2 changed files with 4 additions and 4 deletions
  1. 1 1
      pages/main/class/class.js
  2. 3 3
      pages/social/works/works.js

+ 1 - 1
pages/main/class/class.js

@@ -109,7 +109,7 @@ Page({
         console.log(res.target)
     }
     return {
-        title: this.data.title,
+        title: '老师同学都在玩的配音show,你还在等什么?',
         path: `pages/main/class/class?id=${this.data.id}&title=${this.data.title}`,
         imageUrl: this.data.iconImg
     }

+ 3 - 3
pages/social/works/works.js

@@ -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
         }
     },