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

205 lines
3.4 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; *//* background: linear-gradient(0deg, #F5F5F5, #fff); */
  42. }
  43. .classifyBox::-webkit-scrollbar {
  44. display: none;
  45. }
  46. .itemBox {
  47. /* width: 100rpx; */
  48. height: 100rpx;
  49. margin: 0 30rpx;
  50. }
  51. .className {
  52. font-size: 28rpx;
  53. font-family: OPPOSans;
  54. font-weight: 500;
  55. color: #454340;
  56. text-align: center;
  57. margin: 20rpx auto 10rpx auto;
  58. }
  59. .className_a {
  60. font-size: 30rpx;
  61. font-family: OPPOSans;
  62. font-weight: 800;
  63. color: #c99f67;
  64. text-align: center;
  65. background: linear-gradient(180deg, #cc9a60 0%, #dfbf8e 100%);
  66. -webkit-background-clip: text;
  67. background-clip: text;
  68. -webkit-text-fill-color: transparent;
  69. margin: 20rpx auto 10rpx auto;
  70. }
  71. .xian{
  72. width: 22rpx;
  73. height: 5rpx;
  74. background: linear-gradient(180deg, #D5A56E, #E9D0AA);
  75. border-radius: 3px;
  76. margin: 0 auto;
  77. }
  78. .contBox{
  79. background: linear-gradient(0deg, #F5F5F5, #fff);
  80. height: 350rpx;
  81. }
  82. .contLsitBox{
  83. width: 96%;
  84. margin: 0 auto ;
  85. display: flex;
  86. overflow: hidden;
  87. justify-content: space-between;
  88. flex-wrap: wrap;
  89. padding-bottom: 170rpx;
  90. }
  91. .item{
  92. width: 49%;
  93. background-color: #fff;
  94. border-radius: 20rpx;
  95. margin: 12rpx 0;
  96. position: relative;
  97. }
  98. .itemImg{
  99. width: 100%;
  100. height: 350rpx;
  101. border-radius: 20rpx;
  102. /* background-color: aquamarine; */
  103. }
  104. .itemImg .img{
  105. width: 100%;
  106. height: 100%;
  107. border-radius: 20rpx 20rpx 0 0;
  108. }
  109. .titleName{
  110. width:90%;
  111. height: 80rpx;
  112. font-size: 28rpx;
  113. font-family: OPPOSans;
  114. font-weight: 500;
  115. color: #333333;
  116. margin: 10rpx auto 0 auto;
  117. overflow: hidden;
  118. text-overflow: ellipsis;
  119. display: -webkit-box;
  120. -webkit-line-clamp: 2;
  121. -webkit-box-orient: vertical;
  122. white-space:normal;
  123. }
  124. .priceBox{
  125. width: 90%;
  126. overflow: hidden;
  127. margin: 10rpx auto;
  128. }
  129. .f{
  130. float: left;
  131. }
  132. .r{
  133. float:right;
  134. }
  135. .sellingBox{
  136. overflow: hidden
  137. }
  138. .fuhao{
  139. color: #DF2D2D;
  140. font-size: 24rpx;
  141. float: left;
  142. font-family: OPPOSans;
  143. /* font-weight: bold; */
  144. margin-top: 10rpx
  145. }
  146. .int{
  147. float: left;
  148. font-size: 36rpx;
  149. font-family: OPPOSans;
  150. font-weight: bold;
  151. color: #DF2D2D;
  152. }
  153. .originalBox{
  154. overflow: hidden
  155. }
  156. .origina{
  157. text-align: right;
  158. font-size: 24rpx;
  159. font-family: OPPOSans;
  160. font-weight: 400;
  161. text-decoration: line-through;
  162. color: #999999;
  163. margin-top: 10rpx;
  164. margin-right: 10rpx;
  165. }
  166. .priceNum{
  167. text-align: right;
  168. font-size: 24rpx;
  169. font-family: OPPOSans;
  170. font-weight: 400;
  171. color: #999999;
  172. margin-top: 10rpx;
  173. /* margin-right: 10rpx; */
  174. }
  175. .sellout{
  176. position: absolute;
  177. top: 0;
  178. left: 0;
  179. background-color: rgba(0, 0, 0, 0.5);
  180. width: 100%;
  181. height: 100%;
  182. border-radius: 20rpx;
  183. }
  184. .selloutImg{
  185. width: 195rpx !important;
  186. height: 154rpx !important;
  187. margin: 50% auto;
  188. display: block
  189. }