Home  >  Article  >  WeChat Applet  >  How to determine which page to jump to in wx:for in WeChat mini program

How to determine which page to jump to in wx:for in WeChat mini program

Summer
SummerOriginal
2017-09-09 10:49:223869browse


//wx: for loop options

{{function .name}}

//js

page({

data:{

functions: [

{

"name": "Inventory",

"pic_url": '. ./image/half-star.png',

},

{

"name": "Report",

"pic_url": '../image/half-star.png'

},

{

"name": "Product Management",

"pic_url ": '../image/half-star.png'

},

{

"name": "Order",

" pic_url": '../image/half-star.png'

},

{

"name": "Airline ticket",

"pic_url": '../image/half-star.png'

},

{

"name": "train ticket",

"pic_url": '../image/half-star.png'

},

{

"name": "Mobile Recharge",

"pic_url": '../image/half-star.png'

},

{

"name": "Water, Electricity and Coal" ,

"pic_url": '../image/half-star.png'

}

]

},

}

})

The above is the detailed content of How to determine which page to jump to in wx:for in WeChat mini program. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn