feat:合并

This commit is contained in:
李晓鸽
2022-09-21 18:30:43 +08:00
parent 54aa3063de
commit 93b12bf22c
4 changed files with 291 additions and 348 deletions

View File

@@ -133,15 +133,13 @@
}"
>
<img class="peopleimg" :src="el.peopleimg" />
<div style="margin-left: 17px">
<div class="teacherName">
<div style="margin-right: 5px">{{ el.name }}</div>
<div v-for="(item, key) in el.medal" :key="key">
<img class="teacherMedal" :src="item" />
</div>
<div style="margin-left: 17px; width: 190px">
<div class="teacherName" style="margin-right: 5px">
{{ el.name }}
</div>
<div class="introduce">{{ el.introduce }}</div>
</div>
<div class="follow">+ 关注</div>
</div>
</div>
</div>
@@ -417,6 +415,7 @@ export default {
// min-height: 115px;
padding: 25px 0px;
display: flex;
position: relative;
// align-items: center;
}
.teacheritem .peopleimg {
@@ -430,22 +429,29 @@ export default {
color: #394145;
display: flex;
align-items: center;
width: 260px;
}
.teacheritem .teacherName .teacherMedal {
width: 17px;
height: 19px;
margin-right: 4px;
display: flex;
align-items: center;
}
.teacheritem .introduce {
width: 260px;
font-size: 14px;
font-weight: 500;
color: #394145;
margin-top: 14px;
}
.teacheritem .follow {
width: 80px;
height: 30px;
background: #387df7;
border-radius: 4px;
margin-top: 28px;
position: absolute;
right: -25px;
font-size: 14px;
font-weight: 500;
color: #ffffff;
line-height: 24px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
}
}
}