想要的效果就是每一块都只显示对应的星星,但是不知道怎么写好……渲染出来就变成了一整列
怎么在列表渲染中渲染对应信息?How to render the corresponding information in the list rendering?
怎么在列表渲染中渲染对应信息?想要的效果就是每一块都只显示对应的星星,但是不知道怎么写好……渲染出来就变成了一整列
The desired effect is that each piece only displays the corresponding stars, but I don't know how to write it... It will be rendered into a whole column
回答:
你这个星星是收藏的意思?每个书只有一个星星吧?为什么要用for循环?
样式的话,用flex布局,另外你想实现收藏还是实现显示作品评分
原文出处:怎么在列表渲染中渲染对应信息?
星星为什么循环?