activePage2.wxss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. page{
  2. background-color:#caece3 ;
  3. }
  4. .box {
  5. position: relative;
  6. }
  7. /* 头部 */
  8. .top {
  9. position: absolute;
  10. }
  11. .top-bgc {
  12. width: 750rpx;
  13. height: 1486rpx;
  14. }
  15. .bottom-bgc {
  16. position: absolute;
  17. top: 1486rpx;
  18. }
  19. .bottom-bgc image {
  20. width: 750rpx;
  21. height: 1480rpx;
  22. }
  23. /* 中间 */
  24. .center {}
  25. /* 项目分类商品 */
  26. .classifyProject {
  27. position: absolute;
  28. width: 750rpx;
  29. height: 514rpx;
  30. display: flex;
  31. top: 2066rpx;
  32. }
  33. .classifyProject .classifyProject-item {
  34. height: 100%;
  35. width: 330rpx;
  36. border-radius: 24rpx;
  37. background-color: white;
  38. margin-left: 30rpx;
  39. }
  40. .classifyProject-item-top {
  41. width: 100%;
  42. height: 330rpx;
  43. }
  44. .classifyProject-item-top image {
  45. width: 100%;
  46. height: 100%;
  47. border-radius: 24rpx 24rpx 0 0;
  48. }
  49. .classifyProject-item-bottom {
  50. height: 184rpx;
  51. width: 100%;
  52. padding: 0 18rpx;
  53. box-sizing: border-box;
  54. padding-top: 8rpx;
  55. display: flex;
  56. flex-direction: column;
  57. justify-content: space-between;
  58. }
  59. .classifyProject-title {
  60. font-size: 28rpx;
  61. overflow: hidden;
  62. text-overflow: ellipsis;
  63. display: -webkit-box;
  64. -webkit-line-clamp: 2;
  65. -webkit-box-orient: vertical;
  66. }
  67. .classifyProject-price {
  68. width: 100%;
  69. height: 110rpx;
  70. display: flex;
  71. align-items: center;
  72. justify-content: space-between;
  73. }
  74. .classifyProject-price .price {
  75. font-size: 20rpx;
  76. color: #FF3007;
  77. }
  78. .classifyProject-price .price text {
  79. font-size: 36rpx;
  80. color: #FF3007;
  81. }
  82. .classifyProject-price image {
  83. width: 48rpx;
  84. height: 48rpx;
  85. margin-top: 10rpx;
  86. box-sizing: border-box;
  87. }
  88. /* 次卡活动 */
  89. .cardAct {
  90. position: absolute;
  91. margin-top: 822rpx;
  92. }
  93. .cardAct .cardAct-image {
  94. width: 480rpx;
  95. height: 80rpx;
  96. margin-left: 135rpx;
  97. }
  98. /* 次卡轮播图 */
  99. .cardImage {
  100. width: 750rpx;
  101. height: 618rpx;
  102. position: absolute;
  103. margin-top: 30rpx;
  104. }
  105. .cardImage .wx-swiper-dot {
  106. width: 20rpx; /*点的长*/
  107. height: 20rpx; /*点的高*/
  108. }
  109. .cardImage-item {
  110. border-radius: 10rpx;
  111. width: 540rpx;
  112. height: 540rpx;
  113. display: flex;
  114. justify-content: center;
  115. }
  116. .cardImage-item .imageSmall {
  117. width: 540rpx;
  118. height: 540rpx;
  119. border-radius: 30rpx;
  120. border: 2rpx solid #24A8AD;
  121. }
  122. /* 底部 */
  123. .bottom {
  124. position: absolute;
  125. }
  126. /* 商品活动 */
  127. .commodity {
  128. width: 750rpx;
  129. position: absolute;
  130. height: 558rpx;
  131. top: 1606rpx;
  132. }
  133. .commodity .commodity-image {
  134. width: 480rpx;
  135. height: 80rpx;
  136. margin-left: 135rpx;
  137. }
  138. .commodity-bgc{
  139. width: 690rpx;
  140. height: 300rpx;
  141. margin-left: 30rpx;
  142. border-radius: 30rpx;
  143. border: 2rpx solid #24A8AD;
  144. overflow: hidden;
  145. margin-top: 30rpx;
  146. transform-style:preserve-3d;
  147. background-color: #24A8AD;
  148. }
  149. /* 商品活动轮播图 */
  150. .commodity-swiper {
  151. width: 100%;
  152. height: 100%;
  153. overflow: hidden;
  154. transform-style:preserve-3d;
  155. }
  156. .commodity-swiper swiper-item image {
  157. width: 100%;
  158. height: 100%;
  159. }
  160. /* 商品活动商品轮播图 */
  161. .classifyProject swiper {
  162. width: 100%;
  163. height: 100%;
  164. }
  165. .classifyProject swiper-item {
  166. width: 100%;
  167. height: 100%;
  168. display: flex;
  169. justify-content: space-around;
  170. }