抖音小程序C端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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