App.vue 647 B

12345678910111213141516171819202122232425262728293031323334
  1. <style lang="scss">
  2. /* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
  3. @import "@/uni_modules/uview-ui/index.scss";
  4. </style>
  5. <script>
  6. import './config/.env.js'
  7. export default {
  8. onLaunch: function() {
  9. console.log('App Launch')
  10. },
  11. onShow: function() {
  12. console.log('App Show')
  13. },
  14. onHide: function() {
  15. console.log('App Hide')
  16. }
  17. }
  18. </script>
  19. <style>
  20. /*每个页面公共css */
  21. html,body{
  22. margin: 0;
  23. padding: 0;
  24. font-family: 'PingFang Regular';
  25. }
  26. /* 导航栏返回文字 */
  27. /deep/.u-back-text{
  28. font-size: 36rpx !important;
  29. margin-left: 16rpx;
  30. }
  31. </style>