goods.wxss 14 KB

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