|
|

楼主 |
发表于 2025-9-20 21:10
|
显示全部楼层
本帖最后由 马黑黑 于 2025-9-20 22:53 编辑
帖子代码
- <style>
- @import 'https://638183.freep.cn/638183/web/css/tz01.css';
- #pa { --offsetX: 81px; --bg: #ccc url('https://638183.freep.cn/638183/t24/6/fearless.jpg') no-repeat center/cover; }
- #ma { bottom: 60px; width: 8vw; height: 8vw; z-index: 10; }
- #progress { position: absolute; bottom: 10px; width: 12vw; height: 12vw; transform: translateX(50px); transition: .4s; }
- #prog, #track { fill: none; stroke: silver; stroke-width: 16; stroke-opacity: .5; stroke-linecap: round; stroke-linejoin: round; transition: .15s; cursor: pointer; }
- #prog { stroke-opacity: .8; }
- #btnFs { right: 20px; top: 20px; color: #333; border-color: currentColor!important; }
- </style>
- <div id="pa">
- <audio id="aud" src="https://music.163.com/song/media/outer/url?id=28263314" autoplay loop></audio>
- <video class="pd-vid" src="https://img.tukuppt.com/video_show/2405811/00/73/37/608ca8165fa3d.mp4" autoplay loop muted></video>
- <img id="ma" src="https://638183.freep.cn/638183/small/dcjm.webp" title="ALT+X" alt="" />
- <svg id="progress" class="grayscale" xmlns="http://www.w3.org/2000/svg" viewBox="-200 -200 400 400">
- <g id="g1"><title>调节进度</title></g>
- </svg>
- </div>
- <script type="module">
- import { FS } from 'https://638183.freep.cn/638183/web/js/pathprog.js';
- import Dr from 'https://638183.freep.cn/638183/web/mod/svgdr.mod.js?v=1.0';
- var dr = Dr.dr(progress);
- dr.path('M0 -190 Q360 -200,0 190').id('track').addTo('g1');
- dr.path('M0 -190 Q360 -200,0 190').id('prog').addTo('g1');
- FS(pa, ma);
- </script>
复制代码
|
评分
-
| 参与人数 2 | 威望 +80 |
金钱 +160 |
经验 +80 |
收起
理由
|
红影
| + 50 |
+ 100 |
+ 50 |
赞一个! |
花飞飞
| + 30 |
+ 60 |
+ 30 |
很给力! |
查看全部评分
|