红影 发表于 2024-2-19 13:11

【七九消寒】第五天 · 复

<style>
#papa {
      width: 640px;      
      min-height: 1120px;
      padding: 40px;
      box-sizing: border-box;
      border-radius: 12px;
      box-shadow: 0 0 8px #000;
      position: relative;
      margin: 60px auto 80px auto;
      top: 0px;
      display: grid; user-select: none;
      place-items: center;
      user-select: none;
}
#tit {
      position: absolute;
      left: 155px;
      top: 400px;
      font: bold 20px/26px 'FangSong',serif;
      color: Sienna;
}
#papa::before, #papa::after {
      position: absolute;
      content: '';
}
#papa::before {
      left: 10px;
      top: 10px;
      right: 10px;
      bottom: 10px;
      border: 2px dashed Brown;
      border-radius: inherit;
}
#papa::after {
      content: '七九消寒第五天 复 ';
      padding: 10px 40px 10px 10px;
      left: -10px;
      top: 20px;
      border-radius: 10px 0 0 10px;
      background: Sienna;
      opacity: .85;
      font: bold 16px/24px sans-serif;
      color: white;
      clip-path: polygon(0 0,100% 0,90% 50%, 100% 100%, 0 100%);
}
#pic {
      position: absolute;
      left: 70px;
      top: 90px;
      width: 500px;
      height: 260px;
}
.mpic { position: absolute; right: -10px; bottom: -10px; width: 300px; height: 183px; }
.mpic1 { position: absolute; width: 100%; height: 100%; left: 0px; top: 0px; opacity: .35;
      background: url('https://pic.imgdb.cn/item/647c033ef024cca17313a454.gif'); }
@keyframes swing { from { transform: rotate(3deg); } to { transform: rotate(-2deg); } }
</style>

<div id="papa">
       <div class="mpic1"></div>
       <img id="pic" src="https://pic.imgdb.cn/item/6599fc66871b83018ac50373.jpg" alt="">
       <img src="https://pic.imgdb.cn/item/6482db5b1ddac507ccaa9ddd.gif" alt="" class="mpic">
      <div id="tit">七九用联:屋后流泉复响盼绕南<br>
  2024-2-18文字:红影<br><br><br>
唧唧复唧唧 当户织不仅有木兰的<br>
感叹 还有烈日下辛勤劳动者的热汗<br><br>
趁着天黑前 加把劲再加上几块楼板<br>
赶工期的命令像鞭子般在后追赶<br>
竣工的建筑美轮美奂 却没有方寸<br>
和建设者相关 只能回头 遥遥观看<br><br>
饿着肚子 也要全部送完手上订单<br>
电动车的箱子里满满的热菜热饭<br>
是送往工地的加餐却没有一口<br>
能让快递员解馋 转身重归人海间<br><br>
这个世界 人人为我 我为人人<br>
为人作嫁 也享受奉献 各自圆满<br><br>

</div><br>

