App.vue 538 B

123456789101112131415161718192021222324252627282930
  1. <script>
  2. export default {
  3. onLaunch: function() {
  4. console.log('App Launch')
  5. },
  6. onShow: function() {
  7. console.log('App Show')
  8. },
  9. onHide: function() {
  10. console.log('App Hide')
  11. }
  12. }
  13. </script>
  14. <style lang="scss">
  15. /*每个页面公共css */
  16. @import url('static/fonts/iconfont.css');
  17. // 引入uView UI基础样式
  18. @import './uni_modules/vk-uview-ui/index.scss';
  19. .u-tabbar {
  20. .u-tabbar__content {
  21. .u-tabbar__content__item__text {
  22. font-size: 20rpx;
  23. line-height: 0rpx;
  24. bottom: 0;
  25. }
  26. }
  27. }
  28. </style>