我们所需的几个功能:公司一览、面试经验、数据统计,由于都与公司和岗位有关,固在原先的基础上,将几个功能封装在一起
对信息展示页面的封装组件进行调整,使其可以固定长度,其中内容进行滑动
<style lang="scss" scoped>
.el-card {
background-color: rgb(50, 54, 68);
color: #fff;
border-color: transparent;
border-radius: 20px;
width: 800px;
padding: 20px;
margin-bottom: 20px;
height: 500px;
overflow-y: auto;
&::-webkit-scrollbar {
width: 0; /* Safari,Chrome 隐藏滚动条 */
height: 0; /* Safari,Chrome 隐藏滚动条 */
display: none; /* 移动端、pad 上Safari,Chrome,隐藏滚动条 */
}
}
.img-content {
display: flex;
align-items: center;
justify-content: center;
}
.experience-content {
white-space: pre-line;
line-height: 2em;
}
img {
height: 350px;
}
</style>
cc同学负责编写api通信代码