<audio id="aud" src="https://music.163.com/song/media/outer/url?id=1951503375.mp3" loop="" autoplay=""></audio>
<script >
(function() {
      (function(mkPlayer) {let defaults = {lrcAr: [],lrc_css: 'top: 10px; left: 50%; transform: translateX(-50%);',player_css: 'bottom: 20px; left: 50%; transform: translateX(-50%);',playerCode: `<style>#mplayer {position: absolute;display: grid;grid-template-areas: 'cur btnplay dur''prog prog prog';gap: 8px 2px;place-items: end center;color: var(--color);font: normal 16px sans-serif;z-index: 999;--ww: 240px;--color: SaddleBrown;--track: hsla(90,100%,95%,.65);--prog: linear-gradient(90deg,hsla(90,30%,50%,.55),hsla(0,100%,50%,.75),hsla(180,100%,50%,.65));}#cur { grid-area: cur; color: var(--color); }#dur { grid-area: dur; color: var(--color); }#btnplay {--dis1: block;--dis2: none;grid-area: btnplay;width: 35px;height: 35px;border: 3px solid var(--color);border-radius: 50%;opacity: .95;cursor: pointer;transition: .3s;position: relative;}#btnplay:hover { opacity: 1; box-shadow: 0 0 5px var(--color), inset 0 0 5px var(--color); }#btnplay::before, #btnplay::after {position: absolute;content: '';width: 100%;height: 100%;background: var(--color);}#btnplay::before { display: var(--dis1); clip-path: polygon(35% 30%, 75% 50%, 35% 70%); }#btnplay::after {display: var(--dis2);clip-path: polygon(35% 30%, 45% 30%, 45% 70%, 35% 70%, 55% 70%, 65% 70%, 65% 30%, 55% 30%, 55% 70%, 35% 70%);}#prog {--xx: 0px;grid-area: prog;width: var(--ww);height: 4px;background: var(--track);position: relative;display: grid;place-items: center;}#prog::before, #prog::after { position: absolute; content: ''; }#prog::before {left: 0;width: var(--xx);height: 100%;border-radius: 6px;background: var(--prog);}#prog::after {left: calc(var(--xx) - 12px);opacity: .85;width: 16px;height: 16px;background: radial-gradient(transparent 2px, teal 0, black);border-radius: 50%;cursor: pointer;}#lrc {--motion: cover2;--tt: 2s;--state: paused;--bg: linear-gradient(180deg, hsla(90, 50%, 50%, .45), hsla(0, 100%, 50%, .75));position: absolute;font: bold 1.0em serif;color: rgba(160,82,45, .95);white-space: pre;-webkit-background-clip: text; z-index: 1000;}#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="lrc" data-lrc=" "> </div><div id="mplayer"><span id="btnplay"></span><span id="prog"></span><span id="cur">00:00</span><span id="dur">00:00</span></div>`,};let playCode = (user_config) => {let data = Object.assign({}, defaults, user_config);papa.innerHTML += data.playerCode;mplayer.style.cssText += data.player_css;lrc.style.cssText += data.lrc_css;let mKey = 0, mFlag = true, mDrag = false;btnplay.onclick = () => aud.paused ? aud.play() : aud.pause();aud.addEventListener('timeupdate', () => {cur.innerText = toMin(aud.currentTime);dur.innerText = toMin(aud.duration);if(mDrag===false) prog.style.setProperty('--xx', aud.currentTime * prog.offsetWidth / aud.duration + 'px');for (j = 0; j < data.lrcAr.length; j++) {if (aud.currentTime >= data.lrcAr) {cKey = j;if (mKey === j) showLrc(data.lrcAr);else continue;}}});aud.addEventListener('pause', () => mState());aud.addEventListener('play', () => mState());aud.addEventListener('seeked', () => calcKey());prog.onmousedown = (e) => mDrag = true;prog.onmousemove = (e) => { if(mDrag) prog.style.setProperty('--xx',e.offsetX + 'px'); };prog.onmouseup = (e) => {aud.currentTime = aud.duration * e.offsetX / prog.offsetWidth;mDrag = false;};let mState = () => aud.paused ? (lrc.style.setProperty('--state','paused'),btnplay.style.setProperty('--dis1','block'), btnplay.style.setProperty('--dis2','none')): (lrc.style.setProperty('--state','running'),btnplay.style.setProperty('--dis1','none'), btnplay.style.setProperty('--dis2','block'));let showLrc = (time) => {let name = mFlag ? 'cover1' : 'cover2';lrc.innerHTML = lrcAr;lrc.dataset.lrc = lrcAr.replace(/<br>/, '\n');lrc.style.setProperty('--motion', name);lrc.style.setProperty('--tt', time + 's');lrc.style.setProperty('--state', 'running');mKey += 1;mFlag = !mFlag;};let calcKey = () => {for (j = 0; j < data.lrcAr.length; j++) {if (aud.currentTime <= data.lrcAr) {mKey = j - 1;break;}}if (mKey < 0) mKey = 0;if (mKey > data.lrcAr.length - 1) mKey = data.lrcAr.length - 1;let time = data.lrcAr - (aud.currentTime - data.lrcAr);showLrc(time);};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;}};mkPlayer.HCPlayer = playCode;})(this);
      let lrcAr = [
                ,
      ];
      HCPlayer({
                lrcAr: lrcAr,
                lrc_css: 'left: calc(50% - 112px); bottom: 64px; --bg: rgba(160,82,45, .95);',
                player_css: 'left: 170px; bottom: 100px;--track: hsla(0,0%,80%,.95); --prog: linear-gradient(90deg,hsla(120,100%,50%,.55),hsla(0,100%,50%,.55),hsla(120,100%,50%,.65));',
      });
})();
</script>

