//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'
#}
]
#},
}
})
以上是微信小程式中如何在wx:for裡判斷具體哪一個頁面跳轉的詳細內容。更多資訊請關注PHP中文網其他相關文章!