楼主: 花简静

花简静贴子代码及说明汇总(翻页有新贴)

[复制链接]
随遇而安
少年歌行 守望千山 两周年庆 巳巳如意 一叶知秋 版主勋章 山高为峰 山外有山 樱果相依 闲花落
 楼主| 发表于 2025-9-28 11:28 | 显示全部楼层
本帖最后由 花简静 于 2025-9-28 14:04 编辑

ALT+X 调节进度
点评
回复

使用道具

随遇而安
少年歌行 守望千山 两周年庆 巳巳如意 一叶知秋 版主勋章 山高为峰 山外有山 樱果相依 闲花落
 楼主| 发表于 2025-9-28 11:28 | 显示全部楼层
本帖最后由 花简静 于 2025-10-14 21:45 编辑
  1. <style>
  2.         @import 'https://638183.freep.cn/638183/web/css/tz01.css';
  3.         #pa { --offsetX: 0px; margin: 150px 0; left: calc(50% - 101px);width: clamp(600px, 90vw, 1700px); height: auto; aspect-ratio: 17/12;--bg: #ccc url('https://642303.freep.cn/642303/tu/20250928zqgq.webp') no-repeat center/cover; }
  4.         #progress { position: absolute; top:36%;right:20%;width: 6vw; height: 6vw; transition: .4s; }
  5.         #prog, #track { fill: none; stroke: url(#lGrd); stroke-width: 16; stroke-opacity: .7; stroke-linecap: round; stroke-linejoin: round; transition: .15s; cursor: pointer; }
  6.         #prog { stroke: lightblue; stroke-opacity: .4; }
  7.         #g1 { transform-box: fill-box; transform-origin: center; cursor: pointer; fill: url(#grd); animation: rotate 8s linear infinite var(--state); }
  8.         #btnFs { bottom: 20px; color:         IndianRed; border-color: currentColor!important; }
  9.         .qk-vid { position: absolute; mix-blend-mode: screen;opacity: .55;width:110%; height:110%;left:00%;bottom:-20%;   -webkit-mask: radial-gradient(circle, transparent, transparent,transparent,transparent,transparent,silver, silver,silver,lightgreen, transparent, transparent, transparent, transparent);pointer-events: none; }
  10. </style>

  11. <div id="pa">
  12.         <audio id="aud" src="https://music.163.com/song/media/outer/url?id=2051493350" autoplay loop></audio>
  13.         <video class="qk-vid" src="https://bpic.588ku.com/video_listen/588ku_video/22/11/04/02/57/11/video63640f077eb9c.mp4" autoplay loop muted></video>
  14.         <svg id="progress" class="hue-rotate" xmlns="http://www.w3.org/2000/svg" viewBox="-200 -200 400 400">
  15.                 <defs>
  16.                         <linearGradient id="lGrd" gradientTransform="rotate(30)">
  17.                                 <stop offset="5%" stop-color="gold" />
  18.                                 <stop offset="95%" stop-color="red" />
  19.                         </linearGradient>
  20.                 </defs>
  21.                 <g id="g1" class="brightness"><title>ALT+X</title></g>
  22.                 <g id="g2"><title>调节进度</title></g>
  23.         </svg>
  24. </div>

  25. <script type="module">
  26.         import { FS } from 'https://638183.freep.cn/638183/web/js/pathprog.js';
  27.         import Dr from 'https://638183.freep.cn/638183/web/mod/svgdr.mod.js?v=1.0';

  28.         var dr = Dr.dr(progress);
  29.         dr.ellipse(0, 0, 140, 70,'transparent','url(#lGrd)',10).addTo(g1).rotates(5,180);
  30.         dr.circle(0,0,180).id('track').addTo(g2);
  31.         dr.circle(0,0,180).id('prog').addTo(g2);

  32.         FS(pa, g1);
  33. </script>
复制代码
点评
回复

使用道具

随遇而安
少年歌行 守望千山 两周年庆 巳巳如意 一叶知秋 版主勋章 山高为峰 山外有山 樱果相依 闲花落
 楼主| 发表于 2025-9-28 11:28 | 显示全部楼层
点评
回复

使用道具

随遇而安
少年歌行 守望千山 两周年庆 巳巳如意 一叶知秋 版主勋章 山高为峰 山外有山 樱果相依 闲花落
 楼主| 发表于 2025-10-10 23:22 | 显示全部楼层
点评
回复

使用道具

随遇而安
少年歌行 守望千山 两周年庆 巳巳如意 一叶知秋 版主勋章 山高为峰 山外有山 樱果相依 闲花落
 楼主| 发表于 2025-10-10 23:22 | 显示全部楼层
点评
回复

使用道具

随遇而安
少年歌行 守望千山 两周年庆 巳巳如意 一叶知秋 版主勋章 山高为峰 山外有山 樱果相依 闲花落
 楼主| 发表于 2025-10-10 23:22 | 显示全部楼层
点评
回复

使用道具

随遇而安
少年歌行 守望千山 两周年庆 巳巳如意 一叶知秋 版主勋章 山高为峰 山外有山 樱果相依 闲花落
 楼主| 发表于 2025-10-10 23:22 | 显示全部楼层
点评
回复

使用道具

随遇而安
少年歌行 守望千山 两周年庆 巳巳如意 一叶知秋 版主勋章 山高为峰 山外有山 樱果相依 闲花落
 楼主| 发表于 2025-10-10 23:22 | 显示全部楼层
点评
回复

使用道具

随遇而安
少年歌行 守望千山 两周年庆 巳巳如意 一叶知秋 版主勋章 山高为峰 山外有山 樱果相依 闲花落
 楼主| 发表于 2025-10-10 23:22 | 显示全部楼层
点评
回复

使用道具

随遇而安
少年歌行 守望千山 两周年庆 巳巳如意 一叶知秋 版主勋章 山高为峰 山外有山 樱果相依 闲花落
 楼主| 发表于 2025-10-10 23:23 | 显示全部楼层
点评
回复

使用道具

您需要登录后才可以回帖 登录 | 中文注册

本版积分规则

手机版|千山论坛 ( 冀ICP备2024055714号 )

GMT+8, 2026-1-31 17:14

Powered by Discuz! X3.5

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表