Browse Source

提示语叠加

TANGSHIZHE 4 years ago
parent
commit
942941659d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/jfw/modules/app/src/web/templates/weixin/historypush.html

+ 2 - 1
src/jfw/modules/app/src/web/templates/weixin/historypush.html

@@ -987,12 +987,13 @@ window.listScroll = function() {
 
 function hasNoData() {
     var nokeyNoDataShow = $('.findnull-no-key').is(':visible')
+    var NoDataShow = $('.findnull-no-key').is(':hidden')
     $(".listcontent").hide()
     $("#loading").hide()
     $(".color_top").hide()
     // 如果no-key-no-data 不显示,才会显示no-data
     console.log(nokeyNoDataShow, 'nokeyNoDataShow')
-    if (!nokeyNoDataShow) {
+    if (!nokeyNoDataShow || !NoDataShow) {
         $(".findnull_").css("display", "block").siblings('.empty').hide()
     }
 }