修改数据请求

master
夜笙歌 4 years ago
parent f38e4ab4eb
commit 2fc991b8d3

@ -65,7 +65,7 @@ let dynamicTable = resource => {
`;
//Css样式集
const boxCSS = {
overflow: 'hidden',
// overflow: 'hidden',
background: headerBGC
};
const tableCSS = {
@ -92,7 +92,8 @@ let dynamicTable = resource => {
const tbodyCSS = {
width: "100%",
height: '80%',
boxSizing: 'border-box'
boxSizing: 'border-box',
overflow:'hidden'
};
const tbody_trCSS = {
flexWrap: "nowrap",
@ -257,9 +258,9 @@ const tableAnimation = (el) => {
}, 2000);
}
const flip = (el, time = 2000) => {
console.log($(el + '>.table>.tbody').scrollTop())
console.log($(el + '>.table>.tbody').outerHeight(true))
setInterval(function () {
console.log($(el + '>.table>.tbody').scrollTop())
console.log($(el + '>.table>.tbody').outerHeight(true))
$(el + '>.table>.tbody').animate({
scrollTop: $(el + '>.table>.tbody').scrollTop() + $(el + '>.table>.tbody').outerHeight(true)
}, 2000)

Loading…
Cancel
Save