App.vue 419 B

12345678910111213141516171819202122232425
  1. <script>
  2. export default {
  3. onLaunch: function() {
  4. },
  5. onShow: function() {
  6. console.log('App Show')
  7. },
  8. onHide: function() {
  9. console.log('App Hide')
  10. },
  11. }
  12. </script>
  13. <style lang="scss">
  14. @import "uview-ui/index.scss";
  15. /*每个页面公共css */
  16. page{
  17. background: linear-gradient(180deg, #FFFFFF 0%, #F2F3F5 100%);
  18. // background-color: #d5f1da;
  19. max-width: 750rpx;
  20. color: #1d2129;
  21. }
  22. </style>