diff --git a/js/pages/video/videoAjax.js b/js/pages/video/videoAjax.js index 9944a0b..89ccd3f 100644 --- a/js/pages/video/videoAjax.js +++ b/js/pages/video/videoAjax.js @@ -15,7 +15,7 @@ function loadVideoTree() { loginout(1); } }, function (xhr, status, error) { - error(xhr, status, error) + errorFn(xhr, status, error) }, aqEnnable); function setData(data) { @@ -23,15 +23,16 @@ function loadVideoTree() { $.each(data, function (index, item) { if (item.id !== '0') { totalNum++; + let titleName = item.title; if(item.title.length>20){ - item.title = item.title.substr(0, 20) + '...'; + titleName = item.title.substr(0, 20) + '...'; } if (item.onLine === '1') { onlineNum++; - item.title = '' + item.title + '' + item.title = '' + titleName + '' } else { offLineNum++; - item.title = '' + item.title + '' + item.title = '' + titleName + '' } } }) diff --git a/plugin/toolTip/mTips.css b/plugin/toolTip/mTips.css index 52853cf..a7bb228 100644 --- a/plugin/toolTip/mTips.css +++ b/plugin/toolTip/mTips.css @@ -4,7 +4,7 @@ color: #fff; border-radius: 5px; font-family: "Alibaba PuHuiTi R"; - z-index: 999; + z-index: 999999999999 !important; display: inline; font-size: 14px; }