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.

26 lines
452 B

6 months ago
4 months ago
6 months ago
  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>
  15. /*每个页面公共css */
  16. body{
  17. background: linear-gradient(to right, rgb(239,118,66), rgb(220, 38, 7));
  18. min-height: 100vh;
  19. }
  20. uni-page-wrapper{
  21. display: flex;
  22. flex-direction: column;
  23. justify-content: center;
  24. }
  25. </style>