四季歌 发表于 6 天前

慈祥的母亲

<div align="center">
<section style="width:580px;">
<section style="border-right: 5px solid #0c6e0c;border-bottom: 5px solid #0c6e0c; border-top: 0.5px solid #0c6e0c;border-left: 0.5px solid #0c6e0c; " class="">
<section style="padding:30px 0px 10px;">
<section style="background-color:#ffffff;display:inline-block;color:#fff;padding:2px 10px;">
<p></p></section><section style="padding:10px 15px 15px;">
<section style="display: flex; margin: 20px 0 0 0 ;" class="">
</section>
<section data-autoskip="1" class="135brush" style="padding: 10px 20px 20px; background-color: rgb(255, 255, 255); text-align: justify; line-height: 1.75em;">
<section class="_135editor" data-tools="" data-id="103101" style="">
<section style="margin: 10px auto; text-align: center;">
<section style="color: rgb(12, 110, 12); font-size: 14px; letter-spacing: 1.5px; display: flex; justify-content: center; align-items: center; flex-direction: column;" class="">
<section style="border: 1px solid #0c6e0c;border-radius: 100%;" class=""><img src="https://pic.rmb.bdstatic.com/bjh/down/1d711b7b4b1194e4c2b15dcaebd3d286.jpeg@wm_2,t_55m+5a625Y+3L+S4ieWNgeaVheS6iw==,fc_ffffff,ff_U2ltSGVp,sz_16,x_10,y_10" width="500" _height="327" border="0"></section></section>
<section style="display: inline-block; margin-top: 7px;" class=""><section style="display: flex; margin: 20px 0px 0px;" class=""><font color="#0c6e0c"><span style="letter-spacing: 1.5px;"><font size="5"><b>慈祥的母亲</b></font></span></font><br></section>
<section style="color: rgb(12, 110, 12); font-size: 14px; letter-spacing: 1.5px; box-sizing: border-box; width: 100%; height: 1px; background: rgb(12, 110, 12); margin-top: 5px;" data-width="100%" class=""></section>
<section style="color: rgb(12, 110, 12); font-size: 14px; letter-spacing: 1.5px; display: flex; justify-content: center; align-items: center;" class="">
<section style="box-sizing:border-box;width: 20%;height: 4px;background: #0c6e0c;margin-top: -2px;" data-width="20%" class=""></section>
</section>
<section class="135brush" data-brushtype="text" style="color: rgb(12, 110, 12); font-size: 14px; letter-spacing: 1.5px; margin-top: 5px;">
<span style="font-size: 14px; font-family: 微软雅黑, Microsoft YaHei, Arial, sans-serif; font-weight: 400; font-style: normal; color: #0c6e0c; text-decoration: none solid #0c6e0c;">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 依米爷爷(唱)</span><span style="letter-spacing: 2.4px; font-family: 微软雅黑; text-align: left;"></span></section><section class="135brush" data-brushtype="text" style="color: rgb(12, 110, 12); font-size: 14px; letter-spacing: 1.5px; margin-top: 5px;"><img class="assistant" src="http://p1.music.126.net/u8vkOV9M4kLYTbKiX6uI7w==/109951170737839464.gif" data-ratio="0.5876288659793815" data-w="97" data-width="100%" style="color: rgb(255, 255, 255); font-size: 13px; text-align: right; box-sizing: border-box; width: 104px; display: block;"><span style="letter-spacing: 2.4px; font-family: 微软雅黑; text-align: left;"><div style="text-align: left;"><span style="font-weight: 700; color: rgb(0, 100, 0); font-family: Tahoma, Helvetica, SimSun, sans-serif; letter-spacing: normal; text-align: -webkit-center; background-color: rgb(198, 255, 232);"><div>慈祥的母亲</div><div>作詞 : 張東輝</div><div>作曲 : 美郎多吉</div><div>噢 慈祥的母親 是美人中的美人</div><div>噢 像那百度母一樣心地善良</div><div>她背水走過的小路 柳樹輕輕搖晃噢</div><div>她擠奶走出羊圈 格桑花圍著她盡情開放</div><div>啊 慈祥的母親</div><div>啊 媽媽 慈祥的母親</div><div>我是你用生命 生命寫下的歷史</div><div>噢 慈祥的母親 是兒女們的太陽</div><div>噢 為了我們燃盡青春之光</div><div>她頭頂堆滿白雪 腰彎成一道山梁</div><div>她每天搖著經筒 一心為兒女們祈祷</div></span></div><div style="text-align: left;"><span style="letter-spacing: 2.4px;"><br></span></div><div style="text-align: center;"><span style="letter-spacing: 2.4px;"><style>
#mplayer {
        --path: polygon(5% 0, 5% 100%, 100% 50%);
        --prg: 0%;
        margin-inline: auto;
        margin-top: 100px;
        width: 300px;
        height: 160px;
        border-radius: 5px;
        background: linear-gradient(to right bottom, olive,teal);
        box-shadow: 0 0 4px 0 gray;
        color: cyan;
        position: relative;
        display: grid;
        place-items: center;
}

