提交 f3663d03 authored 作者: 王鹏飞's avatar 王鹏飞

chore: update

上级 36e8aeda
...@@ -4,7 +4,9 @@ ...@@ -4,7 +4,9 @@
<div class="project-list"> <div class="project-list">
<div class="project-item" v-for="(item, index) in list" :key="index"> <div class="project-item" v-for="(item, index) in list" :key="index">
<!-- <AppLink :data="item"><img :src="item.imgUrl"/></AppLink> --> <!-- <AppLink :data="item"><img :src="item.imgUrl"/></AppLink> -->
<img :src="item.imgUrl" /> <div class="project-item-pic">
<img :src="item.imgUrl" />
</div>
<ul class="tools"> <ul class="tools">
<li @click="handleSubmit(item)">我要报名</li> <li @click="handleSubmit(item)">我要报名</li>
<li><AppLink :data="item">了解详情</AppLink></li> <li><AppLink :data="item">了解详情</AppLink></li>
...@@ -56,6 +58,10 @@ export default { ...@@ -56,6 +58,10 @@ export default {
} }
.project-item { .project-item {
background-color: #fff; background-color: #fff;
.project-item-pic {
height: 345px;
overflow: hidden;
}
img { img {
width: 100%; width: 100%;
} }
...@@ -65,7 +71,7 @@ export default { ...@@ -65,7 +71,7 @@ export default {
} }
.tools { .tools {
position: relative; position: relative;
margin-top: -20px; // margin-top: -20px;
padding: 25px 0; padding: 25px 0;
display: flex; display: flex;
justify-content: center; justify-content: center;
...@@ -77,7 +83,7 @@ export default { ...@@ -77,7 +83,7 @@ export default {
font-size: 16px; font-size: 16px;
font-weight: 400; font-weight: 400;
line-height: 25px; line-height: 25px;
color: #bababa; color: #777;
text-align: center; text-align: center;
cursor: pointer; cursor: pointer;
&:hover { &:hover {
......
...@@ -123,13 +123,18 @@ export default { ...@@ -123,13 +123,18 @@ export default {
project_id: '9999', project_id: '9999',
imgUrl: 'https://webapp-pub.ezijing.com/www/pc/studyAbroad/project_marywood_plus_2.png', imgUrl: 'https://webapp-pub.ezijing.com/www/pc/studyAbroad/project_marywood_plus_2.png',
href: 'https://marywood-plus.ezijing.com/' href: 'https://marywood-plus.ezijing.com/'
},
{
project_id: '1020',
imgUrl: 'https://webapp-pub.ezijing.com/www/pc/studyAbroad/project_sit.png',
href: 'https://sit-plus.ezijing.com/'
} }
], ],
// 常见问题 // 常见问题
qaList, qaList,
// 最新动态请求参数 // 最新动态请求参数
newsParams: { newsParams: {
project_ids: ['25634964940156928', '25634688011239424', '6886139536666001408'], project_ids: ['25634964940156928', '25634688011239424', '6886139536666001408', '62110451281973248'],
type_tag: 'article_news_hot', type_tag: 'article_news_hot',
page: 1, page: 1,
limit: 4 limit: 4
......
...@@ -26,7 +26,7 @@ export default { ...@@ -26,7 +26,7 @@ export default {
remote: { remote: {
httpRequest: getArticleList, httpRequest: getArticleList,
params: { params: {
project_ids: ['25634964940156928', '25634688011239424', '6886139536666001408'], project_ids: ['25634964940156928', '25634688011239424', '6886139536666001408', '62110451281973248'],
type_tag: 'article_news_hot' type_tag: 'article_news_hot'
} }
}, },
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论