index.scss 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365
  1. page {
  2. background-color: #f5f5f5;
  3. }
  4. .home {
  5. padding-bottom: 100rpx;
  6. .uni-margin-wrap {
  7. width: 690rpx;
  8. width: 100%;
  9. }
  10. main {
  11. padding: 10rpx 20rpx 0;
  12. .swiper {
  13. height: 300rpx;
  14. border-radius: 30rpx;
  15. .swiper-item {
  16. display: block;
  17. height: 300rpx;
  18. line-height: 300rpx;
  19. text-align: center;
  20. }
  21. img {
  22. width: 100%;
  23. height: 100%;
  24. display: block;
  25. }
  26. .swiper-list {
  27. margin-top: 40rpx;
  28. margin-bottom: 0;
  29. }
  30. .uni-common-mt {
  31. margin-top: 60rpx;
  32. position: relative;
  33. }
  34. .info {
  35. position: absolute;
  36. right: 20rpx;
  37. }
  38. .uni-padding-wrap {
  39. width: 550rpx;
  40. padding: 0 100rpx;
  41. }
  42. }
  43. .find-container {
  44. margin-top: 20rpx;
  45. padding: 20rpx 30rpx;
  46. box-sizing: border-box;
  47. background-color: #fff;
  48. border-radius: 20rpx;
  49. .find-top,
  50. .find-bottom {
  51. display: flex;
  52. justify-content: space-between;
  53. margin-top: 20rpx;
  54. .find-item {
  55. display: flex;
  56. align-items: center;
  57. justify-content: center;
  58. flex-direction: column;
  59. gap: 20rpx;
  60. img {
  61. width: 100rpx;
  62. height: 100rpx;
  63. }
  64. }
  65. }
  66. }
  67. .seek-advice {
  68. display: flex;
  69. align-items: center;
  70. gap: 30rpx;
  71. height: 75rpx;
  72. background-color: #fff;
  73. border-radius: 20rpx;
  74. margin-top: 25rpx;
  75. box-sizing: border-box;
  76. padding: 0 30rpx;
  77. p {
  78. i {
  79. color: #ef530e;
  80. font-size: 36rpx;
  81. font-weight: 700;
  82. }
  83. }
  84. .over {
  85. // width: 370rpx;
  86. flex: 1;
  87. overflow: hidden;
  88. text-overflow: ellipsis;
  89. white-space: nowrap;
  90. }
  91. span {
  92. position: relative;
  93. &::after {
  94. content: "";
  95. width: 1px;
  96. height: 80%;
  97. background-color: #f5f5f5;
  98. position: absolute;
  99. left: -20rpx;
  100. top: 50%;
  101. transform: translateY(-50%);
  102. }
  103. }
  104. }
  105. .market {
  106. padding: 30rpx 22rpx 0rpx;
  107. background-color: #fff;
  108. margin-top: 25rpx;
  109. border-radius: 20rpx;
  110. .market-top {
  111. display: flex;
  112. align-items: center;
  113. gap: 70rpx;
  114. border-bottom: 1px solid #f5f5f5;
  115. padding-bottom: 25rpx;
  116. .material {
  117. font-size: 42rpx;
  118. font-weight: 700;
  119. color: #000;
  120. display: flex;
  121. font-style: italic;
  122. span {
  123. color: #0bc5b6;
  124. }
  125. }
  126. .percentage {
  127. display: flex;
  128. flex-direction: column;
  129. gap: 10rpx;
  130. .item-box {
  131. display: flex;
  132. gap: 20rpx;
  133. > span {
  134. color: rgba(0, 0, 0, 0.5);
  135. }
  136. .item {
  137. display: flex;
  138. align-items: center;
  139. gap: 15rpx;
  140. p {
  141. width: 25rpx;
  142. height: 25rpx;
  143. background-color: #0bc5b6;
  144. border-radius: 50%;
  145. display: flex;
  146. }
  147. }
  148. }
  149. > p {
  150. color: #000;
  151. font-weight: 500;
  152. }
  153. }
  154. .deal {
  155. span {
  156. color: rgba(0, 0, 0, 0.5);
  157. }
  158. p {
  159. margin-top: 15rpx;
  160. font-weight: 500;
  161. }
  162. }
  163. }
  164. .market-bottom {
  165. display: flex;
  166. .find-left {
  167. padding: 30rpx 30rpx 30rpx 0rpx;
  168. flex: 1;
  169. display: flex;
  170. flex-direction: column;
  171. gap: 25rpx;
  172. box-sizing: border-box;
  173. border-right: 1px solid #f5f5f5;
  174. .title {
  175. display: flex;
  176. align-items: center;
  177. font-size: 38rpx;
  178. font-weight: 700;
  179. span {
  180. color: #ef530e;
  181. }
  182. .img-box {
  183. margin-left: 15rpx;
  184. width: 110rpx;
  185. height: 35rpx;
  186. background: url("../../../static/new-images/home/bg-icon.png")
  187. no-repeat center;
  188. background-size: 100% 100%;
  189. text-align: center;
  190. padding-left: 20rpx;
  191. line-height: 35rpx;
  192. font-size: 24rpx;
  193. color: #fff;
  194. }
  195. }
  196. .text {
  197. font-size: 26rpx;
  198. }
  199. > p {
  200. color: #ef530e;
  201. font-size: 32rpx;
  202. font-weight: 600;
  203. }
  204. }
  205. .find-right {
  206. padding: 30rpx 0 30rpx 30rpx;
  207. flex: 1;
  208. display: flex;
  209. flex-direction: column;
  210. gap: 25rpx;
  211. .title {
  212. font-size: 38rpx;
  213. font-weight: 700;
  214. }
  215. span {
  216. color: #ef530e;
  217. font-size: 32rpx;
  218. font-weight: 600;
  219. }
  220. }
  221. }
  222. }
  223. .hotSales {
  224. .title {
  225. margin-left: 15rpx;
  226. padding: 30rpx 0;
  227. i {
  228. font-size: 36rpx;
  229. font-weight: 700;
  230. color: #000;
  231. }
  232. }
  233. .commodity-list {
  234. display: flex;
  235. justify-content: space-between;
  236. align-items: center;
  237. flex-wrap: wrap;
  238. gap: 20rpx;
  239. padding: 0 10rpx;
  240. .commodity-item {
  241. border-radius: 20rpx;
  242. padding: 10rpx 10rpx 30rpx 10rpx;
  243. box-sizing: border-box;
  244. width: 335rpx;
  245. background-color: #fff;
  246. .img-box {
  247. height: 300rpx;
  248. }
  249. .text-title {
  250. display: flex;
  251. margin-top: 20rpx;
  252. font-size: 26rpx;
  253. gap: 7rpx;
  254. .text-left {
  255. display: flex;
  256. align-items: center;
  257. font-size: 20rpx;
  258. p {
  259. padding: 3rpx 5rpx;
  260. background-color: #ef530e;
  261. color: #fff;
  262. border-radius: 7rpx 0 0 7rpx;
  263. }
  264. span {
  265. padding: 0rpx 5rpx;
  266. background-color: #fff;
  267. color: #ef530e;
  268. border: 1rpx solid #ef530e;
  269. border-left: 0;
  270. border-radius: 0rpx 7rpx 7rpx 0rpx;
  271. }
  272. }
  273. > p {
  274. &:last-of-type {
  275. width: 120rpx;
  276. overflow: hidden;
  277. text-overflow: ellipsis;
  278. white-space: nowrap;
  279. }
  280. }
  281. }
  282. .detail-text {
  283. overflow: hidden;
  284. white-space: nowrap;
  285. text-overflow: ellipsis;
  286. margin-top: 15rpx;
  287. }
  288. .identifying {
  289. display: flex;
  290. gap: 10rpx;
  291. margin-top: 15rpx;
  292. span {
  293. font-size: 20rpx;
  294. padding: 3rpx 10rpx;
  295. border-radius: 10rpx;
  296. border: 1rpx solid #ef530e;
  297. color: #ef530e;
  298. &:last-of-type {
  299. border-color: #08377f;
  300. color: #08377f;
  301. }
  302. }
  303. }
  304. .price {
  305. display: flex;
  306. align-items: center;
  307. margin-top: 20rpx;
  308. gap: 10rpx;
  309. p {
  310. font-size: 38rpx;
  311. color: #000;
  312. font-weight: 700;
  313. span{
  314. font-size: 28rpx;
  315. }
  316. }
  317. span {
  318. font-size: 26rpx;
  319. }
  320. }
  321. }
  322. }
  323. }
  324. }
  325. }