修改数据请求

master
夜笙歌 4 years ago
parent f5e2d449fc
commit 54eaae5d03

@ -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)
} }
Loading…
Cancel
Save