{ "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/uploadPhoto/uploadPhoto", "style": { "navigationBarTitleText": "智像" } }, { "path": "pages/index/index", "style": { "navigationBarTitleText": "我的" } }, { "path": "pages/index/buyCoin", "style": { "navigationBarTitleText": "购买金币" } }, { "path": "pages/login/index", "style": { "navigationBarTitleText": "智像" } }, { "path": "pages/uploadPhoto/success", "style": { "navigationBarTitleText": "上传成功" } }, { "path": "pages/closeStyle/closeStyle", "style": { "navigationBarTitleText": "选择风格" } }, { "path": "pages/closeStyle/goCreatePhoto", "style": { "navigationBarTitleText": "制作写真" } }, { "path": "pages/closeStyle/multiplayer", "style": { "navigationBarTitleText": "智像" } }, { "path": "pages/createing/index", "style": { "navigationBarTitleText": "生成成功" } }, { "path": "pages/lookPhoto/index", "style": { "navigationBarTitleText": "作品" } }, { "path": "pages/recorded/index", "style": { "navigationBarTitleText": "录音" } }, { "path": "pages/protocol/user", "style": { "navigationBarTitleText": "智像相机用户使用协议" } }, { "path": "pages/protocol/coin", "style": { "navigationBarTitleText": "慧拍金币充值协议" } }, { "path": "pages/generateVideo/index", "style": { "navigationBarTitleText": "创建视频" } } ], "easycom": { // 注意一定要放在custom里,否则无效,https://ask.dcloud.net.cn/question/131175 "custom": { "^u--(.*)": "uview-plus/components/u-$1/u-$1.vue", "^up-(.*)": "uview-plus/components/u-$1/u-$1.vue", "^u-([^-].*)": "uview-plus/components/u-$1/u-$1.vue" } }, "globalStyle": { "navigationBarTextStyle": "white", "navigationBarTitleText": "智像", "navigationBarBackgroundColor": "#333333", "backgroundColor": "#ffffff" }, "tabBar": { "color": "#ffffff", "selectedColor": "#ff4f00", "backgroundColor": "#333333", "list": [ { "pagePath": "pages/uploadPhoto/uploadPhoto", "text": "创作", "iconPath": "static/creating.png", "selectedIconPath": "static/creating_selected.png" }, { "pagePath": "pages/index/index", "text": "我的", "iconPath": "static/aboutMe.png", "selectedIconPath": "static/aboutMe_selected.png" } ] } }