App.vue 467 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. @import "uview-ui/index.scss";
  16. /*每个页面公共css */
  17. *{
  18. padding: 0;
  19. margin: 0;
  20. box-sizing: border-box;
  21. }
  22. .one-row{
  23. display: inline-block;
  24. white-space:nowrap;
  25. overflow: hidden;
  26. text-overflow: ellipsis;
  27. }
  28. </style>