C端小程序
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

227 lines
3.5 KiB

  1. .optimizationBox {
  2. /* overflow: hidden; */
  3. margin-top: 20rpx;
  4. }
  5. .titleImg {
  6. width: 96%;
  7. height: 80rpx;
  8. margin: 0rpx auto;
  9. background-image: url("https://formall.oss-accelerate.aliyuncs.com/cimg/v20211214/home_ggw_yxhw.png");
  10. background-size: 100% 100%;
  11. background-repeat: no-repeat;
  12. }
  13. .textl {
  14. font-size: 34rpx;
  15. font-family: OPPOSans;
  16. font-weight: bold;
  17. color: #dfbe99;
  18. margin: 20rpx;
  19. }
  20. .textr {
  21. font-size: 30rpx;
  22. font-family: OPPOSans;
  23. font-weight: 300;
  24. color: #91897e;
  25. margin: 20rpx;
  26. }
  27. .f {
  28. float: left;
  29. }
  30. .r {
  31. float: right;
  32. }
  33. .classifyBox {
  34. width: 100%;
  35. border-radius: 20rpx 20rpx 0 0;
  36. background-color: #fff;
  37. overflow: hidden;
  38. display: -webkit-box;
  39. overflow-x: scroll;
  40. -webkit-overflow-scrolling: touch;
  41. /* margin: 10rpx 0; */
  42. /* background: linear-gradient(0deg, #F5F5F5, #fff); */
  43. }
  44. .classifyBox::-webkit-scrollbar {
  45. display: none;
  46. }
  47. .itemBox {
  48. /* width: 100rpx; */
  49. height: 100rpx;
  50. margin: 0 30rpx;
  51. }
  52. .className {
  53. font-size: 28rpx;
  54. font-family: OPPOSans;
  55. font-weight: 500;
  56. color: #454340;
  57. text-align: center;
  58. margin: 20rpx auto 10rpx auto;
  59. }
  60. .className_a {
  61. font-size: 30rpx;
  62. font-family: OPPOSans;
  63. font-weight: 800;
  64. color: #c99f67;
  65. text-align: center;
  66. background: linear-gradient(180deg, #cc9a60 0%, #dfbf8e 100%);
  67. -webkit-background-clip: text;
  68. background-clip: text;
  69. -webkit-text-fill-color: transparent;
  70. margin: 20rpx auto 10rpx auto;
  71. }
  72. .xian {
  73. width: 22rpx;
  74. height: 5rpx;
  75. background: linear-gradient(180deg, #D5A56E, #E9D0AA);
  76. border-radius: 3px;
  77. margin: 0 auto;
  78. }
  79. .contBox {
  80. background: linear-gradient(0deg, #F5F5F5, #fff);
  81. height: 350rpx;
  82. }
  83. .contLsitBox {
  84. width: 96%;
  85. margin: 0 auto;
  86. display: flex;
  87. overflow: hidden;
  88. justify-content: space-between;
  89. flex-wrap: wrap;
  90. padding-bottom: 170rpx;
  91. }
  92. .item {
  93. width: 49%;
  94. background-color: #fff;
  95. border-radius: 20rpx;
  96. margin: 12rpx 0;
  97. position: relative;
  98. }
  99. .itemImg {
  100. width: 100%;
  101. height: 350rpx;
  102. border-radius: 20rpx;
  103. /* background-color: aquamarine; */
  104. }
  105. .itemImg .img {
  106. width: 100%;
  107. height: 100%;
  108. border-radius: 20rpx 20rpx 0 0;
  109. }
  110. .titleName {
  111. width: 90%;
  112. height: 50rpx;
  113. line-height: 50rpx;
  114. font-size: 28rpx;
  115. font-family: OPPOSans;
  116. font-weight: 500;
  117. color: #333333;
  118. margin: 10rpx auto 0 auto;
  119. overflow: hidden;
  120. text-overflow: ellipsis;
  121. display: -webkit-box;
  122. -webkit-line-clamp: 2;
  123. -webkit-box-orient: vertical;
  124. white-space: normal;
  125. }
  126. .credit {
  127. color: #DF2D2D;
  128. }
  129. .priceBox {
  130. width: 90%;
  131. overflow: hidden;
  132. margin: 10rpx auto;
  133. }
  134. .f {
  135. float: left;
  136. }
  137. .r {
  138. float: right;
  139. }
  140. .sellingBox {
  141. overflow: hidden
  142. }
  143. .fuhao {
  144. color: #DF2D2D;
  145. font-size: 24rpx;
  146. float: left;
  147. font-family: OPPOSans;
  148. /* font-weight: bold; */
  149. margin-top: 10rpx
  150. }
  151. .int {
  152. float: left;
  153. font-size: 36rpx;
  154. font-family: OPPOSans;
  155. font-weight: bold;
  156. color: #DF2D2D;
  157. }
  158. .originalBox {
  159. overflow: hidden
  160. }
  161. .origina {
  162. text-align: right;
  163. font-size: 24rpx;
  164. font-family: OPPOSans;
  165. font-weight: 400;
  166. text-decoration: line-through;
  167. color: #999999;
  168. margin-top: 10rpx;
  169. margin-right: 10rpx;
  170. }
  171. .priceNum {
  172. text-align: right;
  173. font-size: 24rpx;
  174. font-family: OPPOSans;
  175. font-weight: 400;
  176. color: #999999;
  177. margin-top: 10rpx;
  178. /* margin-right: 10rpx; */
  179. }
  180. .sellout {
  181. position: absolute;
  182. top: 0;
  183. left: 0;
  184. background-color: rgba(0, 0, 0, 0.5);
  185. width: 100%;
  186. height: 100%;
  187. border-radius: 20rpx;
  188. }
  189. .selloutImg {
  190. width: 195rpx !important;
  191. height: 154rpx !important;
  192. margin: 50% auto;
  193. display: block
  194. }