48 lines
675 B
Vue
48 lines
675 B
Vue
![]() |
<template>
|
||
|
<div class="centen1">
|
||
|
<slot />
|
||
|
<div class="centen1bg"></div>
|
||
|
</div>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
export default {
|
||
|
name: 'Centen1',
|
||
|
props: {
|
||
|
title: {
|
||
|
type: String,
|
||
|
default: '',
|
||
|
},
|
||
|
selected: {
|
||
|
type: Boolean,
|
||
|
default: false,
|
||
|
},
|
||
|
},
|
||
|
data() {
|
||
|
return {}
|
||
|
},
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style lang="scss" scoped>
|
||
|
.centen1 {
|
||
|
width: 762px;
|
||
|
height: 312px;
|
||
|
// background-image: url(./bg.png);
|
||
|
background-size: cover;
|
||
|
overflow: hidden;
|
||
|
z-index: 10;
|
||
|
.centen1bg {
|
||
|
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>
|