浏览代码

更新分享标题

306132416@qq.com 3 年之前
父节点
当前提交
6f76015c0b
共有 4 个文件被更改,包括 19 次插入19 次删除
  1. 6 6
      pages/index/activity/comment.vue
  2. 6 6
      pages/index/activity/files.vue
  3. 1 1
      pages/index/activity/list.vue
  4. 6 6
      pages/index/activity/record.vue

+ 6 - 6
pages/index/activity/comment.vue

@@ -78,12 +78,12 @@
 		},
 		onShow() {
 		},
-		onShareAppMessage() {
-		  return {
-			  title: '农工笔记',
-			  path:'/pages/index/activity/activity'
-			}
-		},
+		// onShareAppMessage() {
+		//   return {
+		// 	  title: '农工笔记',
+		// 	  path:'/pages/index/activity/activity'
+		// 	}
+		// },
 		methods: {
 			goComment(){
 				 this.addOrEditActiveComment();

+ 6 - 6
pages/index/activity/files.vue

@@ -88,12 +88,12 @@
 		},
 		onShow() {
 		},
-		onShareAppMessage() {
-		  return {
-			  title: '农工笔记',
-			  path:'/pages/index/activity/activity'
-			}
-		},
+		// onShareAppMessage() {
+		//   return {
+		// 	  title: '农工笔记',
+		// 	  path:'/pages/index/activity/activity'
+		// 	}
+		// },
 		methods: {
 			closeShare(e){
 				this.isShowShareModal = false;

+ 1 - 1
pages/index/activity/list.vue

@@ -173,7 +173,7 @@ export default {
   },
   onShareAppMessage() {
     return {
-  	  title: '农工笔记',
+  	  title: '[农工笔记]' + this.activeDesc.name,
   	  path:'/pages/index/activity/activity'
   	}
   },

+ 6 - 6
pages/index/activity/record.vue

@@ -90,12 +90,12 @@
 		},
 		onShow() {
 		},
-		onShareAppMessage() {
-		  return {
-			  title: '农工笔记',
-			  path:'/pages/index/activity/activity'
-			}
-		},
+		// onShareAppMessage() {
+		//   return {
+		// 	  title: '农工笔记',
+		// 	  path:'/pages/index/activity/activity'
+		// 	}
+		// },
 		methods: {
 			goStep(){
 				 this.addOrEditActiveRecord();