index.module.scss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. .Tab5 {
  2. width: 100%;
  3. height: 100%;
  4. padding: 68px 40px;
  5. background-size: 100% 100%;
  6. position: relative;
  7. :global {
  8. .tab5Top {
  9. display: flex;
  10. justify-content: center;
  11. .tab5TopRow {
  12. cursor: pointer;
  13. height: 40px;
  14. border: 1px solid var(--themeColor);
  15. padding: 0 26px;
  16. border-radius: 0 10px 0 10px;
  17. margin-right: 20px;
  18. color: var(--themeColor);
  19. font-size: 18px;
  20. line-height: 38px;
  21. &:last-child {
  22. margin-right: 0;
  23. }
  24. }
  25. .tab5TopRowAc {
  26. background-color: var(--themeColor);
  27. color: #4A403D;
  28. }
  29. }
  30. .tab5Main {
  31. margin: 47px -15px 0;
  32. display: flex;
  33. flex-wrap: wrap;
  34. align-items: center;
  35. .tab5Row {
  36. flex-shrink: 0;
  37. width: calc(20% - 30px);
  38. margin: 20px 15px;
  39. height: auto;
  40. cursor: pointer;
  41. display: flex;
  42. flex-direction: column;
  43. background-color: #fff;
  44. padding: 10px;
  45. border-radius: 6px;
  46. &>div {
  47. width: 100%;
  48. height: calc(100% - 40px);
  49. // background-color: #fff;
  50. }
  51. p {
  52. flex: 1;
  53. display: inline-block;
  54. font-size: 16px;
  55. text-align: center;
  56. padding: 0 5px;
  57. margin-top: 10px;
  58. overflow: hidden;
  59. text-overflow: ellipsis;
  60. white-space: nowrap;
  61. color: #47392C;
  62. // color: #fff;
  63. }
  64. &:hover {
  65. box-shadow: 1px 1px 5px 5px rgba(74, 64, 61, .8);
  66. }
  67. }
  68. }
  69. // 分页
  70. .tab5Page {
  71. display: flex;
  72. justify-content: center;
  73. margin-top: 53px;
  74. .ant-pagination-prev button,
  75. .ant-pagination-next button {
  76. color: var(--themeColor);
  77. }
  78. .ant-pagination-item-ellipsis {
  79. color: var(--themeColor) !important;
  80. }
  81. .ant-pagination-item-active {
  82. background-color: var(--themeColor);
  83. a {
  84. color: #47392C !important;
  85. }
  86. }
  87. .ant-pagination-options {
  88. color: var(--themeColor);
  89. input {
  90. background-color: transparent;
  91. border: 1px solid var(--themeColor);
  92. color: var(--themeColor);
  93. }
  94. }
  95. }
  96. }
  97. }