大猫咪 发表于 2022-7-11 10:31

绿叶清舟 发表于 2022-7-10 20:19
难怪晚上看不到人了

最近晚上去都中医院按摩,打银针啦   {:4_189:}有花仙子陪着真好{:4_170:}

马黑黑 发表于 2022-7-11 12:11

大猫咪 发表于 2022-7-11 10:28


说对了吧

加林森 发表于 2022-7-11 13:34

本帖最后由 加林森 于 2022-9-2 13:17 编辑 <br /><br />大猫咪 发表于 2022-7-11 10:26
哈哈   队长制作真棒!很有创意    谢谢队长美帖,老喜欢了, 收藏!

中午好
猫猫喜欢就好!我找这个猫猫动态找了好久的。{:4_189:}

<style>
#papa { left: -214px; width: 1024px; height: 634px; background: gray url('https://pic.imgdb.cn/item/6311794b16f2c2beb1cd3143.jpg') no-repeat center/cover; box-shadow: 3px 3px 20px #000; overflow: hidden; user-select: none; position: relative; }
#lrc { position: absolute; left: 20px; top: 40px; font: bold 1.5em sans-serif; color:#4169E1; text-shadow: 1px 1px 2px #000; letter-spacing: 2px; }
#mplayer { position: absolute; left: 20px; top: 80px; width: fit-content; height: fit-content; display: flex; align-items: center; gap: 8px; }
#btnwrap { width: 28px; height: 28px; background: #4169E1; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
#btnwrap:hover { background: #191970; }
#btnplay { width: 16px; height: 16px; background: gold; clip-path: polygon(0 0, 0% 100%, 100% 50%); }
#btnpause { width: 2px; height: 20px; border-style: solid; border-width: 0px 4px; border-color: transparent gold; display: none; }
#prog { width: 200px; height: 2px; background: #FF69B4 linear-gradient(90deg,red,olive,red) no-repeat ; background-size: 1px 2px; position: relative; cursor: pointer; }
#prog::before { position: absolute; top: -5px; height: 12px; width: 200px; content: ''; }
#tmsg { left: 260px; bottom: 16px; color: #4169E1; }
.ball { position: absolute; left: -10px; top: 0; width: 10px; height: 10px; border-radius: 50%; background: red; animation: move 40s var(--ss) linear infinite; }
#vid { position: absolute; width: 1024px; height: 634px; top: -55px; object-fit: cover; mix-blend-mode: screen; }
@keyframes move {
      0%, 100% { left: 0; top: 0; }
      25% { left: calc(100% - 10px); top: 0; }
      50% { left: calc(100% - 10px); top: calc(100% - 10px); }
      75% { left: 0; top: calc(100% - 10px); }
}
</style>

<div id="papa">
<video id="vid" src="https://img.tukuppt.com/video_show/2629112/00/02/01/5b4eeb1e825e4.mp4" muted="muted" autoplay="autoplay" loop="loop"></video>
      <span id="lrc">lrc歌词</span>
      <span id="mplayer">
                <span id="btnwrap"><span id="btnplay"></span><span id="btnpause"></span></span>
                <span id="prog"></span>
                <span id="tmsg">00:00 | 00:00</span>
      </span>
</div>

<script>
let lrcAr = [
       ['00.00','七神之光'],
        ['560.00','谢谢欣赏']
];
let aud = new Audio(), lw = prog.offsetWidth;
aud.src = 'https://music.163.com/song/media/outer/url?id=418550511.mp3';
aud.autoplay = true;
aud.loop = true;

Array.from({length: 60}).forEach((item,key) => {
      item = document.createElement('span');
      item.className = 'ball';
      item.style.cssText = `--ss: ${key * 0.5}s; background: #${Math.random().toString(16).substr(-6)};`;
      papa.appendChild(item);
});

prog.onclick = (e) => aud.currentTime = aud.duration * e.offsetX / prog.offsetWidth;

