index.wxss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  1. .index {
  2. color: #131D34;
  3. padding-bottom: 200rpx;
  4. background: linear-gradient(180deg,rgba(255,255,255,1) 0%,rgba(235,235,235,1) 100%);
  5. }
  6. .search-w {
  7. margin: 0 auto;
  8. padding: 0 46rpx;
  9. margin-top: 20rpx;
  10. margin-bottom: 34rpx;
  11. }
  12. .content {
  13. padding: 0 46rpx;
  14. }
  15. .advertise image {
  16. width: 100%;
  17. height: 312rpx;
  18. background-size: cover;
  19. background-position: center center;
  20. /* background-image: url(../../image/4Dage/index/b-banner.png); */
  21. }
  22. .banner image {
  23. width: 100%;
  24. height: 254rpx;
  25. }
  26. .tab-w {
  27. display: flex;
  28. height: 202rpx;
  29. align-items: center;
  30. }
  31. .tab {
  32. text-align: center;
  33. flex: 1;
  34. font-size: 26rpx;
  35. }
  36. .tab image {
  37. width: 80rpx;
  38. height: 80rpx;
  39. margin-bottom: 10rpx;
  40. }
  41. .category-header {
  42. margin-bottom: 26rpx;
  43. }
  44. .category-title {
  45. font-size: 30rpx;
  46. font-weight: bold;
  47. }
  48. .category-list {
  49. display: flex;
  50. flex-wrap: wrap;
  51. }
  52. .category-item {
  53. width: 318rpx;
  54. overflow: hidden;
  55. text-align: left;
  56. margin-bottom: 32rpx;
  57. }
  58. .category-item:nth-child(odd) {
  59. margin-right: 22rpx;
  60. }
  61. .category-item image {
  62. width: 100%;
  63. height: 238rpx;
  64. margin-bottom: 14rpx;
  65. }
  66. .goods-name {
  67. font-weight: bold;
  68. font-size: 30rpx;
  69. }
  70. .desc {
  71. margin-top: 8rpx;
  72. font-size: 22rpx;
  73. color: #909090;
  74. }
  75. .desc:last-child {
  76. margin-top: 0;
  77. }
  78. .enterprise-w {
  79. /* margin-top: 52rpx; */
  80. background: #fff;
  81. /* height: 978rpx; */
  82. width: 100%;
  83. }
  84. .enterprise-header {
  85. padding: 36rpx 42rpx 22rpx 30rpx;
  86. }
  87. .enterprise-list {
  88. display: flex;
  89. flex-wrap: wrap;
  90. padding: 0 15rpx;
  91. }
  92. .enterprise-item {
  93. display: flex;
  94. flex-direction: column;
  95. width: 33.3333%;
  96. border-bottom: 2rpx solid #F7F7F7;
  97. height: 170rpx;
  98. font-size: 16rpx;
  99. align-items: center;
  100. justify-content: center;
  101. }
  102. .enterprise-item:nth-child(3n-2) {
  103. border-right: 2rpx solid #F7F7F7;
  104. }
  105. .enterprise-item:nth-child(3n-1) {
  106. border-right: 2rpx solid #F7F7F7;
  107. }
  108. .enterprise-logo {
  109. width: 100%;
  110. height: 108rpx;
  111. text-align: center;
  112. position: relative;
  113. }
  114. .enterprise-logo image {
  115. position: absolute;
  116. top: 50%;
  117. left: 50%;
  118. transform: translate(-50%, -50%);
  119. width: 2rpx;
  120. height: 2rpx;
  121. visibility: hidden;
  122. }
  123. .enterprise-name {
  124. padding: 0 30rpx;
  125. text-align: center;
  126. }