浏览代码

完成我的分享~

release/210823_需求对对碰
王饶冀 3 年前
父节点
当前提交
a16bb70dc4

二进制
images/home/ShareApp-details.png 查看文件


二进制
images/home/ShareApp-homePage1.png 查看文件


二进制
images/home/ShareApp-homePage2.png 查看文件


images/home/ShareApp.png → images/home/ShareApp-index.png 查看文件


+ 13
- 1
pages/index/components/homepage/homepage.js 查看文件

* 用户点击右上角分享 * 用户点击右上角分享
*/ */
onShareAppMessage: function () { 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 查看文件

page: 1, page: 1,
onRefresh: true, onRefresh: true,
isCollect: false, isCollect: false,
businessCommunicationDemandId:e.detail
businessCommunicationDemandId: e.detail
}) })
this.getCurrentData(); this.getCurrentData();
wx.pageScrollTo({ wx.pageScrollTo({
}, },


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

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

+ 4
- 4
pages/index/index.js 查看文件

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

+ 0
- 6
pages/login/login.js 查看文件

console.log(error, "获取error") console.log(error, "获取error")
}) })
}, },
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {

}
}) })

+ 10
- 0
pages/msgModule/index.js 查看文件

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

+ 0
- 7
pages/msgModule/wechat2/wechat2.js 查看文件

*/ */
onReachBottom: function () { onReachBottom: function () {


},

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

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

+ 0
- 6
pages/myModule/components/myAttention/myAttention.js 查看文件

wx.hideLoading() wx.hideLoading()
}) })
}, },
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {

}
}) })

+ 0
- 7
pages/myModule/components/myCollect/myCollect.js 查看文件

this.getListData(); this.getListData();
} }
}, },

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

}
}) })

+ 0
- 7
pages/myModule/components/myRelease/myRelease.js 查看文件

this.getListData(); this.getListData();
} }
}, },

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

}
}) })

+ 10
- 0
pages/myModule/index.js 查看文件

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

+ 0
- 7
pages/outLink/outLink.js 查看文件

onReachBottom: function () { onReachBottom: function () {


}, },

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

}
}) })

+ 0
- 6
pages/releaseModule/index.js 查看文件

console.log(error, 'error appletLogin') console.log(error, 'error appletLogin')
}) })
}, },
/**
* 用户点击右上角分享
*/
onShareAppMessage: function () {

}
}) })

正在加载...
取消
保存