app.config.js 641 B

123456789101112131415161718192021222324252627282930
  1. import { useGlobalIconFont } from './components/iconfont/helper';
  2. export default {
  3. pages: [
  4. 'pages/index/index',
  5. 'pages/user/index',
  6. 'pages/details/index'
  7. ],
  8. window: {
  9. backgroundTextStyle: 'light',
  10. navigationBarBackgroundColor: '#fff',
  11. navigationBarTitleText: 'WeChat',
  12. navigationBarTextStyle: 'black',
  13. },
  14. usingComponents: Object.assign(useGlobalIconFont()),
  15. tabBar: {
  16. custom: true,
  17. list: [{
  18. pagePath: "pages/index/index",
  19. text: "首页"
  20. }, {
  21. pagePath: "pages/user/index",
  22. text: "我的",
  23. badge: '444'
  24. }]
  25. },
  26. // debug:true,
  27. // networkTimeout:1000
  28. }