Lists can be implemented in WeChat applets by using the "scroll-view" component or the "list" component.
Use the "scroll-view" component: You can use the wx:for command to loop through the data in the list and set the corresponding style for each element.
Use the "list" component: This component has built-in common list functions, including list rendering, pull-up loading, pull-down refresh, etc. Developers can directly use this component to implement list functions.
For example:
<scroll-view class="scroll-view" scroll-y="true">
<view wx:for="{
{
list}}" class="list-item">
{
{
item}}
</