btnwrap.onclick = () => aud.paused ? aud.play() : aud.pause();
aud.addEventListener('playing', ()=> btnstate());
aud.addEventListener('pause', ()=> btnstate());

aud.addEventListener('timeupdate', () => {
      prog.style.backgroundSize = lw * aud.currentTime / aud.duration + 'px 2px';
      tmsg.innerText = toMin(aud.currentTime) + ' | ' + toMin(aud.duration);
      for(j = 0; j < lrcAr.length;j ++) {
                if(aud.currentTime >= lrcAr) lrc.innerText = lrcAr;
      }
});

let btnstate = () => aud.paused ? (btnplay.style.display = 'block', btnpause.style.display = 'none') : (btnplay.style.display = 'none', btnpause.style.display = 'block');

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;
}
</script>

绿叶清舟 发表于 2022-7-11 19:05

大猫咪 发表于 2022-7-11 10:31
最近晚上去都中医院按摩,打银针啦   有花仙子陪着真好

让花仙子替你按几下立马就好啦,那里晚上还开工的啊

大猫咪 发表于 2022-7-12 11:53

马黑黑 发表于 2022-7-11 12:11
说对了吧

嗯嗯{:4_170:}有天使守护 真幸福{:4_170:}

大猫咪 发表于 2022-7-12 11:54

加林森 发表于 2022-7-11 13:34
猫猫喜欢就好!我找这个猫猫动态找了好久的。

谢谢队长!{:4_187:}中午好!特别喜欢,辛苦了{:4_191:}{:4_190:}

大猫咪 发表于 2022-7-12 11:55

绿叶清舟 发表于 2022-7-11 19:05
让花仙子替你按几下立马就好啦,那里晚上还开工的啊

哈哈    那必须开工{:4_170:}

马黑黑 发表于 2022-7-12 12:02

大猫咪 发表于 2022-7-12 11:53
嗯嗯有天使守护 真幸福

队长给的幸福

加林森 发表于 2022-7-12 12:12

大猫咪 发表于 2022-7-12 11:54
谢谢队长!中午好!特别喜欢,辛苦了

不辛苦的。中午好!喜欢就好。{:4_191:}{:4_179:}

大猫咪 发表于 2022-7-12 12:23

马黑黑 发表于 2022-7-12 12:02
队长给的幸福

就是{:4_189:}

大猫咪 发表于 2022-7-12 12:24

加林森 发表于 2022-7-12 12:12
不辛苦的。中午好!喜欢就好。

{:4_179:}老喜欢了队长辛苦!{:4_179:}

马黑黑 发表于 2022-7-12 12:25

大猫咪 发表于 2022-7-12 12:23
就是

好好珍惜

大猫咪 发表于 2022-7-12 12:25

马黑黑 发表于 2022-7-12 12:25
好好珍惜

必须的{:4_179:}

加林森 发表于 2022-7-12 12:34

大猫咪 发表于 2022-7-12 12:24
老喜欢了队长辛苦!

开心就行。{:4_179:}

马黑黑 发表于 2022-7-12 12:56

大猫咪 发表于 2022-7-12 12:25
必须的

{:4_181:}

绿叶清舟 发表于 2022-7-12 16:34

大猫咪 发表于 2022-7-12 11:55
哈哈    那必须开工

现在好些了吧,安神舒肝?

大猫咪 发表于 2022-7-13 14:17

绿叶清舟 发表于 2022-7-12 16:34
现在好些了吧,安神舒肝?

嗯舒筋活络 , 安神舒肝,现在背上有股筋好撤着脖子痛,还的整几天!

{:4_204:}{:4_190:}

绿叶清舟 发表于 2022-7-13 14:47

大猫咪 发表于 2022-7-13 14:17
嗯舒筋活络 , 安神舒肝,现在背上有股筋好撤着脖子痛,还的整几天!

肝郁也会这样的,打通就没事了
页: 1 [2]
查看完整版本: 《猫与向日葵》- 馒头ZouLiang TO:马黑黑、大猫咪