App.vue 589 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. <script>
  2. export default {
  3. globalData: {
  4. token: ''
  5. },
  6. onLaunch: function () {
  7. console.log('App Launch')
  8. },
  9. onShow: function () {
  10. console.log('App Show')
  11. },
  12. onHide: function () {
  13. console.log('App Hide')
  14. }
  15. }
  16. </script>
  17. <style>
  18. /*每个页面公共css */
  19. /deep/ .uni-navbar--fixed{
  20. width: 100%;
  21. }
  22. /deep/ .uni-nav-bar-text{
  23. font-weight: 700;
  24. }
  25. /deep/ .uni-icons{
  26. font-size: 27px;
  27. }
  28. /deep/ .uni-navbar__header-container{
  29. position: absolute;
  30. left: 70px;
  31. right: 70px;
  32. min-width: 0;
  33. }
  34. /deep/ .uni-navbar--border{
  35. border: none;
  36. }
  37. </style>