Commit b3f06b978044e8cc7988d21b8d8a19962013b3b9

Authored by wesley88
2 parents 0a610b5a 2fc8331b

Merge branch 'master' of http://39.98.150.180/webapp/GreenwayWeb

lvdao-miniapp/pages/business/businessDetail/businessDetail.vue
... ... @@ -65,9 +65,10 @@ export default {
65 65 this.tableData.previousEvents = this.tableData.previousEvents.split(',');
66 66 }
67 67 console.log(this.tableData)
68   -if (this.tableData.mapMarker) {
69   - this.latitude = parseFloat(this.tableData.mapMarker.split(',')[0])
70   - this.longitude = parseFloat(this.tableData.mapMarker.split(',')[1])
  68 +if (this.tableData.cereBasicInformationVenue.mapMarker&& this.tableData.cereBasicInformationVenue.mapMarker!='') {
  69 +
  70 + this.latitude = parseFloat(this.tableData.cereBasicInformationVenue.mapMarker.split(',')[0])
  71 + this.longitude = parseFloat(this.tableData.cereBasicInformationVenue.mapMarker.split(',')[1])
71 72 }
72 73 let obj ={
73 74 id:this.tableData.id,
... ... @@ -84,7 +85,8 @@ if (this.tableData.mapMarker) {
84 85 })
85 86 },
86 87 // 打开的点击事件,传经纬度和地点名
87   - gomapApp(latitude, longitude, ) {
  88 + gomapApp(latitude, longitude ) {
  89 + console.log(latitude, longitude);
88 90 let url = "";
89 91 uni.openLocation({
90 92 latitude: latitude,
... ...