|
|
|
@ -259,7 +259,9 @@ const tableAnimation = (el) => {
|
|
|
|
const flip = (el, time = 2000) => {
|
|
|
|
const flip = (el, time = 2000) => {
|
|
|
|
console.log($(el + '>.table>.tbody').scrollTop())
|
|
|
|
console.log($(el + '>.table>.tbody').scrollTop())
|
|
|
|
console.log($(el + '>.table>.tbody').outerHeight(true))
|
|
|
|
console.log($(el + '>.table>.tbody').outerHeight(true))
|
|
|
|
|
|
|
|
setInterval(function () {
|
|
|
|
$(el + '>.table>.tbody').animate({
|
|
|
|
$(el + '>.table>.tbody').animate({
|
|
|
|
scrollTop: $(el + '>.table>.tbody').scrollTop() + $(el + '>.table>.tbody').outerHeight(true)
|
|
|
|
scrollTop: $(el + '>.table>.tbody').scrollTop() + $(el + '>.table>.tbody').outerHeight(true)
|
|
|
|
|
|
|
|
}, 2000)
|
|
|
|
}, time)
|
|
|
|
}, time)
|
|
|
|
}
|
|
|
|
}
|