火山PC自定义滚动容器博客教学1
本帖最后由 1185907650 于 2021-9-7 09:32 编辑项目右键配置,勾选火山模块,模块下载地址:跳转下载
https://www.lkuaiy.com/image/editor/1630904342914356.png
二、窗口布局①总布局https://www.lkuaiy.com/image/editor/1630904356364352.pnghttps://www.lkuaiy.com/image/editor/1630904360518424.png
②详细布局先放一个图片框1做为父容器https://www.lkuaiy.com/image/editor/1630904428289443.png
再在之前的图片框1里,再放入一个图片框2然后在图片框2里,放入各个组件图片框2的大小,即为组件所能容纳的大小,无需调整尺寸最后调整图片框1的尺寸,调整到当前窗口可全视为止https://www.lkuaiy.com/image/editor/1630904455533494.png总结:图片框1容纳图片框2,图片框2里容纳各个组件
三、初始化https://www.lkuaiy.com/image/editor/1630904490476612.png
四、调用功能https://www.lkuaiy.com/image/editor/1630904497140432.png
五、滚动事件https://www.lkuaiy.com/image/editor/1630904506905403.png
六、演示https://www.lkuaiy.com/image/editor/1630904511986838.gif
源码下载:**** Hidden Message *****文章转载自利快云:www.lkuaiy.com
66666666666666666
页:
[1]