goods.wxss 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603
  1. .container {
  2. padding-bottom: 100rpx;
  3. }
  4. /* 商品图片 */
  5. .goodsimgs {
  6. width: 750rpx;
  7. height: 750rpx;
  8. }
  9. .goodsimgs image {
  10. width: 750rpx;
  11. height: 750rpx;
  12. }
  13. /* 最后编辑,地点 */
  14. .location-time .icon {
  15. padding-left: 35rpx;
  16. display: flex;
  17. align-items: center;
  18. font-size: 25rpx;
  19. color: #666;
  20. overflow: hidden;
  21. }
  22. .location-time .icon.location {
  23. background: url(https://i.postimg.cc/Hkf6dJzv/placeholder-2.png) 0 center no-repeat;
  24. background-size: 25rpx;
  25. }
  26. .location-time .icon.time {
  27. background: url(https://i.postimg.cc/nrck0qVr/clock.png) 0 center no-repeat;
  28. background-size: 25rpx;
  29. }
  30. .location-time {
  31. height: 73rpx;
  32. background: #f4f4f4;
  33. padding: 0 30rpx;
  34. display: flex;
  35. flex-flow: row nowrap;
  36. align-items: center;
  37. justify-content: space-between;
  38. overflow: hidden;
  39. }
  40. /* 商品信息 */
  41. .goods-info {
  42. width: 750rpx;
  43. overflow: hidden;
  44. background: #fff;
  45. }
  46. .goods-info .c {
  47. display: block;
  48. width: 718.75rpx;
  49. height: 100%;
  50. margin-left: 31.25rpx;
  51. padding: 38rpx 31.25rpx 38rpx 0;
  52. border-bottom: 1px solid #f4f4f4;
  53. }
  54. .goods-info .c text {
  55. display: block;
  56. width: 687.5rpx;
  57. }
  58. .goods-info .name {
  59. margin-bottom: 5.208rpx;
  60. font-size: 41rpx;
  61. text-align: center;
  62. }
  63. .goods-info .flex {
  64. display: flex;
  65. }
  66. .goods-info .price {
  67. font-size: 40rpx;
  68. line-height: 35rpx;
  69. color: #f94b4b;
  70. margin-top: 30rpx;
  71. margin-bottom: 30rpx;
  72. text-align: center;
  73. }
  74. .goods-info .market-price {
  75. font-size: 29rpx;
  76. line-height: 35rpx;
  77. color: #555;
  78. margin-bottom: 30rpx;
  79. text-decoration: line-through;
  80. text-align: center;
  81. }
  82. .goods-info .tag {
  83. position: absolute;
  84. align-items: center;
  85. padding: 0 10rpx;
  86. border-radius: 3px;
  87. width: auto;
  88. color: #f94b4b;
  89. overflow: hidden;
  90. border: 1px solid #f94b4b;
  91. font-size: 30rpx;
  92. right: 100rpx;
  93. }
  94. .goods-info .desc {
  95. margin-bottom: 41rpx;
  96. font-size: 24rpx;
  97. line-height: 36rpx;
  98. color: #999;
  99. }
  100. /* 标签 */
  101. .section-nav {
  102. width: 750rpx;
  103. background: #fff;
  104. margin-bottom: 20rpx;
  105. padding: 5px;
  106. }
  107. .section-nav .t {
  108. float: left;
  109. width: 600rpx;
  110. height: 108rpx;
  111. line-height: 108rpx;
  112. font-size: 29rpx;
  113. color: #333;
  114. margin-left: 31.25rpx;
  115. }
  116. .section-nav .i {
  117. float: right;
  118. width: 52rpx;
  119. height: 52rpx;
  120. margin-right: 16rpx;
  121. margin-top: 28rpx;
  122. }
  123. .section-act .t {
  124. float: left;
  125. display: flex;
  126. align-items: center;
  127. overflow: hidden;
  128. line-height: 108rpx;
  129. font-size: 29rpx;
  130. color: #999;
  131. width: 700rpx;
  132. height: 70rpx;
  133. }
  134. .section-act .tag {
  135. display: flex;
  136. align-items: center;
  137. padding: 0 10rpx;
  138. border-radius: 3px;
  139. height: 37rpx;
  140. width: auto;
  141. color: #999;
  142. overflow: hidden;
  143. border: 1px solid #999;
  144. font-size: 25rpx;
  145. margin: 0 10rpx;
  146. }
  147. .section-act .y {
  148. color: #f48f18;
  149. border: 1px solid #f48f18;
  150. }
  151. .section-act .r {
  152. color: #f94b4b;
  153. border: 1px solid #f94b4b;
  154. }
  155. /* 卖家 */
  156. .section-act .seller-t {
  157. float: left;
  158. display: flex;
  159. align-items: center;
  160. height: 188rpx;
  161. overflow: hidden;
  162. line-height: 108rpx;
  163. font-size: 29rpx;
  164. color: #999;
  165. margin-left: 31.25rpx;
  166. }
  167. .seller-t .seller-avatar {
  168. float: right;
  169. width: 120rpx;
  170. height: 120rpx;
  171. margin: 0 16rpx 0 8rpx;
  172. border-radius: 50%;
  173. }
  174. .section-act .seller-info {
  175. float: left;
  176. align-items: center;
  177. height: 188rpx;
  178. overflow: hidden;
  179. line-height: 108rpx;
  180. font-size: 29rpx;
  181. color: #999;
  182. margin-left: 31.25rpx;
  183. }
  184. .seller-nav {
  185. width: 750rpx;
  186. height: 188rpx;
  187. background: #fff;
  188. margin-bottom: 20rpx;
  189. }
  190. .seller-nav .i {
  191. float: right;
  192. width: 60rpx;
  193. height: 60rpx;
  194. margin-right: 30rpx;
  195. margin-top: 65rpx;
  196. }
  197. .seller-nav.seller-info {
  198. width: 300rpx;
  199. height: 188rpx;
  200. }
  201. .seller-nav .name {
  202. margin-top: 50rpx;
  203. font-size: 35rpx;
  204. height: 60rpx;
  205. line-height: 50rpx;
  206. }
  207. .seller-nav .history {
  208. line-height: 30rpx;
  209. font-size: 27rpx;
  210. }
  211. /* 评论 */
  212. .comments {
  213. width: 100%;
  214. height: auto;
  215. padding-left: 30rpx;
  216. background: #fff;
  217. margin: 20rpx 0;
  218. }
  219. .comments .h {
  220. height: 102.5rpx;
  221. line-height: 100.5rpx;
  222. width: 718.75rpx;
  223. padding-right: 16rpx;
  224. }
  225. .comments .h .t {
  226. display: block;
  227. float: left;
  228. width: 50%;
  229. font-size: 38.5rpx;
  230. color: #333;
  231. }
  232. .comments .b {
  233. height: auto;
  234. width: 720rpx;
  235. }
  236. .comments .item {
  237. height: auto;
  238. width: 720rpx;
  239. overflow: hidden;
  240. border-top: 1px solid #d9d9d9;
  241. }
  242. .comments .info {
  243. width: 100%;
  244. padding: 33rpx 0 0 0;
  245. }
  246. .comments .reply-info {
  247. width: 100%;
  248. }
  249. .comments .user {
  250. float: left;
  251. width: auto;
  252. height: 67rpx;
  253. line-height: 67rpx;
  254. font-size: 0;
  255. overflow: hidden;
  256. }
  257. .comments .reply-user {
  258. float: left;
  259. width: auto;
  260. height: 67rpx;
  261. line-height: 67rpx;
  262. font-size: 0;
  263. margin-left: 50rpx;
  264. overflow: hidden;
  265. }
  266. .comments .reply-user text {
  267. display: inline-block;
  268. width: auto;
  269. height: 66rpx;
  270. overflow: hidden;
  271. font-size: 29rpx;
  272. line-height: 66rpx;
  273. font-weight: bold;
  274. }
  275. .navimg {
  276. float: left;
  277. width: 67rpx;
  278. height: 67rpx;
  279. margin-right: 17rpx;
  280. border-radius: 50%;
  281. background-size: cover;
  282. }
  283. .navimg-reply {
  284. float: left;
  285. width: 50rpx;
  286. height: 50rpx;
  287. margin-right: 17rpx;
  288. margin-top: 5rpx;
  289. border-radius: 50%;
  290. background-size: cover;
  291. }
  292. .comments .user text {
  293. display: inline-block;
  294. width: auto;
  295. height: 66rpx;
  296. overflow: hidden;
  297. font-size: 29rpx;
  298. line-height: 66rpx;
  299. font-weight: bold;
  300. }
  301. .comments .time {
  302. display: block;
  303. float: right;
  304. width: auto;
  305. height: 67rpx;
  306. line-height: 67rpx;
  307. color: #7f7f7f;
  308. font-size: 25rpx;
  309. margin-right: 30rpx;
  310. }
  311. .comments .content {
  312. width: 630rpx;
  313. padding-right: 30rpx;
  314. line-height: 45.8rpx;
  315. font-size: 29rpx;
  316. margin-bottom: 24rpx;
  317. margin-left: 80rpx;
  318. }
  319. .comments .reply-content {
  320. width: 600rpx;
  321. padding-right: 30rpx;
  322. line-height: 45.8rpx;
  323. font-size: 29rpx;
  324. margin-bottom: 24rpx;
  325. margin-left: 115rpx;
  326. }
  327. /* 相关商品 */
  328. .related-goods {
  329. width: 750rpx;
  330. height: auto;
  331. overflow: hidden;
  332. }
  333. .related-goods .h {
  334. position: relative;
  335. height: 145.5rpx;
  336. width: 750rpx;
  337. padding: 56.25rpx 0;
  338. background: #fff;
  339. text-align: center;
  340. border-bottom: 1px solid #f4f4f4;
  341. }
  342. .related-goods .h .line {
  343. display: inline-block;
  344. position: absolute;
  345. top: 72rpx;
  346. left: 0;
  347. z-index: 2;
  348. height: 1px;
  349. margin-left: 225rpx;
  350. width: 300rpx;
  351. background: #ccc;
  352. }
  353. .related-goods .h .title {
  354. display: inline-block;
  355. position: absolute;
  356. top: 56.125rpx;
  357. left: 0;
  358. z-index: 3;
  359. height: 33rpx;
  360. margin-left: 285rpx;
  361. width: 180rpx;
  362. background: #fff;
  363. }
  364. .related-goods .b {
  365. width: 750rpx;
  366. height: auto;
  367. overflow: hidden;
  368. }
  369. .related-goods .b .item {
  370. float: left;
  371. background: #fff;
  372. width: 375rpx;
  373. height: auto;
  374. overflow: hidden;
  375. text-align: center;
  376. padding: 15rpx 31.25rpx;
  377. border-right: 1px solid #f4f4f4;
  378. border-bottom: 1px solid #f4f4f4;
  379. }
  380. .related-goods .item .img {
  381. width: 311.45rpx;
  382. height: 311.45rpx;
  383. }
  384. .related-goods .item .name {
  385. display: block;
  386. width: 311.45rpx;
  387. height: 35rpx;
  388. margin: 11.5rpx 0 15rpx 0;
  389. text-align: center;
  390. overflow: hidden;
  391. font-size: 30rpx;
  392. color: #333;
  393. }
  394. .related-goods .item .price {
  395. display: block;
  396. width: 311.45rpx;
  397. height: 30rpx;
  398. text-align: center;
  399. font-size: 30rpx;
  400. color: #f94b4b;
  401. }
  402. /* 底部按钮 */
  403. .bottom-btn {
  404. position: fixed;
  405. left: 0;
  406. bottom: 0;
  407. z-index: 10;
  408. width: 750rpx;
  409. height: 100rpx;
  410. display: flex;
  411. background: #fff;
  412. }
  413. .bottom-btn .l {
  414. float: left;
  415. height: 100rpx;
  416. width: 200rpx;
  417. border: 1px solid #f4f4f4;
  418. display: flex;
  419. align-items: center;
  420. justify-content: center;
  421. }
  422. .bottom-btn .l .icon {
  423. display: block;
  424. height: 44rpx;
  425. width: 44rpx;
  426. margin-right: 10rpx;
  427. }
  428. .bottom-btn .r {
  429. border: 1px solid #f94b4b;
  430. background: #f94b4b;
  431. float: left;
  432. height: 100rpx;
  433. line-height: 96rpx;
  434. flex: 1;
  435. text-align: center;
  436. color: #fff;
  437. }
  438. @import "../../lib/wxParse/wxParse.wxss";
  439. /* 弹框 */
  440. .pop-box {
  441. width: 100%;
  442. height: 100%;
  443. position: fixed;
  444. background: rgba(0, 0, 0, 0.5);
  445. z-index: 8;
  446. bottom: 0;
  447. }
  448. .pop {
  449. width: 100%;
  450. height: auto;
  451. max-height: 780rpx;
  452. padding: 15rpx;
  453. background: #fff;
  454. position: fixed;
  455. z-index: 9;
  456. bottom: 100rpx;
  457. }
  458. /* 评论弹框 */
  459. .comment-pop {
  460. display: block;
  461. background: #fff;
  462. font-size: 29rpx;
  463. color: #333;
  464. height: auto;
  465. padding: 20rpx;
  466. overflow: hidden;
  467. }
  468. .comment-pop .title {
  469. margin-bottom: 10rpx;
  470. }
  471. .comment-pop .content {
  472. border: 1rpx solid #eee;
  473. border-radius: 20rpx;
  474. padding: 10rpx;
  475. background: #eee;
  476. overflow: hidden;
  477. height: 65rpx;
  478. }
  479. .comment-pop input {
  480. display: block;
  481. height: 1.4rem;
  482. text-overflow: clip;
  483. overflow: hidden;
  484. white-space: nowrap;
  485. font-family: UICTFontTextStyleBody;
  486. min-height: 1.4rem;
  487. margin-bottom: 40rpx;
  488. }
  489. /* 删除弹框 */
  490. .delete-pop {
  491. width: 100%;
  492. height: auto;
  493. max-height: 780rpx;
  494. padding: 10rpx;
  495. background: #fff;
  496. position: fixed;
  497. z-index: 9;
  498. bottom: 50%;
  499. }
  500. .delete-pop .close {
  501. position: absolute;
  502. width: 48rpx;
  503. height: 48rpx;
  504. right: 31.25rpx;
  505. overflow: hidden;
  506. }
  507. .delete-pop .close .icon {
  508. width: 60rpx;
  509. height: 60rpx;
  510. }
  511. .delete-pop .delete-btn {
  512. width: 600rpx;
  513. background: #f94b4b;
  514. margin-top: 25px;
  515. border: 1px solid #f94b4b;
  516. height: 100rpx;
  517. line-height: 96rpx;
  518. text-align: center;
  519. color: #fff;
  520. font-size: 30rpx;
  521. border-radius: 10rpx;
  522. margin-bottom: 30rpx;
  523. }