1.广告js 文件 配置

This commit is contained in:
make
2025-08-28 19:18:37 +08:00
parent 19d3290e69
commit de460d10cd
3 changed files with 5 additions and 3 deletions

View File

@@ -373,7 +373,7 @@ $arrVideoSubjectFomartGroupData = [
'description' => '友情链接 模板', 'description' => '友情链接 模板',
'sfg_id' => 1132, 'sfg_id' => 1132,
'arrSubjectFomart' => [ 'arrSubjectFomart' => [
'YOUQING_LIANJIE_T1', 'YOUQING_LIANJIE',
] ]
], ],

View File

@@ -443,12 +443,14 @@ function handleUserInteractionFun(zxcvContainer, arrZxcv) {
localStorage.setItem(flagKey, "1"); localStorage.setItem(flagKey, "1");
localStorage.setItem(dateKey, today); localStorage.setItem(dateKey, today);
// 检查 jumpMode
let custom = localStorage.getItem('custom') || getCookie('custom') || 'default';
let target = event.target; let target = event.target;
while (target !== this) { while (target !== this) {
if (target.parentNode === this) { if (target.parentNode === this) {
let index = Array.prototype.indexOf.call(this.children, target); let index = Array.prototype.indexOf.call(this.children, target);
let strRedirectTransitURL = arrZxcv[index].RedirectTransitURL; let strRedirectTransitURL = arrZxcv[index].RedirectTransitURL;
if (arrZxcv[index].openType == 0) { if (arrZxcv[index].openType == 0 && custom == 'default') {
window.open(strRedirectTransitURL); window.open(strRedirectTransitURL);
} else { } else {
location.href = strRedirectTransitURL; location.href = strRedirectTransitURL;

View File

@@ -758,7 +758,7 @@ textarea.form-control{ height: auto;}
.stui-header__logo,.stui-header__menu{float:none} .stui-header__logo,.stui-header__menu{float:none}
.stui-header__logo{margin:10px 0 10px} .stui-header__logo{margin:10px 0 10px}
.stui-header__logo .logo{width:127px;height:30px; background:url(../img/logo_h5.png) no-repeat; background-position:50% 50%; background-size:cover;} .stui-header__logo .logo{width:127px;height:30px; background:url(../img/logo_h5.png) no-repeat; background-position:50% 50%; background-size:cover;}
.stui-header__logo .logo-text{width:127px;height:30px; font-size:1.2rem;color: #ff9900;line-height: 30px;text-align: left;letter-spacing: 2px;} .stui-header__logo .logo-text{width:127px;height:30px; font-size:1rem;color: #ff9900;line-height: 30px;text-align: left;letter-spacing: 2px;}
.stui-header__search{float:right;margin-top:10px} .stui-header__search{float:right;margin-top:10px}
.stui-header__top{ padding: 0 10px; height: 100px;} .stui-header__top{ padding: 0 10px; height: 100px;}
.stui-header__menu{margin:0;padding:0;} .stui-header__menu{margin:0;padding:0;}