forked from winterfeel/wx_cool_shop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.wxa
76 lines (74 loc) · 1.73 KB
/
app.wxa
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
<template>
<page></page>
</template>
<script>
import system from './static/utils/system'
export default {
config: {
usingComponents: {},
pages: [
'pages/home/index',
'pages/section/index',
'pages/list/index',
'pages/cart/index',
'pages/mine/index',
'pages/pay/index',
'pages/address-add/index',
'pages/detail/index'
],
window: {
backgroundTextStyle: 'dark',
backgroundColor: '#f4f4f4',
navigationBarBackgroundColor: '#ffffff',
navigationBarTitleText: 'TouchUI',
navigationBarTextStyle: 'black'
},
networkTimeout: {
request: 10000
},
theme: {
'theme-color': '#111'
},
tabBar: {
color: '#706654',
selectedColor: '#b5262d',
backgroundColor: '#ffffff',
borderStyle: 'white',
list: [{
pagePath: 'pages/home/index',
iconPath: 'assets/tab_home_0.png',
selectedIconPath: 'assets/tab_home_1.png',
text: '首页'
},
{
pagePath: 'pages/section/index',
iconPath: 'assets/tab_section_0.png',
selectedIconPath: 'assets/tab_section_1.png',
text: '分类'
},
{
pagePath: 'pages/cart/index',
iconPath: 'assets/tab_cart_0.png',
selectedIconPath: 'assets/tab_cart_1.png',
text: '购物车'
},
{
pagePath: 'pages/mine/index',
iconPath: 'assets/tab_mine_0.png',
selectedIconPath: 'assets/tab_mine_1.png',
text: '我的'
}
]
}
},
globalData: {},
onLaunch() {
system.attachInfo()
},
onShow() {},
onHide() {}
}
</script>
<style lang="less">
@import './static/styles/index.less';
</style>