integral.wxss 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159
  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. box-shadow: 0px 0px 6rpx 0px rgba(0, 0, 0, 0.1);
  98. border-radius: 14rpx;
  99. }
  100. .product-box .hotgoods .hotgoods-item {
  101. width: 48%;
  102. background-color: #ffffff;
  103. border-radius: 12rpx;
  104. }
  105. .product-box .hotgoods .hotgoods-item:nth-child(2n + 1) {
  106. margin-right: 24rpx;
  107. }
  108. .product-box .hotgoods .hotgoods-item .image-wrapper {
  109. width: 100%;
  110. height: 330rpx;
  111. border-radius: 3px;
  112. overflow: hidden;
  113. position: relative;
  114. }
  115. .product-box .hotgoods .hotgoods-item .image-wrapper .image-bg {
  116. position: absolute;
  117. top: 0;
  118. left: 0;
  119. right: 0;
  120. bottom: 0;
  121. width: 100%;
  122. height: 100%;
  123. opacity: 1;
  124. border-radius: 12rpx 12rpx 0 0;
  125. z-index: 2;
  126. }
  127. .product-box .hotgoods .hotgoods-item .image-wrapper .image {
  128. width: 100%;
  129. height: 100%;
  130. opacity: 1;
  131. border-radius: 12rpx 12rpx 0 0;
  132. }
  133. .product-box .hotgoods .hotgoods-item .title {
  134. margin-top: 24rpx;
  135. font-size: 28rpx;
  136. font-family: PingFang SC;
  137. font-weight: 500;
  138. color: #333333;
  139. }
  140. .product-box .hotgoods .hotgoods-item .hot-price {
  141. display: flex;
  142. justify-content: space-between;
  143. align-items: center;
  144. padding: 14rpx 0 10rpx;
  145. }
  146. .product-box .hotgoods .hotgoods-item .hot-price .price {
  147. margin-left: 10rpx;
  148. font-size: 20rpx;
  149. font-family: PingFang SC;
  150. font-weight: bold;
  151. color: #ff1a1a;
  152. }
  153. .product-box .hotgoods .hotgoods-item .hot-price .yuanPrice {
  154. font-size: 20rpx;
  155. font-family: PingFang SC;
  156. font-weight: bold;
  157. color: #999999;
  158. }