Commit 9b782d81 authored by 郭铭瑶's avatar 郭铭瑶 🤘

新增塘桥楼栋数据

parent d03858e4
...@@ -40,6 +40,7 @@ import laogangBuilding from './laogang-building' ...@@ -40,6 +40,7 @@ import laogangBuilding from './laogang-building'
import shanggang from './shanggang' import shanggang from './shanggang'
import shanggangBuilding from './shanggang-building' import shanggangBuilding from './shanggang-building'
import tangqiao from './tangqiao' import tangqiao from './tangqiao'
import tangqiaoBuilding from './tangqiao-building'
import huinan from './huinan' import huinan from './huinan'
export const mockCommunity = { export const mockCommunity = {
...@@ -89,4 +90,5 @@ export const mockBuilding = { ...@@ -89,4 +90,5 @@ export const mockBuilding = {
sanlinBuilding, sanlinBuilding,
shanggangBuilding, shanggangBuilding,
laogangBuilding, laogangBuilding,
tangqiaoBuilding,
} }
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -48,7 +48,7 @@ export default { ...@@ -48,7 +48,7 @@ export default {
[121.527764, 31.216348] [121.527764, 31.216348]
] ]
}, { }, {
name: '山泉花苑北区', name: '山泉花苑',
address: '北张家浜路170弄之1-13号', address: '北张家浜路170弄之1-13号',
level: 1, level: 1,
location: [121.524949, 31.216075], location: [121.524949, 31.216075],
...@@ -97,11 +97,11 @@ export default { ...@@ -97,11 +97,11 @@ export default {
[121.518693, 31.202994], [121.518693, 31.202994],
[121.518349, 31.203081], [121.518349, 31.203081],
[121.518653, 31.203681], [121.518653, 31.203681],
[121.519539, 31.203517], [121.519584,31.20344],
[121.519239, 31.202323] [121.519299,31.20237],
] ]
}, { }, {
"name": "东方城市花园1期", "name": "东方城市花园期",
"address": "东方路1800弄1-76号", "address": "东方路1800弄1-76号",
"level": 3, "level": 3,
"location": [121.521025, 31.203164], "location": [121.521025, 31.203164],
...@@ -252,7 +252,7 @@ export default { ...@@ -252,7 +252,7 @@ export default {
[121.522611, 31.213471] [121.522611, 31.213471]
] ]
}, { }, {
name: '高小区', name: '高小区',
address: '蓝村路60弄3-29号', address: '蓝村路60弄3-29号',
level: 3, level: 3,
location: [121.531587, 31.210669], location: [121.531587, 31.210669],
......
...@@ -255,7 +255,7 @@ export default { ...@@ -255,7 +255,7 @@ export default {
// this.detailData = buildingList.building.filter(item => item.name.indexOf(name) >= 0) // this.detailData = buildingList.building.filter(item => item.name.indexOf(name) >= 0)
this.detailData = buildingList.building.filter(item => { this.detailData = buildingList.building.filter(item => {
const buildingName = item.name && item.name.replace('(补)', '').replace('(补)', '') const buildingName = item.name && item.name.replace('(补)', '').replace('(补)', '')
return buildingName.indexOf(name) >= 0 || item.buildingNo.indexOf(name) >= 0 return buildingName.indexOf(name) >= 0 || (item.buildingNo + '').indexOf(name) >= 0
}) })
this.detailModal = true this.detailModal = true
}, },
...@@ -369,7 +369,7 @@ export default { ...@@ -369,7 +369,7 @@ export default {
const markerList = [] const markerList = []
this.buildingList[`${this.curStreet}Building`].building.forEach(item => { this.buildingList[`${this.curStreet}Building`].building.forEach(item => {
const buildingName = item.name && item.name.replace('(补)', '').replace('(补)', '') const buildingName = item.name && item.name.replace('(补)', '').replace('(补)', '')
if (buildingName.indexOf(name) < 0 && item.buildingNo.indexOf(name) < 0) return if (buildingName.indexOf(name) < 0 && (item.buildingNo + '').indexOf(name) < 0) return
if(item.lon && item.lat && item.intention) { if(item.lon && item.lat && item.intention) {
const image = whichImage(item.intention) const image = whichImage(item.intention)
const style = { const style = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment