wangkaiyue пре 5 година
родитељ
комит
d3b4ee6217

+ 1 - 1
src/jfw/modules/app/src/app/active/active_zb.go

@@ -59,7 +59,7 @@ func (this *active_zb) LivePage() error {
 		isVip := false
 		r, _ := public.MQFW.FindById("user", userid, `{"i_vip_status":1}`)
 		if r != nil && len(*r) != 0 {
-			if util.IntAll((*r)["i_vip_status"]) == 2 {
+			if util.IntAll((*r)["i_vip_status"]) > 0 {
 				isVip = true
 			}
 		}

+ 5 - 1
src/jfw/modules/app/src/web/staticres/jyapp/js/searchindex_zb.js

@@ -3170,6 +3170,11 @@ var EntSearch = {
 }
 //
 var Active_Tip = function(){
+	//仅每次打开app弹出
+	if(sessionStorage.ShowActiveShowed){
+		return
+	}
+	sessionStorage.ShowActiveShowed=1;
 	this.currentActive = null;
 	this.tapFlag = false;
 	this.nowTime = new Date().getTime();
@@ -3536,7 +3541,6 @@ var Active_Vip_Invite = function(nowTime){
 			nowTime = new Date(formatDate(nowTime,true)+ " 00:00:00").getTime();
 			localStorage.setItem("Active_Vip_Invite",nowTime);
 		});	
-		
 		var times = localStorage.getItem("ShowActive_Times")//弹出次数记录
 		var thisDay = new Date().getDate()
 		if (times){