You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
488 B
26 lines
488 B
<template>
|
|
<div>
|
|
<div class="backgrounds" :style="'background-image: url('+$_getPath()+ImageSRC+');'"></div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
props: {
|
|
imageSRC: { default: 'Blue' },
|
|
},
|
|
|
|
};
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.backgrounds {
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
background-size: cover;
|
|
min-width: 100%;
|
|
min-height: 100%;
|
|
position:fixed;
|
|
}
|
|
</style>
|