index.wxss 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. .ant-grid {
  2. padding: 12px;
  3. box-sizing: border-box;
  4. }
  5. .ant-grid-columns-3 {
  6. padding: 12px 0;
  7. }
  8. .ant-grid-default {
  9. display: flex;
  10. flex-wrap: wrap;
  11. justify-content: flex-start;
  12. }
  13. .ant-grid-scroll {
  14. display: flex;
  15. flex-wrap: nowrap;
  16. align-items: flex-start;
  17. }
  18. .ant-grid-item {
  19. box-sizing: border-box;
  20. display: flex;
  21. flex-direction: column;
  22. align-items: center;
  23. text-align: center;
  24. flex-shrink: 0;
  25. position: relative;
  26. }
  27. .ant-grid-item-line::after {
  28. content: '';
  29. position: absolute;
  30. background-color: #eeeeee;
  31. display: block;
  32. top: 0;
  33. right: 0;
  34. bottom: 0;
  35. left: auto;
  36. width: 1px;
  37. transform: scaleX(0.5);
  38. }
  39. .ant-grid-item-vertical-space {
  40. margin-bottom: 20px;
  41. }
  42. .ant-grid-item-columns-5 {
  43. width: 20%;
  44. }
  45. .ant-grid-item-columns-4 {
  46. width: 25%;
  47. }
  48. .ant-grid-item-columns-3 {
  49. width: 33.3%;
  50. }
  51. .ant-grid-item-columns-2 {
  52. width: 50%;
  53. }
  54. .ant-grid-item-horizontal {
  55. justify-content: center;
  56. text-align: left;
  57. position: relative;
  58. min-height: 28px;
  59. padding-left: 40px;
  60. }
  61. .ant-grid-item-horizontal .ant-grid-item-img,
  62. .ant-grid-item-horizontal .ant-grid-item-icon {
  63. position: absolute;
  64. left: 0;
  65. top: 0;
  66. bottom: 0;
  67. margin: auto;
  68. }
  69. .ant-grid-item-horizontal .ant-grid-item-title {
  70. margin-top: 0;
  71. }
  72. .ant-grid-item-columns-scroll {
  73. width: 65px;
  74. }
  75. .ant-grid-item-icon-circle {
  76. border-radius: 50%;
  77. overflow: hidden;
  78. }
  79. .ant-grid-item-icon-icon {
  80. font-size: 28px;
  81. }
  82. .ant-grid-item-icon-image {
  83. width: 28px;
  84. height: 28px;
  85. }
  86. .ant-grid-item-title {
  87. font-size: 13px;
  88. color: #333333;
  89. line-height: 18.5px;
  90. width: 100%;
  91. margin-top: 8px;
  92. white-space: nowrap;
  93. overflow: hidden;
  94. text-overflow: ellipsis;
  95. }
  96. .ant-grid-item-description {
  97. font-size: 12px;
  98. color: #999999;
  99. line-height: 16.5px;
  100. width: 100%;
  101. white-space: nowrap;
  102. overflow: hidden;
  103. text-overflow: ellipsis;
  104. }
  105. .ant-grid-item-description:empty {
  106. display: none;
  107. }