goods.wxss 12 KB

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