女人是老虎-李娜
<table cellspacing="0" cellpadding="0"><tr><td class="t_f" id="postmessage_474420"><br /><br /><div style="position: absolute; left:0px;width:100%;margin-top:120px;">
<style>
#papa {margin:
width: 1164px;
height: 640px;
background: linear-gra**nt(135deg, #880000 0%,#000080 60%,#ff0000 100%);
box-shadow: 0px 0px 0px 2px #cccccc, 0px 0px 0px 8px #880000;
position: relative;overflow: hidden;
z-index: 12345;
}
#mb{ position: absolute; width: 100%; height: 100%; top:0%; opacity: 1;z-index: 2; background:linear-gra**nt(0deg, #000000 2%,#000000 8%,rgba(2, 2, 2, 0) 20%,rgba(52, 152, 219, 0) 100%,rgba(2, 2, 2, 0) 100%,black 100%);opacity: 1;}
#papa:hover #mb { display:block ;opacity: 1;}
.photo {width: 100%;
height: 100%;mix-blend-mode: hard-light;
position: absolute;z-index: 1;
top:0px; left:0;
opacity: 0;
animation: round 30s linear infinite;}
@keyframes round{0%{opacity: 0;}8% {opacity: 1;}25% {opacity: 0}}
.photo:nth-child(1) {animation-delay: 24s;background: url('https://free.picui.cn/free/20260920/51280922b3d0e56744cefeea2a033f35.jpg')no-repeat center/cover}
.photo:nth-child(2) {animation-delay: 18s;background: url('https://free.picui.cn/free/20260920/889d493cd955185120d03b71fda8d6fd.jpg')no-repeat center/cover}
.photo:nth-child(3) {animation-delay: 12s;background: url('https://free.picui.cn/free/20260920/da8742effc191a7295123419acd52cda.jpg')no-repeat center/cover}
.photo:nth-child(4) {animation-delay: 6s;background: url('https://free.picui.cn/free/20260920/33138f82361afc6fa01be89f671d89ec.jpg')no-repeat center/cover}
.photo:nth-child(5) {animation-delay: 0s;background: url('https://free.picui.cn/free/20260920/f71114d4284b12286a1b1da61877e492.jpg')no-repeat center/cover}
.stop .photo:nth-child(1){animation-play-state: paused;}
.stop .photo:nth-child(2){animation-play-state: paused;}
.stop .photo:nth-child(3){animation-play-state: paused;}
.stop .photo:nth-child(4){animation-play-state: paused;}
.stop .photo:nth-child(5){animation-play-state: paused;}
#mplayer {position: absolute; left: 0%;top:90%;cursor: pointer;z-index:888; width: 100%;mix-blend-mode: lighten; filter:invert(100%) ;opacity: 1;}
#papa:hover #mplayer { display:block ;opacity: 1;}
#papa:hover #fullscreen { display:block ;opacity: 1;}
#fullscreen { position: absolute; top:5%; left:calc(85% - 15px);font: normal 2em/0em 楷体;color:#ffffff; opacity: 0; cursor: pointer; z-index: 111}
#tx { position: absolute;
top: 0px;
left: 0px;z-index: 2;
width: 100%;
height: 100%;
animation: tx 2s linear infinite;
cursor: pointer;
}
@keyframes tx {from {filter: hue-rotate(0deg);
}
to {filter:hue-rotate(360deg)contrast(100%)brightness(120%);}
}
</style>
<div id="papa">
<span id="fullscreen">全屏欣赏</span>
<div id="mb"></div>
<div id="Img" >
<p class="photo" ></p>
<p class="photo" ></p>
<p class="photo" ></p>
<p class="photo" ></p>
<p class="photo" ></p>
</div>
<divid="mplayer"><audiostyle="width:100%;" id="aud" controls="controls" autoplay="autoplay" loop="loop" src= "https://www.joy127.com/url/159108.mp3" type="audio/mpeg"></audio></div>
<div id="tx"><div id="lrc" data-lrc="HCPlayer">女人是老虎-李娜</div></div>
</div>
<style type="text/css">
#lrc { --motion: cover2; --tt: 2s; position: absolute; left: 50%;top:75%;transform: translate(-50%); font: normal 2em/1em楷体;color:#000080;filter:drop-shadow(#FFFFFF 1px 0 0)drop-shadow(#FFFFFF 0 1px 0)drop-shadow(#FFFFFF -1px 0 0) drop-shadow(#FFFFFF 0 -1px0); z-index: 6; place-items: center; }
#lrc::before { position: absolute; content: attr(data-lrc); width: 20%; height: 100%; color: transparent; white-space: pre;background:#ff0000;-webkit-background-clip: text; animation: var(--motion) var(--tt) linear forwards; place-items: center;}
@keyframes cover1{0% { width: 0%;filter: hue-rotate(360deg)brightness(150%)}
100% { transform: rotateY(0deg)rotatex(0deg);filter: hue-rotate(0deg)brightness(150%);width: 100%;}
}
@keyframes cover2 { 0% { width: 0%;filter: hue-rotate(360deg)brightness(150%)}
100% { transform: rotateY(0deg)rotatex(0deg);filter: hue-rotate(0deg)brightness(150%);width: 100%;}
}
</style>
<script >
let mKey = 0, mFlag = true;
(function() {
/*原始lrc歌词*/
let lrcStr = `女人是老虎-李娜
小和尚下山去化斋
老和尚有交待
山下的女人是老虎
遇见了千万要躲开
走过了一村又一寨
小和尚暗思揣
为什么老虎不吃人
模样还挺可爱
老和尚悄悄告徒弟
这样的老虎最呀最厉害
小和尚吓得赶紧跑
师傅呀呀呀呀呀坏坏坏
老虎已闯进我的心里来 心里来
小和尚下山去化斋
老和尚有交待
山下的女人是老虎
遇见了千万要躲开
走过了一村又一寨
小和尚暗思揣
为什么老虎不吃人
模样还挺可爱
老和尚悄悄告徒弟
这样的老虎最呀最厉害
小和尚吓得赶紧跑
师傅呀呀呀呀呀 坏坏坏
老虎已闯进我的心里来 心里来
小和尚下山去化斋
老和尚有交待
山下的女人是老虎
遇见了千百万要躲开
走过了一村又一寨
小和尚暗思揣
为什么老虎不吃人模样还挺可爱
老和尚悄悄告徒弟
这样的老虎最呀最厉害
小和尚吓得赶紧跑
师父呀呀呀呀呀坏坏坏
老虎已闯进我的心里来 心里来
`;
/*变量 :mKey - 当前歌词索引;mFlag :调用关键帧动画索引;averAdd :平均值补偿*/
let mKey = 0, mFlag = true, averAdd = 0.3;
/*函数 :获取每句歌词用时,歌词用时若超过平均值则取平均值,最后一句歌词则取平均值*/
let lrcTime = (ar) => {
let tmpAr = [];
for(j = 0; j <ar.length - 1; j ++) {
if(j !== ar.length - 1) tmpAr = parseFloat((ar - ar).toFixed(1));
}
let aver = parseInt(tmpAr.reduce((a,b) => a + b) / (tmpAr.length - 1)) + averAdd;
tmpAr.push(aver);
tmpAr.forEach((item,key) => {
ar = item > aver ? aver : item;
});
return ar;
};
/*函数 :从原始lrc歌词获取信息并存入 n*3 数组*/
let getLrcAr = (text) => {
let lrcAr = [];
let calcRule = ;
for(x of text.split('\n')) {
let ar = [];
let re = /\d+[\.:]\d+([\.:]\d+)?/g;
let geci = x.replace(re,'');
if(geci) {
geci = geci.replace(/[\[\]\'\"\t,]s?/g,'');
let time = x.match(re);
if(time != null) {
for(y of time) {
let tmp = y.match(/\d+/g);
let sec = 0;
for(z in tmp) sec += tmp * calcRule;
ar = ;
lrcAr.push(ar);
}
}
}
}
lrcAr.sort((a,b)=> a - b);
return(lrcTime(lrcAr));
};
/*函数 :模拟显示同步歌词*/
let showLrc = (time) => {
let name = mFlag ? 'cover1' : 'cover2';
lrc.innerHTML = lrcAr;
lrc.dataset.lrc = lrcAr;
lrc.style.setProperty('--motion', name);
lrc.style.setProperty('--tt', time + 's');
lrc.style.setProperty('--state', 'running');
mKey += 1;
mFlag = !mFlag;
};
/*函数 :处理当前歌词索引 mKey*/
let calcKey = () => {
for (j = 0; j < lrcAr.length; j++) {
if (aud.currentTime <= lrcAr) {
mKey = j - 1;
break;
}
}
if (mKey < 0) mKey = 0;
if (mKey > lrcAr.length - 1) mKey = lrcAr.length - 1;
let time = lrcAr - (aud.currentTime - lrcAr);
showLrc(time);
};
/*格式化时间信息*/
let toMin = (val) => {
if (!val) return '00:00';
val = Math.floor(val);
let min = parseInt(val / 60),
sec = parseFloat(val % 60);
if (min < 10) min = '0' + min;
if (sec < 10) sec = '0' + sec;
return min + ':' + sec;
}
/*函数 :关键帧动画状态切换*/
let mState = () => aud.paused ? (lrc.style.setProperty('--state','paused'),mplayer.style.animationPlayState = 'paused') : (lrc.style.setProperty('--state','running'),mplayer.style.animationPlayState = 'running');
/*监听播放进度*/
aud.addEventListener('timeupdate', () => {
for (j = 0; j < lrcAr.length; j++) {
if (aud.currentTime >= lrcAr) {
cKey = j;
if (mKey === j) showLrc(lrcAr);
else continue;
}
}
});
aud.addEventListener('pause', () => mState());/*监听暂停事件*/
aud.addEventListener('play', () => mState());/*监听播放事件*/
aud.addEventListener('seeked', () => calcKey());/*监听查询事件*/
let lrcAr = getLrcAr(lrcStr); /*获得歌词数组*/
})();
let fs = true;
fullscreen.onclick = () => {
fs ? (fullscreen.innerText = '退出全屏', papa.requestFullscreen()) : (fullscreen.innerText = '全屏欣赏', document.exitFullscreen());
fs = !fs;
};
(function(){
var image = document.getElementById("Img");
let mState = () => aud.paused ? image.classList.add('stop'): image.classList.remove('stop');
mplayer.addEventListener('click', () => aud.paused ? aud.play() : aud.pause());
aud.addEventListener('play', () => mState());
aud.addEventListener('pause', () => mState());
})();
tx.style.animationPlayState = aud.paused ? 'paused' : 'running';
aud.addEventListener('playing', () => tx.style.animationPlayState = 'running');
aud.addEventListener('pause', () => tx.style.animationPlayState = 'paused');
</script>
</div>
<div style="height:960px;"></div></td></tr></table>
有趣的制作,有歌手还有老和尚和小和尚{:4_173:}
欣赏万顷湖老师的优美制作{:4_199:} 好听好看,谢谢万顷湖老师精彩分享{:4_190:} 红影 发表于 2026-9-21 11:55
有趣的制作,有歌手还有老和尚和小和尚
欣赏万顷湖老师的优美制作
歌者李娜遁入佛门,为清净计,又远走美洲。给人快乐者,自己快乐否,付与多少人的惦记中。行家鼓励,老朽赢得今天快乐,谢谢。
杨帆 发表于 2026-9-21 12:25
好听好看,谢谢万顷湖老师精彩分享
歌者李娜遁入佛门,为清净计,又远走美洲。给人快乐者,自己快乐否,付与多少人的惦记中。行家鼓励,老朽赢得今天快乐,谢谢。
页:
[1]