12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <script>
- import wepy from '@wepy/core';
- import vuex from '@wepy/x';
- wepy.use(vuex);
- wepy.app({
- hooks: {
-
-
-
-
-
-
- },
- globalData: {
- appInfo: 'this is globleData',
- userInfo: null
- },
- onLaunch() {
- console.log('app onLaunch');
-
-
-
-
-
- },
- onShow () {
- console.log('app onishow');
- }
-
-
-
-
-
-
-
-
-
-
-
-
-
- });
- </script>
- <config>
- {
- "entryPagePath": "pages/index",
- requiredPrivateInfos: ["getLocation"],
- pages: [
- 'pages/index',
- 'pages/login',
- 'pages/report/index',
- 'pages/my/index'
- ],
- window: {
- backgroundTextStyle: 'light',
- navigationBarBackgroundColor: '#fff',
- navigationBarTitleText: 'ITT健康检测',
- navigationBarTextStyle: 'black'
- },
- tabBar: {
- list:[
- {
- pagePath: 'pages/index',
- text: '首页'
- },
- {
- pagePath: 'pages/report/index',
- text: '报告'
- },
- {
- pagePath: 'pages/my/index',
- text: '我的'
- }
- ]
- }
- }
- </config>
|