<---------------------------------------------------index文件夹:--------------------------------------------------->
wxml页面:
<navigator url="{{item.url}}"> <view>………</view> </navigator >
js页面:
Page({ data:{ slide: [], sysinfo: {}, list: [], cats: [], copyright:'', array: [ { url:'/yyf_company/pages/zixun1/zixun1'//要跳转的文件夹 } ] })
<---------------------------------------------------最外层文件夹:--------------------------------------------------->
{
"pages": [
"yyf_company/pages/zixun1/zixun1"
]
}
<---------------------------------------------------pages文件夹:--------------------------------------------------->
到pages文件夹创建:
js,json,wxml,wxss具体代码官网有