qmjyf95493 发表于 2024-10-10 10:49:45

前端listview不加载子组件

使用前端编写UI界面时,按照示例来写,编写列表子组件后不显示,其他组件加载正常。

996技术-wang 发表于 2024-10-10 11:52:53

参考这个

<Img|width=380|height=500|img=public/icon_paihangbang_05.png|bg=1|reset=0|move=1>
<Layout|x=340|width=80|height=80|link=@exit>
<Button|x=340|y=20|nimg=publicn_gban_01.png|link=@exit>
<ListView|children={2,3,4,5,6,7,8,9}|x=30|y=50|width=150|height=400|margin=15>
<Button|id=2|ax=0|ay=1|x=0|y=0|width=150|height=55|pimg=public/bg_hhzy_01_3.png|outline=2|nimg=public/bg_hhzy_01_3.png|size=17|mimg=public/bg_hhzy_01_3.png|color=251|text=1111|link=@触发>
<Button|id=3|ax=0|ay=1|x=0|y=0|width=150|height=55|pimg=public/bg_hhzy_01_3.png|outline=2|nimg=public/bg_hhzy_01_3.png|size=17|mimg=public/bg_hhzy_01_3.png|color=251|text=2222|link=@触发>
<Button|id=4|ax=0|ay=1|x=0|y=0|width=150|height=55|pimg=public/bg_hhzy_01_3.png|outline=2|nimg=public/bg_hhzy_01_3.png|size=17|mimg=public/bg_hhzy_01_3.png|color=251|text=333|link=@触发>
<Button|id=5|ax=0|ay=1|x=0|y=0|width=150|height=55|pimg=public/bg_hhzy_01_3.png|outline=2|nimg=public/bg_hhzy_01_3.png|size=17|mimg=public/bg_hhzy_01_3.png|color=251|text=444|link=@触发>
<Button|id=6|ax=0|ay=1|x=0|y=0|width=150|height=55|pimg=public/bg_hhzy_01_3.png|outline=2|nimg=public/bg_hhzy_01_3.png|size=17|mimg=public/bg_hhzy_01_3.png|color=251|text=555|link=@触发>
<Button|id=7|ax=0|ay=1|x=0|y=0|width=150|height=55|pimg=public/bg_hhzy_01_3.png|outline=2|nimg=public/bg_hhzy_01_3.png|size=17|mimg=public/bg_hhzy_01_3.png|color=251|text=666|link=@触发>
<Button|id=8|ax=0|ay=1|x=0|y=0|width=150|height=55|pimg=public/bg_hhzy_01_3.png|outline=2|nimg=public/bg_hhzy_01_3.png|size=17|mimg=public/bg_hhzy_01_3.png|color=251|text=777|link=@触发>
<Button|id=9|ax=0|ay=1|x=0|y=0|width=150|height=55|pimg=public/bg_hhzy_01_3.png|outline=2|nimg=public/bg_hhzy_01_3.png|size=17|mimg=public/bg_hhzy_01_3.png|color=251|text=888|link=@触发>
页: [1]
查看完整版本: 前端listview不加载子组件