|
@@ -1,8 +1,8 @@
|
|
|
<template>
|
|
|
<div class="middle-section">
|
|
|
- <div class="search-button">
|
|
|
- <el-button type="primary" @click="handleQuery1" :disabled="true">备战防御</el-button>
|
|
|
- <el-button type="primary" @click="handleQuery2">指挥调度</el-button>
|
|
|
+ <div class="btn-box">
|
|
|
+ <div class="btn-active">备战防御</div>
|
|
|
+ <div class="btn" style="margin-left: 40px" @click="handleQuery2">指挥调度</div>
|
|
|
</div>
|
|
|
<PositionMap v-if="mapDialogVisible" v-model:visible="mapDialogVisible" @change="handleMapChange" />
|
|
|
<GlobalMap is-component width="3894" height="2140" />
|
|
@@ -47,17 +47,35 @@ const handleMapChange = (data) => {
|
|
|
animation: slideAndFade 1.5s;
|
|
|
position: relative;
|
|
|
}
|
|
|
-.search-button {
|
|
|
+.btn-box {
|
|
|
position: absolute;
|
|
|
top: 60px;
|
|
|
- left: 900px;
|
|
|
+ left: 940px;
|
|
|
z-index: 10;
|
|
|
-}
|
|
|
-.el-button {
|
|
|
- width: 360px;
|
|
|
- height: 100px;
|
|
|
- padding: 20px 40px;
|
|
|
- font-size: 48px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ .btn,
|
|
|
+ .btn-active {
|
|
|
+ width: 454px;
|
|
|
+ height: 176px;
|
|
|
+ cursor: pointer;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
+ color: #fafdf9;
|
|
|
+ font-size: 78px;
|
|
|
+ font-family: YouSheBiaoTiHei;
|
|
|
+ background-size: 100% 100%;
|
|
|
+ }
|
|
|
+ .btn {
|
|
|
+ background: url('@/assets/images/btn.png') no-repeat;
|
|
|
+ &:hover {
|
|
|
+ background: url('@/assets/images/btnActive.png') no-repeat;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ .btn-active {
|
|
|
+ background: url('@/assets/images/btnActive.png') no-repeat;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
@keyframes slideAndFade {
|