goods.wxss 12 KB

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