Explorar el Código

Merge branch 'dev/v4.8.16_zsy' of qmx/jy into feature/v4.8.16

yangfeng hace 2 años
padre
commit
5c8b978684

+ 6 - 0
src/web/staticres/frontRouter/pc/collection/js/index-pc.js

@@ -117,6 +117,12 @@ var vm = new Vue({
                 })
             }
         })
+       var _this = this
+      document.addEventListener('visibilitychange', function() {
+        if (document.visibilityState === 'visible') {
+          _this.getBidIsJoin()
+        }
+      })
     },
     methods: {
         showToast: function (content, timer, callback) {

+ 5 - 2
src/web/staticres/js/superSearch.js

@@ -209,8 +209,6 @@ function getNewBiddings(num, size){
     additionalWords: $("#zbSeatchT [name='additionalWords']").val()
   };
 	$.post("/front/pcAjaxReq",param,function(r){
-	  console.dir(33333333)
-    console.dir(r.list)
     heightWords = r.heightWords
 		if(r&&r.list!=null&&r.list.length>0){
       // 计算总页码
@@ -1221,6 +1219,11 @@ $(function () {
 	setTimeout(function(){
 		showSearchTipForTimeRange(false);
 	},500)
+  document.addEventListener('visibilitychange', function() {
+    if (document.visibilityState === 'visible') {
+      getBidIsJoin()
+    }
+  })
 })
 
 function autoModelFn (r) {