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

48 lines
853 B
Vue
Raw Normal View History

2025-08-21 14:11:58 +08:00
<template>
<div class="app-container home">
2025-11-20 16:44:51 +08:00
<div class="title">
2026-07-28 16:26:07 +08:00
<p>招商车研物联网平台</p>
<p>机器人智能测试管理系统</p>
2025-11-20 16:44:51 +08:00
</div>
2025-08-21 14:11:58 +08:00
</div>
</template>
<script setup name="Index">
</script>
<style scoped lang="scss">
2025-11-20 16:44:51 +08:00
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;
2025-11-20 16:51:06 +08:00
opacity: 0.3; /* 只在这层做透明 */
2025-11-20 16:44:51 +08:00
}
2026-07-28 16:26:07 +08:00
@media (max-width: 768px) {
.title {
padding: 0 16px;
font-size: 32px;
line-height: 1.35;
}
}
2025-08-21 14:11:58 +08:00
</style>