forked from dyq086/wepy-mall
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp.wpy
executable file
·96 lines (88 loc) · 2.23 KB
/
app.wpy
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
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<style lang="less">
@import "./styles/base";
@import "./styles/icon";
@import "./styles/style";
</style>
<script>
import wepy from 'wepy';
import 'wepy-async-function'
export default class extends wepy.app {
config = {
pages: [
'pages/authorize',
'pages/home',
'pages/home_detail',
'pages/classify',
'pages/shop_cart',
'pages/info',
'pages/search',
'pages/test',
'pages/sign_in',
'pages/exchange_goods',
'pages/wholesale',
'pages/replenishment_goods',
'pages/register',
'pages/order',
'pages/reorder',
'pages/pay_success',
'pages/points',
'pages/points_more',
'pages/points_rule',
'pages/collection',
'pages/messages',
'pages/setting',
'pages/goods_detail',
'pages/comfire_order',
'pages/address',
'pages/order_detail',
'pages/filter',
'pages/logistics',
'pages/comment',
'pages/comment_add'
],
window: {
backgroundTextStyle: 'dark',
navigationBarBackgroundColor: '#FFFFFF',
navigationBarTitleText: 'WeChat',
navigationBarTextStyle: 'black',
enablePullDownRefresh: false,
backgroundColor: '#EFEFEF'
},
"tabBar": {
"color": "#999999",
"selectedColor": "#ff6a3c",
"backgroundColor": "#ffffff",
"borderStyle": "black",
"list": [{
"pagePath": "pages/home",
"text": "首页",
"iconPath": "images/icon_home.png",
"selectedIconPath": "images/icon_home_active.png"
}, {
"pagePath": "pages/classify",
"text": "分类",
"iconPath": "images/icon_classify.png",
"selectedIconPath": "images/icon_classify_active.png"
}, {
"pagePath": "pages/shop_cart",
"text": "购物车",
"iconPath": "images/icon_shop_cart.png",
"selectedIconPath": "images/icon_shop_cart_active.png"
}, {
"pagePath": "pages/info",
"text": "我",
"iconPath": "images/icon_info.png",
"selectedIconPath": "images/icon_info_active.png"
}]
}
}
globalData = {}
constructor() {
super()
this.use('requestfix')
this.use('promisify');
}
async onLaunch(option) {
}
}
</script>