【项目实训】前端优化

我们所需的几个功能:公司一览、面试经验、数据统计,由于都与公司和岗位有关,固在原先的基础上,将几个功能封装在一起

对信息展示页面的封装组件进行调整,使其可以固定长度,其中内容进行滑动

<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通信代码

  • 2
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值