App.vue 714 B

123456789101112131415161718192021222324252627282930313233343536
  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 "/components/uview-ui/index.scss";
  16. @import "./static/css/common.css";
  17. /*每个页面公共css */
  18. html {
  19. width: 100%;
  20. background-color: $theme-color;
  21. font-family: PingFangSC-Medium,PingFangSC-Regular,PingFang SC;
  22. margin-bottom: 176rpx;
  23. // margin: 32rpx;
  24. }
  25. page{
  26. margin-bottom: 176rpx;
  27. font-family: PingFangSC-Medium,PingFangSC-Regular,PingFang SC;
  28. margin:0 auto;
  29. }
  30. /* #ifdef H5 */
  31. uni-page-head {
  32. display: none;
  33. }
  34. /* #endif */
  35. </style>