goods.wxss 12 KB

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