增加平昌地图图例

This commit is contained in:
aixianling
2023-10-18 15:22:17 +08:00
parent da422ec320
commit 82bd4af605
2 changed files with 18 additions and 0 deletions

View File

@@ -52,6 +52,7 @@
<div class="corn" v-for="i in 4" :key="i"/>
<div ref="mapInfoWin"/>
</div>
<div v-if="data.showPingchangMapLegend" class="pingchangMapLegend"/>
</ai-map>
<ai-monitor :src="data.src" v-else-if="currentType === 'monitor'" :type="data.monitorType"/>
<video style="width: 100%; height: 100%; object-fit: fill;" loop :src="data.src" autoplay
@@ -345,5 +346,16 @@ export default {
}
}
}
.pingchangMapLegend {
width: 429px;
height: 45px;
background: url("https://cdn.cunwuyun.cn/pingchang/pingchangMapLegend.png");
position: absolute;
bottom: 32px;
left: 50%;
transform: translateX(-50%);
backdrop-filter: blur(10px);
}
}
</style>

View File

@@ -185,6 +185,12 @@
<ai-select v-model="config.is3dAround" :selectList="dict.getDict('yesOrNo')"/>
</div>
</div>
<div class="layout-config__item layout-config__item--input">
<label>显示图例</label>
<div class="layout-config__item--right">
<ai-select v-model="config.showPingchangMapLegend" :selectList="dict.getDict('yesOrNo')"/>
</div>
</div>
</template>
<div class="layout-config__item" v-if="config.type === 'summary'">
<label>数据汇总</label>