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

202 lines
3.3 KiB

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