App.vue 716 B

12345678910111213141516171819202122232425262728293031323334
  1. <script>
  2. import config from './config'
  3. import { getToken } from '@/utils/auth'
  4. export default {
  5. onLaunch: function() {
  6. console.log('App Launch')
  7. },
  8. onShow: function() {
  9. console.log('App Show')
  10. },
  11. onHide: function() {
  12. console.log('App Hide')
  13. }
  14. }
  15. </script>
  16. <style lang="scss">
  17. /*每个页面公共css */
  18. @import '@/node_modules/uview-ui/index.scss';
  19. /* 修复内容区域样式 */
  20. .u-tabbar__content {
  21. background-color: transparent !important;
  22. box-shadow: none !important;
  23. height: 140rpx;
  24. border: none;
  25. }
  26. /* 修复图标尺寸 - 精确选择器路径 */
  27. .u-tabbar-item .u-tabbar-item__icon .u-icon__img {
  28. width: 80rpx !important;
  29. height: 80rpx !important;
  30. }
  31. </style>