CodePudding user response:
If each array data set variables respectively to set up, sometimes will inevitably have a lot of work, so it should be what method (I think of is to set up an array to accept, or use cycle, but I didn't know what to do)? Effect the diagram below, the first product data from Array [0], the second from the Array [1]... And if the points in a product page, how to call on a page of data obtained?CodePudding user response:
Just set a variable, WXML for loop variables, then the item the. Obj traverse the attribute values, didn't know [how to invoke a page on the data obtained from the] is what meaning, according to the above example, if you need to click on the goods in the list of some commodities into the details page, two kinds of methods: if the commodity list page request has been received the goods from all of the information, can be set to global variables, and then click on the need to set up local custom a property, such as commodity id