#mplayer::before, #mplayer::after {
        position: absolute;
        top: 0px;
}

#mplayer::before {}

#mplayer::after {
        content: '慈祥的母亲-依米爷爷演唱';
        width: 100%;
        height: 40px;
        line-height: 40px;
        border-radius: 5px 5px 0 0;
        background: radial-gradient(5px circle at 15px, snow, snow 4px, transparent 5px) no-repeat;
        padding-left: 25px;
        box-sizing: border-box;
}

#mbtn, #mprog, #mMsg {
        position: absolute;
        cursor: pointer;
}

#mbtn {
        left: 10px;
        bottom: 10px;
        width: 30px;
        height: 30px;
        border-radius: 50%;
        border: 2px solid cyan;
        cursor: pointer;
        display: grid;
        place-items: center;
}

#mbtn:after {
        position: absolute;
        content: '';
        width: 50%;
        height: 50%;
        background: cyan;
        clip-path: var(--path);
}

#mprog {
        width: calc(100% - 155px);
        height: 30px;
        right: 100px;
        bottom: 10px;
        background: linear-gradient(to right, cyan var(--prg), silver var(--prg), silver 0) no-repeat 0 50% / 100% 2px;
}

#mMsg {
        right: 10px;
        bottom: 5px;
        height: 40px;
        line-height: 40px;
        font-size: 14px;
}
.pp {
        position: absolute;
        width: 1px;
        min-height: 2px;
        transform-origin: 0 50%;
        transition: height .16s linear;
        display: grid;
        place-items: start center;
}
</style>

<audio id="aud" src="https://pan.suyanw.cn/view.php/e6cf29bd761d8c6651ea98b63ca499a0.mp3" autoplay loop></audio>
<div id="mplayer">
        <span id="mbtn"></span>
        <span id="mprog"></span>
        <span id="mMsg">00:00/00:00</span>
</div>

<script>
const tt = Math.floor(mplayer.clientWidth / 4 - 5);
let pps = [];
Array(tt).fill('').forEach((_,k) => {
        let sp = document.createElement('span');
        sp.className = 'pp';
        sp.style.cssText += `
                left: ${10 + 4 * k}px;
                background: linear-gradient(to bottom, snow, cyan, snow);
        `;
        pps.push(sp);
        mplayer.prepend(sp);
});

(function update() {
                let output = [...new Array(tt).keys()].map((v,k) => Math.floor(Math.random() * (aud.paused ? 0 : 80 - Math.random() * 160)));
                for(let j = 0; j < tt ; j++) {
                        pps.style.height = output + 'px';
                }
                window.requestAnimationFrame(update);
        })();

mbtn.onclick = () => aud.paused ? aud.play() : aud.pause();

mprog.onclick = (e) => aud.currentTime = aud.duration * e.offsetX / mprog.offsetWidth;
mprog.onmousemove = (e) => mprog.title = s2m(aud.duration * e.offsetX / mprog.offsetWidth);

aud.onplaying = aud.onpause = () => mState();

aud.ontimeupdate = () => {
        mplayer.style.setProperty('--prg', aud.currentTime / aud.duration * 100 + '%');
        mMsg.innerText = s2m(aud.currentTime) + '/' + s2m(aud.duration);
};

const mState = () => {
        const path1 = 'polygon(5% 0, 5% 100%, 100% 50%)';
        const path2 = 'polygon(40% 0, 0 0, 0 100%, 40% 100%, 40% 0, 60% 0, 60% 100%, 100% 100%, 100% 0)';
        if(aud.paused) {
                mplayer.style.setProperty('--path', path1);
        }else{
                mplayer.style.setProperty('--path', path2);
        }
};

const s2m = (seconds) => {
        if (!seconds) return '00:00';
        let min = parseInt(seconds / 60), sec = parseFloat(Math.floor(seconds) % 60);
        if(min < 10) min = '0' + min;
        if(sec < 10) sec = '0' + sec;
        return min + ':' + sec;
};
</script>




</span></div></span></section></section></section></section></section></section><section style="text-center: center;margin-top:0em ;transform: rotate(0deg);"><p style="margin-right:40px; margin-left: 40px;letter-spacing: 1.3px; line-height: 1.3em; text-align:center;font-size: 18px;color:        #FF8F59"><img class="assistant" src="http://p1.music.126.net/u8vkOV9M4kLYTbKiX6uI7w==/109951170737839464.gif" data-ratio="0.5876288659793815" data-w="97" data-width="100%" style="color: rgb(255, 255, 255); font-size: 13px; letter-spacing: 1.5px; text-align: right; box-sizing: border-box; width: 104px; display: block;"></p><section style="text-center: center;margin-top:0em ;transform: rotate(0deg);"><div align="center"><p></p><div align="center"><div align="center" style="position: relative"><br>
</div></div></div></section></section></section></section></section></div>
页: [1]
查看完整版本: 慈祥的母亲