Rumah >applet WeChat >Pembangunan program mini >微信小程序中如何在wx:for里判断具体哪一个页面跳转
//wx:for循环选项
//js
page({
data:{
functions: [
{
"name": "库存",
"pic_url": '../image/half-star.png',
},
{
"name": "报表",
"pic_url": '../image/half-star.png'
},
{
"name": "商品管理",
"pic_url": '../image/half-star.png'
},
{
"name": "订货",
"pic_url": '../image/half-star.png'
},
{
"name": "飞机票",
"pic_url": '../image/half-star.png'
},
{
"name": "火车票",
"pic_url": '../image/half-star.png'
},
{
"name": "手机充值",
"pic_url": '../image/half-star.png'
},
{
"name": "水电煤",
"pic_url": '../image/half-star.png'
}
]
},
}
})
Atas ialah kandungan terperinci 微信小程序中如何在wx:for里判断具体哪一个页面跳转. Untuk maklumat lanjut, sila ikut artikel berkaitan lain di laman web China PHP!