CMVR-IOT-UI/src/views/index.vue

41 lines
730 B
Vue

<template>
<div class="app-container home">
<div class="title">
<p>招商车研AI测评机器人</p>
<p>模拟测试平台</p>
</div>
</div>
</template>
<script setup name="Index">
</script>
<style scoped lang="scss">
p {
margin: 0;
}
.title {
display: flex;
flex-direction: column;
font-weight: bold;
gap: 5px;
justify-content: center;
font-size: 60px;
text-align: center;
width: 100%;
height: 100%;
}
.title::before {
content: "";
position: absolute;
inset: 0;
width: 100%;
background-image: url("../assets/images/index-background.jpg");
height: 100%;
background-size: cover;
opacity: 0.3; /* 只在这层做透明 */
}
</style>