|
|
@@ -434,6 +434,26 @@
|
|
|
msgNumber
|
|
|
},
|
|
|
props: {},
|
|
|
+ onPullDownRefresh() {
|
|
|
+ req.removeStorage('shareId')
|
|
|
+ setTimeout(()=>{
|
|
|
+ uni.stopPullDownRefresh()
|
|
|
+ },1000)
|
|
|
+ this.getHotActivity()
|
|
|
+ this.getMatchList()
|
|
|
+ this.getTbal()
|
|
|
+ this.getLpal()
|
|
|
+ this.getFx()
|
|
|
+ QQMapWX.initMap();
|
|
|
+ req.getLocation(res => {
|
|
|
+ const to = {
|
|
|
+ latitude: res.latitude,
|
|
|
+ longitude: res.longitude
|
|
|
+ };
|
|
|
+ QQMapWX.reverseGeocoder(to, resp => {});
|
|
|
+ this.getRecommendCard(to)
|
|
|
+ });
|
|
|
+ },
|
|
|
onLoad: async function(options) {
|
|
|
// console.log("扫码进去参数===" + JSON.stringify(options));
|
|
|
// if (options.scene) {
|