| * 用户点击右上角分享 | * 用户点击右上角分享 | ||||
| */ | */ | ||||
| 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' | |||||
| } | |||||
| } | |||||
| } | } | ||||
| }) | }) |
| 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' | |||||
| } | |||||
| }, | |||||
| }) | }) |
| }) | }) | ||||
| }, | }, | ||||
| /** | /** | ||||
| * 用户点击右上角分享 | |||||
| */ | |||||
| 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' | ||||
| } | } | ||||
| }, | }, |
| console.log(error, "获取error") | console.log(error, "获取error") | ||||
| }) | }) | ||||
| }, | }, | ||||
| /** | |||||
| * 用户点击右上角分享 | |||||
| */ | |||||
| onShareAppMessage: function () { | |||||
| } | |||||
| }) | }) |
| onUnload: function () { | onUnload: function () { | ||||
| wx.closeSocket(); | wx.closeSocket(); | ||||
| }, | }, | ||||
| /** | |||||
| * 用户点击右上角分享给朋友 | |||||
| */ | |||||
| onShareAppMessage() { | |||||
| return { | |||||
| title: "分享你一个需求交流平台!推荐你一起来关注~", | |||||
| imageUrl: '/images/home/ShareApp-index.png', | |||||
| path: 'pages/index/index' | |||||
| } | |||||
| }, | |||||
| }) | }) |
| */ | */ | ||||
| onReachBottom: function () { | onReachBottom: function () { | ||||
| }, | |||||
| /** | |||||
| * 用户点击右上角分享 | |||||
| */ | |||||
| onShareAppMessage: function () { | |||||
| }, | }, | ||||
| send: function () { | send: function () { | ||||
| var _this = this; | var _this = this; |
| wx.hideLoading() | wx.hideLoading() | ||||
| }) | }) | ||||
| }, | }, | ||||
| /** | |||||
| * 用户点击右上角分享 | |||||
| */ | |||||
| onShareAppMessage: function () { | |||||
| } | |||||
| }) | }) |
| this.getListData(); | this.getListData(); | ||||
| } | } | ||||
| }, | }, | ||||
| /** | |||||
| * 用户点击右上角分享 | |||||
| */ | |||||
| onShareAppMessage: function () { | |||||
| } | |||||
| }) | }) |
| this.getListData(); | this.getListData(); | ||||
| } | } | ||||
| }, | }, | ||||
| /** | |||||
| * 用户点击右上角分享 | |||||
| */ | |||||
| onShareAppMessage: function () { | |||||
| } | |||||
| }) | }) |
| isLogin:false | isLogin:false | ||||
| }) | }) | ||||
| }, | }, | ||||
| /** | |||||
| * 用户点击右上角分享给朋友 | |||||
| */ | |||||
| onShareAppMessage() { | |||||
| return { | |||||
| title: "分享你一个需求交流平台!推荐你一起来关注~", | |||||
| imageUrl: '/images/home/ShareApp-index.png', | |||||
| path: 'pages/index/index' | |||||
| } | |||||
| }, | |||||
| }) | }) |
| onReachBottom: function () { | onReachBottom: function () { | ||||
| }, | }, | ||||
| /** | |||||
| * 用户点击右上角分享 | |||||
| */ | |||||
| onShareAppMessage: function () { | |||||
| } | |||||
| }) | }) |
| console.log(error, 'error appletLogin') | console.log(error, 'error appletLogin') | ||||
| }) | }) | ||||
| }, | }, | ||||
| /** | |||||
| * 用户点击右上角分享 | |||||
| */ | |||||
| onShareAppMessage: function () { | |||||
| } | |||||
| }) | }) |