浏览代码

tabbar页面增加分享

jwyu 3 年之前
父节点
当前提交
2f4bd8b237
共有 3 个文件被更改,包括 15 次插入0 次删除
  1. 5 0
      pages/index/index.vue
  2. 5 0
      pages/mine/index.vue
  3. 5 0
      pages/workbench/index.vue

+ 5 - 0
pages/index/index.vue

@@ -30,6 +30,11 @@
 				uni.stopPullDownRefresh()
 			}, 500);
 		},
+		onShareAppMessage() {
+			return {
+				title:"弘则移动CRM"
+			}
+		},
 		
 		methods: {
 			// 跳转消息列表

+ 5 - 0
pages/mine/index.vue

@@ -50,6 +50,11 @@
 				return this.$store.state.userInfo 
 			}
 		},
+		onShareAppMessage() {
+			return {
+				title:"弘则移动CRM"
+			}
+		},
 		methods: {
 			handleLoginOut() {
 				this.$dialog.confirm({

+ 5 - 0
pages/workbench/index.vue

@@ -22,6 +22,11 @@
 				
 			}
 		},
+		onShareAppMessage() {
+			return {
+				title:"弘则移动CRM"
+			}
+		},
 		methods: {
 			handleGoNext(type) {
 				if(type==='custome'){