|  | @@ -23,7 +23,7 @@ Page({ | 
														
													
														
															
																|  |  | /** |  |  | /** | 
														
													
														
															
																|  |  | * 车牌轮播滑动 |  |  | * 车牌轮播滑动 | 
														
													
														
															
																|  |  | */ |  |  | */ | 
														
													
														
															
																|  |  | onSlideChangeEnd: function (e) { |  |  |  | 
														
													
														
															
																|  |  |  |  |  | onSlideChangeEnd: function(e) { | 
														
													
														
															
																|  |  | var that = this; |  |  | var that = this; | 
														
													
														
															
																|  |  | /** |  |  | /** | 
														
													
														
															
																|  |  | * 获得当前的车牌号码 |  |  | * 获得当前的车牌号码 | 
														
													
												
													
														
															
																|  | @@ -38,12 +38,12 @@ Page({ | 
														
													
														
															
																|  |  | */ |  |  | */ | 
														
													
														
															
																|  |  | that.getStopFee(listCardNum); |  |  | that.getStopFee(listCardNum); | 
														
													
														
															
																|  |  | }, |  |  | }, | 
														
													
														
															
																|  |  | gotomange: function () { |  |  |  | 
														
													
														
															
																|  |  |  |  |  | gotomange: function() { | 
														
													
														
															
																|  |  | wx.navigateTo({ |  |  | wx.navigateTo({ | 
														
													
														
															
																|  |  | url: '/pages/managelicenseplate/managelicenseplate', |  |  | url: '/pages/managelicenseplate/managelicenseplate', | 
														
													
														
															
																|  |  | }) |  |  | }) | 
														
													
														
															
																|  |  | }, |  |  | }, | 
														
													
														
															
																|  |  | showquan:function(){ |  |  |  | 
														
													
														
															
																|  |  |  |  |  | showquan: function() { | 
														
													
														
															
																|  |  | wx.navigateTo({ |  |  | wx.navigateTo({ | 
														
													
														
															
																|  |  | url: '/pages/passCar/couponList/couponList', |  |  | url: '/pages/passCar/couponList/couponList', | 
														
													
														
															
																|  |  | }) |  |  | }) | 
														
													
												
													
														
															
																|  | @@ -51,13 +51,13 @@ Page({ | 
														
													
														
															
																|  |  | /** |  |  | /** | 
														
													
														
															
																|  |  | * 待完成 |  |  | * 待完成 | 
														
													
														
															
																|  |  | */ |  |  | */ | 
														
													
														
															
																|  |  | gotodetail:function(e){ |  |  |  | 
														
													
														
															
																|  |  |  |  |  | gotodetail: function(e) { | 
														
													
														
															
																|  |  | console.log(e.target.dataset.rule); |  |  | console.log(e.target.dataset.rule); | 
														
													
														
															
																|  |  | wx.navigateTo({ |  |  | wx.navigateTo({ | 
														
													
														
															
																|  |  | url: `/pages/payrule/payrule?rule=${e.target.dataset.rule}`, |  |  | url: `/pages/payrule/payrule?rule=${e.target.dataset.rule}`, | 
														
													
														
															
																|  |  | }) |  |  | }) | 
														
													
														
															
																|  |  | }, |  |  | }, | 
														
													
														
															
																|  |  | onShow: function (options) { |  |  |  | 
														
													
														
															
																|  |  |  |  |  | onShow: function(options) { | 
														
													
														
															
																|  |  | var that = this; |  |  | var that = this; | 
														
													
														
															
																|  |  | that.getList(); |  |  | that.getList(); | 
														
													
														
															
																|  |  | that.init(); |  |  | that.init(); | 
														
													
												
													
														
															
																|  | @@ -71,9 +71,21 @@ Page({ | 
														
													
														
															
																|  |  | key: 'chosed', |  |  | key: 'chosed', | 
														
													
														
															
																|  |  | data: '', |  |  | data: '', | 
														
													
														
															
																|  |  | }) |  |  | }) | 
														
													
														
															
																|  |  |  |  |  | }; | 
														
													
														
															
																|  |  |  |  |  | that.initUsrCarList(); | 
														
													
														
															
																|  |  |  |  |  | if (that.data.addCar) { | 
														
													
														
															
																|  |  |  |  |  | // 绑车牌 | 
														
													
														
															
																|  |  |  |  |  | if (app.globalData.carLogin) { | 
														
													
														
															
																|  |  |  |  |  | that.bindCar(that.data.addCar); | 
														
													
														
															
																|  |  |  |  |  | } else { | 
														
													
														
															
																|  |  |  |  |  | that.bindCar(that.data.addCar); | 
														
													
														
															
																|  |  |  |  |  | } | 
														
													
														
															
																|  |  |  |  |  | that.setData({ | 
														
													
														
															
																|  |  |  |  |  | addCar: null | 
														
													
														
															
																|  |  |  |  |  | }); | 
														
													
														
															
																|  |  | } |  |  | } | 
														
													
														
															
																|  |  | }, |  |  | }, | 
														
													
														
															
																|  |  | onLoad: function (options) { |  |  |  | 
														
													
														
															
																|  |  |  |  |  | onLoad: function(options) { | 
														
													
														
															
																|  |  | var that = this; |  |  | var that = this; | 
														
													
														
															
																|  |  | /** |  |  | /** | 
														
													
														
															
																|  |  | * 获得分享小程序的 |  |  | * 获得分享小程序的 | 
														
													
												
													
														
															
																|  | @@ -81,11 +93,11 @@ Page({ | 
														
													
														
															
																|  |  | * desc |  |  | * desc | 
														
													
														
															
																|  |  | */ |  |  | */ | 
														
													
														
															
																|  |  | Http.get({ |  |  | Http.get({ | 
														
													
														
															
																|  |  | url: config.api.getWeapNote, |  |  |  | 
														
													
														
															
																|  |  | data: { |  |  |  | 
														
													
														
															
																|  |  | appId: config.weapp.AppId, |  |  |  | 
														
													
														
															
																|  |  | } |  |  |  | 
														
													
														
															
																|  |  | }) |  |  |  | 
														
													
														
															
																|  |  |  |  |  | url: config.api.getWeapNote, | 
														
													
														
															
																|  |  |  |  |  | data: { | 
														
													
														
															
																|  |  |  |  |  | appId: config.weapp.AppId, | 
														
													
														
															
																|  |  |  |  |  | } | 
														
													
														
															
																|  |  |  |  |  | }) | 
														
													
														
															
																|  |  | .then(res => { |  |  | .then(res => { | 
														
													
														
															
																|  |  | let weapNote = JSON.parse(res.data.weapNote); |  |  | let weapNote = JSON.parse(res.data.weapNote); | 
														
													
														
															
																|  |  | that.setData({ |  |  | that.setData({ | 
														
													
												
													
														
															
																|  | @@ -96,12 +108,12 @@ Page({ | 
														
													
														
															
																|  |  | }, |  |  | }, | 
														
													
														
															
																|  |  | 
 |  |  | 
 | 
														
													
														
															
																|  |  | 
 |  |  | 
 | 
														
													
														
															
																|  |  | jumpToAdd: function () { |  |  |  | 
														
													
														
															
																|  |  |  |  |  | jumpToAdd: function() { | 
														
													
														
															
																|  |  | wx.navigateTo({ |  |  | wx.navigateTo({ | 
														
													
														
															
																|  |  | url: "/pages/addPark/addPark" |  |  |  | 
														
													
														
															
																|  |  |  |  |  | url: `/pages/addPark/addPark?flags=managepalte` | 
														
													
														
															
																|  |  | }); |  |  | }); | 
														
													
														
															
																|  |  | }, |  |  | }, | 
														
													
														
															
																|  |  | passc: function () { |  |  |  | 
														
													
														
															
																|  |  |  |  |  | passc: function() { | 
														
													
														
															
																|  |  | wx.navigateTo({ |  |  | wx.navigateTo({ | 
														
													
														
															
																|  |  | url: '/pages/ques/ques', |  |  | url: '/pages/ques/ques', | 
														
													
														
															
																|  |  | }) |  |  | }) | 
														
													
												
													
														
															
																|  | @@ -111,7 +123,7 @@ Page({ | 
														
													
														
															
																|  |  | /** |  |  | /** | 
														
													
														
															
																|  |  | * 券绑定车牌 |  |  | * 券绑定车牌 | 
														
													
														
															
																|  |  | */ |  |  | */ | 
														
													
														
															
																|  |  | bindCoupon: function (quanid) { |  |  |  | 
														
													
														
															
																|  |  |  |  |  | bindCoupon: function(quanid) { | 
														
													
														
															
																|  |  | var that = this; |  |  | var that = this; | 
														
													
														
															
																|  |  | /** |  |  | /** | 
														
													
														
															
																|  |  | * etcp |  |  | * etcp | 
														
													
												
													
														
															
																|  | @@ -119,9 +131,6 @@ Page({ | 
														
													
														
															
																|  |  | var etcpData = { |  |  | var etcpData = { | 
														
													
														
															
																|  |  | etcpToken: app.globalData.etcpToken, |  |  | etcpToken: app.globalData.etcpToken, | 
														
													
														
															
																|  |  | carNumber: that.data.listCardNum, |  |  | carNumber: that.data.listCardNum, | 
														
													
														
															
																|  |  | /** |  |  |  | 
														
													
														
															
																|  |  | * 待解决 |  |  |  | 
														
													
														
															
																|  |  | */ |  |  |  | 
														
													
														
															
																|  |  | couponOrderId: quanid |  |  | couponOrderId: quanid | 
														
													
														
															
																|  |  | }; |  |  | }; | 
														
													
														
															
																|  |  | console.log(etcpData); |  |  | console.log(etcpData); | 
														
													
												
													
														
															
																|  | @@ -133,9 +142,9 @@ Page({ | 
														
													
														
															
																|  |  | }; |  |  | }; | 
														
													
														
															
																|  |  | var postCouponData = app.globalData.parkVendor == 1 ? etcpData : tjdData; |  |  | var postCouponData = app.globalData.parkVendor == 1 ? etcpData : tjdData; | 
														
													
														
															
																|  |  | Http.post({ |  |  | Http.post({ | 
														
													
														
															
																|  |  | url: config.api.getCarCoupon, |  |  |  | 
														
													
														
															
																|  |  | data: postCouponData |  |  |  | 
														
													
														
															
																|  |  | }) |  |  |  | 
														
													
														
															
																|  |  |  |  |  | url: config.api.getCarCoupon, | 
														
													
														
															
																|  |  |  |  |  | data: postCouponData | 
														
													
														
															
																|  |  |  |  |  | }) | 
														
													
														
															
																|  |  | .then(res => { |  |  | .then(res => { | 
														
													
														
															
																|  |  | that.initUsrCarList(); |  |  | that.initUsrCarList(); | 
														
													
														
															
																|  |  | }) |  |  | }) | 
														
													
												
													
														
															
																|  | @@ -151,19 +160,19 @@ Page({ | 
														
													
														
															
																|  |  | /** |  |  | /** | 
														
													
														
															
																|  |  | * 选择优惠券 |  |  | * 选择优惠券 | 
														
													
														
															
																|  |  | */ |  |  | */ | 
														
													
														
															
																|  |  | gotoquan: function () { |  |  |  | 
														
													
														
															
																|  |  |  |  |  | gotoquan: function() { | 
														
													
														
															
																|  |  | let that = this; |  |  | let that = this; | 
														
													
														
															
																|  |  | console.log(that.data.quanid); |  |  | console.log(that.data.quanid); | 
														
													
														
															
																|  |  | if (that.data.quanid){ |  |  |  | 
														
													
														
															
																|  |  |  |  |  | if (that.data.quanid) { | 
														
													
														
															
																|  |  | wx.navigateTo({ |  |  | wx.navigateTo({ | 
														
													
														
															
																|  |  | url: `/pages/passCar/choicecoupon/choicecoupon?quanid=${that.data.quanid}`, |  |  | url: `/pages/passCar/choicecoupon/choicecoupon?quanid=${that.data.quanid}`, | 
														
													
														
															
																|  |  | }) |  |  | }) | 
														
													
														
															
																|  |  | }else{ |  |  |  | 
														
													
														
															
																|  |  |  |  |  | } else { | 
														
													
														
															
																|  |  | wx.navigateTo({ |  |  | wx.navigateTo({ | 
														
													
														
															
																|  |  | url: '/pages/passCar/choicecoupon/choicecoupon', |  |  | url: '/pages/passCar/choicecoupon/choicecoupon', | 
														
													
														
															
																|  |  | }) |  |  | }) | 
														
													
														
															
																|  |  | } |  |  | } | 
														
													
														
															
																|  |  |  |  |  |  | 
														
													
														
															
																|  |  |  |  |  |  | 
														
													
														
															
																|  |  | }, |  |  | }, | 
														
													
														
															
																|  |  | 
 |  |  | 
 | 
														
													
														
															
																|  |  | //获取名下停车券列表 |  |  | //获取名下停车券列表 | 
														
													
												
													
														
															
																|  | @@ -188,7 +197,7 @@ Page({ | 
														
													
														
															
																|  |  | /** |  |  | /** | 
														
													
														
															
																|  |  | * 共同登录 |  |  | * 共同登录 | 
														
													
														
															
																|  |  | */ |  |  | */ | 
														
													
														
															
																|  |  | init: function (carNumber) { |  |  |  | 
														
													
														
															
																|  |  |  |  |  | init: function(carNumber) { | 
														
													
														
															
																|  |  | var that = this; |  |  | var that = this; | 
														
													
														
															
																|  |  | app.parkInitCallback = token => { |  |  | app.parkInitCallback = token => { | 
														
													
														
															
																|  |  | that.initPark(); |  |  | that.initPark(); | 
														
													
												
													
														
															
																|  | @@ -197,9 +206,9 @@ Page({ | 
														
													
														
															
																|  |  | * 判断是否授权手机号 |  |  | * 判断是否授权手机号 | 
														
													
														
															
																|  |  | */ |  |  | */ | 
														
													
														
															
																|  |  | Http.post({ |  |  | Http.post({ | 
														
													
														
															
																|  |  | url: config.api.checkPhoneStatus, |  |  |  | 
														
													
														
															
																|  |  | data: {} |  |  |  | 
														
													
														
															
																|  |  | }) |  |  |  | 
														
													
														
															
																|  |  |  |  |  | url: config.api.checkPhoneStatus, | 
														
													
														
															
																|  |  |  |  |  | data: {} | 
														
													
														
															
																|  |  |  |  |  | }) | 
														
													
														
															
																|  |  | .then(res => { |  |  | .then(res => { | 
														
													
														
															
																|  |  | console.log(res); |  |  | console.log(res); | 
														
													
														
															
																|  |  | Http.post({ |  |  | Http.post({ | 
														
													
												
													
														
															
																|  | @@ -248,6 +257,42 @@ Page({ | 
														
													
														
															
																|  |  | /** |  |  | /** | 
														
													
														
															
																|  |  | * 绑定车牌 |  |  | * 绑定车牌 | 
														
													
														
															
																|  |  | */ |  |  | */ | 
														
													
														
															
																|  |  |  |  |  | // bindCar: function(carNum) { | 
														
													
														
															
																|  |  |  |  |  | //   var that = this; | 
														
													
														
															
																|  |  |  |  |  | //   // ETCP | 
														
													
														
															
																|  |  |  |  |  | //   var etcpData = { | 
														
													
														
															
																|  |  |  |  |  | //     etcpToken: app.globalData.etcpToken, | 
														
													
														
															
																|  |  |  |  |  | //     carNumber: carNum | 
														
													
														
															
																|  |  |  |  |  | //   }; | 
														
													
														
															
																|  |  |  |  |  | //   var tjdData = { | 
														
													
														
															
																|  |  |  |  |  | //     carNumber: carNum | 
														
													
														
															
																|  |  |  |  |  | //   }; | 
														
													
														
															
																|  |  |  |  |  | //   var postData = app.globalData.parkVendor == 1 ? etcpData : tjdData; | 
														
													
														
															
																|  |  |  |  |  | //   Http.post({ | 
														
													
														
															
																|  |  |  |  |  | //       url: config.api.bindCar, | 
														
													
														
															
																|  |  |  |  |  | //       data: postData | 
														
													
														
															
																|  |  |  |  |  | //     }) | 
														
													
														
															
																|  |  |  |  |  | //     .then(res => { | 
														
													
														
															
																|  |  |  |  |  | //       console.log(res); | 
														
													
														
															
																|  |  |  |  |  | //       // that.initUsrCarList(); | 
														
													
														
															
																|  |  |  |  |  | //       wx.showModal({ | 
														
													
														
															
																|  |  |  |  |  | //         title: "提示", | 
														
													
														
															
																|  |  |  |  |  | //         showCancel: false, | 
														
													
														
															
																|  |  |  |  |  | //         content: "绑车牌成功!", | 
														
													
														
															
																|  |  |  |  |  | //         success: function() {} | 
														
													
														
															
																|  |  |  |  |  | //       }); | 
														
													
														
															
																|  |  |  |  |  | //     }) | 
														
													
														
															
																|  |  |  |  |  | //     .catch(error => { | 
														
													
														
															
																|  |  |  |  |  | //       console.log(error); | 
														
													
														
															
																|  |  |  |  |  | //       wx.showModal({ | 
														
													
														
															
																|  |  |  |  |  | //         title: "提示", | 
														
													
														
															
																|  |  |  |  |  | //         showCancel: false, | 
														
													
														
															
																|  |  |  |  |  | //         content: error.message, | 
														
													
														
															
																|  |  |  |  |  | //         success: function() {} | 
														
													
														
															
																|  |  |  |  |  | //       }); | 
														
													
														
															
																|  |  |  |  |  | //     }); | 
														
													
														
															
																|  |  |  |  |  | // }, | 
														
													
														
															
																|  |  |  |  |  | 
 | 
														
													
														
															
																|  |  | bindCar: function (carNum) { |  |  | bindCar: function (carNum) { | 
														
													
														
															
																|  |  | var that = this; |  |  | var that = this; | 
														
													
														
															
																|  |  | // ETCP |  |  | // ETCP | 
														
													
												
													
														
															
																|  | @@ -265,7 +310,10 @@ Page({ | 
														
													
														
															
																|  |  | }) |  |  | }) | 
														
													
														
															
																|  |  | .then(res => { |  |  | .then(res => { | 
														
													
														
															
																|  |  | console.log(res); |  |  | console.log(res); | 
														
													
														
															
																|  |  | // that.initUsrCarList(); |  |  |  | 
														
													
														
															
																|  |  |  |  |  | that.setData({ | 
														
													
														
															
																|  |  |  |  |  | addCar: null | 
														
													
														
															
																|  |  |  |  |  | }); | 
														
													
														
															
																|  |  |  |  |  | that.initUsrCarList(); | 
														
													
														
															
																|  |  | wx.showModal({ |  |  | wx.showModal({ | 
														
													
														
															
																|  |  | title: "提示", |  |  | title: "提示", | 
														
													
														
															
																|  |  | showCancel: false, |  |  | showCancel: false, | 
														
													
												
													
														
															
																|  | @@ -278,17 +326,15 @@ Page({ | 
														
													
														
															
																|  |  | wx.showModal({ |  |  | wx.showModal({ | 
														
													
														
															
																|  |  | title: "提示", |  |  | title: "提示", | 
														
													
														
															
																|  |  | showCancel: false, |  |  | showCancel: false, | 
														
													
														
															
																|  |  | content: error.message, |  |  |  | 
														
													
														
															
																|  |  |  |  |  | content: error.data.message, | 
														
													
														
															
																|  |  | success: function () { } |  |  | success: function () { } | 
														
													
														
															
																|  |  | }); |  |  | }); | 
														
													
														
															
																|  |  | }); |  |  | }); | 
														
													
														
															
																|  |  | }, |  |  | }, | 
														
													
														
															
																|  |  | 
 |  |  |  | 
														
													
														
															
																|  |  | 
 |  |  |  | 
														
													
														
															
																|  |  | /** |  |  | /** | 
														
													
														
															
																|  |  | * 车场信息获取 |  |  | * 车场信息获取 | 
														
													
														
															
																|  |  | */ |  |  | */ | 
														
													
														
															
																|  |  | initPark: function () { |  |  |  | 
														
													
														
															
																|  |  |  |  |  | initPark: function() { | 
														
													
														
															
																|  |  | var that = this; |  |  | var that = this; | 
														
													
														
															
																|  |  | Http.get({ |  |  | Http.get({ | 
														
													
														
															
																|  |  | url: config.api.getParkInfo, |  |  | url: config.api.getParkInfo, | 
														
													
												
													
														
															
																|  | @@ -304,7 +350,7 @@ Page({ | 
														
													
														
															
																|  |  | /** |  |  | /** | 
														
													
														
															
																|  |  | * 绑定车获取 |  |  | * 绑定车获取 | 
														
													
														
															
																|  |  | */ |  |  | */ | 
														
													
														
															
																|  |  | initUsrCarList: function (flag) { |  |  |  | 
														
													
														
															
																|  |  |  |  |  | initUsrCarList: function(flag) { | 
														
													
														
															
																|  |  | console.log(flag); |  |  | console.log(flag); | 
														
													
														
															
																|  |  | var that = this; |  |  | var that = this; | 
														
													
														
															
																|  |  | Http.get({ |  |  | Http.get({ | 
														
													
												
													
														
															
																|  | @@ -336,16 +382,16 @@ Page({ | 
														
													
														
															
																|  |  | /** |  |  | /** | 
														
													
														
															
																|  |  | * 获得停车费用修改 |  |  | * 获得停车费用修改 | 
														
													
														
															
																|  |  | */ |  |  | */ | 
														
													
														
															
																|  |  | getStopFee: function (carNumber) { |  |  |  | 
														
													
														
															
																|  |  |  |  |  | getStopFee: function(carNumber) { | 
														
													
														
															
																|  |  | var that = this; |  |  | var that = this; | 
														
													
														
															
																|  |  | var postData = |  |  | var postData = | 
														
													
														
															
																|  |  | app.globalData.parkVendor == 1 ? { |  |  | app.globalData.parkVendor == 1 ? { | 
														
													
														
															
																|  |  | etcpToken: app.globalData.etcpToken, |  |  | etcpToken: app.globalData.etcpToken, | 
														
													
														
															
																|  |  | carNumber: carNumber |  |  | carNumber: carNumber | 
														
													
														
															
																|  |  | } : { |  |  | } : { | 
														
													
														
															
																|  |  | carNumber: carNumber, |  |  |  | 
														
													
														
															
																|  |  | outCarId: outCarId |  |  |  | 
														
													
														
															
																|  |  | }; |  |  |  | 
														
													
														
															
																|  |  |  |  |  | carNumber: carNumber, | 
														
													
														
															
																|  |  |  |  |  | outCarId: outCarId | 
														
													
														
															
																|  |  |  |  |  | }; | 
														
													
														
															
																|  |  | var extraDataStr = { |  |  | var extraDataStr = { | 
														
													
														
															
																|  |  | params: { |  |  | params: { | 
														
													
														
															
																|  |  | CarNumber: carNumber |  |  | CarNumber: carNumber | 
														
													
												
													
														
															
																|  | @@ -355,9 +401,9 @@ Page({ | 
														
													
														
															
																|  |  | extraData: extraDataStr |  |  | extraData: extraDataStr | 
														
													
														
															
																|  |  | }); |  |  | }); | 
														
													
														
															
																|  |  | Http.post({ |  |  | Http.post({ | 
														
													
														
															
																|  |  | url: config.api.getCarStopFee, |  |  |  | 
														
													
														
															
																|  |  | data: postData |  |  |  | 
														
													
														
															
																|  |  | }) |  |  |  | 
														
													
														
															
																|  |  |  |  |  | url: config.api.getCarStopFee, | 
														
													
														
															
																|  |  |  |  |  | data: postData | 
														
													
														
															
																|  |  |  |  |  | }) | 
														
													
														
															
																|  |  | .then(res => { |  |  | .then(res => { | 
														
													
														
															
																|  |  | that.setData({ |  |  | that.setData({ | 
														
													
														
															
																|  |  | stopFees: res.data |  |  | stopFees: res.data | 
														
													
												
													
														
															
																|  | @@ -382,17 +428,17 @@ Page({ | 
														
													
														
															
																|  |  | /** |  |  | /** | 
														
													
														
															
																|  |  | * 下拉刷新 |  |  | * 下拉刷新 | 
														
													
														
															
																|  |  | */ |  |  | */ | 
														
													
														
															
																|  |  | onPullDownRefresh: function (e) { |  |  |  | 
														
													
														
															
																|  |  |  |  |  | onPullDownRefresh: function(e) { | 
														
													
														
															
																|  |  | let that = this; |  |  | let that = this; | 
														
													
														
															
																|  |  | that.initUsrCarList("flags"); |  |  | that.initUsrCarList("flags"); | 
														
													
														
															
																|  |  | wx.stopPullDownRefresh(); |  |  | wx.stopPullDownRefresh(); | 
														
													
														
															
																|  |  | }, |  |  | }, | 
														
													
														
															
																|  |  | // 用户点击右上角分享 |  |  | // 用户点击右上角分享 | 
														
													
														
															
																|  |  | onShareAppMessage: function () { |  |  |  | 
														
													
														
															
																|  |  |  |  |  | onShareAppMessage: function() { | 
														
													
														
															
																|  |  | return { |  |  | return { | 
														
													
														
															
																|  |  | title: this.data.title, |  |  | title: this.data.title, | 
														
													
														
															
																|  |  | desc: this.data.desc, |  |  | desc: this.data.desc, | 
														
													
														
															
																|  |  | success: function (res) { |  |  |  | 
														
													
														
															
																|  |  |  |  |  | success: function(res) { | 
														
													
														
															
																|  |  | wx.showToast({ |  |  | wx.showToast({ | 
														
													
														
															
																|  |  | title: "分享成功", |  |  | title: "分享成功", | 
														
													
														
															
																|  |  | duration: 1000, |  |  | duration: 1000, | 
														
													
												
													
														
															
																|  | 
 |