放开足球馆
This commit is contained in:
@@ -147,21 +147,21 @@ Page({
|
|||||||
this.setData({
|
this.setData({
|
||||||
state: state
|
state: state
|
||||||
})
|
})
|
||||||
if (state == 3) {
|
// if (state == 3) {
|
||||||
wx.showToast({
|
// wx.showToast({
|
||||||
title: '暂未开放,敬请期待',
|
// title: '暂未开放,敬请期待',
|
||||||
icon: 'none',
|
// icon: 'none',
|
||||||
duration: 2000
|
// duration: 2000
|
||||||
})
|
// })
|
||||||
let list = [{
|
// let list = [{
|
||||||
longitude: this.data.longitude,
|
// longitude: this.data.longitude,
|
||||||
latitude: this.data.latitude
|
// latitude: this.data.latitude
|
||||||
}];
|
// }];
|
||||||
this.setData({
|
// this.setData({
|
||||||
includePoints: list
|
// includePoints: list
|
||||||
})
|
// })
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
// this.getLngLat();
|
// this.getLngLat();
|
||||||
this.getLocation();
|
this.getLocation();
|
||||||
},
|
},
|
||||||
@@ -177,7 +177,7 @@ Page({
|
|||||||
url: `/pages/basketballGym/index?id=${e.markerId}`,
|
url: `/pages/basketballGym/index?id=${e.markerId}`,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if (this.data.state == 2) {
|
if (this.data.state == 2 || this.data.state == 3) {
|
||||||
wx.navigateTo({
|
wx.navigateTo({
|
||||||
url: `/pages/gymnasium/index?id=${e.markerId}`,
|
url: `/pages/gymnasium/index?id=${e.markerId}`,
|
||||||
})
|
})
|
||||||
@@ -203,19 +203,6 @@ Page({
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
//扫描二维码
|
|
||||||
sacnQRCode() {
|
|
||||||
wx.scanCode({
|
|
||||||
success (res) {
|
|
||||||
wx.showToast({
|
|
||||||
title: res.result,
|
|
||||||
icon: 'none',
|
|
||||||
duration: 5000
|
|
||||||
})
|
|
||||||
}
|
|
||||||
})
|
|
||||||
},
|
|
||||||
|
|
||||||
// 跳转个人中心
|
// 跳转个人中心
|
||||||
pushMine() {
|
pushMine() {
|
||||||
if (this.data.unClickBtn) {
|
if (this.data.unClickBtn) {
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ Page({
|
|||||||
url: `/pages/basketballGym/index?id=${id}`,
|
url: `/pages/basketballGym/index?id=${id}`,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
if (this.data.state == 2) {
|
if (this.data.state == 2 || this.data.state == 3) {
|
||||||
wx.navigateTo({
|
wx.navigateTo({
|
||||||
url: `/pages/gymnasium/index?id=${id}`,
|
url: `/pages/gymnasium/index?id=${id}`,
|
||||||
})
|
})
|
||||||
@@ -131,12 +131,12 @@ Page({
|
|||||||
venues: list,
|
venues: list,
|
||||||
isShowNewplot: true
|
isShowNewplot: true
|
||||||
})
|
})
|
||||||
if (this.data.state == 3) {
|
// if (this.data.state == 3) {
|
||||||
wx.showToast({
|
// wx.showToast({
|
||||||
title: '暂未开放,敬请期待',
|
// title: '暂未开放,敬请期待',
|
||||||
icon: 'none',
|
// icon: 'none',
|
||||||
})
|
// })
|
||||||
}
|
// }
|
||||||
wx.stopPullDownRefresh();
|
wx.stopPullDownRefresh();
|
||||||
}, err => {
|
}, err => {
|
||||||
wx.stopPullDownRefresh();
|
wx.stopPullDownRefresh();
|
||||||
|
|||||||
@@ -39,11 +39,9 @@
|
|||||||
"simulatorPluginLibVersion": {},
|
"simulatorPluginLibVersion": {},
|
||||||
"condition": {
|
"condition": {
|
||||||
"search": {
|
"search": {
|
||||||
"current": -1,
|
|
||||||
"list": []
|
"list": []
|
||||||
},
|
},
|
||||||
"conversation": {
|
"conversation": {
|
||||||
"current": -1,
|
|
||||||
"list": []
|
"list": []
|
||||||
},
|
},
|
||||||
"game": {
|
"game": {
|
||||||
@@ -51,7 +49,6 @@
|
|||||||
"list": []
|
"list": []
|
||||||
},
|
},
|
||||||
"miniprogram": {
|
"miniprogram": {
|
||||||
"current": -1,
|
|
||||||
"list": []
|
"list": []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user