浏览代码

Merge branch 'dev2.10.12' of http://192.168.3.207:10080/qmx/jy into dev2.10.12

wangshan 5 年之前
父节点
当前提交
963d14c124
共有 1 个文件被更改,包括 10 次插入6 次删除
  1. 10 6
      src/jfw/modules/app/src/web/templates/weixin/historypush.html

+ 10 - 6
src/jfw/modules/app/src/web/templates/weixin/historypush.html

@@ -820,12 +820,16 @@ window.listScroll = function() {
       me.resetload();
   }
 
-  function hasNoData() {
-      $(".listcontent").hide();
-      $("#loading").hide();
-      $(".color_top").hide();
-      $(".findnull_").css("display", "block").siblings('.empty').hide()
-  }
+function hasNoData() {
+    var nokeyNoDataShow = $('.findnull-no-key').is(':visible')
+    $(".listcontent").hide()
+    $("#loading").hide()
+    $(".color_top").hide()
+    // 如果no-key-no-data 不显示,才会显示no-data
+    if (!nokeyNoDataShow) {
+        $(".findnull_").css("display", "block").siblings('.empty').hide()
+    }
+}
 
   function structureHtml(object, showAd) {
       $('.findnull').hide()