《音乐诗画·夏》
<div class="cont-area"><div style="width: 1200px;height: 710px;box-shadow:0px 0px 1px 2px #045768, 0px 0px 0px 8px #99e5f5,0px 0px 5px 15px #045768;overflow:hidden;border-radius:1%;margin-top:20px;margin-LEFT: -310px;">
<div style="position:relative;width: 1200px;height: 710px;overflow:hidden;top: 0px;left: 0px;">
<div style="left: 0px;position:absolute;top: 0px;">
<div style="z-index: !;width: 1350px; height: 710px; top:0px; left:0px; overflow: hidden;transform:rotate(0deg);background-size: 100% 100%;background-image:url(); text-align: center;">
<metaname="referrer" content="never">
<video frameborder="0" src="
https://img.tukuppt.com/video_show/2475824/00/01/82/5b4b0fb185adf.mp4" autoplay muted loop="" controls="" style="position:absolute;left:-20px;top:-50px;background:#000 ;width:1400px; height: 830px;>
<div style="color:#f88;font-size:2.5em;margin-left:560px;top:0px;"></div>
<img class=&lazyload bg-gif" src="https://z3.ax1x.com/2021/08/26/hujGMd.gif" data-original="" title="" alt="" style="z-index: 1;POSITION: relative; TOP: -160px;LEFT:150px;height: 70px; margin: 0px;border-radius:3%background-color: rgb(255, 255, 255); display: block;">
</div>
<img alt="" class="photo" src="https://s1.ax1x.com/2023/02/13/pSI5U1S.jpg" /> <img alt="" class="photo" src="https://s1.ax1x.com/2023/02/13/pSI5Yff.jpg" /> <img alt="" class="photo" src="https://s1.ax1x.com/2023/02/13/pSI5Np8.jpg" /> <img alt="" class="photo" src="https://s1.ax1x.com/2023/02/13/pSI5JtP.jpg" /> <img alt="" class="photo" src="https://s1.ax1x.com/2023/02/13/pSI5Gkt.jpg" /> <img alt="" class="photo" src="https://s1.ax1x.com/2023/02/13/pSI5a6g.jpg" /> <img alt="" class="photo" src="https://s1.ax1x.com/2023/02/13/pSI5dXQ.jpg" /> <img alt="" class="photo" src="https://s1.ax1x.com/2023/02/13/pSI50mj.jpg
" />
<style type="text/css">
.photo {
width: 1000px;
height: 600px;
position: absolute;
top:0px;
left:200px;
z-index: 300;
filter:contrast(120%)brightness(100%);
-webkit-mask-image: radial-gradient(black 30% ,transparent 75%);
animation: round 48s infinite;
opacity: 0;
}
@keyframes round {
0% {opacity: 0;filter:hue-rotate(360deg)}
10% {opacity: 1;}
18% {opacity: 0;}
}
img:nth-child(8) {animation-delay: 42s;}
img:nth-child(7) {animation-delay: 36s;}
img:nth-child(6) {animation-delay: 30s;}
img:nth-child(5) {animation-delay: 24s;}
img:nth-child(4) {animation-delay: 18s;}
img:nth-child(3) {animation-delay: 12s;}
img:nth-child(2) {animation-delay: 6s;}
img:nth-child(1) {animation-delay: 0s;}
</style>
</div>
<style type="text/css">
@keyframes mv { from { background-position: 1200px 0; } to { background-position: 0 0; } }
body { overflow-x: hidden; }
#baiBox {
margin: auto;
width: 800px;
text-align: center;
font-family:微软简中圆;
font-size: 2.5rem;
font-weight: bold;
color: #f46ff6;
transform-origin: top;
animation: yao 1.0s linear infinite alternate;
}
@keyframes yao {
from{transform: perspective(800px) rotatex(30deg); }
to { transform: perspective(800px) rotatex(-30deg); }
}
.tit {
position: relative;
width: 300px;
height: 30px;
top:-690px;
LEFT: -450px;
z-index: 100;
filter: drop-shadow(-1px 1px 1px #ffffff)drop-shadow(0px -1px 1px #ffffff)drop-shadow(0px 0px 1px #ffffff)drop-shadow(0px 0px 1px #ffffff)drop-shadow(0px 0px 1px #ffffff)
}
#tit:hover { color: green; }
/*标题位置 移动范围设置*/
</style>
<div id="hu" >
<div id="baiBox"
<div class="tit">
<span style="color:#fb52f9;"><span style="font-size:26px;">《音乐诗画·夏》</span>
<span style="color:#3d46f7;"><span style="font-size:14px;"></span></div>
<div style="position: relative;width: 500px;height: 50px;top:-90px;LEFT: 972px;z-index: 100;filter: drop-shadow(-1px 1px 1px #e8f552)drop-shadow(0px -1px 1px #e8f552)drop-shadow(0px 0px 1px #e8f552)drop-shadow(0px 0px 1px #e8f552)drop-shadow(0px 0px 1px #e8f552)">
<p><span style="color:#ff0000;"><span style="font-family:华文隶书;"><span style="font-size:26px;">亦是金在线音乐</span></span></span></p></div>
</style>
<div style="position: relative; top:-760px;LEFT: 0px;z-index: 12435;">
<style type="text/css">
.lyricDisp{-webkit-text-stroke:1.5px #ffffff;font: bold 2.0em悟空大字库, sans-serif; transition:.3s all ease;font-size:2.0em;}
.lyricDisp:nth-child(1){color:#000080;text-align:left;--aniName:bgMove1;--durTime:100ms;--aniPlayState:running;}
.lyricDisp:nth-child(1)::before{position:absolute;content:attr(data-lrc);width:0;height:100%;left:0;top:0;color: transparent;background: linear-gradient(45deg, #F32121 32%,#8EE73C 43%,#FEFFFF 52%,#091CFD 62%,#36F4B1 75%);-webkit-background-clip: text;-webkit-text-stroke:2px #000000;filter: contrast(110%)brightness(160%);overflow:hidden;white-space:nowrap;animation:var(--aniName) var(--durTime) linear forwards;animation-play-state:var(--aniPlayState);}
.lyricDisp:nth-child(2){color:blue;text-align:center;font-size:0em;}@keyframes bgMove1{from{width:0;}to{width:100%;}}@keyframes bgMove0{from{width:0;}to{width:100%;}}
#LRCShow{position:absolute;left:280px;bottom:0px;width:75%;height:120px;margin:6px auto position:relative;<!--歌词位置-->}
#rdisk{position:absolute;left:53px;bottom:50px;border-radius: 50%;font-size:4em;color:red;animation:circleSmall2 10s linear infinite;animation-play-state:paused;cursor:pointer;<!--光盘位置-->}
@keyframes circleSmall2{0%{transform:rotateX(0deg) rotateY(20deg) rotateZ(360deg);}100%{transform:rotateX(0deg) rotateY(20deg) rotate(0deg);}}
#ground3rd{
width:1200px;height:700px;
position:absolute;font-size:16px;
overflow:hidden;border-radius:0px;
margin:5px 0px 30px -5px;
background:url(https://s4.ax1x.com/2022/03/05/bwbPNq.jpg);
background-position:center;
background-size: cover;
perspective: 1200px;
}
#mpic {
position: absolute;
transform: rotateY(0deg);
top: 0px;
left: 0px;
width: 1200px;
height: 700px;
animation: rote 80s linear infinite;
cursor: pointer;
opacity: 1;
}
@keyframes rote {
from {
background-position: 0 0;
filter: hue-rotate(360deg)
}
to {
background-position: -1730px 300px;
}
}
#mpic1 {
position: absolute;
transform: rotateY(0deg);
top: 0px;
left: 0px;
width: 1200px;
height: 700px;
animation: rotet 100s linear infinite;
cursor: pointer;
opacity: 1;
}
@keyframes rotet {
from {
background-position: 0 0;
filter: hue-rotate(360deg)
}
to {
background-position: 0px -1730px;
}
}
#songList li {
cursor: pointer;
color: #f8914d;
font:thick微软雅黑;
font-size:18px;
line-height:30px
}
</style>
<div id="ground3rd">
<div class="itemm">
<div style="width: 1200px;height: 700px;box-shadow:0px 0px 1px 2px #045768, 0px 0px 0px 8px #99e5f5,0px 0px 5px 15px #045768;overflow:hidden;border-radius:1%;margin-top:0px;margin-LEFT: 0px;">
<div style="position:relative;width: 1200px;height: 700px;overflow:hidden;top: 0px;left: 0px;">
<div style="left: 0px;position:absolute;top: 0px;">
</div>
<ol id='songList' style="color:red;position:absolute;top:40px;left:50px;"><!--歌曲菜单位置--></ol>
<div id="rdisk"style="width:100px;height:100px;border: 0px solid #000000;
background: url('https://s1.ax1x.com/2023/02/28/ppCT07F.png')0 0/100% 100%,conic-gradient(red,orange,yellow,green,teal,blue,#ff0000);
mask: radial-gradient(transparent 7px,#red 0);transform: rotateX(45deg) rotateY(20deg) rotate(0deg);"></div>
<div id="LRCShow"></div>
</div>
<!-- 下面一句是存放歌词的标签 -->
<textarea style="visibility:hidden;" id='lrcContent0'></textarea>
<script type="text/javascript">
var lrcPlayer2=function(){return this.init.apply(this,arguments)};lrcPlayer2.prototype={constructor:lrcPlayer2,init:function(opts){this.lyricTxtObj=document.getElementById(opts.lrcTxtID);lyricTxt=this.lyricTxtObj.innerHTML;this.showLrcObj=document.getElementById(opts.lrcShowID);this.gclines=new Array();for(k=0;k<2;k++){this.gclines=document.createElement('div');this.gclines.className='lyricDisp';this.showLrcObj.appendChild(this.gclines)}this.audioCtrl=document.getElementById(opts.audioCtrl);this.handleLrc(lyricTxt);this.genPlayer(opts.audioURL)},handleLrc:function(lyricTxt){this.lrcVec=new Array();var lyriclist=lyricTxt.split(/\r|\n|\r\n/);for(n=0;n<lyriclist.length;n++){chkTime=lyriclist.match(/\[\d{1,2}:\d{2}.\d{1,3}\]|\[\d{1,2}:\d{2}\]/g);if(chkTime){tIdx=lyriclist.lastIndexOf(']');if(tIdx>0)lrcTxt=lyriclist.substr(tIdx+1);for(m=0;m<chkTime.length;m++){ta=chkTime.substr(1).replace(']','').split(/:/);_t=(+ta)*60+(+ta);if(this.lrcVec.length==0&&_t!=0){this.lrcVec.push()}this.lrcVec.push()}}}this.lrcVec.sort(function(a,b){return(a-b)})},showLrc:function(durTime){this.gclines.innerHTML=this.gclines.dataset.lrc=this.lrcVec.length>0?this.lrcVec:"\u3000";this.gclines.style.setProperty('--aniName','bgMove'+(this.idx%2));this.gclines.style.setProperty('--durTime',durTime+'ms');this.gclines.style.setProperty('--aniPlayState','running')},genPlayer:function(mUrl){this.mObj=document.createElement("audio");this.mObj.loop=false;this.mObj.muted=false;this.mObj.src=mUrl;this.showLrcObj.appendChild(this.mObj);this.idx=0;var that=this;this.mObj.addEventListener('ended',function(){that.idx=0});this.mObj.addEventListener('playing',function(){that.audioCtrl.style.animationPlayState='running';that.gclines.style.setProperty('--aniPlayState','running')});this.mObj.addEventListener('pause',function(){that.audioCtrl.style.animationPlayState='paused';that.gclines.style.setProperty('--aniPlayState','paused')});this.mObj.addEventListener('error',function(){console.log("audio wrong, remove play start event");that.showLrcObj.style.display='none';that.showLrcObj.removeChild(this)});this.mObj.addEventListener('timeupdate',function(){if(this.currentTime>that.lrcVec){if(that.idx<(that.lrcVec.length-1)){that.showLrc((that.lrcVec-that.lrcVec)*950)}else{that.showLrc((this.duration-that.lrcVec)*950)}if(that.idx+1==that.lrcVec.length){that.gclines.innerHTML=""}else{that.gclines.innerHTML=that.lrcVec}that.idx++}});this.audioCtrl.onclick=function(){if(that.mObj.paused){that.mObj.play()}else{that.mObj.pause()}};try{this.mObj.play()}catch(err){console.log(err.message)}},stopMusic:function(){this.mObj.pause();this.mObj.controls=false;},setAudioUrl:function(mUrl){this.mObj.src=mUrl},isMusicEnd:function(){return this.mObj.ended},reStart:function(){this.idx=0;this.mObj.play()}}
</script>
<script type="text/javascript">
(function() {
songParas = [
["月光下的凤尾竹 (葫芦丝)","","https://music.163.com/song/media/outer/url?id=29274068",`正播放:月光下的凤尾竹 (葫芦丝)`],
["踏浪 (笛子)","","https://music.163.com/song/media/outer/url?id=29274069",`正播放:踏浪 (笛子)`],
["美丽的草原我的家 (古筝)","","https://music.163.com/song/media/outer/url?id=29274070",`正播放:美丽的草原我的家 (古筝)`],
["山不转水转 (萨克斯)","","https://music.163.com/song/media/outer/url?id=29274071",`正播放:山不转水转 (萨克斯)`],
["洪湖水浪打浪 (琵琶二胡)","","https://music.163.com/song/media/outer/url?id=29274072",`正播放:洪湖水浪打浪 (琵琶二胡)`],
["乡间的小路 (笛子)","","https://music.163.com/song/media/outer/url?id=29274073",`正播放:乡间的小路 (笛子)`],
["美丽的梭罗河 (吉他)","","https://music.163.com/song/media/outer/url?id=29274074",`正播放:美丽的梭罗河 (吉他)`],
["太阳岛上 (笛子)","","https://music.163.com/song/media/outer/url?id=29274075",`正播放:太阳岛上 (笛子)`],
["夏日里的最后一朵玫瑰 (水晶琴)","","https://music.163.com/song/media/outer/url?id=29274076",`正播放:夏日里的最后一朵玫瑰 (水晶琴)`],
["海港之夜 (童声合唱)","","https://music.163.com/song/media/outer/url?id=29274077",`正播放:海港之夜 (童声合唱)`],
["荷花颂 (竹笛)","","https://music.163.com/song/media/outer/url?id=29274078",`正播放:荷花颂 (竹笛)`],
["彩云追月 (萨克斯)","","https://music.163.com/song/media/outer/url?id=29274079",`正播放:彩云追月 (萨克斯)`],
];
var opts = {
lrcTxtID:'lrcContent0',
lrcShowID:"LRCShow",
audioURL:"https://www.qqmc.com/up/kwlink.php?id=60010502&.mp3",
audioCtrl:'rdisk'
};
var km = null;
var idx = 0;
let songList = document.getElementById('songList');
for(n = 0; n < songParas.length; n++) {
let item = document.createElement('li');
item.id = 's'+n;
item.innerHTML = songParas;
songList.appendChild(item);
}
items = songList.getElementsByTagName('li');
for(n = 0 ; n < items.length; n++) {
items.onclick=function() {
idx = parseInt(this.id.substr(1));
document.getElementById('ground3rd').style.backgroundImage = `url(${songParas})`;
if(km){
km.stopMusic();
//km = null;
km.handleLrc(songParas);
km.setAudioUrl(songParas);
km.reStart();
}
else {
document.getElementById(opts.lrcTxtID).innerHTML = songParas;
opts.audioURL=songParas;
km = new lrcPlayer2(opts);
}
}
}
items.click();
setInterval(() => {
if(km) {
items = songList.getElementsByTagName('li');
if(km.isMusicEnd()) {
idx++; idx %= items.length;
items.click();
}
}
//setTimeout(isSongEnded, 500);
}, 500);
})();
</script>
醉美水芙蓉 发表于 2023-5-3 16:31
欣赏老师佳作!
节日问好!谢谢欣赏!{:4_187:} 碧水蓝天,漂亮。 {:4_199:}这曲子好听。 结束码我去了</TD></TR></TBODY></TABLE>
这个是发帖溢出码不需要的 欣赏前辈的精彩制作,会套用修改增加自己的东西就是最棒的! 会自己编程的没有几个人,纯套用没有意思,就是要自己会添加效果运用进去,这点小辣椒最佩服了{:4_199:} 感谢精彩的分享,制作辛苦了{:4_187:} 太棒了,太棒了!我很喜欢老歌、红歌。谢谢分享。 罗浮梦 发表于 2023-5-3 17:19
碧水蓝天,漂亮。
问好罗浮梦!节日愉快!{:4_187:} 罗浮梦 发表于 2023-5-3 17:19
这曲子好听。
祝你欣赏愉快!{:4_187:} 小辣椒 发表于 2023-5-3 17:24
结束码我去了
这个是发帖溢出码不需要的
谢谢!{:4_187:} 小辣椒 发表于 2023-5-3 17:28
欣赏前辈的精彩制作,会套用修改增加自己的东西就是最棒的!
谢谢夸奖,我是纯属胡编乱凑!{:5_111:} 小辣椒 发表于 2023-5-3 17:30
会自己编程的没有几个人,纯套用没有意思,就是要自己会添加效果运用进去,这点小辣椒最佩服了
应该多多向你学习!{:4_187:} 小辣椒 发表于 2023-5-3 17:32
感谢精彩的分享,制作辛苦了
问好!节日快乐!{:4_187:} 梦油 发表于 2023-5-3 17:58
太棒了,太棒了!我很喜欢老歌、红歌。谢谢分享。
问好!节日快乐!近几天将陆续发表《音乐诗画·秋》,《音乐诗画·冬》!希望你喜欢!{:4_191:} 亦是金 发表于 2023-5-3 18:22
问好!节日快乐!
谢谢~~一下子节日就过完了,明天上班了 亦是金 发表于 2023-5-3 18:16
谢谢!
不客气{:4_187:} 亦是金 发表于 2023-5-3 18:20
谢谢夸奖,我是纯属胡编乱凑!
就要这样多凑几次就会了,我也是老这样的{:4_189:}
页:
[1]
2