jwyu %!s(int64=3) %!d(string=hai) anos
pai
achega
ff941f28e0
Modificáronse 2 ficheiros con 12 adicións e 0 borrados
  1. 6 0
      pages-activity/detail.vue
  2. 6 0
      pages/activity/activity.vue

+ 6 - 0
pages-activity/detail.vue

@@ -159,6 +159,12 @@ export default {
         this.id = options.id;
         this.getDetail();
     },
+    onShareAppMessage() {
+        return {
+            title: this.info.activityTypeName,
+            path: ''
+        }
+    },
     methods: {
         async getDetail() {
             const res = await apiActivityDetail({ activity_id: Number(this.id) });

+ 6 - 0
pages/activity/activity.vue

@@ -167,6 +167,12 @@ export default {
 		uni.$off('activityDetailSetRemind')
         uni.$off('activityDetailSetRegister')
 	},
+    onShareAppMessage(res) {
+        return {
+            title: '弘则研报',
+            path: ''
+        }
+    },
 
     onPullDownRefresh() {
         this.refreshPage()