我没有看过黑黑老师这个教程,欣赏枫丹老师精彩的制作
欢迎下辣椒!我自己不会写播放器代码,来到这里都是套用的马老师的代码,感谢您的支持,晚上好!{:4_204:}
感谢霜染枫丹老师的好制作{:4_178:} 冬天的雨 发表于 2025-12-9 11:11
感谢霜染枫丹老师的好制作
欢迎冬天的雨,感谢您的支持,上午好~~{:4_204:}
霜染枫丹 发表于 2025-12-8 14:09
轻舟下午好!我一般用即梦平台,图片风格不一样我也不太清楚原因,不过平台能力是有差别的。
可能是了,我就在百度里试过,没一个看得上眼的 霜染枫丹 发表于 2025-12-7 19:59
本帖最后由 霜染枫丹 于 2025-12-13 03:06 编辑
<style>
@import 'https://638183.freep.cn/638183/web/tz/tz.v3.css';
.pa { --offsetX: 81px; background: url('https://ff.xiaoqiaodali.top:5401/i/2025/12/13/693cddd426aef.png') no-repeat center/cover; }
.son { width: 75px; height: 160px; background: url('https://cccimg.com/view.php/6fc31f95ae1443613717c105916e9434.gif') no-repeat 50% 0/50% 50%; }
</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://cccimg.com/view.php/d5999df604e3d30f5bfc06beba8ec3d0.mp3'});
tz.add('video', '', 'pd-vid', {src: 'https://cccimg.com/view.php/25b9a93636a25f9eec7d2e26fef7096e.mp4'});
tz.add('div', 'player', 'wrap100 hue-rotate rotate-ani', {style: 'cursor: pointer'}).playmp3();
tz.lzRot(6, 'player', {className: 'son'});
tz.fs().style('right: 20px; bottom: 20px');
</script>
页:
1
[2]