西藏巴青项目

h5-layout.scss 944B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. /**
  2. * 仅作用于 Tab 页(.tab-page),勿改全局 page,避免详情等栈式页面无法滚动
  3. */
  4. /* #ifdef H5 */
  5. .tab-page {
  6. flex: 1 1 auto;
  7. width: 100%;
  8. height: 100vh;
  9. height: 100dvh;
  10. min-height: 100vh;
  11. min-height: 100dvh;
  12. min-height: 0;
  13. overflow: hidden;
  14. display: flex;
  15. flex-direction: column;
  16. box-sizing: border-box;
  17. }
  18. .tab-page > view,
  19. .tab-page > scroll-view {
  20. flex: 1 1 auto;
  21. min-height: 0;
  22. height: 100%;
  23. width: 100%;
  24. display: flex;
  25. flex-direction: column;
  26. box-sizing: border-box;
  27. }
  28. .sp-scroll,
  29. .sp-order-page,
  30. .sp-order-scroll,
  31. .ym-page,
  32. .ym-scroll,
  33. .mine-page,
  34. .mine-scroll,
  35. .guest-view {
  36. flex: 1 1 auto;
  37. min-height: 0;
  38. height: 100%;
  39. width: 100%;
  40. box-sizing: border-box;
  41. }
  42. scroll-view.sp-scroll,
  43. scroll-view.sp-order-scroll,
  44. scroll-view.ym-scroll,
  45. scroll-view.mine-scroll {
  46. height: 100% !important;
  47. min-height: 1px !important;
  48. flex: 1 1 auto !important;
  49. }
  50. /* #endif */