大屏应用位置整合

This commit is contained in:
aixianling
2022-06-24 13:51:32 +08:00
parent 05db88644c
commit 8e04ec040a
14 changed files with 78 additions and 258 deletions

View File

@@ -0,0 +1,32 @@
<template>
<section class="AiDvBackground" :style="{opacity:alpha}">
<img class="bgImage" :src="src"/>
</section>
</template>
<script>
export default {
name: "AiDvBackground",
props: {
src: String,
alpha: {default: 1}
}
}
</script>
<style lang="scss" scoped>
.AiDvBackground {
top: 0;
left: 0;
bottom: 0;
right: 0;
position: absolute;
pointer-events: none;
//z-index: -1;
.bgImage {
width: 100%;
height: 100%;
}
}
</style>