Bläddra i källkod

企业画像访问记录

TANGSHIZHE 4 år sedan
förälder
incheckning
c1e7a8a88e

+ 1 - 1
src/jfw/modules/app/src/web/staticres/jyapp/big-member/js/ent_portrait.js

@@ -204,7 +204,7 @@ var vNode = {
         },
         // 查看次数为零,显示遮罩
         getStatus: function () {
-            return (!this.conf._4 && !this.isVip) || (this.entvisit.total <= this.entvisit.usage && this.powerInfo.memberStatus <= 0)
+            return (!this.conf._4 && !this.isVip) || (this.entvisit.total <= this.entvisit.usage && this.powerInfo.memberStatus <= 0 && !this.entvisit.visited)
         },
         surplus: function () {
             return this.entvisit.total >= this.entvisit.usage

+ 1 - 1
src/web/staticres/common-module/collection/js/ent_portrait.js

@@ -203,7 +203,7 @@ var vNode = {
         },
         // 查看次数为零,显示遮罩
         getStatus: function () {
-            return (!this.conf._4 && !this.isVip) || (this.entvisit.total <= this.entvisit.usage)
+            return (!this.conf._4 && !this.isVip) || (this.entvisit.total <= this.entvisit.usage && this.powerInfo.memberStatus <= 0 && !this.entvisit.visited)
         },
         surplus: function () {
             return this.entvisit.total >= this.entvisit.usage

+ 4 - 3
src/web/staticres/common-module/collection/js/index-wx.js

@@ -76,12 +76,13 @@ var vNode = {
   },
   created () {
     var recover = this.recover()
-    if (!recover) {
-      let lid = utils.getParam('tag')
+    let lid = utils.getParam('tag')
       if(lid) {
         lid = decodeURIComponent(lid)
         this.getTagsList(lid)
-      }else{
+      }
+    if (!recover) {
+      if(!lid) {
         this.getList()
         this.getTagsList()
       }

+ 6 - 5
src/web/staticres/common-module/collection/js/index.js

@@ -75,12 +75,13 @@ var vNode = {
   },
   created () {
     var recover = this.recover()
+    let lid = utils.getParam('tag')
+    if(lid) {
+      lid = decodeURIComponent(lid)
+      this.getTagsList(lid)
+    }
     if (!recover) {
-      let lid = utils.getParam('tag')
-      if(lid) {
-        lid = decodeURIComponent(lid)
-        this.getTagsList(lid)
-      }else{
+      if(!lid) {
         this.getList()
         this.getTagsList()
       }

+ 1 - 1
src/web/staticres/vipsubscribe/js/historypush.js

@@ -83,7 +83,7 @@ var vm = new Vue({
         }
       })
     }
-    utils.iosBackRefresh()
+    // utils.iosBackRefresh()
   },
   methods: {
     recover: function () {