提交 bcfb6aed authored 作者: matian's avatar matian

sbu项目特色优化

上级 9c6d724f
...@@ -103,14 +103,12 @@ export default { ...@@ -103,14 +103,12 @@ export default {
{ {
web_img_uri: 'https://webapp-pub.ezijing.com/project/sbu-plus/pc-index-project-intro-05.png?v=4', web_img_uri: 'https://webapp-pub.ezijing.com/project/sbu-plus/pc-index-project-intro-05.png?v=4',
item_desc_tit: '校方直录', item_desc_tit: '校方直录',
item_desc_con: item_desc_con: '点对点直录<br/>硕士学分<br/>国内提前修'
'点对点直录<br/>硕士学分<br/>国内提前修'
}, },
{ {
web_img_uri: 'https://webapp-pub.ezijing.com/project/sbu-plus/pc-index-project-intro-02.png?v=4', web_img_uri: 'https://webapp-pub.ezijing.com/project/sbu-plus/pc-index-project-intro-02.png?v=4',
item_desc_tit: '免标准化考试', item_desc_tit: '免标准化考试',
item_desc_con: item_desc_con: '美国校方考试<br/>替代托福/GMAT'
'美国校方考试<br/>替代托福/GMAT'
}, },
{ {
web_img_uri: 'https://webapp-pub.ezijing.com/project/sbu-plus/pc-index-project-intro-06.png?v=4', web_img_uri: 'https://webapp-pub.ezijing.com/project/sbu-plus/pc-index-project-intro-06.png?v=4',
...@@ -287,8 +285,38 @@ export default { ...@@ -287,8 +285,38 @@ export default {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
justify-content: space-around; justify-content: space-around;
.card-item:nth-child(1) {
.item_desc_tit {
width: 150px;
}
}
.card-item:nth-child(2) {
.item_desc_tit {
width: 85px;
}
}
.card-item:nth-child(3) {
.item_desc_tit {
width: 85px;
}
}
.card-item:nth-child(4) {
.item_desc_tit {
width: 85px;
}
}
.card-item:nth-child(5) {
.item_desc_tit {
width: 130px;
}
}
.card-item:nth-child(6) {
.item_desc_tit {
width: 85px;
}
}
.card-item { .card-item {
width: 33%; width: 380px;
height: 380px; height: 380px;
margin-bottom: 20px; margin-bottom: 20px;
overflow: hidden; overflow: hidden;
...@@ -315,13 +343,14 @@ export default { ...@@ -315,13 +343,14 @@ export default {
background: rgba(0, 0, 0, 0.6); background: rgba(0, 0, 0, 0.6);
} }
} }
.item_desc { .item_desc {
position: absolute; position: absolute;
left: 0; left: 0;
top: 0; top: 0;
right: 0; right: 0;
bottom: 0; bottom: 0;
padding: 20px; padding: 28px;
// background-color: #ededed; // background-color: #ededed;
opacity: 1; opacity: 1;
display: flex; display: flex;
...@@ -331,9 +360,8 @@ export default { ...@@ -331,9 +360,8 @@ export default {
font-weight: 600; font-weight: 600;
color: #fff; color: #fff;
line-height: 36px; line-height: 36px;
width: 100%; text-align: left;
text-align: center; transform: translateY(150px);
transform: translateY(100px);
transition: 0.3s; transition: 0.3s;
} }
.item_desc_con { .item_desc_con {
...@@ -358,10 +386,10 @@ export default { ...@@ -358,10 +386,10 @@ export default {
.item_desc_tit { .item_desc_tit {
border-bottom: 1px solid #f3f4f4; border-bottom: 1px solid #f3f4f4;
text-align: left; text-align: left;
transform: translateY(0); transform: translateY(100px);
} }
.item_desc_con { .item_desc_con {
transform: translateY(0); transform: translateY(90px);
} }
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论