integral.wxss 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. @charset "UTF-8";
  2. /* 页面左右间距 */
  3. /* 文字尺寸 */
  4. /*文字颜色*/
  5. /* 边框颜色 */
  6. /*颜色*/
  7. /* 图片加载中颜色 */
  8. /* 行为相关颜色 */
  9. /* 功能栏字体大小 */
  10. /*功能栏左侧小图标*/
  11. .center,
  12. page {
  13. height: auto;
  14. min-height: 100%;
  15. }
  16. .titleNview-placing {
  17. height: 25px;
  18. box-sizing: content-box;
  19. }
  20. .top-search {
  21. margin-top: 30rpx;
  22. height: 80rpx;
  23. padding: 0 20rpx;
  24. }
  25. .top-search .search-box {
  26. position: relative;
  27. z-index: 2;
  28. justify-content: center;
  29. width: 740rpx;
  30. height: 60rpx;
  31. background: #fff;
  32. border-radius: 30rpx;
  33. }
  34. .top-search .search-box .search {
  35. width: 26rpx;
  36. height: 30rpx;
  37. }
  38. .top-search .search-box .search-font input {
  39. width: 500rpx;
  40. margin-left: 14rpx;
  41. font-size: 28rpx;
  42. font-family: PingFang SC;
  43. font-weight: 500;
  44. color: #aaaaaa;
  45. }
  46. .banner {
  47. margin: 20rpx auto 0;
  48. width: 690rpx;
  49. height: 350rpx;
  50. }
  51. .banner .banner-item {
  52. width: 690rpx;
  53. height: 350rpx;
  54. }
  55. .banner .banner-item image {
  56. width: 100%;
  57. height: 100%;
  58. }
  59. .product-box {
  60. margin-top: 20rpx;
  61. background: #ffffff;
  62. padding: 26rpx 30rpx 20rpx;
  63. }
  64. .product-box .product-title {
  65. margin: 0 auto;
  66. position: relative;
  67. width: 352rpx;
  68. display: flex;
  69. align-items: center;
  70. }
  71. .product-box .product-title .pt-title {
  72. width: 352rpx;
  73. text-align: center;
  74. font-size: 35rpx;
  75. font-family: Source Han Sans CN;
  76. font-weight: 500;
  77. color: #ff4c4c;
  78. }
  79. .product-box .product-title .pt-bg {
  80. position: absolute;
  81. top: 0;
  82. left: 0;
  83. right: 0;
  84. width: 352rpx;
  85. height: 9rpx;
  86. }
  87. .product-box .product-title .pt-bg image {
  88. width: 100%;
  89. height: 100%;
  90. }
  91. .product-box .hotgoods {
  92. margin-top: 38rpx;
  93. width: 100%;
  94. display: flex;
  95. flex-wrap: wrap;
  96. padding: 0 0 30rpx;
  97. border-radius: 14rpx;
  98. }
  99. .product-box .hotgoods .hotgoods-item {
  100. width: 48%;
  101. background-color: #ffffff;
  102. border-radius: 12rpx;
  103. }
  104. .product-box .hotgoods .hotgoods-item:nth-child(2n + 1) {
  105. margin-right: 24rpx;
  106. }
  107. .product-box .hotgoods .hotgoods-item .image-wrapper {
  108. width: 100%;
  109. height: 330rpx;
  110. border-radius: 3px;
  111. overflow: hidden;
  112. position: relative;
  113. }
  114. .product-box .hotgoods .hotgoods-item .image-wrapper .image-bg {
  115. position: absolute;
  116. top: 0;
  117. left: 0;
  118. right: 0;
  119. bottom: 0;
  120. width: 100%;
  121. height: 100%;
  122. opacity: 1;
  123. border-radius: 12rpx 12rpx 0 0;
  124. z-index: 2;
  125. }
  126. .product-box .hotgoods .hotgoods-item .image-wrapper .image {
  127. width: 100%;
  128. height: 100%;
  129. opacity: 1;
  130. border-radius: 12rpx 12rpx 0 0;
  131. }
  132. .product-box .hotgoods .hotgoods-item .title {
  133. margin-top: 24rpx;
  134. font-size: 34rpx;
  135. font-family: PingFang SC;
  136. font-weight: 500;
  137. color: #333333;
  138. }
  139. .product-box .hotgoods .hotgoods-item .hot-price {
  140. display: flex;
  141. justify-content: space-between;
  142. align-items: center;
  143. padding: 14rpx 0 10rpx;
  144. }
  145. .product-box .hotgoods .hotgoods-item .hot-price .price {
  146. margin-left: 10rpx;
  147. font-size: 30rpx;
  148. font-family: PingFang SC;
  149. font-weight: bold;
  150. color: #ff1a1a;
  151. }
  152. .product-box .hotgoods .hotgoods-item .hot-price .yuanPrice {
  153. font-size: 30rpx;
  154. font-family: PingFang SC;
  155. font-weight: bold;
  156. color: #999999;
  157. }