放开足球馆

This commit is contained in:
limqhz
2021-03-08 17:37:51 +08:00
parent 94528774aa
commit f09c3ecb4e
3 changed files with 79 additions and 95 deletions

View File

@@ -147,21 +147,21 @@ Page({
this.setData({
state: state
})
if (state == 3) {
wx.showToast({
title: '暂未开放,敬请期待',
icon: 'none',
duration: 2000
})
let list = [{
longitude: this.data.longitude,
latitude: this.data.latitude
}];
this.setData({
includePoints: list
})
return;
}
// if (state == 3) {
// wx.showToast({
// title: '暂未开放,敬请期待',
// icon: 'none',
// duration: 2000
// })
// let list = [{
// longitude: this.data.longitude,
// latitude: this.data.latitude
// }];
// this.setData({
// includePoints: list
// })
// return;
// }
// this.getLngLat();
this.getLocation();
},
@@ -177,7 +177,7 @@ Page({
url: `/pages/basketballGym/index?id=${e.markerId}`,
})
}
if (this.data.state == 2) {
if (this.data.state == 2 || this.data.state == 3) {
wx.navigateTo({
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() {
if (this.data.unClickBtn) {

View File

@@ -99,7 +99,7 @@ Page({
url: `/pages/basketballGym/index?id=${id}`,
})
}
if (this.data.state == 2) {
if (this.data.state == 2 || this.data.state == 3) {
wx.navigateTo({
url: `/pages/gymnasium/index?id=${id}`,
})
@@ -131,12 +131,12 @@ Page({
venues: list,
isShowNewplot: true
})
if (this.data.state == 3) {
wx.showToast({
title: '暂未开放,敬请期待',
icon: 'none',
})
}
// if (this.data.state == 3) {
// wx.showToast({
// title: '暂未开放,敬请期待',
// icon: 'none',
// })
// }
wx.stopPullDownRefresh();
}, err => {
wx.stopPullDownRefresh();

View File

@@ -39,11 +39,9 @@
"simulatorPluginLibVersion": {},
"condition": {
"search": {
"current": -1,
"list": []
},
"conversation": {
"current": -1,
"list": []
},
"game": {
@@ -51,7 +49,6 @@
"list": []
},
"miniprogram": {
"current": -1,
"list": []
}
}