App.vue 590 B

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