本帖最后由 马黑黑 于 2025-8-30 12:11 编辑
<style>
@import 'https://638183.freep.cn/638183/web/css/tz01.css';
#pa { aspect-ratio: 3/2; z-index: 1000; --bg: url('https://638183.freep.cn/638183/t24/w5/still.webp') no-repeat center/cover; --ma-size: 20%; --offsetX: 81px; }
#btnFs { right: 30px; top: 30px; color: #eee; }
</style>
<div id="pa">
<audio id="aud" src="https://music.163.com/song/media/outer/url?id=30375354" autoplay loop></audio>
<video class="pd-vid" src="https://img.tukuppt.com/video_show/15653652/00/30/01/5fa35f70c94d7.mp4" autoplay loop muted></video>
<div id="ma" class="sepia"><svg id="msvg" width="100%" height="100%" viewBox="-200 -200 400 400"></svg></div>
</div>
<script type="module">
import { FS } from 'https://638183.freep.cn/638183/web/js/fullscreen.js';
import Dr from 'https://638183.freep.cn/638183/web/mod/svgdr.js';
var dr = Dr.dr(msvg);
var d = 'M0 0 L-40 -190 Q0 -20,40 -190 L0 0';
var tt = 5;
Array.from({length: tt}).forEach((_,k) => dr.path(d, 'snow', 'beige', 4).transform(`rotate(${360/tt*k})`));
dr.circle(0, 0, 100, 'none', 'snow', 20).style('opacity: 0.6;');
FS(pa, ma);
</script>
|