第一次做人(马黑黑原创)
本帖最后由 朵拉 于 2023-10-15 21:38 编辑 <br /><br /><style>#papa { margin: 0 0 0 calc(50% - 593px); width: 1024px; height: 640px; background: url('https://pic.imgdb.cn/item/652be76fc458853aef38b718.jpg') no-repeat center/cover; box-shadow: 4px 4px 8px black; overflow: hidden; display: grid; place-items: center; z-index: 1; position: relative; --state: running; }
#papa > svg { stroke-linecap: round; }
#btnPlay { filter: hue-rotate(300deg); }
</style>
<div id="papa">
<audio id="aud" src="https://music.163.com/song/media/outer/url?id=1398663352" autoplay loop></audio>
</div>
<script>
(function() {
let lrcAr = [ ,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
,
];
let js1 = 'https://638183.freep.cn/638183/web/api/svg_path_lrc.js',
js2 = 'https://638183.freep.cn/638183/web/lizi/h5lz_2d.js';
let loadJs = (url,callback) => {
let body = document.querySelector('body'), jsNode = document.createElement('script');
jsNode.charset = 'utf-8';
jsNode.setAttribute('src', url);
body.appendChild(jsNode);
jsNode.onload = () => callback();
};
loadJs(js1, () => {
HCPlayer({
papa: '#papa',
lrcAr: lrcAr,
lrc_css: 'top: 20px;',
fs_css: 'bottom: 10px; background: transparent;',
player_css: 'width: 200px; height: 240px; left: 2px; top: 2px; background: url("https://638183.freep.cn/638183/t23/btn/hshx.png") no-repeat 35px 35px',
path: 'm 91.318138,107.43137 c 3.172108,4.32435 -4.026526,6.59097 -6.894346,5.49617 -7.771643,-2.96695 -7.691325,-13.839754 -3.649946,-19.870538 7.229043,-10.787603 22.326764,-10.070545 31.227404,-2.113883 13.06194,11.676711 11.70597,32.845561 0.40552,45.237161 C 97.345174,152.69632 71.672306,150.5514 56.846371,134.91197 38.189429,115.23125 40.96347,82.804494 59.685216,64.30816 82.359759,41.906622 118.93205,45.553412 139.57863,68.958702 163.91001,96.541034 159.6834,140.38642 133.49544,164.92912 103.26037,193.26468 55.702374,188.09629 29.268942,156.8964 -0.76640611,121.44507 4.9243018,66.125211 38.596588,35.559306 76.371811,1.2689836 134.95138,7.9666849 167.15604,46.974286 202.90942,90.280114 195.74977,157.10056 154.584,193.67798',
btn: {left: 34, top: 200},
track: {track: '#bbbddc', prog: '#41221a'},
img: {play: '', pause: ''}
});
});
loadJs(js2, () => {
H5lz({
papa: '#papa',
total: 50,
size: {width: 4, height: 18},
shape: {background: '#eee', borderRadius: '50% 100%'},
ani: 'toBottom',
maxTime: 30,
offset: {x: 80, y: 0},
});
});
})();
</script>
本帖最后由 朵拉 于 2023-10-15 21:38 编辑
听歌感慨一会会~~{:6_253:}
@马黑黑
马师 晚上好,学生交作业,请指正哈~~{:4_190:} 虽然是套用的代码,这底图和歌曲都选得十分好呢。欣赏朵宝好帖{:4_187:} 朵拉 发表于 2023-10-15 21:39
@马黑黑
马师 晚上好,学生交作业,请指正哈~~
{:4_190:} 这歌名很有意思,难道还有人是多次做人么{:4_173:}
页:
[1]