红影 发表于 2024-2-19 13:12

凑着补上昨天的,还有今天的没写呢{:4_173:}

梦油 发表于 2024-2-19 16:46

用“唧唧复唧唧”这个视角来诠释这个“复”字很有新意。影子朋友的思维见微知著,赞!

樵歌 发表于 2024-2-19 17:06

正是这平凡的劳动者们一日按一日的重复劳动,才支撑起这个社会运转。

樵歌 发表于 2024-2-19 17:08

以前一个民谣池得一句,盖房的住草草房,,,,

红影 发表于 2024-2-19 20:30

梦油 发表于 2024-2-19 16:46
用“唧唧复唧唧”这个视角来诠释这个“复”字很有新意。影子朋友的思维见微知著,赞!

看到这个字,就先想到了这句,就顺着凑了{:4_173:}

红影 发表于 2024-2-19 20:31

樵歌 发表于 2024-2-19 17:06
正是这平凡的劳动者们一日按一日的重复劳动,才支撑起这个社会运转。

是啊,彼此付出彼此得益,才支撑起这个社会呢{:4_187:}

红影 发表于 2024-2-19 20:34

樵歌 发表于 2024-2-19 17:08
以前一个民谣池得一句,盖房的住草草房,,,,

师兄慧眼,我差点顺着这思路写下去呢,后来想想还是转正能量吧,才转了的。
转后举的例子就2个,就很单薄了。真没想到师兄能看出我原来的想法{:4_173:}

小辣椒 发表于 2024-2-19 21:46

打开帖就听到美妙的歌声,然后看看文字,亲爱的,你好厉害,大才女{:4_199:}

红影 发表于 2024-2-19 23:32

小辣椒 发表于 2024-2-19 21:46
打开帖就听到美妙的歌声,然后看看文字,亲爱的,你好厉害,大才女

哪里啊,我本来就不会现代诗,完全是跟着凑数呢{:4_173:}

庶民 发表于 2024-2-20 09:34

情思飞扬。

梦油 发表于 2024-2-20 14:23

红影 发表于 2024-2-19 20:30
看到这个字,就先想到了这句,就顺着凑了

很有新意。

红影 发表于 2024-2-20 14:29

庶民 发表于 2024-2-20 09:34
情思飞扬。

感谢庶民临帖,问好{:4_187:}

红影 发表于 2024-2-20 14:30

梦油 发表于 2024-2-20 14:23
很有新意。

谢谢梦油鼓励,加入了点现代因素{:4_173:}

梦油 发表于 2024-2-20 16:49

红影 发表于 2024-2-20 14:30
谢谢梦油鼓励,加入了点现代因素

你真有才。

红影 发表于 2024-2-20 19:20

梦油 发表于 2024-2-20 16:49
你真有才。

什么才啊,柴还差不多,我不是现代,是被逼上梁山的{:4_170:}

樵歌 发表于 2024-2-20 21:02

红影 发表于 2024-2-19 20:31
是啊,彼此付出彼此得益,才支撑起这个社会呢

是呵,社会发展哪能离开劳人民。

樵歌 发表于 2024-2-20 21:04

红影 发表于 2024-2-19 20:34
师兄慧眼,我差点顺着这思路写下去呢,后来想想还是转正能量吧,才转了的。
转后举的例子就2个,就很单 ...

咱一个师门的嘛{:4_173:}

红影 发表于 2024-2-20 23:18

樵歌 发表于 2024-2-20 21:02
是呵,社会发展哪能离开劳人民。

靠资本运作就是空对空,这个社会还是靠劳动者的创造才行。

红影 发表于 2024-2-20 23:19

樵歌 发表于 2024-2-20 21:04
咱一个师门的嘛

是啊,太心有灵犀了{:4_189:}
页: [1] 2
查看完整版本: 【七九消寒】第五天 · 复