修改数据请求

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

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

Loading…
Cancel
Save