实习01

项目:好未来 AI 开放平台官网(https://ai.100tal.com/)

负责:AI 大赛部分

导入公众号文章

  • CVPR 2021
  • CVPR 2022
  • 表格识别 2021

问题/难点:

(1)通过每个段落末尾索引跳到指定位置
1
leverages an LSTM layer to encode the student knowledge state to predict the students 6.

例如点击末尾的数字 6 则要跳到当前页面索引 6 对应的段落

实现:

问题(1)

1、

1
2
3
const handleJumpToElement = (index, map) => {
window.scrollTo(0, map[index].offsetTop - 75)
}

2、

1
2
3
4
5
const handleJumpToElement = (index) => {
//通过id拿到每个段落div的高度
//通过传过来的index计算跳到哪个位置
window.scrollTo(0, index * height)
}

实习01
http://example.com/2023/02/24/internship01/
Author
John Doe
Posted on
February 24, 2023
Licensed under