|
@@ -1,13 +1,34 @@
|
|
1
|
+import { getPages } from './routes'
|
|
2
|
+
|
|
3
|
+const { pages } = getPages()
|
|
4
|
+
|
1
|
5
|
export default {
|
2
|
|
- pages: [
|
3
|
|
- 'pages/index/index'
|
4
|
|
- ],
|
|
6
|
+ pages,
|
5
|
7
|
window: {
|
6
|
8
|
backgroundTextStyle: 'light',
|
7
|
9
|
navigationBarBackgroundColor: '#fff',
|
8
|
10
|
navigationBarTitleText: 'WeChat',
|
9
|
11
|
navigationBarTextStyle: 'black'
|
10
|
12
|
},
|
|
13
|
+ tabBar: {
|
|
14
|
+ color: '#666',
|
|
15
|
+ selectedColor: '#BB9C79',
|
|
16
|
+
|
|
17
|
+ list: [
|
|
18
|
+ {
|
|
19
|
+ pagePath: "pages/index/index",
|
|
20
|
+ text: "首页",
|
|
21
|
+ iconPath: './assets/tabbar/index1.png',
|
|
22
|
+ selectedIconPath: './assets/tabbar/index2.png',
|
|
23
|
+ },
|
|
24
|
+ {
|
|
25
|
+ pagePath: "pages/mine/index",
|
|
26
|
+ text: "我是",
|
|
27
|
+ iconPath: './assets/tabbar/mine1.png',
|
|
28
|
+ selectedIconPath: './assets/tabbar/mine2.png',
|
|
29
|
+ }
|
|
30
|
+ ]
|
|
31
|
+ },
|
11
|
32
|
permission: {
|
12
|
33
|
"scope.userLocation": {
|
13
|
34
|
desc: "你的位置信息将用于显示当前区域信息"
|