Browse Source

完成我的分享~

release/210823_需求对对碰
王饶冀 3 years ago
parent
commit
a16bb70dc4

BIN
images/home/ShareApp-details.png View File


BIN
images/home/ShareApp-homePage1.png View File


BIN
images/home/ShareApp-homePage2.png View File


images/home/ShareApp.png → images/home/ShareApp-index.png View File


+ 13
- 1
pages/index/components/homepage/homepage.js View File

@@ -148,6 +148,18 @@ Page({
* 用户点击右上角分享
*/
onShareAppMessage: function () {

if(this.data.isOther){
return {
title: "发现了一个适合你的客户需求!推荐你一起来关注~",
imageUrl: '/images/home/ShareApp-homePage2.png',
path: 'pages/index/components/homepage/homepage'
}
}else{
return {
title: "分享给你我的需求信息!推荐你一起来关注~",
imageUrl: '/images/home/ShareApp-homePage1.png',
path: 'pages/index/components/homepage/homepage'
}
}
}
})

+ 10
- 6
pages/index/components/listDetails/Details.js View File

@@ -76,7 +76,7 @@ Page({
page: 1,
onRefresh: true,
isCollect: false,
businessCommunicationDemandId:e.detail
businessCommunicationDemandId: e.detail
})
this.getCurrentData();
wx.pageScrollTo({
@@ -222,9 +222,13 @@ Page({
},

/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {

}
* 用户点击右上角分享
*/
onShareAppMessage() {
return {
title: "发现了一个适合你的需求!推荐你一起来关注~",
imageUrl: '/images/home/ShareApp-details.png',
path: 'pages/index/components/listDetails/Details'
}
},
})

+ 4
- 4
pages/index/index.js View File

@@ -286,12 +286,12 @@ Page({
})
},
/**
* 用户点击右上角分享
*/
onShareAppMessage(){
* 用户点击右上角分享给朋友
*/
onShareAppMessage() {
return {
title: "分享你一个需求交流平台!推荐你一起来关注~",
imageUrl: '/image/home/ShareApp.png',
imageUrl: '/images/home/ShareApp-index.png',
path: 'pages/index/index'
}
},

+ 0
- 6
pages/login/login.js View File

@@ -147,10 +147,4 @@ Page({
console.log(error, "获取error")
})
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {

}
})

+ 10
- 0
pages/msgModule/index.js View File

@@ -193,4 +193,14 @@ Page({
onUnload: function () {
wx.closeSocket();
},
/**
* 用户点击右上角分享给朋友
*/
onShareAppMessage() {
return {
title: "分享你一个需求交流平台!推荐你一起来关注~",
imageUrl: '/images/home/ShareApp-index.png',
path: 'pages/index/index'
}
},
})

+ 0
- 7
pages/msgModule/wechat2/wechat2.js View File

@@ -321,13 +321,6 @@ Page({
*/
onReachBottom: function () {

},

/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {

},
send: function () {
var _this = this;

+ 0
- 6
pages/myModule/components/myAttention/myAttention.js View File

@@ -125,10 +125,4 @@ Page({
wx.hideLoading()
})
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {

}
})

+ 0
- 7
pages/myModule/components/myCollect/myCollect.js View File

@@ -163,11 +163,4 @@ Page({
this.getListData();
}
},

/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {

}
})

+ 0
- 7
pages/myModule/components/myRelease/myRelease.js View File

@@ -302,11 +302,4 @@ Page({
this.getListData();
}
},

/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {

}
})

+ 10
- 0
pages/myModule/index.js View File

@@ -95,4 +95,14 @@ Page({
isLogin:false
})
},
/**
* 用户点击右上角分享给朋友
*/
onShareAppMessage() {
return {
title: "分享你一个需求交流平台!推荐你一起来关注~",
imageUrl: '/images/home/ShareApp-index.png',
path: 'pages/index/index'
}
},
})

+ 0
- 7
pages/outLink/outLink.js View File

@@ -64,11 +64,4 @@ Page({
onReachBottom: function () {

},

/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {

}
})

+ 0
- 6
pages/releaseModule/index.js View File

@@ -250,10 +250,4 @@ Page({
console.log(error, 'error appletLogin')
})
},
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {

}
})

Loading…
Cancel
Save