You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

47 lines
770 B

  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. /* uview-plus 基础样式 */
  16. @import 'uview-plus/index.scss';
  17. /* 全局 box-sizing */
  18. page, view, text, image, input, textarea, button, form, scroll-view {
  19. box-sizing: border-box;
  20. }
  21. /* 每个页面公共css */
  22. /* #ifdef H5 */
  23. h1, h2, h3, h4, h5, h6 {
  24. font-size: inherit;
  25. font-weight: inherit;
  26. }
  27. ol, ul, menu {
  28. list-style: none;
  29. }
  30. ul, ol {
  31. list-style: none;
  32. margin: 0;
  33. padding: 0;
  34. }
  35. .page {
  36. min-height: 100vh !important;
  37. }
  38. uni-page-head {
  39. display: none !important;
  40. }
  41. /* #endif */
  42. </style>