2024-12-29 20:44:44 +08:00
|
|
|
|
<template>
|
|
|
|
|
|
<CommonPage show-footer :show-header="false">
|
|
|
|
|
|
<!-- 整个页面外层container -->
|
|
|
|
|
|
<div class="container">
|
|
|
|
|
|
<!-- 测试标题 -->
|
|
|
|
|
|
<p id="indexTitle" class="lead">在线报告评测系统(首页)</p>
|
2025-03-06 17:27:30 +08:00
|
|
|
|
<!-- 图片和文字说明的外层容器 -->
|
|
|
|
|
|
<div class="index-content">
|
|
|
|
|
|
<!-- 图片 -->
|
|
|
|
|
|
<div class="index-left-div">
|
|
|
|
|
|
<img src="@/assets/images/index.jpg" alt="首页图片" class="shadow-img" />
|
|
|
|
|
|
</div>
|
|
|
|
|
|
<!-- 文字说明 -->
|
|
|
|
|
|
<div class="index-right-div">
|
|
|
|
|
|
<p class="index-right-line1">第一条文字说明(可能的链接控件)</p>
|
|
|
|
|
|
<p class="index-right-line2">第二条文字说明(可能的链接控件)</p>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
</div>
|
2024-12-29 20:44:44 +08:00
|
|
|
|
</div>
|
|
|
|
|
|
</CommonPage>
|
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
|
|
#indexTitle {
|
|
|
|
|
|
font-size: 48px;
|
|
|
|
|
|
letter-spacing: 10px;
|
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
padding-top: 50px;
|
|
|
|
|
|
padding-bottom: 40px;
|
|
|
|
|
|
color: #4e627a;
|
|
|
|
|
|
}
|
|
|
|
|
|
#index-content {
|
|
|
|
|
|
margin-left: auto;
|
|
|
|
|
|
margin-right: auto;
|
|
|
|
|
|
width: 800px;
|
|
|
|
|
|
height: 350px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.index-left-div {
|
|
|
|
|
|
width: 495px;
|
|
|
|
|
|
height: 273px;
|
|
|
|
|
|
float: left;
|
|
|
|
|
|
}
|
|
|
|
|
|
.index-left-div img {
|
|
|
|
|
|
border-radius: 5px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.index-right-div {
|
|
|
|
|
|
margin-left: 80px;
|
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
|
height: 273px;
|
|
|
|
|
|
float: left;
|
|
|
|
|
|
}
|
|
|
|
|
|
.index-right-div p {
|
|
|
|
|
|
color: #4e627a;
|
|
|
|
|
|
}
|
|
|
|
|
|
.index-right-line1 {
|
|
|
|
|
|
padding-top: 70px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.index-right-line2 {
|
|
|
|
|
|
padding-top: 20px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.index-right-line3 {
|
|
|
|
|
|
padding-top: 20px;
|
|
|
|
|
|
}
|
|
|
|
|
|
.index-right-div a {
|
|
|
|
|
|
color: rgb(30, 208, 225);
|
|
|
|
|
|
}
|
|
|
|
|
|
img.shadow-img {
|
|
|
|
|
|
width: auto;
|
|
|
|
|
|
height: auto;
|
|
|
|
|
|
-webkit-border-radius: 4px;
|
|
|
|
|
|
-moz-border-radius: 4px;
|
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
-webkit-border-radius: 4px;
|
|
|
|
|
|
-moz-border-radius: 4px;
|
|
|
|
|
|
border-radius: 4px;
|
|
|
|
|
|
-webkit-box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
|
|
|
|
|
|
-moz-box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
|
|
|
|
|
|
box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
|
|
|
|
|
|
border: 0px;
|
|
|
|
|
|
display: block;
|
|
|
|
|
|
outline: none;
|
|
|
|
|
|
}
|
2025-03-06 17:27:30 +08:00
|
|
|
|
|
|
|
|
|
|
/* 图片和文字说明的外层容器样式 */
|
|
|
|
|
|
.index-content {
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
align-items: center; /* 垂直对齐图片和文字 */
|
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
|
margin-left: auto;
|
|
|
|
|
|
margin-right: auto;
|
|
|
|
|
|
width: 800px;
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* 文字说明样式 */
|
|
|
|
|
|
.index-right-div {
|
|
|
|
|
|
margin-left: 30px; /* 根据需要调整左边距 */
|
|
|
|
|
|
width: 400px; /* 根据需要调整宽度 */
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.index-right-line1,
|
|
|
|
|
|
.index-right-line2 {
|
|
|
|
|
|
color: #4e627a;
|
|
|
|
|
|
padding-top: 35px; /* 调整行距 */
|
|
|
|
|
|
white-space: nowrap; /* 防止文字换行 */
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.container {
|
|
|
|
|
|
background-image: url('@/assets/images/login_bg.webp'); /* 设置背景图片 */
|
|
|
|
|
|
background-size: cover;
|
|
|
|
|
|
background-position: center;
|
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
|
height: 100vh;
|
|
|
|
|
|
width: 100%;
|
|
|
|
|
|
}
|
2024-12-29 20:44:44 +08:00
|
|
|
|
</style>
|