53 lines
753 B
Vue
53 lines
753 B
Vue
|
|
|
|
<template>
|
|
<div class="container3">
|
|
<slot />
|
|
<div class="container3bg"></div>
|
|
</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 {
|
|
width: 769px;
|
|
height: 586px;
|
|
background-image: url(./bg.png);
|
|
background-size: cover;
|
|
overflow: hidden;
|
|
z-index: 10;
|
|
.container3bg {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
background-image: url(./bg.png);
|
|
background-size: cover;
|
|
pointer-events: none;
|
|
user-select: none;
|
|
}
|
|
}
|
|
</style>
|