《汽车专用极品大碟 12CD》CD12
<div class="cont-area"><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:20px;margin-LEFT: -310px;">
<style type="text/css">
#papa {
margin: auto;
top: -60px;
left: 0px;
width: 1200px;
height: 800px;
background: lightblue url('');
box-shadow: 3px 3px 20px #000;
position: relative;
display: grid;
place-items: center;
z-index: 1;
}
#papa::after {
position: absolute;
content: '';
top: 580px;
left: 65px;
width: 180px;
height: 180px;
background: url('https://638183.freep.cn/638183/t23/1/heart_133236768103332344.png') 0 0 no-repeat;
background-size: 2900%;
animation: chgBg steps(28) 2s infinite both;
animation-play-state: var(--state);
}
@keyframes chgBg {
0% { background-position: 0%; }
100% { background-position: 100%; }
}
.ship { position: absolute; width: 1400px; height: 860px;top: 0px;left: 0px;}
</style>
<div id="papa">
<video autoplay="autoplay" class="ship" loop="loop" muted="muted" src="https://ysj147.s3-us-east-1.ossfiles.com/zzsc/mp4/qiche01.mp4"> </video>
</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:-790px;LEFT: -360px;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:28px;">《汽车专用极品大碟 12CD》</span>
<span style="color:#3d46f7;"><span style="font-size:22px;"> -CD12</span></div>
<div style="position: relative;width: 500px;height: 50px;top:-185px;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:-800px;LEFT: 60px;z-index: 12435;">
<style type="text/css">
.lyricDisp{-webkit-text-stroke:1.5px #ffffff;font: bold 2.2em悟空大字库, sans-serif; transition:.3s all ease;font-size:2.2em;}
.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:1.8em;}@keyframes bgMove1{from{width:0;}to{width:100%;}}@keyframes bgMove0{from{width:0;}to{width:100%;}}
#LRCShow{position:absolute;left:300px;bottom:20px;width:75%;height:120px;margin:6px auto position:relative;<!--歌词位置-->}
#rdisk{position:absolute;left:37px;bottom:15px;border-radius: 50%;font-size:4em;color:red;animation:circleSmall2 6s 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:1000px;height:600px;
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: 1000px;
height: 600px;
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: 1000px;
height: 600px;
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: #ffffff;
font:thick微软雅黑;
font-size:19px;
line-height:27px
}
</style>
<div id="ground3rd">
<div class="itemm">
<div style="width: 1000px;height: 600px;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: 1000px;height: 600px;overflow:hidden;top: 0px;left: 0px;">
<div style="left: 0px;position:absolute;top: 0px;">
</div>
<ol id='songList' style="color:red;position:absolute;top:0px;left:0px;"><!--歌曲菜单位置--></ol>
<div id="rdisk"style="width:120px;height:120px;border: 0px solid #000000;
background: url('https://ysj147.s3-us-east-1.ossfiles.com/zzsc/png/anniu02d.png')"></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://ysj147.s3-us-east-1.ossfiles.com/qiche/CD12/1202.mp3",`正在播放:汽车专用极品大碟12:音乐旅途
请欣赏:《 神 香 》 - 纯音乐`],
["《成吉思汗的传说》 - 纯音乐","","https://ysj147.s3-us-east-1.ossfiles.com/qiche/CD12/1201.mp3",`正在播放:汽车专用极品大碟12:音乐旅途
请欣赏:《成吉思汗的传说》 - 纯音乐`],
["《 天 边 》 - 纯音乐","","https://ysj147.s3-us-east-1.ossfiles.com/qiche/CD12/1203.mp3",`正在播放:汽车专用极品大碟12:音乐旅途
请欣赏:《 天 边 》 - 纯音乐`],
["《阿拉里哟》 - 纯音乐","","https://ysj147.s3-us-east-1.ossfiles.com/qiche/CD12/1204.mp3",`正在播放:汽车专用极品大碟12:音乐旅途
请欣赏:《阿拉里哟》 - 纯音乐`],
["《在那遥远的地方》 - 纯音乐","","https://ysj147.s3-us-east-1.ossfiles.com/qiche/CD12/1205.mp3",`正在播放:汽车专用极品大碟12:音乐旅途
请欣赏:《在那遥远的地方》 - 纯音乐`],
["《在那东山顶上》 - 纯音乐","","https://ysj147.s3-us-east-1.ossfiles.com/qiche/CD12/1206.mp3",`正在播放:汽车专用极品大碟12:音乐旅途
请欣赏:《在那东山顶上》 - 纯音乐`],
["《 天 堂 》 - 纯音乐","","https://ysj147.s3-us-east-1.ossfiles.com/qiche/CD12/1207.mp3",`正在播放:汽车专用极品大碟12:音乐旅途
请欣赏:《 天 堂 》 - 纯音乐`],
["《 天 路 》 - 纯音乐","","https://ysj147.s3-us-east-1.ossfiles.com/qiche/CD12/1208.mp3",`正在播放:汽车专用极品大碟12:音乐旅途
请欣赏:《 天 路 》 - 纯音乐`],
["《蓝色的故乡》 - 纯音乐","","https://ysj147.s3-us-east-1.ossfiles.com/qiche/CD12/1209.mp3",`正在播放:汽车专用极品大碟12:音乐旅途
请欣赏:《蓝色的故乡》 - 纯音乐`],
["《美丽的神话》 - 纯音乐","","https://ysj147.s3-us-east-1.ossfiles.com/qiche/CD12/1210.mp3",`正在播放:汽车专用极品大碟12:音乐旅途
请欣赏:《美丽的神话》 - 纯音乐`],
["《乌兰巴托的夜晚》 - 纯音乐","","https://ysj147.s3-us-east-1.ossfiles.com/qiche/CD12/1211.mp3",`正在播放:汽车专用极品大碟12:音乐旅途
请欣赏:《乌兰巴托的夜晚》 - 纯音乐`],
["《我和草原有个约定》 - 纯音乐","","https://ysj147.s3-us-east-1.ossfiles.com/qiche/CD12/1212.mp3",`正在播放:汽车专用极品大碟12:音乐旅途
请欣赏:《我和草原有个约定》 - 纯音乐`],
];
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>
<style>
#wrapper {
position: absolute;
display: flex;
width: fit-content;
height: fit-content;
/* border仅用于观察 */
border: 1px solid red;
}
#mydiv {
position: absolute;
top: -100px;
left: 330px;
width: 500px;
height: 85px;
display: flex;
justify-content: center;
align-items: center;
}
#copydiv { transform: rotateY(-180deg); }
pin-pu {
margin-right: 1px;
width: 1px;
height: 10px;
background: blue;
animation: change .4s var(--delay) infinite alternate linear;
}
@keyframes change {
from { height: 2px; }
to { height: var(--hh); }
}
</style>
<div id="wrapper">
<div id="mydiv"></div>
<div id="copydiv"></div>
</div>
<script>
/* 除以几依据 pin-pu 标签的 width + 希望的间隔值即 margin-right 值 */
let total = Math.ceil(mydiv.offsetWidth / 2);
Array.from({length: total}).forEach((item,key) => {
item = document.createElement('pin-pu');
item.style.cssText += `
background: #${Math.random().toString(16).substr(-6)};
height: ${Math.random() * mydiv.offsetHeight}px;
--hh: ${mydiv.offsetHeight / 2 + Math.random() * mydiv.offsetHeight / 2}px;
--delay: -${Math.random()}s;
`;
mydiv.appendChild(item);
});
let node = mydiv;
let clone = node.cloneNode(true);
copydiv.appendChild(clone);
</script>
这个播放器按钮好,把心形蒙太奇和小图标结合到一起了{:4_199:} 又是这么多好听的音乐,这个视频也漂亮。欣赏亦是金老师好帖{:4_199:} 全都是好听的纯音乐呢,这个好,可以借一首来做帖子了{:4_173:} 红影 发表于 2023-9-14 14:57
这个播放器按钮好,把心形蒙太奇和小图标结合到一起了
问好红影!{:4_187:}做一点小改变! 红影 发表于 2023-9-14 14:59
又是这么多好听的音乐,这个视频也漂亮。欣赏亦是金老师好帖
谢谢欣赏!{:4_187:} 红影 发表于 2023-9-14 15:04
全都是好听的纯音乐呢,这个好,可以借一首来做帖子了
欢迎你使用!{:4_204:} 前辈的孜孜不倦的,每天一个专辑,大赞的{:4_199:} 纯音也是特别的好听{:4_199:} 谢谢分享,挂着听去回帖{:4_208:} 亦是金 发表于 2023-9-14 17:11
问好红影!做一点小改变!
这个非常有创意呢{:4_187:} 亦是金 发表于 2023-9-14 17:12
谢谢欣赏!
谢谢亦是金老师带来的好帖{:4_187:} 亦是金 发表于 2023-9-14 17:13
欢迎你使用!
已经搬到帖子里去了,谢谢亦是金老师{:4_187:}
页:
[1]