index.module.less 952 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. .popup{
  2. position: fixed;
  3. top: 0;
  4. right: 0;
  5. left: 0;
  6. bottom: 0;
  7. z-index: 1000;
  8. width: 100vw;
  9. height: 100vh;
  10. background-color: rgba(#000, .45);
  11. }
  12. .container{
  13. position: absolute;
  14. left: 0px;
  15. right: 0px;
  16. bottom: 0;
  17. padding-top: 12px;
  18. width: 100%;
  19. border-radius: 24px 24px 0 0;
  20. background-color: white;
  21. transition: transform .14s ease-in;
  22. transform: translateY(100%);
  23. }
  24. .show{
  25. transform: translateY(0%);
  26. }
  27. .titleBar{
  28. padding: 0 16px;
  29. display: flex;
  30. width: 100%;
  31. height: 48px;
  32. align-items: center;
  33. }
  34. .item{
  35. display: flex;
  36. align-items: center;
  37. justify-content: center;
  38. height: 56px;
  39. line-height: 56px;
  40. font-weight: 500;
  41. }
  42. .bottomBorder{
  43. border-bottom: 1px solid #F6F6F6;
  44. }
  45. .bottomContainer{
  46. border-top: 8px solid #F6F6F6;
  47. padding-bottom: constant(safe-area-inset-bottom); /*兼容 IOS<11.2*/
  48. padding-bottom: env(safe-area-inset-bottom); /*兼容 IOS>11.2*/
  49. }
  50. .bottomButton{
  51. .item();
  52. }