2024-11-13 09:42:42 +08:00
|
|
|
|
<template>
|
2024-11-22 17:44:00 +08:00
|
|
|
|
<view class="project-cotent">
|
|
|
|
|
|
<view class="total-des">
|
|
|
|
|
|
<view style="opacity:0.5">工程概况:</view>
|
|
|
|
|
|
<view>{{skInfo.projOverview}}</view>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
<view class="project-basic">
|
|
|
|
|
|
<view class="project-loc">
|
|
|
|
|
|
<text style="opacity:0.5">水库水位定位信息</text>
|
|
|
|
|
|
<view class="sk-location">
|
|
|
|
|
|
<image src='../../../static/images/loc.png' style="width:20px;height:20px"></image>
|
|
|
|
|
|
<text style="margin-left:10px">{{skInfo.resLoc}}</text>
|
2024-11-20 13:24:31 +08:00
|
|
|
|
</view>
|
2024-11-22 17:44:00 +08:00
|
|
|
|
</view>
|
|
|
|
|
|
|
2024-11-13 09:42:42 +08:00
|
|
|
|
</view>
|
2024-11-22 17:44:00 +08:00
|
|
|
|
<view >
|
|
|
|
|
|
|
|
|
|
|
|
<map style="width: 100%;" id="container" :latitude="lnglat[1]" :longitude="lnglat[0]"
|
|
|
|
|
|
:markers="markers" scale="13"></map>
|
|
|
|
|
|
</view>
|
|
|
|
|
|
</view>
|
2024-11-13 09:42:42 +08:00
|
|
|
|
</template>
|
|
|
|
|
|
<script>
|
2024-11-22 17:44:00 +08:00
|
|
|
|
export default {
|
|
|
|
|
|
props: {
|
|
|
|
|
|
skInfo: {
|
|
|
|
|
|
type: Object,
|
|
|
|
|
|
default: {}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2024-11-13 09:42:42 +08:00
|
|
|
|
},
|
|
|
|
|
|
data() {
|
2024-11-22 17:44:00 +08:00
|
|
|
|
return {
|
|
|
|
|
|
lnglat: [114.76, 31.52],
|
|
|
|
|
|
markers: [{
|
|
|
|
|
|
latitude: 31.52,
|
|
|
|
|
|
longitude: 114.76,
|
|
|
|
|
|
iconPath: '../../../static/tabs/add.png',
|
|
|
|
|
|
width: 25,
|
|
|
|
|
|
height: 25
|
|
|
|
|
|
}]
|
|
|
|
|
|
}
|
2024-11-13 09:42:42 +08:00
|
|
|
|
},
|
2024-11-22 17:44:00 +08:00
|
|
|
|
|
|
|
|
|
|
}
|
2024-11-13 09:42:42 +08:00
|
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss">
|
2024-11-22 17:44:00 +08:00
|
|
|
|
.project-cotent {
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
|
padding: 0px 3px;
|
|
|
|
|
|
background-color: #f7f7f7;
|
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
// max-height: calc(100vh - 40px);
|
|
|
|
|
|
// overflow-y: auto;
|
|
|
|
|
|
.project-basic {
|
|
|
|
|
|
// position: relative;
|
|
|
|
|
|
background-color: #ffffff;
|
|
|
|
|
|
padding: 5px;
|
|
|
|
|
|
margin-top: 5px;
|
2024-11-13 09:42:42 +08:00
|
|
|
|
}
|
2024-11-15 10:03:41 +08:00
|
|
|
|
|
2024-11-22 17:44:00 +08:00
|
|
|
|
.project-des {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
|
border: 1px solid #f2f2f2;
|
|
|
|
|
|
background-color: #ffffff;
|
|
|
|
|
|
padding: 0 10px;
|
|
|
|
|
|
|
|
|
|
|
|
.circle-dot {
|
|
|
|
|
|
width: 10px;
|
|
|
|
|
|
height: 10px;
|
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
|
background-color: #409eff;
|
|
|
|
|
|
margin-left: 10px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.label-name {
|
2024-11-15 10:03:41 +08:00
|
|
|
|
display: flex;
|
2024-11-22 17:44:00 +08:00
|
|
|
|
flex-direction: column;
|
2024-11-15 10:03:41 +08:00
|
|
|
|
align-items: center;
|
2024-11-22 17:44:00 +08:00
|
|
|
|
|
|
|
|
|
|
flex: 1
|
|
|
|
|
|
}
|
2024-11-15 10:03:41 +08:00
|
|
|
|
}
|
2024-11-22 17:44:00 +08:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.total-des {
|
|
|
|
|
|
margin-top: 10px;
|
|
|
|
|
|
background-color: #ffffff;
|
|
|
|
|
|
padding: 10px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.sk-location {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.sk-map12 {
|
|
|
|
|
|
// height: 400px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.amap-logo {
|
|
|
|
|
|
opacity: 0 !important;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.amap-copyright {
|
|
|
|
|
|
opacity: 0 !important;
|
|
|
|
|
|
}
|
2024-11-13 09:42:42 +08:00
|
|
|
|
</style>
|