goods.wxss 13 KB

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