|
@@ -3471,7 +3471,10 @@ export default {
|
|
|
let client = $(".course_left")[0].clientHeight - stepsBottom2
|
|
|
let top = $(".rightBox")[0].scrollTop - 400
|
|
|
if (top > client) {
|
|
|
- $('.stepsBottom2')[0].style.top = client + 'px'
|
|
|
+ let top = $(".rightBox")[0].offsetTop
|
|
|
+ $('.stepsBottom2')[0].style.position = 'fixed'
|
|
|
+ $('.stepsBottom2')[0].style.top = top + 'px'
|
|
|
+ // $('.stepsBottom2')[0].style.top = client + 'px'
|
|
|
} else if (top > 0) {
|
|
|
let top = $(".rightBox")[0].offsetTop
|
|
|
$('.stepsBottom2')[0].style.position = 'fixed'
|