租房小程序前端代码
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.

45 lines
785 B

3 months ago
  1. $header-height: calc(var(--status-bar-height) + 90rpx);
  2. $app-height: calc(var(--status-bar-height) + 70rpx);
  3. $header-app-height: calc(var(--status-bar-height) + 170rpx);
  4. .se {
  5. &-layout {
  6. &-has-header {
  7. padding-top: $header-height;
  8. }
  9. &:has(.se-app) {
  10. padding-top: $header-app-height;
  11. .se-header {
  12. height: 100rpx;
  13. padding-top: 0;
  14. top: 70rpx;
  15. }
  16. }
  17. }
  18. &-page {
  19. padding: 20rpx;
  20. }
  21. &-header {
  22. width: 100%;
  23. height: $header-height;
  24. padding-top: var(--status-bar-height);
  25. position: fixed;
  26. left: 0;
  27. top: 0;
  28. z-index: 9;
  29. }
  30. &-app {
  31. width: 100%;
  32. height: $app-height;
  33. padding-top: var(--status-bar-height);
  34. position: fixed;
  35. left: 0;
  36. top: 0;
  37. z-index: 9;
  38. }
  39. }