main.js 1015 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. import Vue from 'vue'
  2. import App from './App'
  3. Vue.config.productionTip = false
  4. const app = new Vue(App)
  5. app.$mount()
  6. export default{
  7. config: {
  8. pages: ['^pages/books/main'],
  9. 'window': {
  10. 'backgroundTextStyle': 'light',
  11. 'navigationBarBackgroundColor': '#EA5149',
  12. 'navigationBarTitleText': '蜗牛图书',
  13. 'navigationBarTextStyle': 'light'
  14. },
  15. 'tabBar': {
  16. selectedColor: '#EA5149',
  17. list: [
  18. {
  19. pagePath: 'pages/books/main',
  20. text: '图书',
  21. iconPath: 'static/img/book.png',
  22. selectedIconPath: 'static/img/book-active.png'
  23. },
  24. {
  25. pagePath: 'pages/comments/main',
  26. text: '评论',
  27. iconPath: 'static/img/todo.png',
  28. selectedIconPath: 'static/img/todo-active.png'
  29. },
  30. {
  31. pagePath: 'pages/me/main',
  32. text: '我',
  33. iconPath: 'static/img/me.png',
  34. selectedIconPath: 'static/img/me-active.png'
  35. }
  36. ]
  37. }
  38. }
  39. }