style.scss 860 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. .center_in{
  2. width: 100%;
  3. display: flex;
  4. justify-content: center;
  5. align-items: center;
  6. }
  7. .space_between{
  8. display: flex;
  9. justify-content: space-between;
  10. align-items: center;
  11. }
  12. .up_and_down{
  13. display: flex;
  14. flex-direction: column;
  15. justify-content: space-between;
  16. align-items: center;
  17. }
  18. .same_row_in {
  19. display: flex;
  20. align-items: center;
  21. }
  22. .font_green{
  23. color: #4CAF50;
  24. }
  25. // 伪元素1rpx边框
  26. .frame {
  27. position: relative; //重要
  28. }
  29. .frame::after {
  30. position: absolute;
  31. content: '';
  32. border-bottom: 4rpx solid #e4e7ed;
  33. width: 200%;
  34. height: 200%;
  35. top: 0;
  36. left: 0;
  37. transform: scale(0.5);
  38. transform-origin: 0 0;
  39. pointer-events: none; /* 使伪元素不会阻止鼠标事件 */
  40. }
  41. .bottomFit{
  42. padding-bottom: 0 !important;
  43. padding-bottom: constant(safe-area-inset-bottom) !important;
  44. padding-bottom: env(safe-area-inset-bottom) !important;
  45. }