|
|
|
|
@ -19,7 +19,8 @@
|
|
|
|
|
<!-- 右侧内容 -->
|
|
|
|
|
<div class="card-content">
|
|
|
|
|
<h3 class="card-title">{{ i.title }}</h3>
|
|
|
|
|
<p class="card-subtitle">{{ i.value }}</p>
|
|
|
|
|
<!-- <p class="card-subtitle">{{ i.value }}</p>-->
|
|
|
|
|
<div class="card-subtitle1"></div>
|
|
|
|
|
<p class="card-desc">{{ i.info }}</p>
|
|
|
|
|
<div class="card-arrow" @click="$router.push('/test?id=' + i.id)">
|
|
|
|
|
→
|
|
|
|
|
@ -226,34 +227,34 @@ export default {
|
|
|
|
|
|
|
|
|
|
.card-img{
|
|
|
|
|
position: absolute;
|
|
|
|
|
opacity: 0.4;
|
|
|
|
|
width: 100%;
|
|
|
|
|
//opacity: 0.4;
|
|
|
|
|
width: 40%;
|
|
|
|
|
height: 100%;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
background-repeat: no-repeat;
|
|
|
|
|
background-size: 100% 100%;
|
|
|
|
|
/* 设置透明蒙版 */
|
|
|
|
|
-webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
|
|
|
|
|
-webkit-mask-repeat: no-repeat;
|
|
|
|
|
-webkit-mask-size: 100% 100%;
|
|
|
|
|
|
|
|
|
|
mask-image: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
|
|
|
|
|
mask-repeat: no-repeat;
|
|
|
|
|
mask-size: 100% 100%;
|
|
|
|
|
///* 设置透明蒙版 */
|
|
|
|
|
//-webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
|
|
|
|
|
//-webkit-mask-repeat: no-repeat;
|
|
|
|
|
//-webkit-mask-size: 100% 100%;
|
|
|
|
|
//
|
|
|
|
|
//mask-image: linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
|
|
|
|
|
//mask-repeat: no-repeat;
|
|
|
|
|
//mask-size: 100% 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.card-title{
|
|
|
|
|
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 20%;
|
|
|
|
|
left: 45%;
|
|
|
|
|
top: 40px;
|
|
|
|
|
font-size: 24px;
|
|
|
|
|
}
|
|
|
|
|
.card-subtitle{
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 20%;
|
|
|
|
|
left: 45%;
|
|
|
|
|
top: 80px;
|
|
|
|
|
width: 70%;
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
@ -262,15 +263,25 @@ export default {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.card-subtitle1 {
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 115px;
|
|
|
|
|
left: 45%;
|
|
|
|
|
width: 5%;
|
|
|
|
|
height: 3px;
|
|
|
|
|
background-color: #2e445c;
|
|
|
|
|
}
|
|
|
|
|
.card-desc{
|
|
|
|
|
width: 70%;
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: 20%;
|
|
|
|
|
left: 45%;
|
|
|
|
|
top: 120px;
|
|
|
|
|
text-align: left;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
color: #0005;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.card-arrow{
|
|
|
|
|
position: absolute;
|
|
|
|
|
right: 30px;
|
|
|
|
|
|