diff --git a/pages/Activity/index.vue b/pages/Activity/index.vue
index 5548f00..9093c4d 100644
--- a/pages/Activity/index.vue
+++ b/pages/Activity/index.vue
@@ -9,7 +9,7 @@
>
-
+
@@ -282,6 +282,26 @@ import {joinList} from "@/api/other";
import NxrPop from "@/components/NxrPop/index.vue";
export default {
+ onShareAppMessage() {
+ let result = {
+ title:this.detail.title,
+ path:'/pages/Activity/index?id=' + this.id,
+ };
+ if(this.detail.banner){
+ result.imageUrl = this.detail.banner;
+ }
+ return result;
+ },
+ onShareTimeline() {
+ let result = {
+ title:this.detail.title,
+ path:'/pages/Activity/index?id=' + this.id,
+ };
+ if(this.detail.banner){
+ result.imageUrl = this.detail.banner;
+ }
+ return result;
+ },
components: {NxrPop, follow},
computed: {
api() {
diff --git a/pages/Project/index.vue b/pages/Project/index.vue
index ada4dec..060fc19 100644
--- a/pages/Project/index.vue
+++ b/pages/Project/index.vue
@@ -266,6 +266,26 @@ import follow from "@/components/Follow/index.vue";
import NxrPop from "@/components/NxrPop/index.vue";
export default {
+ onShareAppMessage() {
+ let result = {
+ title:this.detail.title,
+ path:'/pages/Project/index?id=' + this.id,
+ };
+ if(this.detail.banner){
+ result.imageUrl = this.detail.banner;
+ }
+ return result;
+ },
+ onShareTimeline() {
+ let result = {
+ title:this.detail.title,
+ path:'/pages/Project/index?id=' + this.id,
+ };
+ if(this.detail.banner){
+ result.imageUrl = this.detail.banner;
+ }
+ return result;
+ },
components: {NxrPop, follow},
computed: {
api() {