焱鑫磊 发表于 2023-3-8 20:13

《这样的老公我要退货》晓晓 (吉特巴)

本帖最后由 焱鑫磊 于 2023-3-8 20:16 编辑 <br /><br /><style>
#papa { margin: 15px 0 0 calc(50% - 680px); width: 1200px; height: 640px; background: lightblue url('https://365.tf/disk/tf/1678237789.jpg') no-repeat center/cover; box-shadow: 3px 3px 20px #000; position: relative; display: grid; place-items: center; overflow: hidden; z-index: 1; }
#papa::before { position: absolute; content: '';background: url('https://wj.zp68.com/lxx/yunhua/2022/12/11/1IF.gif') no-repeat center/cover; opacity: .45; width: 100%; height: 100%; animation: scale 8s infinite alternate linear; }
.mLine:nth-of-type(odd) { background: linear-gradient(to top,green,DarkCyan); }
.mLine::before { position: absolute; content: ''; width: 100%; height:5px; border-radius: 50%; background: lightblue; top: 0; animation: up 1.2s infinite alternate linear; }
@keyframes up{ to {top: -40px; } }
@keyframes scale { to {transform: scale(1.2); } }
</style>

<div id="papa"></div>
<audio id="aud" src="https://www.joy127.com/url/100979.mp3" loop autoplay></audio>

<script>
(function() {
        (function(mkPlayer) {let defaults = {lrcAr: [],ypData: new Array(500).fill(0).map((v, k) => Math.floor(Math.random() * 200) + 10),pinpu: {size: 4, gap: 2,},player_css: '',lrc_css: '',playerCode: `<style>#mplayer {--ww: 300px;--hh: 180px; --color1: darkgreen; --color2: snow);position: absolute;bottom: -10px;width: var(--ww);height: var(--hh);display: flex;justify-content: center;align-items: flex-end;cursor: pointer;}.mLine {position: relative;margin: 0 1px 0 1px;width: 4px;height: 8px;background: linear-gradient(to top,var(--color1),var(--color2));transition: .35s;opacity: .95;}#lrc {--motion: cover2;--tt: 2s;--state: paused;--bg: linear-gradient(180deg, hsla(120, 50%, 50%, .45), hsla(120, 100%, 50%, .75));position: absolute;top: 30px;font: bold 2.4em sans-serif;color: hsl(0, 10%, 90%);white-space: pre;-webkit-background-clip: text;filter: drop-shadow(1px 1px 2px hsla(0, 0%, 0%, .95));} #lrc::before {position: absolute;content: attr(data-lrc);width: 20%;height: 100%;color: transparent;overflow: hidden;white-space: pre;background: var(--bg);filter: inherit;-webkit-background-clip: text;animation: var(--motion) var(--tt) linear forwards;animation-play-state: var(--state);}@keyframes cover1 {from {width: 0;} to {width: 100%;}}@keyframes cover2 {from {width: 0;} to {width: 100%;}}</style><div id="mplayer"></div><div id="lrc" data-lrc="HCPlayer">HCPlayer</div>`,};let playCode = (user_config) => {let data = Object.assign({}, defaults, user_config);papa.innerHTML += data.playerCode;mplayer.style.cssText += data.player_css;mplayer.onclick = () => aud.paused ? aud.play() : aud.pause();aud.loop = false;let ppsize = data.pinpu.size || 4, gap = data.pinpu.gap || 2;let total = Math.ceil(mplayer.offsetWidth / (ppsize + gap));let mKey = 0,ppnum = 0, mFlag = true;for (j = 0; j < total; j++) {let el = document.createElement('span');el.className = 'mLine';el.style.width = ppsize + 'px';el.style.marginLeft = el.style.marginRight = gap/2 + 'px';mplayer.appendChild(el);}let lines = document.querySelectorAll('.mLine');let max = Math.max.apply(null, data.ypData);let divide = max / mplayer.offsetHeight, coe = 20 / total / 2, plus;aud.addEventListener('pause', () => mState());aud.addEventListener('playing', () => { mState(); update(); });aud.addEventListener('ended', () => { mKey = 0; ppnum = 0; aud.play(); });aud.addEventListener('timeupdate', () => {ppnum++;if (ppnum >= data.ypData.length) ppnum = 0;update();for (j = 0; j < data.lrcAr.length; j++) {if (aud.currentTime >= data.lrcAr) {cKey = j;if (mKey === j) showLrc(data.lrcAr);else continue;}}});let update = () => lines.forEach((item, key) => {plus = (key < total / 2 ? key : total - key) * coe * 10;item.style.setProperty('height', Math.random() * (data.ypData - 30) / divide + plus + 'px');});let mState = () => aud.paused ? lrc.style.setProperty('--state', 'paused') : lrc.style.setProperty('--state', 'running');let showLrc = (time) => {let name = mFlag ? 'cover1' : 'cover2';lrc.innerHTML = data.lrcAr;lrc.dataset.lrc = data.lrcAr.replace(/<br>/, '\n');lrc.style.setProperty('--motion', name);lrc.style.setProperty('--tt', time + 's');lrc.style.setProperty('--state', 'running');mKey += 1;mFlag = !mFlag;};};mkPlayer.HCPlayer = playCode;})(this);
let lrcAr = [
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
      ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
        ,
       
];
ypData = ;
        HCPlayer({
                lrcAr: lrcAr,
                ypData: ypData,
                lrc_css: '',
                player_css: '--ww: 100%; --hh: 200px; --color6:Crimson; --color2: Yellow; bottom: 1;',
                pinpu: {size: 4,gap: 2},
        });
})();
</script>

红影 发表于 2023-3-8 20:21

这歌真有趣,支持退货{:4_173:}

红影 发表于 2023-3-8 20:24

漂亮的频谱播放器,欣赏焱鑫磊好帖{:4_187:}

马黑黑 发表于 2023-3-8 20:36

不退货也行,提高关税{:5_117:}

焱鑫磊 发表于 2023-3-8 20:52

红影 发表于 2023-3-8 20:21
这歌真有趣,支持退货

退货搭上车费也得退。{:4_203:}

焱鑫磊 发表于 2023-3-8 20:53

红影 发表于 2023-3-8 20:24
漂亮的频谱播放器,欣赏焱鑫磊好帖

红影晚上好!{:4_204:}

焱鑫磊 发表于 2023-3-8 20:54

马黑黑 发表于 2023-3-8 20:36
不退货也行,提高关税

提高关税也不能呀,退货!!!{:4_176:}

亦是金 发表于 2023-3-8 20:57

理由充分,支持退货!{:4_196:}

马黑黑 发表于 2023-3-8 20:57

焱鑫磊 发表于 2023-3-8 20:54
提高关税也不能呀,退货!!!

{:5_117:}有钱不要

红影 发表于 2023-3-8 23:04

焱鑫磊 发表于 2023-3-8 20:52
退货搭上车费也得退。

退到天币去,让他再也回不来{:4_173:}

红影 发表于 2023-3-8 23:04

焱鑫磊 发表于 2023-3-8 20:53
红影晚上好!

问好焱鑫磊,晚上好{:4_187:}

焱鑫磊 发表于 2023-3-8 23:07

亦是金 发表于 2023-3-8 20:57
理由充分,支持退货!

退!不后悔!{:4_187:}

庶民 发表于 2023-3-9 04:42

惊喜不断, 好幸福啊!

焱鑫磊 发表于 2023-3-9 08:50

庶民 发表于 2023-3-9 04:42
惊喜不断, 好幸福啊!

问候庶民好!{:4_176:}
页: [1]
查看完整版本: 《这样的老公我要退货》晓晓 (吉特巴)