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. /* #endif */
  24. ::-webkit-scrollbar {
  25. display: none;
  26. width: 0 !important;
  27. height: 0 !important;
  28. -webkit-appearance: none;
  29. background: transparent;
  30. }
  31. page {
  32. width: 100%;
  33. height: 100%;
  34. }
  35. </style>