可爱老人网

 找回密码
 注册会员
搜索
查看: 4330|回复: 46

花儿朵朵《套用亚伦老师最美风景线》

[复制链接]
发表于 2022-4-14 16:51 | 显示全部楼层 |阅读模式
[i=s] 本帖最后由 一师 于 2022-9-22 16:27 编辑 [/i]

评分

参与人数 2人气值 +8 收起 理由
湛蓝 + 3 赞一个!
黄煌长 + 5 大赞!

查看全部评分

 楼主| 发表于 2022-4-14 16:53 | 显示全部楼层
本帖最后由 一师 于 2022-4-28 22:33 编辑

  1. <div style="z-index: 127;width: 1000px; height: 600px; margin-top:30px; margin-left:-230px;  box-shadow: 0px 0px 0px 2px #cccccc, 0px 0px 0px 15px #880000; overflow: hidden;transform:  rotate(0deg);background: url(http://chuangshicdn.data.mvbox.cn/album/22/03/14/22031417263445440463.gif)0 0/30%  30%,linear-gradient(80deg, #000080, #003300, #ff0000, #00f000); text-align: center;">
  2. <img class='photo'  src="https://img-baofun.zhhainiao.com/pcwallpaper_ugc/static/98381166f9449ed1f9da0f1ba39eb019.jpg?x-oss-process=image%2fresize%2cm_lfit%2cw_1920%2ch_1080" alt="" />
  3. <img class='photo'  src="https://pic.yupoo.com/yuexia2020/a8fc78a1/ba375eb6.jpg" alt="" />
  4. <img class='photo'  src="http://www.keai99.com/data/attachment/forum/202204/10/085937umyk9fm1igtmt9qk.jpg" alt="" />
  5. <img class='photo'  src="http://www.keai99.com/data/attachment/forum/202204/10/090023u6z2rfb4gyybbb6s.jpg" alt="" />
  6. <img class='photo'  src="http://www.keai99.com/data/attachment/forum/202204/12/060931y74au0drddabw07x.jpg" alt="" />
  7. <img class='photo'  src="http://www.keai99.com/data/attachment/forum/202203/13/080637ijsdksy90oxiddd2.jpeg" alt="" />
  8. <img class='photo'  src="http://www.keai99.com/data/attachment/forum/202201/15/161747etzltx1wlo8clxnl.jpg" alt="" />
  9. <img class='photo'  src="http://www.keai99.com/data/attachment/forum/202204/14/091506pz5108awjbpga144.jpg" alt="" />

  10. <div class="container">
  11. <audio autoplay="" class="audio" id="MusicPlayer" src="http://music.lanyes.org/content/plugins/lymusic_tool/play.php?type=kw&id=215880440&.mp3" controls loop style="width: 1%;

  12. height: 1%;z-index: 1;"></audio>
  13.       <div class="btn">
  14.         <span id="bf"onclick="bf();"style="width: 980px; height: 120px;z-index: 300;position: absolute;top:-70px; left:80px;"></span>
  15.         <span id="bf"onclick="rbf();"></span>
  16.       </div>
  17. <div class="img_border"><img  id="aplay"style="width: 100%; height: 100%;z-index: 110;background:url(http://pan.yinhuabbs.cn/view.php/a93202bcdcd7cc95412d1595f9ec0dba.png)0 0/100% 100%, url(https://img-baofun.zhhainiao.com/fs/2e30acc1ac046b09ab6a5d3451cfadb9.jpg)-20px 0px/180% 100%;filter:hue-rotate(0deg)contrast(130%)brightness(100%);" ></div>
  18.      <div class="items" >
  19. <div  class="lrc">
  20.         <ul id="ullrc">
  21.          </ul>
  22. </div></div></div>
  23. </div>
  24. <style type="text/css">
  25. .photo {width: 1000px;
  26.   height: 600px;
  27.   position: absolute;top:0px; left:0px;
  28. filter:contrast(130%)brightness(100%);
  29.   animation: round 46s infinite;
  30.   opacity: 0;}
  31. @keyframes round {1% {opacity: 1;clip-path:circle(0% at 130% 50%);
  32. -webkit-transform:translate(0%,0%)scale(1);}
  33. 9% {opacity: 1;clip-path:  circle(100% at 50%  50%);
  34. -webkit-transform:translate(0%,0%)scale(1);}
  35. 18% {opacity: 0.6;clip-path: circle(100% at 50% 50%);
  36. -webkit-transform:translate(0%,0%)scale(1.5);}
  37. 20% {opacity: 0;clip-path: circle(100% at 50% 50%);
  38. -webkit-transform:translate(0%,0%)scale(2);}
  39. }
  40. img:nth-child(8) {animation-delay: 40s;}
  41. img:nth-child(7) {animation-delay: 34s;}
  42. img:nth-child(6) {animation-delay: 28s;}
  43. img:nth-child(5) {animation-delay: 22s;}
  44. img:nth-child(4) {animation-delay: 16s;}
  45. img:nth-child(3) {animation-delay: 12s;}
  46. img:nth-child(2) {animation-delay: 6s;}

  47. .container{width: 1px;height: 1px;
  48.     margin: 0;position: absolute;top:500px; left:0px;z-index: 100;}
  49. .container #MusicPlayer{
  50.     width: 250px;
  51.     display: block;
  52.     margin: 0 auto;}
  53. .container .btn{
  54.     display: block;z-index: 300;
  55.     margin: 0;}
  56. .container .lrc{
  57.     width: 960px;
  58.     height: 120px;z-index: 1;
  59.     overflow: hidden;filter:drop-shadow(#ffffff 1px 0 0)drop-shadow(#ffffff 0 1px 0)drop-shadow(#ffffff -1px 0 0) drop-shadow(#ffffff 0 -1px  0);
  60.     display: block;position: absolute;top:-10px; left:0px;
  61.     margin: 0 auto;}
  62. .container .lrc #ullrc{
  63.     width: 100%;
  64.     padding: 0;
  65.     list-style: none;
  66.     transition: 0.3s all ease;
  67.     margin: 0;}
  68. /*歌词普通样式*/
  69. .container .lrc #ullrc li{
  70.     height: 70px;
  71.     line-height: 70px;
  72. font-family:悟空大字库;
  73.     font-size: 0px;
  74.     color: #000078;
  75.     font-weight: normal;
  76.     transition: .3s all ease;/*一定要加上不然看着突兀*/
  77.     list-style-type: none;
  78.     text-align: center;
  79.     display: block;
  80.     width: 100%;
  81.     margin: 0 auto;}
  82. /*动态歌词样式*/
  83. .container .lrc #ullrc li.active{
  84.     font-size: 40px;
  85.     color: #ff0000;
  86.     font-weight: bold}
  87. /*光碟动画*/
  88. .container .img_border{display:inline-block;width:400px;height:400px;margin:0px ;position: absolute;top:-430px;left:250px;transform: scale(1,1);}
  89. .container .img_border #aplay{display:block;border:2px solid #cccccc;border-radius:50%; }
  90. .container .z360z{-webkit-animation:rotating 10s linear infinite;}@-webkit-keyframes rotating{0%{transform:rotateX(0deg) rotateY(0deg) rotateZ(0deg);clip-path: circle(50% at 50% 50%);background:url(http://pan.yinhuabbs.cn/view.php/a93202bcdcd7cc95412d1595f9ec0dba.png)0 0/100% 100%, url(https://img-baofun.zhhainiao.com/fs/0be7eb646d8f66f9dc35d638c3869fbb.jpg)-120px 0px/180% 100%;filter:hue-rotate(360deg)contrast(130%)brightness(100%);}
  91. 100%{transform:rotateX(0deg) rotateY(0deg) rotateZ(360deg);clip-path: circle(50% at 50%50%);background:url(http://pan.yinhuabbs.cn/view.php/a93202bcdcd7cc95412d1595f9ec0dba.png)0 0/100% 100%, url(https://img-baofun.zhhainiao.com/fs/2e30acc1ac046b09ab6a5d3451cfadb9.jpg)-20px 0px/180% 100%;filter:hue-rotate(0deg)contrast(130%)brightness(100%);}

  92. }
  93. .audio{
  94.     z-index: 1;
  95.     bottom: 0;
  96.     opacity: 0;
  97. transition: all 2s;
  98. width: 1px;
  99. height: 1px;
  100. position: absolute;top:0px; left:0px;
  101. }
  102. .audio:hover{
  103.     opacity: 0;
  104. }

  105. .items  { z-index: 1540;animation: slider 0.26s linear infinite ;}
  106. @keyframes slider {from {opacity: 1;filter:hue-rotate(360deg)contrast(180%)brightness(200%);}
  107. 50% {opacity: 1;}to {opacity: 1;filter:hue-rotate(0deg)contrast(140%)brightness(100%);}}
  108. </style>
  109. <script >var lrc = `[00:04]心中最美的风景线
  110. [00:06]作词:轻云望月
  111. [00:09]作曲:轻云望月
  112. [00:11]DJ:月之歌音乐室
  113. [00:13]混音:烟圈蔓延
  114. [00:15]出品:亚伦影音
  115. [00:19]“未经授权禁止翻唱和商业使用”
  116. [00:22]男:
  117. [00:23]我不知道远方究竟有多远
  118. [00:28]有你的地方就是我的终点
  119. [00:33]哪怕趟万水 哪怕越千山
  120. [00:38]也愿意奔向你和你手相牵
  121. [00:42]女:
  122. [00:43]我不知道红尘有多少爱恋
  123. [00:48]自从第一眼就把你爱心间
  124. [00:53]人为你相思 心为你牵绊
  125. [00:58]再多曲折都难把我的爱阻断
  126. [01:03]男:
  127. [01:03]你是我心中最美的风景线
  128. [01:08]感谢你出现把我人生温暖
  129. [01:13]女:
  130. [01:13]这一段情爱 这一场尘缘
  131. [01:18]就算到天荒地老都不会厌倦
  132. [01:23]男:
  133. [01:23]你是我心中最美的风景线
  134. [01:28]谢谢你出现把我流年惊艳
  135. [01:33]女:
  136. [01:34]爱着你所爱 念着你所念
  137. [01:38]这辈子你就是我永远的永远
  138. [02:03]男:
  139. [02:04]我不知道红尘有多少爱恋
  140. [02:09]自从第一眼就把你爱心间
  141. [02:13]女:
  142. [02:14]人为你相思 心为你牵绊
  143. [02:19]再多曲折都难把我的爱阻断
  144. [02:23]男:
  145. [02:24]你是我心中最美的风景线
  146. [02:29]感谢你出现把我人生温暖
  147. [02:34]女:
  148. [02:34]这一段情爱 这一场尘缘
  149. [02:39]就算到天荒地老都不会厌倦
  150. [02:44]男:
  151. [02:44]你是我心中最美的风景线
  152. [02:49]谢谢你出现把我流年惊艳
  153. [02:53]女:
  154. [02:54]爱着你所爱 念着你所念
  155. [02:59]这辈子你就是我永远的永远
  156. [03:04]男:
  157. [03:04]你是我心中最美的风景线
  158. [03:10]谢谢你出现把我流年惊艳
  159. [03:14]女:
  160. [03:15]爱着你所爱 念着你所念
  161. [03:20]这辈子你就是我永远的永远
  162. [03:24]合:
  163. [03:25]这辈子你就是我永远的永远`;
  164. function $(id) {return document.getElementById(id);
  165. }//这样写以后getid方便
  166. function getLrcArray() {
  167.     var parts = lrc.split("\n");
  168.     for (let index = 0; index < parts.length; index++) {
  169.         parts[index] = getLrcObj(parts[index]);
  170.     }
  171.     return parts;

  172.     function getLrcObj(content) {
  173.         var twoParts = content.split("]");
  174.         var time = twoParts[0].substr(1);
  175.         var timeParts = time.split(":");
  176.         var seconds = +timeParts[1];
  177.         var min = +timeParts[0];
  178.         seconds = min * 60 + seconds;
  179.         var words = twoParts[1];
  180.         return{
  181.             seconds: seconds,
  182.             words: words,
  183.         };
  184.     }
  185. }
  186. var lrcArray = getLrcArray();
  187. function inputLrc() {
  188.     for (let index = 0; index < lrcArray.length; index++) {
  189.         var li = document.createElement("li");
  190.         li.innerText = lrcArray[index].words;
  191.         $("ullrc").appendChild(li);
  192.     }
  193. }
  194. inputLrc();
  195. function setPosition() {
  196.     var index = getLrcIndex();
  197.     if (index == -1) {
  198.         return;
  199.     }
  200.     var lrc_li_height = 70, lrc_ul_height = 50;
  201.     var top = index * lrc_li_height + lrc_li_height / 2 - lrc_ul_height / 2;
  202.     if (top < 0) {
  203.         top = 0;
  204.     }
  205.     $("ullrc").style.marginTop = -top + "px";
  206.     var activeLi = $("ullrc").querySelector(".active");
  207.     if(activeLi){
  208.         activeLi.classList.remove("active");
  209.     }
  210.     $("ullrc").children[index].classList.add("active");
  211. }
  212. var turn = 0;
  213. function getLrcIndex(){
  214.     var time = $("MusicPlayer").currentTime + turn;
  215.     for (var index = 0; index < lrcArray.length; index++) {
  216.         if (lrcArray[index].seconds > time) {
  217.             return index - 1;
  218.         }
  219.     }
  220. }
  221. $("MusicPlayer").ontimeupdate = setPosition;

  222.         function rbf() {
  223.             var audio = document.getElementById('MusicPlayer');
  224.             var bf=document.getElementById("bf");
  225.             audio.currentTime = 0;
  226.             audio.play();
  227.             bf.innerText="";
  228.         }

  229.         function bf() {
  230.             var audio = document.getElementById('MusicPlayer');
  231.             var bf=document.getElementById("bf");
  232.             if (audio !== null) {
  233.                 if (audio.paused) {
  234.                     audio.play(); //audio.play();// 这个就是播放  
  235.                     bf.innerText="";
  236.                 } else {
  237.                     audio.pause(); // 这个就是暂停
  238.                     bf.innerText="";
  239.                 }
  240.             }
  241.         }

  242. var my_audio =document.getElementById("MusicPlayer");my_audio.onended = function(){document.getElementById("aplay").className="";};my_audio.onplaying = function()

  243. {document.getElementById("aplay").className="z360z";};my_audio.onpause = function(){document.getElementById("aplay").className="";};var lyric = parseLyric(songkrc);

  244. my_audio.ontimeupdate = function () { for (var i = 0; i < lyric.length; i++) { if(this.currentTime > lyric<i>[0]){ document.getElementById("ullrc").innerHTML = lyric<i>[1]; if(i

  245. +1==lyric.length){ document.getElementById("").innerHTML = ""; }else{ document.getElementById("").innerHTML = lyric[i + 1][1];};};};}; my_audio.play();</script>
复制代码
 楼主| 发表于 2022-4-14 16:53 | 显示全部楼层
本帖最后由 一师 于 2022-8-17 15:51 编辑
  1. http://www.keai99.com/data/attachment/forum/202208/15/070836vyku0b1r0yziu01y.jpg",
  2. "http://www.keai99.com/data/attachment/forum/202208/15/070818yl707kx33kxoxb0k.jpg",
  3. "http://www.keai99.com/data/attachment/forum/202208/15/070759uudxbt7jpgbkpyd6.jpg",
  4. "http://www.keai99.com/data/attachment/forum/202208/15/070739t9khj20mkm5ft0l6.jpg",
  5. "http://www.keai99.com/data/attachment/forum/202208/15/070720mpm719opwo7x65p5.jpg",
  6. "http://www.keai99.com/data/attachment/forum/202208/15/070702srjuoc8fujgduafu.jpg",
  7. "http://www.keai99.com/data/attachment/forum/202208/15/070644h7w22r4ko7ra1wem.jpg",
  8. "http://www.keai99.com/data/attachment/forum/202208/15/070322ezofloostll5adz8.jpg",
  9. "http://www.keai99.com/data/attachment/forum/202208/15/070342jfjotajjv2j1a121.jpg",
  10. "http://www.keai99.com/data/attachment/forum/202208/15/070419pntga0rajj9vaovg.jpg",
  11. "http://www.keai99.com/data/attachment/forum/202208/15/070455s4d4r73r434s5o4s.jpg",
  12. "http://www.keai99.com/data/attachment/forum/202208/15/070517w8dym8dyq2djtz88.jpg","
  13. ];
复制代码

发表于 2022-4-14 16:54 | 显示全部楼层
           欣赏一师版主的音画制作——花儿朵朵   
发表于 2022-4-14 18:04 | 显示全部楼层
赞赏精美的音画制作!分享快乐!
发表于 2022-4-14 18:44 | 显示全部楼层
欣赏老师精彩音画·!赞!
发表于 2022-4-14 19:53 | 显示全部楼层

凡是显示为蓝色的地方都是把图片链接搞丢的地方。
发表于 2022-4-14 19:57 | 显示全部楼层
一师 发表于 2022-4-14 16:53
请老师指导,谢谢。

光碟里图片地址要完整不能有 省列号!
 楼主| 发表于 2022-4-15 07:09 | 显示全部楼层
阿强 发表于 2022-4-14 16:54
欣赏一师版主的音画制作——花儿朵朵

新的一天向老师问好!祝您健康快乐!吉祥如意!
 楼主| 发表于 2022-4-15 07:09 | 显示全部楼层
杨姥姥 发表于 2022-4-14 18:04
赞赏精美的音画制作!分享快乐!

新的一天向老师问好!祝您健康快乐!吉祥如意!
        
下一页 发布主题 快速回复

手机版|公众号|小黑屋|可爱老人网

GMT+8, 2025-2-7 19:44

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表