goods.wxss 11 KB

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