|
|
@@ -637,7 +637,7 @@ var a, r = t("../../zgSingleton"), c = t("./ATSDKMgr"), s = function(t) {
|
|
|
i(e, t);
|
|
|
function e() {
|
|
|
var e = null !== t && t.apply(this, arguments) || this;
|
|
|
-e.interAdType = 0;
|
|
|
+e.interAdType = -1;
|
|
|
e.interAdState = 0;
|
|
|
e.ifLoadShow = !1;
|
|
|
return e;
|
|
|
@@ -671,11 +671,13 @@ this.interAdState = a.Loading;
|
|
|
this.ATInterstitialJS.loadInter(t);
|
|
|
};
|
|
|
e.prototype.showInter = function(t) {
|
|
|
+if (this.interAdState == a.Show && t == this.interAdType) console.log("当前插屏类型正在展示"); else {
|
|
|
this.interAdType = t;
|
|
|
-if (this.interAdState == a.Show) ; else if (this.hasAdReady()) {
|
|
|
+if (this.hasAdReady()) {
|
|
|
this.interAdState = a.Show;
|
|
|
this.ATInterstitialJS.showInter(t);
|
|
|
} else this.interAdState == a.Loading ? this.ifLoadShow = !0 : this.loadInter(t, !0);
|
|
|
+}
|
|
|
};
|
|
|
e.prototype.onInterstitialAdLoaded = function() {
|
|
|
this.interAdState = a.LoadSuccess;
|
|
|
@@ -2003,10 +2005,10 @@ var e = mk.storage.getStorage("popFullIndex");
|
|
|
null == e ? e = 0 : e++;
|
|
|
mk.storage.setStorage("popFullIndex", e);
|
|
|
var n = e % this.fullInterShowStr.length;
|
|
|
-console.log("this.fullInterShowStr ", this.fullInterShowStr);
|
|
|
-console.log("checkShowFullInter ", n);
|
|
|
+mk.console.log("checkShowFullInter this.fullInterShowStr ", this.fullInterShowStr);
|
|
|
+mk.console.log("checkShowFullInter index", n);
|
|
|
if ("1" == this.fullInterShowStr[n]) {
|
|
|
-console.log("showInterAd ");
|
|
|
+mk.console.log("checkShowFullInter showInterAd");
|
|
|
mk.ad.showInterAd(1);
|
|
|
}
|
|
|
}
|