goods.wxss 13 KB

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