注册时间2020-1-12
在线时间 小时
- 最后登录
- 1970-1-1
|

楼主 |
发表于 2022-4-25 22:30
|
显示全部楼层
本帖最后由 夕阳黄昏 于 2022-4-25 22:32 编辑
不是有意隐藏,svg代码中的图片链接会被论坛过滤掉,这样写则不会。画面部分代码
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" viewBox="0 0 1000 600">
- <g transform="rotate(-90)">
- <image xlink:href="https://s1.ax1x.com/2022/03/27/qwHcWQ.jpg" width="600" height="9078" opacity="0" x="-600" y="0" preserveAspectRatio="none">
- <set attributeName="opacity" to="1" begin="p0.begin"></set>
- <animate id="p0" attributeName="y" from="0" to="-9078" begin="0; p7.end" dur="90.78" fill="freeze"></animate>
- <set attributeName="opacity" to="0" begin="p0.begin+90.78"></set>
- </image>
- <image xlink:href="https://s1.ax1x.com/2022/03/27/qwHgzj.jpg" width="600" height="10955" opacity="0" x="-600" y="1000" preserveAspectRatio="none">
- <set attributeName="opacity" to="1" begin="p1.begin"></set>
- <animate id="p1" attributeName="y" from="1000" to="-10955" begin="p0.end-10" dur="119.55" fill="freeze"></animate>
- <set attributeName="opacity" to="0" begin="p1.begin+119.55"></set>
- </image>
- <image xlink:href="https://s1.ax1x.com/2022/03/27/qwH6Jg.jpg" width="600" height="7400" opacity="0" x="-600" y="1000" preserveAspectRatio="none">
- <set attributeName="opacity" to="1" begin="p2.begin"></set>
- <animate id="p2" attributeName="y" from="1000" to="-7400" begin="p1.end-10" dur="84" fill="freeze"></animate>
- <set attributeName="opacity" to="0" begin="p2.begin+84"></set>
- </image>
- <image xlink:href="https://s1.ax1x.com/2022/03/27/qwHyFS.jpg" width="600" height="7400" opacity="0" x="-600" y="1000" preserveAspectRatio="none">
- <set attributeName="opacity" to="1" begin="p3.begin"></set>
- <animate id="p3" attributeName="y" from="1000" to="-7400" begin="p2.end-10" dur="84" fill="freeze"></animate>
- <set attributeName="opacity" to="0" begin="p3.begin+84"></set>
- </image>
- <image xlink:href="https://s1.ax1x.com/2022/03/27/qwHro8.jpg" width="600" height="8768" opacity="0" x="-600" y="1000" preserveAspectRatio="none">
- <set attributeName="opacity" to="1" begin="p4.begin"></set>
- <animate id="p4" attributeName="y" from="1000" to="-8768" begin="p3.end-10" dur="97.68" fill="freeze"></animate>
- <set attributeName="opacity" to="0" begin="p4.begin+97.68"></set>
- </image>
-
- <image xlink:href="https://s1.ax1x.com/2022/03/27/qwHWyn.jpg" width="600" height="6320" opacity="0" x="-600" y="1000" preserveAspectRatio="none">
- <set attributeName="opacity" to="1" begin="p5.begin"></set>
- <animate id="p5" attributeName="y" from="1000" to="-6320" begin="p4.end-10" dur="73.2" fill="freeze"></animate>
- <set attributeName="opacity" to="0" begin="p5.begin+73.2"></set>
- </image>
- <image xlink:href="https://s1.ax1x.com/2022/03/27/qwHRQs.jpg" width="600" height="5655" opacity="0" x="-600" y="1000" preserveAspectRatio="none">
- <set attributeName="opacity" to="1" begin="p6.begin"></set>
- <animate id="p6" attributeName="y" from="1000" to="-5655" begin="p5.end-10" dur="66.55" fill="freeze"></animate>
- <set attributeName="opacity" to="0" begin="p6.begin+66.55"></set>
- </image>
- <image xlink:href="https://s1.ax1x.com/2022/03/27/qwHcWQ.jpg" width="600" height="9078" opacity="0" x="-600" y="1000" preserveAspectRatio="none">
- <set attributeName="opacity" to="1" begin="p7.begin"></set>
- <animate id="p7" attributeName="y" from="1000" to="0" begin="p6.end-10" dur="10" fill="freeze"></animate>
- <set attributeName="opacity" to="0" begin="p7.begin+10"></set>
- </image>
- </g>
- </svg>
复制代码
|
|