forked from EastWorld/wechat-app-order
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapp.wxa
48 lines (46 loc) · 969 Bytes
/
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
<template>
<view>
<page></page>
</view>
</template>
<script>
import system from './static/utils/system'
// import request from './static/utils/request'
export default {
config: {
usingComponents: {
},
pages: [
'pages/home/index'
],
window: {
backgroundTextStyle: 'dark',
backgroundColor: '#efefef',
navigationBarBackgroundColor: '#ffffff',
navigationBarTitleText: 'TouchUI',
navigationBarTextStyle: 'black'
},
networkTimeout: {
request: 10000
},
theme: {
'theme-color': '#39f'
}
},
globalData: { },
onLaunch () {
system.attachInfo()
// request({
// url: '/cms/category/list',
// method: 'get'
// }).then(res => {
// console.log(res)
// })
},
onShow () { },
onHide () { }
}
</script>
<style lang="less">
@import './static/styles/index.less';
</style>