|
|
@ -29,8 +29,24 @@ |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="title_section">企业介绍</view> |
|
|
|
|
|
|
|
|
<view class="title_section">企业地图</view> |
|
|
<view class="section_3"> |
|
|
<view class="section_3"> |
|
|
|
|
|
<view class="map_box"> |
|
|
|
|
|
<map |
|
|
|
|
|
:id="`shopMap_${k}`" |
|
|
|
|
|
:latitude="v.campus_coordinates_arr.lat" |
|
|
|
|
|
:longitude="v.campus_coordinates_arr.lng" |
|
|
|
|
|
:markers="getMarkers(k,v)" |
|
|
|
|
|
:scale="15" |
|
|
|
|
|
:show-location="false" |
|
|
|
|
|
style="width: 90%; height: 400rpx;" |
|
|
|
|
|
></map> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="title_section">企业介绍</view> |
|
|
|
|
|
<view class="section_4"> |
|
|
<view class="html" v-html="v. |
|
|
<view class="html" v-html="v. |
|
|
campus_introduction"></view> |
|
|
campus_introduction"></view> |
|
|
</view> |
|
|
</view> |
|
|
@ -64,6 +80,14 @@ import apiRoute from '@/api/apiRoute.js'; |
|
|
}, |
|
|
}, |
|
|
//数据列表 |
|
|
//数据列表 |
|
|
tableList:[], |
|
|
tableList:[], |
|
|
|
|
|
|
|
|
|
|
|
//地图相关 |
|
|
|
|
|
//地图控件 |
|
|
|
|
|
mapControls:{ |
|
|
|
|
|
position:{ |
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
onShow(){ |
|
|
onShow(){ |
|
|
@ -106,6 +130,17 @@ import apiRoute from '@/api/apiRoute.js'; |
|
|
console.log(123,this.tableList) |
|
|
console.log(123,this.tableList) |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
// 获取标记点 |
|
|
|
|
|
getMarkers(id,item) { |
|
|
|
|
|
return [{ |
|
|
|
|
|
id: id, |
|
|
|
|
|
latitude: item.campus_coordinates_arr.lat, |
|
|
|
|
|
longitude: item.campus_coordinates_arr.lng, |
|
|
|
|
|
name: item.campus_address, |
|
|
|
|
|
iconPath: '/static/icon-img/ding_wei.png' |
|
|
|
|
|
}]; |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
</script> |
|
|
</script> |
|
|
@ -147,6 +182,17 @@ import apiRoute from '@/api/apiRoute.js'; |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
.section_3{ |
|
|
.section_3{ |
|
|
|
|
|
padding: 20rpx 22rpx; |
|
|
|
|
|
.html{ |
|
|
|
|
|
color: #fff; |
|
|
|
|
|
} |
|
|
|
|
|
.map_box{ |
|
|
|
|
|
color: #fff; |
|
|
|
|
|
display: flex; |
|
|
|
|
|
justify-content: center; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
|
|
|
.section_4{ |
|
|
padding: 20rpx 22rpx; |
|
|
padding: 20rpx 22rpx; |
|
|
padding-bottom: 250rpx; |
|
|
padding-bottom: 250rpx; |
|
|
.html{ |
|
|
.html{ |
|
|
|