代码拉取完成,页面将自动刷新
/* npm已引入uni-simple-router,参考:https://hhyang.cn/v2/
*页面路由跳转使用说明:
*router.push() 等同于 uni.navigateTo()使用:this.$Router.push({ name: 'router1', params: { userId: '123' }})
*router.replace() 等同于 uni.redirectTo()使用:this.$Router.replace({ name: 'router1', params: { userId: '123' }})
*router.replaceAll() 等同于 uni.reLaunch()使用:this.$Router.replaceAll({ name: 'router1', params: { userId: '123' }})
*router.pushTab() 等同于 uni.switchTab()使用:this.$Router.pushTab({ name: 'router1', params: { userId: '123' }})
*router.back(n,{...}) 等同于 uni.navigateBack()使用:this.$Router.back(2)
*推荐使用#命名路由
*{
* path: '/pages/router/router1/router1',
* name: 'router1'
*},
*/
{
"easycom": {
"^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
},
/* 主包 */
"pages": [{
"path": "pages/tabbar/tabbar",
"name": "tabbar",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/tabbar/index",
"aliasPath": "/",
"name": "index",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/tabbar/user",
"name": "user",
"style": {
"navigationStyle": "custom"
}
},
{
"path": "pages/tabbar/control",
"name": "control",
"style": {
"navigationStyle": "custom"
}
}
],
/* 分包 */
"subPackages": [
/* 控制台 */
{
"root": "pages/control",
"pages": [
]
},
/* 个人中心 */
{
"root": "pages/userdesk",
"pages": [{
"path": "about/about",
"name": "about",
"style": {
"navigationBarTitleText": "关于",
"enablePullDownRefresh": false
}
},
{
"path": "setting/setting",
"name": "setting",
"style": {
"navigationBarTitleText": "设置",
"enablePullDownRefresh": false
}
}, {
"path": "userinfor/userinfor",
"name": "userinfor",
"style": {
"navigationBarTitleText": "个人信息",
"enablePullDownRefresh": false
}
}, {
"path": "updatelog/updatelog",
"name": "updatelog",
"style": {
"navigationBarTitleText": "更新日志",
"enablePullDownRefresh": false
}
}
]
},
/* 测试 */
{
"root": "pages/testList",
"pages": [{
"path": "testList",
"name": "testList",
"style": {
"navigationBarTitleText": "测试列表",
"enablePullDownRefresh": false
}
},
{
"path": "testRepuest/testRepuest",
"name": "testRepuest",
"style": {
"navigationBarTitleText": "测试请求axios",
"enablePullDownRefresh": false
}
},
{
"path": "testRouter/testRouter",
"name": "testRouter",
"style": {
"navigationBarTitleText": "Router跳转",
"enablePullDownRefresh": false
}
},
{
"path": "testI18nLang/testI18nLang",
"name": "testI18nLang",
"style": {
"navigationBarTitleText": "I18nLang",
"enablePullDownRefresh": false
}
},
{
"path": "vuexStore/vuexStore",
"name": "vuexStore",
"style": {
"navigationBarTitleText": "vuexStore",
"enablePullDownRefresh": false
}
},
{
"path": "testUview/testUview",
"name": "testUview",
"style": {
"navigationBarTitleText": "testUview",
"enablePullDownRefresh": false
}
}
]
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarTitleText": "uni-app",
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8",
"pageOrientation": "auto"
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。