First define variables in data:
A for loop is used here:
The GoodsList inside is all the items, and the GoodsListShow is the displayed items. Each time, 8 items are pushed from all items to the displayed items.
First define variables in data:
A for loop is used here:
The GoodsList inside is all the items, and the GoodsListShow is the displayed items. Each time, 8 items are pushed from all items to the displayed items.