<!--
|
* @Author: shuishen 1109946754@qq.com
|
* @Date: 2024-10-29 13:33:11
|
* @LastEditors: shuishen 1109946754@qq.com
|
* @LastEditTime: 2024-11-12 14:24:37
|
* @FilePath: \bigScreen\src\components\global\publicBox.vue
|
* @Description:
|
*
|
* Copyright (c) 2024 by shuishen, All Rights Reserved.
|
-->
|
<template>
|
<div class="map-layers-change-box">
|
<div class="title">
|
<slot name="name"></slot>
|
<slot name="close"></slot>
|
</div>
|
|
<div class="content">
|
<slot name="content"></slot>
|
</div>
|
</div>
|
</template>
|
|
<script setup>
|
|
</script>
|
|
<script>
|
export default {
|
name: 'publicBox'
|
}
|
</script>
|
|
<style lang="scss" scoped>
|
.map-layers-change-box {
|
position: absolute;
|
right: 540px;
|
z-index: 99;
|
top: 152px;
|
border: 1px solid #4081CB;
|
border-radius: 4px;
|
background: rgba(30, 36, 50, 0.6);
|
box-shadow: inset 0px 3px 7px 0px rgba(42, 138, 236, 0.95);
|
pointer-events: auto;
|
color: #fff;
|
|
.title {
|
display: flex;
|
justify-content: space-between;
|
padding: 0 10px;
|
border-bottom: 1px solid;
|
border-color: rgba(32, 160, 255, 0.3);
|
height: 40px;
|
line-height: 40px;
|
color: #FFFFFF;
|
font-size: 16px;
|
}
|
}
|
</style>
|