You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
446 lines
8.9 KiB
446 lines
8.9 KiB
{ |
|
"leftWindow": { |
|
"path": "windows/left-window.vue", |
|
"style": { |
|
"width": "350px" |
|
} |
|
}, |
|
"topWindow": { |
|
"path": "windows/top-window.vue", |
|
"style": { |
|
"height": "60px" |
|
} |
|
}, |
|
"pages": [ |
|
{ |
|
"path": "pages/home/home", |
|
"style": { |
|
"navigationBarTitleText": "首页" |
|
} |
|
}, |
|
{ |
|
"path": "pages/home/index", |
|
"style": { |
|
"navigationBarTitleText": "高速" |
|
} |
|
}, |
|
{ |
|
"path": "pages/login/login", |
|
"style": { |
|
"navigationBarTitleText": "", |
|
"navigationBarBackgroundColor": "#2D8CF0" |
|
} |
|
}, |
|
{ |
|
"path": "pages/highway/runData/list", |
|
"style": { |
|
"navigationBarTitleText": "高速运行数据" |
|
} |
|
}, |
|
{ |
|
"path": "pages/highway/runData/form", |
|
"style": { |
|
"navigationBarTitleText": "高速运行数据报送" |
|
} |
|
}, |
|
{ |
|
"path": "pages/highway/runStatusData/list", |
|
"style": { |
|
"navigationBarTitleText": "高速运行情况" |
|
} |
|
}, |
|
// pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages |
|
{ |
|
"path": "pages/tabBar/component/component", |
|
"style": { |
|
"navigationBarTitleText": "内置组件", |
|
"app-plus": { |
|
"bounce": "vertical", |
|
"titleNView": { |
|
"buttons": [{ |
|
"text": "\ue534", |
|
"fontSrc": "/static/uni.ttf", |
|
"fontSize": "22px", |
|
"color": "#FFFFFF" |
|
}] |
|
} |
|
} |
|
} |
|
}, |
|
{ |
|
"path": "pages/tabBar/API/API", |
|
"style": { |
|
"navigationBarTitleText": "接口", |
|
"app-plus": { |
|
"titleNView": { |
|
"buttons": [{ |
|
"text": "\ue534", |
|
"fontSrc": "/static/uni.ttf", |
|
"fontSize": "22px", |
|
"color": "#FFFFFF" |
|
}] |
|
} |
|
} |
|
} |
|
}, |
|
{ |
|
"path": "pages/tabBar/template/template", |
|
"style": { |
|
"navigationBarTitleText": "模版", |
|
"app-plus": { |
|
"titleNView": { |
|
"buttons": [{ |
|
"text": "\ue534", |
|
"fontSrc": "/static/uni.ttf", |
|
"fontSize": "22px", |
|
"color": "#FFFFFF" |
|
}] |
|
} |
|
} |
|
} |
|
}, |
|
{ |
|
"path": "pages/tabBar/extUI/extUI", |
|
"style": { |
|
"navigationBarTitleText": "扩展组件", |
|
"app-plus": { |
|
"titleNView": { |
|
"buttons": [{ |
|
"text": "\ue534", |
|
"fontSrc": "/static/uni.ttf", |
|
"fontSize": "22px", |
|
"color": "#FFFFFF" |
|
}] |
|
} |
|
} |
|
} |
|
}, |
|
{ |
|
"path": "pages/component/view/view", |
|
"style": { |
|
"navigationBarTitleText": "view" |
|
} |
|
}, |
|
{ |
|
"path": "pages/component/scroll-view/scroll-view", |
|
"style": { |
|
"navigationBarTitleText": "scroll-view" |
|
} |
|
}, |
|
{ |
|
"path": "pages/component/swiper/swiper", |
|
"style": { |
|
"navigationBarTitleText": "swiper" |
|
} |
|
}, |
|
// #ifndef MP-TOUTIAO |
|
{ |
|
"path": "pages/component/cover-view/cover-view", |
|
"style": { |
|
"navigationBarTitleText": "cover-view" |
|
} |
|
}, |
|
{ |
|
"path": "pages/component/movable-view/movable-view", |
|
"style": { |
|
"navigationBarTitleText": "movable-view" |
|
} |
|
}, |
|
// #endif |
|
{ |
|
"path": "pages/component/text/text", |
|
"style": { |
|
"navigationBarTitleText": "text" |
|
} |
|
}, |
|
{ |
|
"path": "pages/component/rich-text/rich-text", |
|
"style": { |
|
"navigationBarTitleText": "rich-text" |
|
} |
|
}, |
|
{ |
|
"path": "pages/component/progress/progress", |
|
"style": { |
|
"navigationBarTitleText": "progress" |
|
} |
|
}, |
|
{ |
|
"path": "pages/component/button/button", |
|
"style": { |
|
"navigationBarTitleText": "button" |
|
} |
|
}, |
|
{ |
|
"path": "pages/component/checkbox/checkbox", |
|
"style": { |
|
"navigationBarTitleText": "checkbox" |
|
} |
|
}, |
|
{ |
|
"path": "pages/component/form/form", |
|
"style": { |
|
"navigationBarTitleText": "form" |
|
} |
|
}, |
|
{ |
|
"path": "pages/component/input/input", |
|
"style": { |
|
"navigationBarTitleText": "input", |
|
"app-plus": { |
|
"softinputNavBar": "none" |
|
} |
|
} |
|
}, |
|
{ |
|
"path": "pages/component/label/label", |
|
"style": { |
|
"navigationBarTitleText": "label" |
|
} |
|
}, |
|
{ |
|
"path": "pages/component/picker/picker", |
|
"style": { |
|
"navigationBarTitleText": "picker" |
|
} |
|
}, |
|
{ |
|
"path": "pages/component/picker-view/picker-view", |
|
"style": { |
|
"navigationBarTitleText": "picker-view" |
|
} |
|
}, |
|
{ |
|
"path": "pages/component/radio/radio", |
|
"style": { |
|
"navigationBarTitleText": "radio" |
|
} |
|
}, |
|
{ |
|
"path": "pages/component/slider/slider", |
|
"style": { |
|
"navigationBarTitleText": "slider" |
|
} |
|
}, |
|
{ |
|
"path": "pages/component/switch/switch", |
|
"style": { |
|
"navigationBarTitleText": "switch" |
|
} |
|
}, |
|
{ |
|
"path": "pages/component/textarea/textarea", |
|
"style": { |
|
"navigationBarTitleText": "textarea" |
|
} |
|
}, |
|
// #ifdef APP-PLUS || MP-WEIXIN || H5 || MP-BAIDU |
|
{ |
|
"path": "pages/component/editor/editor", |
|
"style": { |
|
"navigationBarTitleText": "editor", |
|
"app-plus": { |
|
"softinputMode": "adjustResize" |
|
} |
|
// #ifdef MP-BAIDU |
|
,"usingComponents": { |
|
"editor": "dynamicLib://editorLib/editor" |
|
} |
|
// #endif |
|
} |
|
}, |
|
// #endif |
|
{ |
|
"path": "pages/component/navigator/navigator", |
|
"style": { |
|
"navigationBarTitleText": "navigator" |
|
} |
|
}, |
|
{ |
|
"path": "pages/component/navigator/navigate/navigate", |
|
"style": { |
|
"navigationBarTitleText": "navigatePage" |
|
} |
|
}, |
|
{ |
|
"path": "pages/component/navigator/redirect/redirect", |
|
"style": { |
|
"navigationBarTitleText": "redirectPage" |
|
} |
|
}, |
|
{ |
|
"path": "pages/component/image/image", |
|
"style": { |
|
"navigationBarTitleText": "image" |
|
} |
|
}, |
|
{ |
|
"path": "pages/component/video/video", |
|
"style": { |
|
"navigationBarTitleText": "video" |
|
} |
|
}, |
|
// #ifndef MP-ALIPAY || MP-TOUTIAO || VUE3 |
|
// { |
|
// "path": "pages/component/audio/audio", |
|
// "style": { |
|
// "navigationBarTitleText": "audio" |
|
// } |
|
// }, |
|
// #endif |
|
// #ifndef MP-TOUTIAO |
|
{ |
|
"path": "pages/component/map/map", |
|
"style": { |
|
"navigationBarTitleText": "map" |
|
} |
|
}, |
|
// #endif |
|
{ |
|
"path": "pages/component/canvas/canvas", |
|
"style": { |
|
"navigationBarTitleText": "canvas" |
|
} |
|
}, |
|
{ |
|
"path": "pages/component/web-view/web-view", |
|
"style": { |
|
"navigationBarTitleText": "web-view" |
|
} |
|
}, |
|
// #ifdef APP-VUE || APP-NVUE |
|
{ |
|
"path": "pages/component/ad/ad", |
|
"style": { |
|
"navigationBarTitleText": "AD" |
|
} |
|
}, |
|
// #endif |
|
// #ifdef APP-PLUS || H5 |
|
{ |
|
"path": "pages/component/web-view-local/web-view-local", |
|
"style": {} |
|
}, |
|
// #endif |
|
{ |
|
"path": "platforms/app-plus/speech/speech", |
|
"style": { |
|
"navigationBarTitleText": "语音识别" |
|
} |
|
}, |
|
{ |
|
"path": "platforms/app-plus/orientation/orientation", |
|
"style": { |
|
"navigationBarTitleText": "方向传感器" |
|
} |
|
}, |
|
{ |
|
"path": "platforms/app-plus/proximity/proximity", |
|
"style": { |
|
"navigationBarTitleText": "距离传感器" |
|
} |
|
}, |
|
{ |
|
"path": "platforms/app-plus/push/push", |
|
"style": { |
|
"navigationBarTitleText": "推送" |
|
} |
|
}, |
|
{ |
|
"path": "platforms/app-plus/shake/shake", |
|
"style": { |
|
"navigationBarTitleText": "摇一摇" |
|
} |
|
}, |
|
// #ifdef H5 || APP-PLUS |
|
{ |
|
"path": "pages/about/about", |
|
"style": { |
|
"navigationBarTitleText": "关于" |
|
} |
|
}, |
|
// #endif |
|
{ |
|
"path": "platforms/app-plus/feedback/feedback", |
|
"style": { |
|
"navigationBarTitleText": "问题反馈" |
|
} |
|
} |
|
// #ifdef H5 |
|
, { |
|
"path": "pages/error/404", |
|
"style": { |
|
"navigationBarTitleText": "Not Found" |
|
} |
|
} |
|
// #endif |
|
,{ |
|
"path": "uni_modules/uni-upgrade-center-app/pages/upgrade-popup", |
|
"style": { |
|
"app-plus": { |
|
"animationDuration": 200, |
|
"animationType": "fade-in", |
|
"background": "transparent", |
|
"backgroundColorTop": "transparent", |
|
"popGesture": "none", |
|
"scrollIndicator": false, |
|
"titleNView": false |
|
}, |
|
"disableScroll": true |
|
} |
|
} |
|
], |
|
"subPackages": [ |
|
// { |
|
// "root": "pages/API", |
|
// "pages": [] |
|
// }, |
|
], |
|
"globalStyle": { |
|
"pageOrientation": "portrait", |
|
"navigationBarTitleText": "Hello uniapp", |
|
"navigationBarTextStyle": "white", |
|
"navigationBarBackgroundColor": "#007AFF", |
|
"backgroundColor": "#F8F8F8", |
|
"backgroundColorTop": "#F4F5F6", |
|
"backgroundColorBottom": "#F4F5F6", |
|
"mp-360": { |
|
"navigationStyle": "custom" |
|
}, |
|
"h5": { |
|
"maxWidth": 1190, |
|
"navigationBarTextStyle": "black", |
|
"navigationBarBackgroundColor": "#F1F1F1" |
|
} |
|
|
|
}, |
|
"tabBar": { |
|
"color": "#7A7E83", |
|
"selectedColor": "#007AFF", |
|
"borderStyle": "black", |
|
"backgroundColor": "#F8F8F8", |
|
"list": [{ |
|
"pagePath": "pages/tabBar/component/component", |
|
"iconPath": "static/component.png", |
|
"selectedIconPath": "static/componentHL.png", |
|
"text": "内置组件" |
|
}, |
|
{ |
|
"pagePath": "pages/tabBar/API/API", |
|
"iconPath": "static/api.png", |
|
"selectedIconPath": "static/apiHL.png", |
|
"text": "接口" |
|
}, { |
|
"pagePath": "pages/tabBar/extUI/extUI", |
|
"iconPath": "static/extui.png", |
|
"selectedIconPath": "static/extuiHL.png", |
|
"text": "扩展组件" |
|
}, { |
|
"pagePath": "pages/tabBar/template/template", |
|
"iconPath": "static/template.png", |
|
"selectedIconPath": "static/templateHL.png", |
|
"text": "模板" |
|
} |
|
] |
|
} |
|
}
|
|
|