App.vue 383 B

12345678910111213141516171819202122232425
  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. page{
  16. background-color: #f4f4f4
  17. }
  18. .uni-bar {
  19. background-color: #f4f4f4
  20. }
  21. /*每个页面公共css */
  22. @import "@/uview-ui/index.scss";
  23. </style>