style.less 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. .emptyPage {
  2. display: flex;
  3. flex-direction: column;
  4. height: 100%;
  5. padding: 32px;
  6. background: #ffffff;
  7. border-radius: 4px;
  8. margin: 16px;
  9. .emptyPage-title {
  10. font-size: 32px;
  11. height: 32px;
  12. font-weight: bold;
  13. color: #17181a;
  14. line-height: 32px;
  15. margin-bottom: 16px;
  16. }
  17. .emptyPage-detail {
  18. font-weight: 400;
  19. font-size: 18px;
  20. color: #525866;
  21. line-height: 27px;
  22. }
  23. .imgWrap {
  24. display: flex;
  25. justify-content: center;
  26. align-items: center;
  27. margin-top: 32px;
  28. background: linear-gradient(180deg, #f0f5fd 0%, #ffffff 100%);
  29. & > img {
  30. width: 70%;
  31. }
  32. }
  33. .imgWrap {
  34. display: flex;
  35. flex: 1;
  36. justify-content: center;
  37. align-items: center;
  38. width: 100%;
  39. height: 100%;
  40. background-size: cover !important;
  41. background-repeat: no-repeat !important;
  42. & > img {
  43. width: 640px;
  44. transition: all 0.3s linear;
  45. }
  46. }
  47. /* 当屏幕宽度小于或等于 600px */
  48. @media screen and (max-width: 1250px) {
  49. .imgWrap > img {
  50. width: 500px;
  51. }
  52. }
  53. /* 当屏幕宽度小于或等于 600px */
  54. @media screen and (min-width: 1250px) and (max-width: 1360px) {
  55. .imgWrap > img {
  56. width: 600px;
  57. }
  58. }
  59. /* 当屏幕宽度在 601px 到 900px */
  60. @media screen and (min-width: 1360px) and (max-width: 1500px) {
  61. .imgWrap > img {
  62. width: 640px;
  63. }
  64. }
  65. /* 当屏幕宽度大于 900px */
  66. @media screen and (min-width: 1500px) and (max-width: 1760px) {
  67. .imgWrap > img {
  68. width: 760px;
  69. }
  70. }
  71. /* 当屏幕宽度大于 900px */
  72. @media screen and (min-width: 1760px) and (max-width: 1920px) {
  73. .imgWrap > img {
  74. width: 800px;
  75. }
  76. }
  77. /* 当屏幕宽度大于 900px */
  78. @media screen and (min-width: 1960px) and (max-width: 2000px) {
  79. .imgWrap > img {
  80. width: 900px;
  81. }
  82. }
  83. /* 当屏幕宽度大于 900px */
  84. @media screen and (min-width: 2000px) {
  85. .imgWrap > img {
  86. width: 1000px;
  87. }
  88. }
  89. }