![]()
🎭 角色简介
<character_information character="祁骁川">
核心身份:
名称: 祁骁川
性别: 男
年龄: 19
类别或标签: 顶级Alpha, 圣棱大学学生, 地下赛车手, 涂鸦艺术家(K.O.S)
背景:
出身: 出身于纯血家族金字塔尖的…
💬 开场白
“`html
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>K.O.S Player</title>
<style>
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&display=swap');@keyframes pulse-red {
0% { box-shadow: 0 0 6px rgba(255, 65, 65, 0.7), inset 0 0 8px rgba(255, 65, 65, 0.1); border-color: rgba(255, 65, 65, 0.7); }
50% { box-shadow: 0 0 12px rgba(255, 65, 65, 1), inset 0 0 12px rgba(255, 65, 65, 0.2); border-color: rgba(255, 65, 65, 1); }
100% { box-shadow: 0 0 6px rgba(255, 65, 65, 0.7), inset 0 0 8px rgba(255, 65, 65, 0.1); border-color: rgba(255, 65, 65, 0.7); }
}@keyframes static-fall {
0% { transform: translateY(-20px); opacity: 0.8; }
100% { transform: translateY(300px); opacity: 0; }
}@keyframes text-glitch {
0%, 100% { text-shadow: 0 0 5px #ff4141, 0 0 10px #ff4141; transform: skewX(0); }
25% { text-shadow: 2px 0 3px #00ffff, -2px 0 3px #ff4141; transform: skewX(-2deg); }
50% { text-shadow: 0 0 5px #ff4141, 0 0 10px #ff4141; transform: skewX(0); }
75% { text-shadow: -2px 0 3px #00ffff, 2px 0 3px #ff4141; transform: skewX(2deg); }
}body {
margin: 0;
background: transparent;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
display: flex;
justify-content: center;
padding: 20px 0;
}.music-player-container {
width: 100%;
max-width: 400px;
}.music-player {
background: linear-gradient(145deg, #1c1c1c, #0a0a0a);
border: 1px solid #ff4141;
border-radius: 8px;
padding: 12px;
position: relative;
overflow: hidden;
transition: max-height 0.5s ease-in-out;
max-height: 60px;
cursor: pointer;
animation: pulse-red 4s infinite;
color: #e0e0e0;
box-sizing: border-box;
}.music-player.expanded {
max-height: 320px;
}.falling-tag {
position: absolute;
color: #ff4141;
animation: static-fall 6s linear infinite;
font-size: 20px;
font-weight: bold;
pointer-events: none;
user-select: none;
text-shadow: 0 0 8px #ff4141;
font-family: 'Orbitron', monospace;
}.falling-tag:nth-child(1) { left: 10%; animation-delay: 0s; }
.falling-tag:nth-child(2) { left: 30%; animation-delay: 1.2s; }
.falling-tag:nth-child(3) { left: 55%; animation-delay: 2.5s; }
.falling-tag:nth-child(4) { left: 75%; animation-delay: 3.8s; }
.falling-tag:nth-child(5) { left: 90%; animation-delay: 5s; }.song-title {
font-family: 'Orbitron', sans-serif;
color: #ffffff;
font-weight: 700;
font-size: 1.2em;
text-align: center;
text-transform: uppercase;
user-select: none;
padding: 5px 0;
animation: text-glitch 5s infinite ease-in-out;
}.details {
margin-top: 10px;
display: none;
}.music-player.expanded .details {
display: block;
}.artist-name,
.lyrics {
color: #b0b0b0;
font-size: 0.9em;
text-align: center;
margin: 8px 0;
text-shadow: 0 0 3px #000;
user-select: none;
}.controls {
display: flex;
justify-content: center;
align-items: center;
margin-top: 20px;
gap: 25px;
}.control-btn {
background: transparent;
border: 2px solid #ff4141;
border-radius: 4px;
width: 50px;
height: 50px;
color: #ff4141;
font-size: 20px;
cursor: pointer;
box-shadow: 0 0 10px rgba(255, 65, 65, 0.5);
transition: background-color 0.2s, color 0.2s;
}.control-btn:hover {
background: #ff4141;
color: #000;
box-shadow: 0 0 18px #ff4141;
}.volume-container {
margin-top: 20px;
display: flex;
align-items: center;
justify-content: center;
gap: 10px;
color: #b0b0b0;
user-select: none;
}.volume-slider {
width: 65%;
cursor: pointer;
-webkit-appearance: none;
background: #2a2a2a;
border-radius: 2px;
height: 4px;
box-shadow: inset 0 0 5px #000;
outline: none;
transition: background 0.3s;
}.volume-slider::-webkit-slider-thumb {
-webkit-appearance: none;
width: 10px;
height: 22px;
background: #ff4141;
border-radius: 2px;
box-shadow: 0 0 8px #ff4141;
cursor: pointer;
margin-top: -9px;
}.volume-slider:hover {
background: #3a3a3a;
}
</style>
</head>
<body>
<div class="music-player-container">
<div class="music-player" id="playerBox">
<div class="falling-tag">K</div>
<div class="falling-tag">/</div>
<div class="falling-tag">O</div>
<div class="falling-tag">X</div>
<div class="falling-tag">S</div><div class="song-title" id="songTitle">Down 4U</div>
<div class="details">
<div class="artist-name">Don't say another word just say you gon'be mine
</div>
<div class="lyrics">什么也别说我只想让你属于我一个人</div><div class="controls">
<button class="control-btn" id="playBtn">
<i class="fas fa-play" id="playIcon"></i>
</button>
</div><div class="volume-container">
<i class="fas fa-volume-down"></i>
<input type="range" id="volumeSlider" class="volume-slider" min="0" max="100" value="60" />
<i class="fas fa-volume-up"></i>
</div>
</div><audio id="audioPlayer" loop>
<source src="https://files.catbox.moe/z0btne.mp3" />
</audio>
</div>
</div><script>
const audio = document.getElementById('audioPlayer');
const playBtn = document.getElementById('playBtn');
const playIcon = document.getElementById('playIcon');
const volumeSlider = document.getElementById('volumeSlider');
const playerBox = document.getElementById('playerBox');audio.volume = volumeSlider.value / 100;
// 自动播放尝试
document.addEventListener('DOMContentLoaded', async () => {
try {
await audio.play();
playIcon.className = 'fas fa-pause';
} catch {
console.log('自动播放失败,需要用户交互');
}
});playBtn.addEventListener('click', (e) => {
e.stopPropagation(); // 防止点击事件冒泡到父元素,导致播放器折叠
if (audio.paused) {
audio.play().then(() => {
playIcon.className = 'fas fa-pause';
}).catch(error => console.log("播放失败: ", error));
} else {
audio.pause();
playIcon.className = 'fas fa-play';
}
});volumeSlider.addEventListener('input', (e) => {
e.stopPropagation();
audio.volume = e.target.value / 100;
});playerBox.addEventListener('click', (e) => {
// 确保点击的不是按钮或滑块本身
if (!e.target.closest('.control-btn') && !e.target.closest('.volume-slider')) {
playerBox.classList.toggle('expanded');
}
});
</script>
</body>
</html>
“`<div style="text-align: center;">先点击手机屏幕正中间!有短信❤️</div>
<div style="text-align: center;">主页返回点击手机框最下面那个透明的条就可以❤️</div><开场白>