App.vue 696 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <script>
  2. export default {
  3. onLaunch: function() {
  4. console.log('App Launch')
  5. },
  6. onShow: function() {
  7. uni.removeStorageSync('testList')
  8. console.log('App Show')
  9. },
  10. onHide: function() {
  11. console.log('App Hide')
  12. }
  13. }
  14. </script>
  15. <style lang="scss">
  16. /*每个页面公共css */
  17. /*每个页面公共css */
  18. .status_bar {
  19. height: var(--status-bar-height);
  20. width: 100%;
  21. }
  22. .btnss[disabled]{
  23. opacity: 1;
  24. }
  25. [v-cloak] {
  26. display: none;
  27. }
  28. ::-webkit-scrollbar {
  29. width: 0;
  30. height: 0;
  31. color: transparent;
  32. }
  33. page {
  34. -webkit-overflow-scrolling: touch;
  35. }
  36. .scroll-view {
  37. height: 100%
  38. }
  39. .btn[disabled] {
  40. opacity: 0.5;
  41. }
  42. .view {
  43. height: 100%;
  44. }
  45. </style>