goods.wxss 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875
  1. .container {
  2. margin-bottom: 100rpx;
  3. }
  4. .goodsimgs {
  5. width: 750rpx;
  6. height: 750rpx;
  7. }
  8. .goodsimgs image {
  9. width: 750rpx;
  10. height: 750rpx;
  11. }
  12. .service-policy {
  13. /* width: 750rpx; */
  14. height: 73rpx;
  15. background: #f4f4f4;
  16. padding: 0 31.25rpx;
  17. display: flex;
  18. flex-flow: row nowrap;
  19. align-items: center;
  20. justify-content: space-between;
  21. }
  22. .service-policy .item {
  23. background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/servicePolicyRed-518d32d74b.png) 0 center no-repeat;
  24. background-size: 10rpx;
  25. padding-left: 15rpx;
  26. display: flex;
  27. align-items: center;
  28. font-size: 25rpx;
  29. color: #666;
  30. }
  31. .goods-info {
  32. width: 750rpx;
  33. /* height: 306rpx; */
  34. overflow: hidden;
  35. background: #fff;
  36. }
  37. .goods-info .c {
  38. display: block;
  39. width: 718.75rpx;
  40. height: 100%;
  41. margin-left: 31.25rpx;
  42. padding: 38rpx 31.25rpx 38rpx 0;
  43. border-bottom: 1px solid #f4f4f4;
  44. }
  45. .goods-info .c text {
  46. display: block;
  47. width: 687.5rpx;
  48. }
  49. .goods-info .name {
  50. /* height: 41rpx; */
  51. margin-bottom: 5.208rpx;
  52. font-size: 41rpx;
  53. text-align: center;
  54. /* line-height: 41rpx; */
  55. }
  56. .goods-info .desc {
  57. /* height: 43rpx; */
  58. margin-bottom: 41rpx;
  59. font-size: 24rpx;
  60. line-height: 36rpx;
  61. color: #999;
  62. }
  63. .goods-info .price {
  64. /* height: 35rpx; */
  65. font-size: 40rpx;
  66. line-height: 35rpx;
  67. color: #f94b4b;
  68. margin-top: 30rpx;
  69. margin-bottom: 30rpx;
  70. text-align: center;
  71. }
  72. .goods-info .market-price {
  73. font-size: 29rpx;
  74. line-height: 35rpx;
  75. color: #555;
  76. margin-top: 30rpx;
  77. margin-bottom: 30rpx;
  78. text-decoration: line-through;
  79. text-align: center;
  80. }
  81. .goods-info .brand {
  82. margin-top: 23rpx;
  83. min-height: 40rpx;
  84. text-align: center;
  85. }
  86. .goods-info .brand text {
  87. display: inline-block;
  88. width: auto;
  89. padding: 2px 30rpx 2px 10.5rpx;
  90. line-height: 35.5rpx;
  91. border: 1px solid #f48f18;
  92. font-size: 25rpx;
  93. color: #f48f18;
  94. border-radius: 4px;
  95. background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/detailTagArrow-18bee52dab.png) 95% center no-repeat;
  96. background-size: 10.75rpx 18.75rpx;
  97. }
  98. .section-nav {
  99. width: 750rpx;
  100. height: 108rpx;
  101. background: #fff;
  102. margin-bottom: 20rpx;
  103. }
  104. .section-nav .t {
  105. float: left;
  106. width: 600rpx;
  107. height: 108rpx;
  108. line-height: 108rpx;
  109. font-size: 29rpx;
  110. color: #333;
  111. margin-left: 31.25rpx;
  112. }
  113. .section-nav .i {
  114. float: right;
  115. width: 52rpx;
  116. height: 52rpx;
  117. margin-right: 16rpx;
  118. margin-top: 28rpx;
  119. }
  120. .section-act .t {
  121. float: left;
  122. display: flex;
  123. align-items: center;
  124. width: 600rpx;
  125. height: 108rpx;
  126. overflow: hidden;
  127. line-height: 108rpx;
  128. font-size: 29rpx;
  129. color: #999;
  130. margin-left: 31.25rpx;
  131. }
  132. .section-act .label {
  133. color: #999;
  134. }
  135. .section-act .tag {
  136. display: flex;
  137. align-items: center;
  138. padding: 0 10rpx;
  139. border-radius: 3px;
  140. height: 37rpx;
  141. width: auto;
  142. color: #f48f18;
  143. overflow: hidden;
  144. border: 1px solid #f48f18;
  145. font-size: 25rpx;
  146. margin: 0 10rpx;
  147. }
  148. .section-act .text {
  149. display: flex;
  150. align-items: center;
  151. height: 37rpx;
  152. width: auto;
  153. overflow: hidden;
  154. color: #f48f18;
  155. font-size: 29rpx;
  156. }
  157. .comments {
  158. width: 100%;
  159. height: auto;
  160. padding-left: 30rpx;
  161. background: #fff;
  162. margin: 20rpx 0;
  163. }
  164. .comments .h {
  165. height: 102.5rpx;
  166. line-height: 100.5rpx;
  167. width: 718.75rpx;
  168. padding-right: 16rpx;
  169. }
  170. .comments .h .t {
  171. display: block;
  172. float: left;
  173. width: 50%;
  174. font-size: 38.5rpx;
  175. color: #333;
  176. }
  177. .comments .h .i {
  178. display: block;
  179. float: right;
  180. width: 164rpx;
  181. height: 100.5rpx;
  182. line-height: 100.5rpx;
  183. background: url(http://nos.netease.com/mailpub/hxm/yanxuan-wap/p/20150730/style/img/icon-normal/address-right-990628faa7.png) right center no-repeat;
  184. background-size: 52rpx;
  185. }
  186. .comments .b {
  187. height: auto;
  188. width: 720rpx;
  189. }
  190. .comments .item {
  191. height: auto;
  192. width: 720rpx;
  193. overflow: hidden;
  194. border-top: 1px solid #d9d9d9;
  195. }
  196. .comments .info {
  197. width: 100%;
  198. padding: 33rpx 0 0 0;
  199. }
  200. .comments .reply-info {
  201. width: 100%;
  202. }
  203. .comments .user {
  204. float: left;
  205. width: auto;
  206. height: 67rpx;
  207. line-height: 67rpx;
  208. font-size: 0;
  209. }
  210. .comments .reply-user {
  211. float: left;
  212. width: auto;
  213. height: 67rpx;
  214. line-height: 67rpx;
  215. font-size: 0;
  216. margin-left: 50rpx;
  217. }
  218. .comments .reply-user image {
  219. float: left;
  220. width: 50rpx;
  221. height: 50rpx;
  222. margin-right: 17rpx;
  223. margin-top: 5rpx;
  224. border-radius: 50%;
  225. }
  226. .comments .reply-user text {
  227. display:inline-block;
  228. width:auto;
  229. height:66rpx;
  230. overflow:hidden;
  231. font-size:29rpx;
  232. line-height:66rpx;
  233. font-weight:bold;
  234. }
  235. .comments .user image {
  236. float: left;
  237. width: 67rpx;
  238. height: 67rpx;
  239. margin-right: 17rpx;
  240. border-radius: 50%;
  241. }
  242. .comments .user text {
  243. display: inline-block;
  244. width: auto;
  245. height: 66rpx;
  246. overflow: hidden;
  247. font-size: 29rpx;
  248. line-height: 66rpx;
  249. font-weight: bold;
  250. }
  251. .comments .time {
  252. display: block;
  253. float: right;
  254. width: auto;
  255. height: 67rpx;
  256. line-height: 67rpx;
  257. color: #7f7f7f;
  258. font-size: 25rpx;
  259. margin-right: 30rpx;
  260. }
  261. .comments .content {
  262. width: 720rpx;
  263. padding-right: 30rpx;
  264. line-height: 45.8rpx;
  265. font-size: 29rpx;
  266. margin-bottom: 24rpx;
  267. margin-left: 80rpx;
  268. }
  269. .comments .reply-content {
  270. width: 720rpx;
  271. padding-right: 30rpx;
  272. line-height: 45.8rpx;
  273. font-size: 29rpx;
  274. margin-bottom: 24rpx;
  275. margin-left: 115rpx;
  276. }
  277. .comments .imgs {
  278. width: 720rpx;
  279. height: auto;
  280. margin-bottom: 25rpx;
  281. }
  282. .comments .imgs .img {
  283. height: 150rpx;
  284. width: 150rpx;
  285. margin-right: 28rpx;
  286. }
  287. .comments .spec {
  288. width: 720rpx;
  289. padding-right: 30rpx;
  290. line-height: 30rpx;
  291. font-size: 24rpx;
  292. color: #999;
  293. margin-bottom: 30rpx;
  294. }
  295. .goods-attr {
  296. width: 750rpx;
  297. height: auto;
  298. overflow: hidden;
  299. padding: 0 31.25rpx 25rpx 31.25rpx;
  300. background: #fff;
  301. }
  302. .goods-attr .t {
  303. width: 687.5rpx;
  304. height: 104rpx;
  305. line-height: 104rpx;
  306. font-size: 38.5rpx;
  307. }
  308. .goods-attr .item {
  309. width: 687.5rpx;
  310. height: 68rpx;
  311. padding: 11rpx 20rpx;
  312. margin-bottom: 11rpx;
  313. background: #f7f7f7;
  314. font-size: 38.5rpx;
  315. }
  316. .goods-attr .left {
  317. float: left;
  318. font-size: 25rpx;
  319. width: 134rpx;
  320. height: 45rpx;
  321. line-height: 45rpx;
  322. overflow: hidden;
  323. color: #999;
  324. }
  325. .goods-attr .right {
  326. float: left;
  327. font-size: 36.5rpx;
  328. margin-left: 20rpx;
  329. width: 480rpx;
  330. height: 45rpx;
  331. line-height: 45rpx;
  332. overflow: hidden;
  333. color: #333;
  334. }
  335. .detail {
  336. width: 750rpx;
  337. height: auto;
  338. overflow: hidden;
  339. }
  340. .detail image {
  341. width: 750rpx;
  342. display: block;
  343. }
  344. .common-problem {
  345. width: 750rpx;
  346. height: auto;
  347. overflow: hidden;
  348. }
  349. .common-problem .h {
  350. position: relative;
  351. height: 145.5rpx;
  352. width: 750rpx;
  353. padding: 56.25rpx 0;
  354. background: #fff;
  355. text-align: center;
  356. }
  357. .common-problem .h .line {
  358. display: inline-block;
  359. position: absolute;
  360. top: 72rpx;
  361. left: 0;
  362. z-index: 2;
  363. height: 1px;
  364. margin-left: 225rpx;
  365. width: 300rpx;
  366. background: #ccc;
  367. }
  368. .common-problem .h .title {
  369. display: inline-block;
  370. position: absolute;
  371. top: 56.125rpx;
  372. left: 0;
  373. z-index: 3;
  374. height: 33rpx;
  375. margin-left: 285rpx;
  376. width: 180rpx;
  377. background: #fff;
  378. }
  379. .common-problem .b {
  380. width: 750rpx;
  381. height: auto;
  382. overflow: hidden;
  383. padding: 0rpx 30rpx;
  384. background: #fff;
  385. }
  386. .common-problem .item {
  387. height: auto;
  388. overflow: hidden;
  389. padding-bottom: 25rpx;
  390. }
  391. .common-problem .question-box .spot {
  392. float: left;
  393. display: block;
  394. height: 8rpx;
  395. width: 8rpx;
  396. background: #b4282d;
  397. border-radius: 50%;
  398. margin-top: 11rpx;
  399. }
  400. .common-problem .question-box .question {
  401. float: left;
  402. line-height: 30rpx;
  403. padding-left: 8rpx;
  404. display: block;
  405. font-size: 26rpx;
  406. padding-bottom: 15rpx;
  407. color: #303030;
  408. }
  409. .common-problem .answer {
  410. line-height: 36rpx;
  411. padding-left: 16rpx;
  412. font-size: 26rpx;
  413. color: #787878;
  414. }
  415. .related-goods {
  416. width: 750rpx;
  417. height: auto;
  418. overflow: hidden;
  419. }
  420. .related-goods .h {
  421. position: relative;
  422. height: 145.5rpx;
  423. width: 750rpx;
  424. padding: 56.25rpx 0;
  425. background: #fff;
  426. text-align: center;
  427. border-bottom: 1px solid #f4f4f4;
  428. }
  429. .related-goods .h .line {
  430. display: inline-block;
  431. position: absolute;
  432. top: 72rpx;
  433. left: 0;
  434. z-index: 2;
  435. height: 1px;
  436. margin-left: 225rpx;
  437. width: 300rpx;
  438. background: #ccc;
  439. }
  440. .related-goods .h .title {
  441. display: inline-block;
  442. position: absolute;
  443. top: 56.125rpx;
  444. left: 0;
  445. z-index: 3;
  446. height: 33rpx;
  447. margin-left: 285rpx;
  448. width: 180rpx;
  449. background: #fff;
  450. }
  451. .related-goods .b {
  452. width: 750rpx;
  453. height: auto;
  454. overflow: hidden;
  455. }
  456. .related-goods .b .item {
  457. float: left;
  458. background: #fff;
  459. width: 375rpx;
  460. height: auto;
  461. overflow: hidden;
  462. text-align: center;
  463. padding: 15rpx 31.25rpx;
  464. border-right: 1px solid #f4f4f4;
  465. border-bottom: 1px solid #f4f4f4;
  466. }
  467. .related-goods .item .img {
  468. width: 311.45rpx;
  469. height: 311.45rpx;
  470. }
  471. .related-goods .item .name {
  472. display: block;
  473. width: 311.45rpx;
  474. height: 35rpx;
  475. margin: 11.5rpx 0 15rpx 0;
  476. text-align: center;
  477. overflow: hidden;
  478. font-size: 30rpx;
  479. color: #333;
  480. }
  481. .related-goods .item .price {
  482. display: block;
  483. width: 311.45rpx;
  484. height: 30rpx;
  485. text-align: center;
  486. font-size: 30rpx;
  487. color: #f94b4b;
  488. }
  489. .bottom-btn {
  490. position: fixed;
  491. left: 0;
  492. bottom: 0;
  493. z-index: 10;
  494. width: 750rpx;
  495. height: 100rpx;
  496. display: flex;
  497. background: #fff;
  498. }
  499. .bottom-btn .l {
  500. float: left;
  501. height: 100rpx;
  502. width: 200rpx;
  503. border: 1px solid #f4f4f4;
  504. display: flex;
  505. align-items: center;
  506. justify-content: center;
  507. }
  508. .bottom-btn .l.l-collect {
  509. border-right: none;
  510. border-left: none;
  511. text-align: center;
  512. }
  513. .bottom-btn .l.l-cart .box {
  514. position: relative;
  515. height: 60rpx;
  516. width: 60rpx;
  517. }
  518. .bottom-btn .l.l-cart .cart-count {
  519. height: 28rpx;
  520. width: 28rpx;
  521. z-index: 10;
  522. position: absolute;
  523. top: 0;
  524. right: 0;
  525. background: #b4282d;
  526. text-align: center;
  527. font-size: 18rpx;
  528. color: #fff;
  529. line-height: 28rpx;
  530. border-radius: 50%;
  531. }
  532. .bottom-btn .l.l-cart .icon {
  533. position: absolute;
  534. top: 10rpx;
  535. left: 0;
  536. }
  537. .bottom-btn .l .icon {
  538. display: block;
  539. height: 44rpx;
  540. width: 44rpx;
  541. margin-right: 10rpx;
  542. }
  543. .bottom-btn .c {
  544. float: left;
  545. height: 100rpx;
  546. line-height: 96rpx;
  547. flex: 1;
  548. text-align: center;
  549. color: #333;
  550. border-top: 1px solid #f4f4f4;
  551. border-bottom: 1px solid #f4f4f4;
  552. }
  553. .bottom-btn .r {
  554. border: 1px solid #f94b4b;
  555. background: #f94b4b;
  556. float: left;
  557. height: 100rpx;
  558. line-height: 96rpx;
  559. flex: 1;
  560. text-align: center;
  561. color: #fff;
  562. }
  563. @import "../../lib/wxParse/wxParse.wxss";
  564. .attr-pop-box {
  565. width: 100%;
  566. height: 100%;
  567. position: fixed;
  568. background: rgba(0, 0, 0, 0.5);
  569. z-index: 8;
  570. bottom: 0;
  571. /* display: none; */
  572. }
  573. .attr-pop {
  574. width: 100%;
  575. height: auto;
  576. max-height: 780rpx;
  577. padding: 31.25rpx;
  578. background: #fff;
  579. position: fixed;
  580. z-index: 9;
  581. bottom: 100rpx;
  582. }
  583. .attr-pop .close {
  584. position: absolute;
  585. width: 48rpx;
  586. height: 48rpx;
  587. right: 31.25rpx;
  588. overflow: hidden;
  589. top: 31.25rpx;
  590. }
  591. .attr-pop .close .icon {
  592. width: 48rpx;
  593. height: 48rpx;
  594. }
  595. .attr-pop .img-info {
  596. width: 687.5rpx;
  597. height: 177rpx;
  598. overflow: hidden;
  599. margin-bottom: 41.5rpx;
  600. }
  601. .attr-pop .img {
  602. float: left;
  603. height: 177rpx;
  604. width: 177rpx;
  605. background: #f4f4f4;
  606. margin-right: 31.25rpx;
  607. }
  608. .attr-pop .info {
  609. float: left;
  610. height: 177rpx;
  611. display: flex;
  612. align-items: center;
  613. }
  614. .attr-pop .p {
  615. font-size: 33rpx;
  616. color: #333;
  617. height: 33rpx;
  618. line-height: 33rpx;
  619. margin-bottom: 10rpx;
  620. }
  621. .attr-pop .a {
  622. font-size: 29rpx;
  623. color: #333;
  624. height: 40rpx;
  625. line-height: 40rpx;
  626. }
  627. .spec-con {
  628. width: 100%;
  629. height: auto;
  630. overflow: hidden;
  631. }
  632. .spec-con .name {
  633. height: 32rpx;
  634. margin-bottom: 22rpx;
  635. font-size: 29rpx;
  636. color: #333;
  637. }
  638. .spec-con .values {
  639. height: auto;
  640. margin-bottom: 31.25rpx;
  641. font-size: 0;
  642. }
  643. .spec-con .value {
  644. display: inline-block;
  645. height: 62rpx;
  646. padding: 0 35rpx;
  647. line-height: 56rpx;
  648. text-align: center;
  649. margin-right: 25rpx;
  650. margin-bottom: 16.5rpx;
  651. border: 1px solid #333;
  652. font-size: 25rpx;
  653. color: #333;
  654. }
  655. .spec-con .value.disable {
  656. border: 1px solid #ccc;
  657. color: #ccc;
  658. }
  659. .spec-con .value.selected {
  660. border: 1px solid #b4282d;
  661. color: #b4282d;
  662. }
  663. .number-item .selnum {
  664. width: 322rpx;
  665. height: 71rpx;
  666. border: 1px solid #ccc;
  667. display: flex;
  668. }
  669. .number-item .cut {
  670. width: 93.75rpx;
  671. height: 100%;
  672. text-align: center;
  673. line-height: 65rpx;
  674. }
  675. .number-item .number {
  676. flex: 1;
  677. height: 100%;
  678. text-align: center;
  679. line-height: 68.75rpx;
  680. border-left: 1px solid #ccc;
  681. border-right: 1px solid #ccc;
  682. float: left;
  683. }
  684. .number-item .add {
  685. width: 93.75rpx;
  686. height: 100%;
  687. text-align: center;
  688. line-height: 65rpx;
  689. }
  690. .location-time .icon {
  691. padding-left: 35rpx;
  692. display: flex;
  693. align-items: center;
  694. font-size: 25rpx;
  695. color: #666;
  696. }
  697. .location-time .icon.location {
  698. background: url(https://i.postimg.cc/Hkf6dJzv/placeholder-2.png) 0 center no-repeat;
  699. background-size: 25rpx;
  700. }
  701. .location-time .icon.time {
  702. background: url(https://i.postimg.cc/nrck0qVr/clock.png) 0 center no-repeat;
  703. background-size: 25rpx;
  704. }
  705. .location-time {
  706. /* width: 750rpx; */
  707. height: 73rpx;
  708. background: #f4f4f4;
  709. padding: 0 30rpx;
  710. display: flex;
  711. flex-flow: row nowrap;
  712. align-items: center;
  713. justify-content: space-between;
  714. }
  715. .seller-avatar {
  716. float: right;
  717. width: 120rpx;
  718. height: 120rpx;
  719. margin: 0 16rpx 0 8rpx;
  720. border-radius: 50%;
  721. }
  722. .section-act .seller-t {
  723. float: left;
  724. display: flex;
  725. align-items: center;
  726. /* width: 600rpx; */
  727. height: 188rpx;
  728. overflow: hidden;
  729. line-height: 108rpx;
  730. font-size: 29rpx;
  731. color: #999;
  732. margin-left: 31.25rpx;
  733. }
  734. .section-act .seller-info {
  735. float: left;
  736. align-items: center;
  737. /* width: 600rpx; */
  738. height: 188rpx;
  739. overflow: hidden;
  740. line-height: 108rpx;
  741. font-size: 29rpx;
  742. color: #999;
  743. margin-left: 31.25rpx;
  744. }
  745. .seller-nav {
  746. width: 750rpx;
  747. height: 188rpx;
  748. background: #fff;
  749. margin-bottom: 20rpx;
  750. }
  751. .seller-nav .i {
  752. float: right;
  753. width: 60rpx;
  754. height: 60rpx;
  755. margin-right: 30rpx;
  756. margin-top: 65rpx;
  757. }
  758. .seller-nav.seller-info {
  759. width: 300rpx;
  760. height: 188rpx;
  761. }
  762. .seller-nav .name {
  763. margin-top: 50rpx;
  764. font-size: 35rpx;
  765. height: 60rpx;
  766. line-height: 50rpx;
  767. }
  768. .seller-nav .history {
  769. line-height: 30rpx;
  770. font-size: 27rpx;
  771. }