2021-11-22 09:17:41 +08:00
|
|
|
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<div class="container3">
|
|
|
|
<slot />
|
2021-11-23 08:38:22 +08:00
|
|
|
<div class="container3bg"></div>
|
2021-11-22 09:17:41 +08:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
|
|
|
export default {
|
|
|
|
name: 'Container3',
|
|
|
|
props: {
|
|
|
|
title: {
|
|
|
|
type: String,
|
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
selected: {
|
|
|
|
type: Boolean,
|
|
|
|
default: false,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
data () {
|
|
|
|
return {
|
|
|
|
|
|
|
|
}
|
|
|
|
},
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
.container3 {
|
2021-12-08 08:44:16 +08:00
|
|
|
width: 769px;
|
|
|
|
height: 586px;
|
2021-11-22 09:17:41 +08:00
|
|
|
background-image: url(./bg.png);
|
|
|
|
background-size: cover;
|
|
|
|
overflow: hidden;
|
2021-11-23 08:38:22 +08:00
|
|
|
z-index: 10;
|
|
|
|
.container3bg {
|
|
|
|
position: absolute;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
2021-12-08 08:44:16 +08:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2021-11-23 08:38:22 +08:00
|
|
|
background-image: url(./bg.png);
|
|
|
|
background-size: cover;
|
|
|
|
pointer-events: none;
|
|
|
|
user-select: none;
|
|
|
|
}
|
2021-11-22 09:17:41 +08:00
|
|
|
}
|
|
|
|
</style>
|