App.vue 681 B

1234567891011121314151617181920212223242526272829303132333435363738
  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 "uview-ui/index.scss";
  16. @import './iconFont/iconfont.css';
  17. /* 解决头条小程序组件内引入字体不生效的问题 */
  18. /* #ifdef MP-TOUTIAO */
  19. @font-face {
  20. font-family: uniicons;
  21. src: url('/iconFont/uni.ttf');
  22. }
  23. page {
  24. width: 100%;
  25. height: 100%;
  26. }
  27. /* #endif */
  28. ::-webkit-scrollbar {
  29. display: none;
  30. width: 0 !important;
  31. height: 0 !important;
  32. -webkit-appearance: none;
  33. background: transparent;
  34. }
  35. </style>