init
This commit is contained in:
51
src/app.config.js
Normal file
51
src/app.config.js
Normal file
@@ -0,0 +1,51 @@
|
||||
export default {
|
||||
pages: [
|
||||
'pages/index/index',
|
||||
'pages/vehicle/index',
|
||||
'pages/statistics/index',
|
||||
'pages/history/index',
|
||||
'pages/profile/index',
|
||||
'pages/login/index',
|
||||
'pages/register/index',
|
||||
'pages/password/index',
|
||||
'pages/realname/index'
|
||||
],
|
||||
tabBar: {
|
||||
color: '#999999',
|
||||
selectedColor: '#1976d2',
|
||||
backgroundColor: '#ffffff',
|
||||
borderStyle: 'white',
|
||||
list: [ // TabBar 列表,最少2项,最多5项
|
||||
{
|
||||
pagePath: 'pages/index/index',
|
||||
text: '首页',
|
||||
iconPath: "assets/images/shouye.png",
|
||||
selectedIconPath: "assets/images/shouye_active.png"
|
||||
},
|
||||
{
|
||||
pagePath: 'pages/statistics/index',
|
||||
text: '统计',
|
||||
iconPath: "assets/images/tongji.png",
|
||||
selectedIconPath: "assets/images/tongji_active.png"
|
||||
},
|
||||
{
|
||||
pagePath: 'pages/profile/index',
|
||||
text: '我的',
|
||||
iconPath: "assets/images/wode.png",
|
||||
selectedIconPath: "assets/images/wode_active.png"
|
||||
}
|
||||
],
|
||||
|
||||
},
|
||||
window: {
|
||||
backgroundTextStyle: 'light',
|
||||
navigationBarBackgroundColor: '#fff',
|
||||
navigationBarTitleText: 'WeChat',
|
||||
navigationBarTextStyle: 'black'
|
||||
},
|
||||
permission: {
|
||||
"scope.userLocation": {
|
||||
"desc": "你的位置信息将用于小程序位置接口的效果展示"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user