爱简收旧衣按件回收前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

65 lines
1.2 KiB

3 weeks ago
2 weeks ago
3 weeks ago
2 weeks ago
3 weeks ago
2 weeks ago
3 weeks ago
2 weeks ago
3 weeks ago
2 weeks ago
3 weeks ago
2 weeks ago
3 weeks ago
2 weeks ago
1 week ago
3 weeks ago
2 weeks ago
2 weeks ago
3 weeks ago
  1. <script>
  2. import routerInterception from '@/utils/router-interception.js'
  3. export default {
  4. globalData: {
  5. flag: 1,
  6. login_status:true,
  7. phone:null
  8. },
  9. onLaunch: function() {
  10. routerInterception()
  11. // console.log(this.$utils)
  12. console.log('App Launch')
  13. },
  14. onShow: function() {
  15. console.log('App Show')
  16. },
  17. onHide: function() {
  18. console.log('App Hide')
  19. }
  20. }
  21. </script>
  22. <style >
  23. /* // @import "./uni_modules/vk-uview-ui/index.scss"; */
  24. /*每个页面公共css */
  25. .uni-tabbar-bottom{
  26. display: none;
  27. }
  28. .icon {
  29. width: 50rpx;
  30. height: 50rpx;
  31. }
  32. .nav-bar{
  33. /* margin-top: calc(70rpx + env(safe-area-inset-top)); */
  34. height: 30%;
  35. display: flex;
  36. justify-content: center;
  37. }
  38. /* 每个页面公共css */
  39. /* 解决小程序和app滚动条的问题 */
  40. ::-webkit-scrollbar {
  41. display: none;
  42. width: 0 !important;
  43. height: 0 !important;
  44. -webkit-appearance: none;
  45. background: transparent;
  46. color: transparent;
  47. }
  48. /* 解决H5的问题 */
  49. uni-scroll-view .uni-scroll-view::-webkit-scrollbar {
  50. display: none;
  51. width: 0 !important;
  52. height: 0 !important;
  53. -webkit-appearance: none;
  54. background: transparent;
  55. color: transparent;
  56. }
  57. </style>