放开足球馆
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) {
|
||||||
@@ -366,13 +353,13 @@ Page({
|
|||||||
// 东
|
// 东
|
||||||
longitude: 121.7051696777,
|
longitude: 121.7051696777,
|
||||||
latitude: 31.2750297303
|
latitude: 31.2750297303
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// 南
|
// 南
|
||||||
longitude: 121.4167785645,
|
longitude: 121.4167785645,
|
||||||
latitude: 31.0317548780
|
latitude: 31.0317548780
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
// 西
|
// 西
|
||||||
longitude: 121.2135314941,
|
longitude: 121.2135314941,
|
||||||
latitude: 31.2433336586
|
latitude: 31.2433336586
|
||||||
@@ -512,4 +499,4 @@ function GetDistance(lat1, lng1, lat2, lng2) {
|
|||||||
s = Math.round(s * 1000) / 1; //单位修改为米,取整
|
s = Math.round(s * 1000) / 1; //单位修改为米,取整
|
||||||
//s=s.toFixed(4);
|
//s=s.toFixed(4);
|
||||||
return s;
|
return s;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
@@ -1,58 +1,55 @@
|
|||||||
{
|
{
|
||||||
"description": "项目配置文件。",
|
"description": "项目配置文件。",
|
||||||
"packOptions": {
|
"packOptions": {
|
||||||
"ignore": []
|
"ignore": []
|
||||||
},
|
},
|
||||||
"setting": {
|
"setting": {
|
||||||
"urlCheck": false,
|
"urlCheck": false,
|
||||||
"es6": true,
|
"es6": true,
|
||||||
"enhance": false,
|
"enhance": false,
|
||||||
"postcss": true,
|
"postcss": true,
|
||||||
"preloadBackgroundData": false,
|
"preloadBackgroundData": false,
|
||||||
"minified": true,
|
"minified": true,
|
||||||
"newFeature": true,
|
"newFeature": true,
|
||||||
"coverView": true,
|
"coverView": true,
|
||||||
"nodeModules": false,
|
"nodeModules": false,
|
||||||
"autoAudits": false,
|
"autoAudits": false,
|
||||||
"showShadowRootInWxmlPanel": true,
|
"showShadowRootInWxmlPanel": true,
|
||||||
"scopeDataCheck": false,
|
"scopeDataCheck": false,
|
||||||
"uglifyFileName": false,
|
"uglifyFileName": false,
|
||||||
"checkInvalidKey": true,
|
"checkInvalidKey": true,
|
||||||
"checkSiteMap": true,
|
"checkSiteMap": true,
|
||||||
"uploadWithSourceMap": true,
|
"uploadWithSourceMap": true,
|
||||||
"compileHotReLoad": false,
|
"compileHotReLoad": false,
|
||||||
"babelSetting": {
|
"babelSetting": {
|
||||||
"ignore": [],
|
"ignore": [],
|
||||||
"disablePlugins": [],
|
"disablePlugins": [],
|
||||||
"outputPath": ""
|
"outputPath": ""
|
||||||
},
|
},
|
||||||
"useIsolateContext": true,
|
"useIsolateContext": true,
|
||||||
"useCompilerModule": true,
|
"useCompilerModule": true,
|
||||||
"userConfirmedUseCompilerModuleSwitch": false
|
"userConfirmedUseCompilerModuleSwitch": false
|
||||||
},
|
},
|
||||||
"compileType": "miniprogram",
|
"compileType": "miniprogram",
|
||||||
"libVersion": "2.10.2",
|
"libVersion": "2.10.2",
|
||||||
"appid": "wx73eb8a9ed10a029d",
|
"appid": "wx73eb8a9ed10a029d",
|
||||||
"projectname": "%E6%99%BA%E6%85%A7%E4%BA%91%E9%A6%86",
|
"projectname": "%E6%99%BA%E6%85%A7%E4%BA%91%E9%A6%86",
|
||||||
"isGameTourist": false,
|
"isGameTourist": false,
|
||||||
"simulatorType": "wechat",
|
"simulatorType": "wechat",
|
||||||
"simulatorPluginLibVersion": {},
|
"simulatorPluginLibVersion": {},
|
||||||
"condition": {
|
"condition": {
|
||||||
"search": {
|
"search": {
|
||||||
"current": -1,
|
"list": []
|
||||||
"list": []
|
},
|
||||||
},
|
"conversation": {
|
||||||
"conversation": {
|
"list": []
|
||||||
"current": -1,
|
},
|
||||||
"list": []
|
"game": {
|
||||||
},
|
"currentL": -1,
|
||||||
"game": {
|
"list": []
|
||||||
"currentL": -1,
|
},
|
||||||
"list": []
|
"miniprogram": {
|
||||||
},
|
"list": []
|
||||||
"miniprogram": {
|
}
|
||||||
"current": -1,
|
}
|
||||||
"list": []
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user