|
@@ -111,7 +111,7 @@ function renderPage(pageSet) {
|
|
|
<img class="emptyImg" src="../images/icon_admin.png" alt="空">
|
|
|
<p class="emptyTxt">功能未开启</p>
|
|
|
</div>`
|
|
|
- $(".recommendWrap").html(nullTxt);
|
|
|
+ $(".recommendWrap").html(nullTxt).show();
|
|
|
return;
|
|
|
}
|
|
|
if (hasTcm) {
|
|
@@ -252,7 +252,7 @@ function getModuleShow(moduleClassName) {
|
|
|
if ($(`.${moduleClassName}`).css("display") == "none") {
|
|
|
$(".moduleWrapper").css("display", "none")
|
|
|
$(`.${moduleClassName}`).css("display", "block")
|
|
|
- $(".empty-box").hide();
|
|
|
+ empty();
|
|
|
}
|
|
|
}
|
|
|
function setTabNameTop() {
|
|
@@ -358,7 +358,7 @@ function renderPushData() {
|
|
|
}
|
|
|
function empty(){ //显示空状态
|
|
|
setTimeout(function(){
|
|
|
- if($(".moduleItem:visible").length===0){
|
|
|
+ if($(".empty-right:visible").length===0&&$(".moduleItem:visible").length===0){
|
|
|
$(".empty-box").hide();
|
|
|
$(".empty-null").show();
|
|
|
}
|
|
@@ -749,9 +749,6 @@ $(function () {//隐藏logo
|
|
|
$(".versionTop .logoTxt").hide();
|
|
|
}
|
|
|
getVersion()
|
|
|
- $(window).on("resize", function () {
|
|
|
- setWidth()
|
|
|
- })
|
|
|
$(".versionTop").on("click", function () {
|
|
|
openNewWin("disclaimer.html")
|
|
|
});
|