|
|

楼主 |
发表于 2025-9-28 12:48
|
显示全部楼层
帖子代码
- <style>
- @import 'https://638183.freep.cn/638183/web/css/tz03.css';
- #pa { --offsetX: 81px; --bg: #ccc url('https://638183.freep.cn/638183/t24/w6/village.webp') no-repeat center/cover; }
- #progress { position: absolute; width: 12vw; height: 12vw; bottom: 30px; transition: .4s; }
- #prog, #track { fill: none; stroke: url(#grd); stroke-width: 16; stroke-opacity: .7; stroke-linecap: round; stroke-linejoin: round; transition: .15s; cursor: pointer; }
- #prog { stroke: yellow; }
- #g1 { transform-box: fill-box; transform-origin: center; cursor: pointer; fill: url(#grd); animation: rotate 8s linear infinite var(--state); }
- #btnFs { left: 20px; bottom: 20px; color: white; border-color: currentColor!important; }
- #mList { right: 20px; bottom: 10px; color: yellow; }
- #mList > p:hover { color: orange; }
- .hLight { color: cyan; }
- </style>
- <div id="pa">
- <audio id="aud" src="https://music.163.com/song/media/outer/url?id=25896403" autoplay loop></audio>
- <video class="pd-vid" src="https://img.tukuppt.com/video_show/2269348/00/14/15/5e1c06f9cddd1.mp4" autoplay loop muted></video>
- <svg id="progress" xmlns="http://www.w3.org/2000/svg" viewBox="-200 -200 400 400">
- <defs>
- <radialGradient id="grd">
- <stop offset="0%" stop-color="transparent"></stop>
- <stop offset="50%" stop-color="yellow"></stop>
- <stop offset="100" stop-color="seagreen"></stop>
- </radialGradient>
- </defs>
- <g id="g1" class="brightness"><title>ALT+X</title></g>
- <g id="g2"><title>调节进度</title></g>
- </svg>
- </div>
- <script type="module">
- import { FS } from 'https://638183.freep.cn/638183/web/js/pathprog_mulplayer.js';
- import Dr from 'https://638183.freep.cn/638183/web/mod/svgdr.mod.js?v=1.1';
- var dr = Dr.dr(progress);
- dr.path('M0 0 C200 -200,-160 -200,0 0Z').addTo('g1').rotates(5);
- dr.path('M-180 0 L-180 180 L180 180 L180 0').id('track').addTo('g2');
- dr.path('M-180 0 L-180 180 L180 180 L180 0').id('prog').addTo('g2');
- var musics = [
- ['https://music.163.com/song/media/outer/url?id=2743214030', '美梦必须成真'],
- ['https://music.163.com/song/media/outer/url?id=2743214872', '无忧梦呓'],
- ['https://music.163.com/song/media/outer/url?id=2743214873', '玩乐时间'],
- ['https://music.163.com/song/media/outer/url?id=1809242235', 'Whoopty'],
- ['https://music.163.com/song/media/outer/url?id=1996633106', 'All Designer(Extended Mix)'],
- ['https://music.163.com/song/media/outer/url?id=1842561393', 'Today'],
- ['https://music.163.com/song/media/outer/url?id=1955571906', 'Italia e voi(Reset)'],
- ['https://music.163.com/song/media/outer/url?id=2072363205', 'Club City'],
- ['https://music.163.com/song/media/outer/url?id=1485858993', '秋绪'],
- ['https://music.163.com/song/media/outer/url?id=1436614177', '春弦'],
- ['https://music.163.com/song/media/outer/url?id=421832', '雪花月'],
- ['https://music.163.com/song/media/outer/url?id=1890402858', 'Radiant'],
- ['https://music.163.com/song/media/outer/url?id=1953863738', 'Ständchen'],
- ['https://music.163.com/song/media/outer/url?id=1955672092', '行文之韵'],
- ['https://music.163.com/song/media/outer/url?id=2098534321', '宋词之外'],
- ['https://music.163.com/song/media/outer/url?id=1478093846', '十年人间'],
- ];
- FS(pa, g1, musics);
- </script>
复制代码
|
评分
-
| 参与人数 1 | 威望 +50 |
金钱 +100 |
经验 +50 |
收起
理由
|
红影
| + 50 |
+ 100 |
+ 50 |
赞一个! |
查看全部评分
|