|
|

楼主 |
发表于 2025-11-30 07:48
|
显示全部楼层
帖子代码
- <style>
- @import 'https://638183.freep.cn/638183/web/tz/tz.v3.css';
- .pa { --offsetX: 81px; --bg: url('https://638183.freep.cn/638183/t24/w7/cilaos.webp') no-repeat center/cover; }
- .petal { width: 100%; height: 100%; top: -50%; background: url('https://638183.freep.cn/638183/small/flower.gif') no-repeat center/contain; transform-origin: 50% 100%; }
- .petal::after { content: ''; position: absolute; width: 100%; height: 100%; top: 100%; background: inherit; transform: scale(1, -1); }
- </style>
- <div id="pa" class="pa"></div>
- <script type="module">
- import TZ from 'https://638183.freep.cn/638183/web/tz/tz.v3.js';
- const tz = TZ.TZ('pa');
- tz.add('audio', '', '', {src: 'https://music.163.com/song/media/outer/url?id=402073046'});
- tz.add('video', '', 'pd-vid', {src: 'https://img.tukuppt.com/video_show/2629112/00/01/93/5b4e8b08c6531.mp4'});
- tz.add('div', 'player', 'wrap100 rot-ani', {style: 'bottom: 100px; cursor: pointer'}).playmp3();
- tz.lzRot(3, 'player', {tag: 'div', className: 'petal', angle: 180});
- tz.bgprog().style('bottom: 30px; color: lemonchiffon');
- tz.fs().style('right: 20px; bottom: 20px');
- </script>
复制代码
|
|