pages.json 3.4 KB
Newer Older
Y
init  
yurj26 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92
{
    "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
        {
            "path": "pages/tabBar/component/component",
            "style": {
                "navigationBarTitleText": "内置组件"
            }
        },
        {
            "path": "pages/component/view/view",
            "style": {
                "navigationBarTitleText": "view"
            }
        },
        {
            "path": "pages/component/scroll-view/scroll-view",
            "style": {
                "navigationBarTitleText": "scroll-view"
            }
        },
        {
            "path": "pages/component/text/text",
            "style": {
                "navigationBarTitleText": "text"
            }
        },
        {
            "path": "pages/component/progress/progress",
            "style": {
                "navigationBarTitleText": "progress"
            }
        },
        {
            "path": "pages/component/button/button",
            "style": {
                "navigationBarTitleText": "button"
            }
        },

        {
            "path": "pages/component/radio/radio",
            "style": {
                "navigationBarTitleText": "radio"
            }
        },
        {
            "path": "pages/component/checkbox/checkbox",
            "style": {
                "navigationBarTitleText": "checkbox"
            }
        },
        {
            "path": "pages/component/input/input",
            "style": {
                "navigationBarTitleText": "input"
            }
        },
        {
            "path": "pages/component/textarea/textarea",
            "style": {
                "navigationBarTitleText": "textarea"
            }
        },
        {
            "path": "pages/component/image/image",
            "style": {
                "navigationBarTitleText": "image"
            }
        },
        {
            "path": "pages/tabBar/API/API",
            "style": {
                "navigationBarTitleText": "接口"
            }
        },
        {
            "path": "pages/API/navigator/navigator",
            "style": {
                "navigationBarTitleText": "页面跳转"
            }
        },
        {
            "path": "pages/API/navigator/new-page/new-uvue-page-1",
            "style": {
                "navigationBarTitleText": "新UVUE页面1"
            }
        },
        {
            "path": "pages/API/navigator/new-page/new-uvue-page-2",
            "style": {
                "navigationBarTitleText": "新UVUE页面2"
            }
Y
yurj26 已提交
93 94 95 96 97 98
        },
        {
            "path": "pages/API/storage/storage",
            "style": {
                "navigationBarTitleText": "数据存储"
            }
Y
init  
yurj26 已提交
99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116
        }
    ],
    "globalStyle": {
        "navigationBarTextStyle": "black",
        "navigationBarTitleText": "uni-app",
        "navigationBarBackgroundColor": "#F8F8F8",
        "backgroundColor": "#F8F8F8"
    },
    "uniIdRouter": {},
    "condition": { //模式配置,仅开发期间生效
        "current": 0, //当前激活的模式(list 的索引项)
        "list": [{
            "name": "", //模式名称
            "path": "", //启动页面,必选
            "query": "" //启动参数,在页面的onLoad函数里面得到
        }]
    }
}