<!--
|
* @Author: shuishen 1109946754@qq.com
|
* @Date: 2022-08-18 16:18:24
|
* @LastEditors: shuishen 1109946754@qq.com
|
* @LastEditTime: 2023-04-04 13:18:56
|
* @FilePath: \hbsl\src\views\layout\index.vue
|
* @Description:
|
*
|
* Copyright (c) 2022 by shuishen 1109946754@qq.com, All Rights Reserved.
|
-->
|
<template>
|
<div class="wrapper">
|
<map-box ref="modalForm">
|
<!-- 主体内容区域 -->
|
<div slot="mainContent" class="main-content" id="MainContent">
|
<div class="main-header">
|
<div class="title">
|
湖北省水库大坝监测平台
|
</div>
|
</div>
|
|
<div class="main-container">
|
<!-- 地图区域 -->
|
<router-view ref="target-name"></router-view>
|
|
</div>
|
</div>
|
</map-box>
|
</div>
|
</template>
|
|
<script>
|
|
export default {
|
data () {
|
return {
|
|
}
|
}
|
}
|
</script>
|
|
<style scoped lang="scss">
|
$bg-blue: rgba(24, 33, 92, 0.9);
|
|
.wrapper {
|
position: relative;
|
width: 100%;
|
height: 100%;
|
|
.main-content {
|
position: fixed;
|
top: 0;
|
left: 0;
|
width: 100%;
|
height: 100%;
|
background:
|
url(/images/header.png) no-repeat center / 100% 100%,
|
url(/images/pro-bg.png) no-repeat center / 100% 100%;
|
z-index: 99;
|
pointer-events: none;
|
|
.main-header {
|
position: absolute;
|
top: 0;
|
left: 0;
|
width: 100%;
|
height: 68px;
|
pointer-events: auto;
|
|
.title {
|
position: absolute;
|
top: 0;
|
left: 0;
|
right: 0;
|
bottom: 0;
|
margin: auto;
|
width: 456px;
|
height: 29px;
|
font-size: 32px;
|
font-family: YouSheBiaoTiHei;
|
font-weight: 400;
|
color: #EFF8FC;
|
line-height: 22px;
|
// opacity: 0.89;
|
// text-shadow: 0px 4px 1px rgba(19, 80, 143, 0.66);
|
|
// background: linear-gradient(0deg, rgba(119, 186, 255, 0.45) 0%, rgba(233, 248, 255, 0.45) 73.3154296875%, rgba(255, 255, 255, 0.45) 100%);
|
// -webkit-background-clip: text;
|
// -webkit-text-fill-color: transparent;
|
}
|
}
|
|
.main-container {
|
position: absolute;
|
top: 68px;
|
left: 50px;
|
right: 50px;
|
bottom: 40px;
|
}
|
}
|
}
|
</style>
|