注册时间2020-1-12
在线时间 小时
- 最后登录
- 1970-1-1
|
- <link rel="stylesheet" type="text/css" href="http://cesholl.cn3v.work/sstyle/lrcPlayer2.css">
- <script type="text/javascript">
- document.write('<script src="http://cesholl.cn3v.work/scripts/lrcPlayer2.min.js" type="text/javascript" charset="utf-8"><\/script>');
- </script>
- <style type="text/css">
- #hWindow {
- width:960px;
- height:640px;
- bbbackground-image:url(https://s1.ax1x.com/2022/03/23/qlTbYF.jpg);
- bbbackground-size:cover;
- background-color:#ccf;
- border:thick brown ridge;
- position:relative;
- margin:100px auto 16px -180px;
- overflow:hidden;font-size:14px;
- border-radius:24px;
- }
- #curp {
- width: 100%;
- height:100%;
- background-image:url(https://s1.ax1x.com/2022/03/23/qlTreP.jpg);
- background-size: cover;
- transform-origin: center;
- position:absolute; top:0px; left:0px;
- }
- </style>
- <div id="hWindow">
- <div id="curp"></div>
- <div id="rdisk" style="position:absolute;left:10px;bottom:10px;" ></div>
- <div id="LRCShow" style="width:65%;position:absolute;left:12%;bottom:10px;" >
- <span id="musickrc01"></span>
- <br style="clear:both;">
- <span id="musickrc02"></span>
- </div>
- </div>
- <textarea id="lrc_content" style="visibility:hidden;">
- [00:00.00]采茶舞曲 - 春天
- [00:01.83]词:周大风
- [00:03.42]曲:周大风
- [00:04.15]LRC:静悟
- [00:05.25][00:46.85][02:40.46]溪水清清溪水长
- [00:10.13][00:51.62][02:44.65]溪水两岸好呀么好风光
- [00:14.94][02:48.93]哥哥呀 你上畈下畈勤插秧
- [00:19.89][02:53.46]妹妹呀 东山西山采茶忙
- [00:24.76][02:57.79]插秧插得喜洋洋
- [00:27.26][02:59.94]采茶采得心花放
- [00:29.69][03:02.11]插得秧来匀又快呀
- [00:32.18][03:04.32]采得茶来满山香
- [00:34.68][03:06.52]你追我赶不怕累
- [00:39.55][03:10.91]敢与老天争春光
- [00:44.36][03:15.13]哎 争呀么争春光
- [00:56.60]姐姐呀 你采茶好比凤点头
- [01:01.50]妹妹呀 采茶好比鱼跃网
- [01:06.42]一行一行又一行
- [01:08.80]摘下的青叶篓里装
- [01:11.27]千缕万缕千万缕呀
- [01:13.76]缕缕新茶放清香
- [01:16.19]多快好省来采茶呀
- [01:21.09]青青新茶送城乡
- [01:25.90]哎 送呀么送城乡
- [01:29.96]左采茶来右采茶
- [01:34.51]采茶姑娘齐采茶
- [01:39.46]一手先来一手后
- [01:44.37]好比那两只公鸡争米上又下
- [02:01.48]两个茶蒌两旁挂
- [02:06.44]两手采茶要分家
- [02:11.22]摘了一会停一下
- [02:16.11]头不晕来眼不花
- [02:20.98]多又多来快又快
- [02:25.96]年年丰收龙井茶
- [03:20.86]争呀么争春光
- </textarea>
- <script type="text/javascript">
- var imgSet = [
- "https://s1.ax1x.com/2022/03/26/qU2TKJ.png",
- "https://s1.ax1x.com/2022/03/26/qU2HbR.png",
- "https://s1.ax1x.com/2022/03/26/qU2v8O.png",
- "https://s1.ax1x.com/2022/03/26/qURpKH.jpg",
- "https://s1.ax1x.com/2022/03/26/qURiVI.jpg",
- "https://s1.ax1x.com/2022/03/26/qURnMQ.jpg",
- "https://s1.ax1x.com/2022/03/26/qURurj.jpg",
- "https://s1.ax1x.com/2022/03/26/qURQZn.jpg",
- "https://s1.ax1x.com/2022/03/26/qUR1I0.jpg",
- "https://s1.ax1x.com/2022/03/26/qURJRU.jpg",
- "https://s1.ax1x.com/2022/03/26/qURaL9.jpg",
- "https://s1.ax1x.com/2022/03/26/qURgQe.jpg",
- "https://s1.ax1x.com/2022/03/26/qUR2sH.jpg",
- "https://s1.ax1x.com/2022/03/26/qUR4ot.jpg",
- "https://s1.ax1x.com/2022/03/26/qURzF0.jpg",
- "https://s1.ax1x.com/2022/03/26/qUWCSU.jpg",
- "https://s1.ax1x.com/2022/03/26/qUWeFx.jpg",
- ];
- var keyFrames =
- [{clipPath: 'polygon(50% 0%, 50% 50%, 0% 50%, 50% 50%,50% 100%, 50% 50%, 100% 50%, 50% 50%)', opacity:'0.4'},
- {clipPath: 'polygon(50% 0%, 25% 25%, 0% 50%, 25% 75%,50% 100%, 75% 75%, 100% 50%, 75% 25%)', opacity:'0.7', offset:0.5},
- {clipPath: 'polygon(50% 0%, 0% 0%, 0% 50%, 0% 100%,50% 100%, 100% 100%, 100% 50%, 100% 0%)', opacity:'1', offset:0.8},
- {clipPath: 'polygon(50% 0%, 0% 0%, 0% 50%, 0% 100%,50% 100%, 100% 100%, 100% 50%, 100% 0%)', opacity:'0.4'}];
- var EffectTiming = {duration: 8000, fill: 'forwards'};
- var imgIdx = 0, lastIdx = imgSet.length - 1;
- var imgBlock, curp, aniObj;
- function initTrun() {
- imgBlock = document.getElementById('hWindow');
- curp = document.getElementById('curp');
-
- aniObj = curp.animate(keyFrames, EffectTiming);
- aniObj.pause();
- aniObj.onfinish = chg_cur_pic;
- chg_cur_pic();
- }
- function chg_cur_pic() {
- imgBlock.style.backgroundSize = "cover";
- imgBlock.style.backgroundImage = "url(" + imgSet[lastIdx] + ")";
- curp.style.backgroundImage = "url(" + imgSet[imgIdx] + ")";
-
- lastIdx = imgIdx;
- imgIdx++;
- imgIdx %= imgSet.length;
- aniObj.play();
- }
- initTrun();
- var opts = {
- // 下面4个参数是必须的!
- lrcTxtID:'lrc_content',
- lrcShowID:"LRCShow",
- audioURL:"http://link.hhtjim.com/kw/3261938.mp3",
- audioCtrl:'rdisk'
- };
- new lrcPlayer2(opts);
- </script>
复制代码
用这代码就没那问题了 |
评分
-
查看全部评分
|