prod.wxss 25 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721
  1. page {
  2. background: #f4f4f4;
  3. height: 100%;
  4. }
  5. image {
  6. width: 100%;
  7. height: 100%;
  8. }
  9. .container {
  10. height: auto;
  11. padding-bottom: 110rpx;
  12. }
  13. .swiper-con {
  14. position: relative;
  15. }
  16. swiper {
  17. height: 750rpx;
  18. width: 100%;
  19. }
  20. swiper image {
  21. height: 750rpx;
  22. width: 100%;
  23. }
  24. .video-container {
  25. position: relative;
  26. display: flex;
  27. flex-direction: column;
  28. width: 100%;
  29. height: 750rpx;
  30. justify-content: center;
  31. align-items: center;
  32. background: #000;
  33. z-index: 10;
  34. }
  35. .video-container video {
  36. display: block;
  37. width: 100%;
  38. }
  39. .play-btn {
  40. position: absolute;
  41. left: 50%;
  42. bottom: 8%;
  43. padding: 2rpx;
  44. background: rgba(255, 255, 255, 0.75);
  45. border-radius: 50rpx;
  46. color: #000;
  47. font-size: 24rpx;
  48. text-align: center;
  49. transform: translateX(-50%);
  50. display: flex;
  51. justify-content: space-between;
  52. align-items: center;
  53. z-index: 5;
  54. }
  55. .play-icon {
  56. width: 50rpx;
  57. height: 50rpx;
  58. }
  59. .play-text {
  60. padding-right: 10rpx;
  61. margin: 0 10rpx;
  62. }
  63. .video-stop {
  64. padding: 2rpx 8rpx;
  65. }
  66. .video-index {
  67. z-index: 15;
  68. }
  69. /** 商品信息 */
  70. .prod-info {
  71. padding: 30rpx 30rpx 0 30rpx;
  72. position: relative;
  73. background: #fff;
  74. }
  75. .tit-wrap {
  76. position: relative;
  77. line-height: 40rpx;
  78. padding-right: 104rpx;
  79. text-align: justify;
  80. }
  81. .prod-tit {
  82. font-size: 32rpx;
  83. color: #333;
  84. padding-right: 20rpx;
  85. }
  86. .tit-wrap .col {
  87. position: absolute;
  88. top: 0;
  89. right: 0;
  90. width: 80rpx;
  91. color: #666;
  92. font-size: 24rpx;
  93. padding-left: 20rpx;
  94. text-align: center;
  95. }
  96. .tit-wrap .col image {
  97. display: block;
  98. margin: auto;
  99. width: 40rpx;
  100. height: 40rpx;
  101. }
  102. .tit-wrap .col::after {
  103. content: "";
  104. display: block;
  105. width: 1px;
  106. height: auto;
  107. background: #f1f1f1;
  108. position: absolute;
  109. top: 0;
  110. bottom: 5px;
  111. left: 0;
  112. }
  113. .sales-p {
  114. background: #fff;
  115. line-height: 40rpx;
  116. color: #999;
  117. font-size: 28rpx;
  118. margin-top: 6rpx;
  119. margin-right: 104rpx;
  120. text-align: justify;
  121. }
  122. .prod-price {
  123. font-size: 30rpx;
  124. height: 100rpx;
  125. line-height: 100rpx;
  126. }
  127. .price {
  128. color: #e43130;
  129. font-size: 26rpx;
  130. font-weight: 600;
  131. margin-right: 30rpx;
  132. }
  133. .price-num {
  134. font-size: 46rpx;
  135. font-weight: 400;
  136. }
  137. .sales {
  138. color: #999;
  139. }
  140. .share-icon {
  141. position: absolute;
  142. right: 50rpx;
  143. top: 50rpx;
  144. background: none;
  145. line-height: 40rpx;
  146. border: none;
  147. outline: none;
  148. box-shadow: 0;
  149. padding: 0;
  150. }
  151. .share-icon::after {
  152. border: none;
  153. }
  154. .share-icon image {
  155. width: 60rpx;
  156. height: 60rpx;
  157. }
  158. .share-text {
  159. font-size: 26rpx;
  160. color: #999;
  161. line-height: 30rpx;
  162. }
  163. /* 积分商品价格 */
  164. .integral-prod-price {
  165. display: inline-block;
  166. padding: 10rpx 0 40rpx;
  167. color: #e43130;
  168. font-size: 30rpx;
  169. }
  170. /** end 商品信息 */
  171. /* 商品促销活动(优惠 */
  172. .discount {
  173. background: #fff;
  174. position: relative;
  175. margin-top: 20rpx;
  176. padding: 28rpx 100rpx;
  177. }
  178. .discount-con {
  179. display: flex;
  180. flex-direction: column;
  181. }
  182. .discount-item {
  183. display: flex;
  184. }
  185. .popup-discount {
  186. margin: 30rpx 0;
  187. }
  188. .popup-discount .discount-item {
  189. margin-bottom: 10rpx;
  190. padding-bottom: 8rpx;
  191. }
  192. .popup-discount .discount-item:last-child {
  193. padding-bottom: 8rpx;
  194. }
  195. .discount-tag {
  196. color: #e43130;
  197. font-size: 20rpx;
  198. border-radius: 4rpx;
  199. border: 2rpx solid #e43130;
  200. margin-right: 10rpx;
  201. padding: 0 6rpx;
  202. align-self: center;
  203. }
  204. .discount-content {
  205. font-size: 24rpx;
  206. flex: 1;
  207. display: -webkit-box;
  208. -webkit-box-orient: vertical;
  209. -webkit-line-clamp: 1;
  210. overflow: hidden;
  211. text-overflow: ellipsis;
  212. }
  213. /* 商品促销活动(优惠-end*/
  214. /**优惠券*/
  215. .coupon {
  216. padding: 28rpx 100rpx 14rpx 100rpx;
  217. background: #fff;
  218. position: relative;
  219. margin-top: 20rpx;
  220. }
  221. .discount .coupon-tit,
  222. .coupon .coupon-tit {
  223. position: absolute;
  224. display: inline-block;
  225. width: 60rpx;
  226. left: 20rpx;
  227. font-size: 24rpx;
  228. top: 28rpx;
  229. line-height: 36rpx;
  230. color: #999;
  231. }
  232. .coupon-con .item {
  233. position: relative;
  234. display: inline-block;
  235. vertical-align: top;
  236. padding: 0 18rpx;
  237. background: #e43130;
  238. height: 36rpx;
  239. line-height: 36rpx;
  240. color: #fff;
  241. font-size: 22rpx;
  242. margin: 0 16rpx 16rpx 0;
  243. font-family: arial;
  244. }
  245. .coupon-con .item:before,
  246. .coupon-con .item:after {
  247. content: "";
  248. display: block;
  249. width: 0;
  250. height: 0;
  251. position: absolute;
  252. top: 0;
  253. border: 18rpx solid transparent;
  254. }
  255. .coupon-con .item:before {
  256. left: 0;
  257. border-left: 4rpx solid #fff;
  258. }
  259. .coupon-con .item:after {
  260. right: 0;
  261. border-right: 4rpx solid #fff;
  262. }
  263. .coupon .num {
  264. position: absolute;
  265. right: 80rpx;
  266. width: 80rpx;
  267. top: 28rpx;
  268. text-align: right;
  269. font-size: 24rpx;
  270. color: #999;
  271. line-height: 36rpx;
  272. white-space: nowrap;
  273. overflow: hidden;
  274. text-overflow: ellipsis;
  275. font-family: arial;
  276. }
  277. .more {
  278. position: absolute;
  279. right: 20rpx;
  280. width: 60rpx;
  281. top: 10rpx;
  282. text-align: right;
  283. font-size: 40rpx;
  284. color: #999;
  285. letter-spacing: 1px;
  286. }
  287. /* 已选 */
  288. .sku {
  289. padding: 20rpx;
  290. background: #fff;
  291. margin-top: 20rpx;
  292. position: relative;
  293. line-height: 48rpx;
  294. }
  295. .sku-tit {
  296. position: absolute;
  297. display: inline-block;
  298. width: 60rpx;
  299. left: 20rpx;
  300. font-size: 24rpx;
  301. top: 20rpx;
  302. color: #999;
  303. }
  304. .sku-con {
  305. margin: 0 80rpx;
  306. white-space: nowrap;
  307. text-overflow: ellipsis;
  308. overflow: hidden;
  309. font-size: 28rpx;
  310. font-weight: bold;
  311. }
  312. /** 评价*/
  313. .cmt-wrap {
  314. background: #fff;
  315. margin-top: 20rpx;
  316. position: relative;
  317. line-height: 48rpx;
  318. }
  319. .cmt-tit {
  320. font-size: 32rpx;
  321. position: relative;
  322. border-bottom: 1px solid #ddd;
  323. padding: 20rpx;
  324. }
  325. .cmt-t {
  326. width: 300rpx;
  327. }
  328. .cmt-good {
  329. color: #e43130;
  330. font-size: 24rpx;
  331. }
  332. .cmt-count {
  333. position: absolute;
  334. right: 20rpx;
  335. top: 20rpx;
  336. font-size: 24rpx;
  337. color: #666;
  338. }
  339. .cmt-more {
  340. width: 20rpx;
  341. height: 20rpx;
  342. border-top: 2rpx solid #999;
  343. border-right: 2rpx solid #999;
  344. transform: rotate(45deg);
  345. margin-left: 10rpx;
  346. display: inline-block;
  347. }
  348. .cmt-cont {
  349. padding: 0 20rpx;
  350. }
  351. .cmt-tag {
  352. position: relative;
  353. padding: 14px 3px 0 0;
  354. margin: 0;
  355. }
  356. .cmt-tag text {
  357. margin: 0 6px 10px 0;
  358. background: #fdf0f0;
  359. display: inline-block;
  360. padding: 0 10px;
  361. height: 25px;
  362. border-radius: 3px;
  363. line-height: 25px;
  364. font-size: 12px;
  365. font-family: -apple-system, Helvetica, sans-serif;
  366. color: #666;
  367. }
  368. .cmt-tag text.selected {
  369. color: #fff;
  370. background: #04358D;
  371. }
  372. .cmt-item {
  373. position: relative;
  374. padding: 10px 0;
  375. }
  376. .cmt-item::after {
  377. content: "";
  378. height: 0;
  379. display: block;
  380. border-bottom: 1px solid #ddd;
  381. position: absolute;
  382. left: 0;
  383. right: 0;
  384. bottom: 0;
  385. border-bottom-color: #e5e5e5;
  386. }
  387. .cmt-user {
  388. line-height: 25px;
  389. margin-bottom: 8px;
  390. font-size: 12px;
  391. }
  392. .cmt-user-info {
  393. display: flex;
  394. align-items: center;
  395. width: 400rpx;
  396. }
  397. .cmt-user .user-img {
  398. width: 25px;
  399. height: 25px;
  400. border-radius: 50%;
  401. vertical-align: middle;
  402. }
  403. .cmt-user .nickname {
  404. margin-left: 10px;
  405. display: inline-block;
  406. color: #333;
  407. max-width: 8.2em;
  408. height: 25px;
  409. line-height: 27px;
  410. }
  411. .cmt-user .stars {
  412. display: flex;
  413. margin-left: 3px;
  414. }
  415. .cmt-user .stars image {
  416. width: 35rpx;
  417. height: 35rpx;
  418. }
  419. .cmt-user .date {
  420. float: right;
  421. color: #999;
  422. margin-left: -60px;
  423. }
  424. .cmt-cnt {
  425. overflow: hidden;
  426. text-overflow: ellipsis;
  427. display: -webkit-box;
  428. -webkit-line-clamp: 3;
  429. -webkit-box-orient: vertical;
  430. position: relative;
  431. line-height: 1.5;
  432. font-size: 14px;
  433. margin: 5px 0;
  434. word-break: break-all;
  435. max-height: 126px;
  436. }
  437. .cmt-attr {
  438. height: 85px;
  439. width: 100%;
  440. white-space: nowrap;
  441. }
  442. .cmt-attr .img-wrap {
  443. width: 85px;
  444. height: 85px;
  445. display: inline-block;
  446. }
  447. .cmt-attr image {
  448. display: inline-block;
  449. width: 80px;
  450. height: 80px;
  451. margin-right: 5px;
  452. margin-bottom: 5px;
  453. border-radius: 2px;
  454. background: #f3f3f3;
  455. }
  456. .cmt-more-v {
  457. text-align: center;
  458. background-color: #fff;
  459. font-size: 12px;
  460. }
  461. .cmt-more-v text {
  462. height: 25px;
  463. line-height: 25px;
  464. font-size: 12px;
  465. text-align: center;
  466. color: #333;
  467. padding: 0px 10px;
  468. margin: 10px 0;
  469. border: 1px solid #ccc;
  470. border-radius: 40px;
  471. display: inline-block;
  472. }
  473. /** 评价弹窗 */
  474. .cmt-popup {
  475. position: fixed;
  476. top: 0;
  477. bottom: 0;
  478. left: 0;
  479. right: 0;
  480. z-index: 5;
  481. background-color: #fff;
  482. padding-bottom: 98rpx;
  483. }
  484. .cmt-popup .cmt-cont {
  485. height: calc(100% - 80rpx);
  486. overflow: auto;
  487. }
  488. .cmt-popup .cmt-cnt {
  489. -webkit-line-clamp: 20;
  490. max-height: 500px;
  491. }
  492. .cmt-reply {
  493. font-size: 14px;
  494. border-top: 1px dashed #ddd;
  495. padding: 5px 0;
  496. }
  497. .cmt-reply .reply-tit {
  498. color: #e43130;
  499. }
  500. .cmt-reply .reply-content {
  501. word-wrap: break-word;
  502. }
  503. .cmt-popup .load-more {
  504. font-size: 14px;
  505. padding: 20px;
  506. text-align: center;
  507. margin-bottom: 10px;
  508. }
  509. .cmt-popup .load-more text {
  510. border: 1px solid #ddd;
  511. padding: 5px 10px;
  512. border-radius: 10px;
  513. color: #666;
  514. }
  515. /** 店铺 */
  516. .shop-box {
  517. margin: 20rpx 0;
  518. background: #fff;
  519. padding: 20rpx;
  520. }
  521. /* .shopbox-head {
  522. padding-bottom: 24rpx;
  523. } */
  524. .shop-logo {
  525. display: inline-block;
  526. width: 100rpx;
  527. height: 100rpx;
  528. background: #fff;
  529. margin-right: 20rpx;
  530. vertical-align: middle;
  531. }
  532. .shop-name,
  533. .self-operate {
  534. display: inline-block;
  535. vertical-align: middle;
  536. }
  537. .shop-name {
  538. font-size: 30rpx;
  539. font-weight: bold;
  540. }
  541. .self-operate {
  542. background: #e43130;
  543. color: #fff;
  544. font-size: 23rpx;
  545. padding: 5rpx 15rpx;
  546. margin-left: 15rpx;
  547. }
  548. /* 粉丝&商品 */
  549. .shop-situation {
  550. margin: 25rpx 0;
  551. }
  552. .situation-item {
  553. display: inline-block;
  554. width: 49%;
  555. border-right: 1rpx solid #e4e4e4;
  556. text-align: center;
  557. }
  558. .situation-item:last-child {
  559. border: none;
  560. }
  561. .situation-item-num {
  562. font-size: 32rpx;
  563. line-height: 2em;
  564. }
  565. .situation-item-txt {
  566. font-size: 23rpx;
  567. color: #999;
  568. }
  569. /* 收藏店铺&进入店铺 */
  570. .handle-shop-item {
  571. display: inline-block;
  572. width: 48%;
  573. margin-right: 20rpx;
  574. border: 1rpx solid #e4e4e4;
  575. border-radius: 8rpx;
  576. padding: 10rpx 0;
  577. text-align: center;
  578. }
  579. .handle-shop-item:last-child {
  580. margin: 0;
  581. }
  582. .handle-shop-icon {
  583. display: inline-block;
  584. width: 40rpx;
  585. height: 40rpx;
  586. margin-right: 10rpx;
  587. }
  588. .handle-shop-icon>image {
  589. width: 100%;
  590. height: 100%;
  591. vertical-align: middle;
  592. }
  593. .handle-txt {
  594. font-size: 28rpx;
  595. vertical-align: middle;
  596. }
  597. /** 商品详情 */
  598. .prod-detail {
  599. background: #fff;
  600. margin-top: 20rpx;
  601. position: relative;
  602. line-height: 48rpx;
  603. overflow: hidden;
  604. padding: 20rpx 0;
  605. }
  606. rich-text {
  607. width: 100% !important;
  608. }
  609. .det-tit {
  610. width: 300rpx;
  611. }
  612. .detail-tit {
  613. font-size: 32rpx;
  614. position: relative;
  615. border-bottom: 1px solid #ddd;
  616. padding: 20rpx;
  617. }
  618. .prod-detail image {
  619. width: 750rpx !important;
  620. display: block;
  621. }
  622. rich-text image {
  623. width: 100% !important;
  624. }
  625. img {
  626. width: 100% !important;
  627. display: block;
  628. }
  629. /** end 商品详情 */
  630. /** 底部按钮 */
  631. .cart-footer {
  632. position: fixed;
  633. bottom: 0;
  634. left: 0;
  635. width: 100%;
  636. display: flex;
  637. align-items: center;
  638. flex-direction: row nowrap;
  639. height: 110rpx;
  640. z-index: 3;
  641. box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
  642. background: #fff;
  643. }
  644. .cart-footer .btn {
  645. position: relative;
  646. display: flex;
  647. flex-grow: 1;
  648. justify-content: center;
  649. align-items: center;
  650. width: 0;
  651. background-color: #fff;
  652. font-size: 28rpx;
  653. flex-flow: column;
  654. }
  655. .cart-footer .btn.icon {
  656. flex-grow: 0;
  657. flex-shrink: 0;
  658. width: 90rpx;
  659. font-size: 23rpx;
  660. color: #666;
  661. }
  662. .cart-footer .btn.icon image {
  663. width: 54rpx;
  664. height: 54rpx;
  665. }
  666. .cart-footer .btn.cart {
  667. border: 2rpx solid #ddd;
  668. font-weight: bold;
  669. font-size: 28rpx;
  670. color: #04358D;
  671. margin: 0 12rpx;
  672. text-align: center;
  673. }
  674. .cart-footer .btn.buy {
  675. background: #04358D;
  676. color: #fff;
  677. margin-right: 12rpx;
  678. font-size: 30rpx;
  679. text-align: center;
  680. }
  681. .cart-radius {
  682. border-radius: 60rpx;
  683. height: 2.8em;
  684. line-height: 2.8em;
  685. }
  686. .cart-footer.gray .btn.cart,
  687. .cart-footer.gray .btn.buy {
  688. display: block;
  689. background: #ddd;
  690. }
  691. .cart-footer .btn .badge {
  692. position: absolute;
  693. top: 3rpx;
  694. left: 55rpx;
  695. display: inline-block;
  696. width: 28rpx;
  697. height: 28rpx;
  698. border-radius: 14rpx;
  699. background-color: #e43130;
  700. text-align: center;
  701. line-height: 28rpx;
  702. font-size: 18rpx;
  703. color: #fff;
  704. }
  705. /* .cart-footer .btn .badge-1 {
  706. width: 36rpx;
  707. } */
  708. .cart-footer .btn .badge-2 {
  709. width: 48rpx;
  710. left: 52rpx;
  711. }
  712. /** end 底部按钮 */
  713. .contact-btn-box{
  714. position: relative;
  715. }
  716. .contact-btn{
  717. position: absolute;
  718. top: 0;
  719. left: 6rpx;
  720. height: 90rpx;
  721. width: 80rpx;
  722. text-align: center;
  723. background-color: transparent;
  724. }
  725. .contact-btn::after{
  726. border: none;
  727. }
  728. /* 积分 底部按钮 */
  729. .ex-integral-foot {
  730. position: fixed;
  731. bottom: 0;
  732. left: 0;
  733. width: 100%;
  734. display: flex;
  735. flex-direction: row nowrap;
  736. color: #fff;
  737. z-index: 4;
  738. box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
  739. }
  740. .ex-integral-btn {
  741. box-sizing: border-box;
  742. width: 100%;
  743. margin: 20rpx;
  744. padding: 1em 0;
  745. background: #e43130;
  746. color: #fff;
  747. text-align: center;
  748. font-size: 30rpx;
  749. line-height: 1em;
  750. border-radius: 8rpx;
  751. }
  752. /** 【拼团】底部按钮 */
  753. .foot-box {
  754. margin-top: 100rpx;
  755. }
  756. .footer {
  757. position: fixed;
  758. bottom: 0;
  759. width: 100%;
  760. box-sizing: border-box;
  761. height: 100rpx;
  762. background: #fff;
  763. /* box-shadow: 10rpx 0 10rpx 0 #f0f0f0; */
  764. display: flex;
  765. align-items: center;
  766. }
  767. .foot-btn {
  768. position: relative;
  769. display: inline-block;
  770. width: 100rpx;
  771. font-size: 23rpx;
  772. color: #666;
  773. text-align: center;
  774. padding-top: 6rpx;
  775. background: #fff;
  776. }
  777. .foot-btn>image {
  778. display: block;
  779. width: 54rpx;
  780. height: 54rpx;
  781. margin: 0 auto;
  782. }
  783. .buy-btn {
  784. display: inline-block;
  785. font-size: 30rpx;
  786. /* height: 100rpx;
  787. line-height: 105rpx; */
  788. vertical-align: top;
  789. width: 34.3%;
  790. color: #fff;
  791. text-align: center;
  792. }
  793. .alone-buy {
  794. background: #fd7d46;
  795. margin: 0 12rpx;
  796. }
  797. .group-buy {
  798. background: #e43130;
  799. margin-right: 12rpx;
  800. }
  801. /* 购物车数量显示 */
  802. .badge {
  803. position: absolute;
  804. top: 10rpx;
  805. left: 50rpx;
  806. display: inline-block;
  807. width: 28rpx;
  808. height: 28rpx;
  809. border-radius: 14rpx;
  810. background-color: #e43130;
  811. text-align: center;
  812. line-height: 28rpx;
  813. font-size: 18rpx;
  814. color: #fff;
  815. }
  816. /* .badge-1 {
  817. width: 36rpx;
  818. } */
  819. .badge-2 {
  820. width: 48rpx;
  821. left: 52rpx;
  822. }
  823. /** end 底部按钮 */
  824. /** 优惠券弹窗 **/
  825. .popup-hide {
  826. position: fixed;
  827. top: 0;
  828. bottom: 0;
  829. left: 0;
  830. right: 0;
  831. z-index: 5;
  832. background-color: rgba(0, 0, 0, 0.3);
  833. }
  834. .popup-box {
  835. position: absolute;
  836. bottom: 0;
  837. width: 100%;
  838. min-height: 375px;
  839. max-height: 475px;
  840. overflow: hidden;
  841. background-color: #fff;
  842. }
  843. .popup-tit {
  844. position: relative;
  845. height: 46px;
  846. line-height: 46px;
  847. padding-left: 10px;
  848. font-size: 16px;
  849. color: #333;
  850. background-color: #f7f7f7;
  851. }
  852. .close {
  853. color: #aaa;
  854. border-radius: 12px;
  855. line-height: 20px;
  856. text-align: center;
  857. height: 20px;
  858. width: 20px;
  859. font-size: 18px;
  860. padding: 1px;
  861. top: 16rpx;
  862. right: 10px;
  863. position: absolute;
  864. }
  865. .close::before {
  866. content: "\2716";
  867. }
  868. .popup-cnt {
  869. max-height: 429px;
  870. overflow: auto;
  871. padding: 0 10px;
  872. }
  873. /** 规格弹窗**/
  874. .pup-sku {
  875. position: fixed;
  876. top: 0;
  877. bottom: 0;
  878. left: 0;
  879. right: 0;
  880. z-index: 6;
  881. background-color: rgba(0, 0, 0, 0.3);
  882. }
  883. .pup-sku-main {
  884. position: absolute;
  885. bottom: 0;
  886. width: 100%;
  887. min-height: 375px;
  888. max-height: 475px;
  889. background-color: #fff;
  890. }
  891. .pup-sku-header {
  892. position: relative;
  893. font-size: 16px;
  894. color: #333;
  895. padding: 20rpx 20rpx;
  896. background-color: #fff;
  897. border-bottom: 1rpx solid #f2f2f2;
  898. padding-top: 35rpx;
  899. }
  900. .pup-sku-img {
  901. display: inline-block;
  902. width: 27%;
  903. height: 180rpx;
  904. vertical-align: middle;
  905. border-radius: 10rpx;
  906. }
  907. .pup-sku-img image {
  908. display: block;
  909. width: 180rpx;
  910. height: 100%;
  911. }
  912. .pup-sku-prod {
  913. display: inline-block;
  914. width: 70%;
  915. vertical-align: middle;
  916. padding-left: 10rpx;
  917. }
  918. .prod-title {
  919. font-size: 28rpx;
  920. display: -webkit-box;
  921. -webkit-line-clamp: 1;
  922. /*设定显示行数*/
  923. -webkit-box-orient: vertical;
  924. word-break: break-all;
  925. overflow: hidden;
  926. text-overflow: ellipsis;
  927. max-width: 100%;
  928. margin: 15rpx 0;
  929. }
  930. .pup-sku-price {
  931. display: inline-block;
  932. height: 1.5em;
  933. line-height: 1.5em;
  934. color: #e43130;
  935. font-size: 26rpx;
  936. }
  937. .group-sku-pri {
  938. display: flex;
  939. align-items: center;
  940. }
  941. .pup-sku-price-int {
  942. font-size: 38rpx;
  943. }
  944. .pup-sku-prop {
  945. display: block;
  946. font-size: 26rpx;
  947. color: #333;
  948. line-height: 1.4em;
  949. padding-right: 10px;
  950. margin-top: 16rpx;
  951. display: -webkit-box;
  952. -webkit-line-clamp: 1;
  953. /*设定显示行数*/
  954. -webkit-box-orient: vertical;
  955. word-break: break-all;
  956. overflow: hidden;
  957. text-overflow: ellipsis;
  958. }
  959. .pup-sku-prop text:first-child {
  960. color: #999;
  961. }
  962. .pup-sku-body {
  963. box-sizing: border-box;
  964. padding-bottom: 100px;
  965. overflow: auto;
  966. }
  967. .pup-sku-area {
  968. max-height: 480rpx;
  969. overflow-y: scroll;
  970. }
  971. .pup-sku-area .sku-kind {
  972. font-size: 12px;
  973. margin: 0 10px;
  974. height: 40px;
  975. line-height: 40px;
  976. color: #000;
  977. font-weight: bold;
  978. }
  979. .pup-sku-area .sku-choose {
  980. overflow: hidden;
  981. margin-bottom: 3px;
  982. }
  983. .sku-choose-item {
  984. display: inline-block;
  985. min-width: 100rpx;
  986. max-width: 540rpx;
  987. padding: 0 16rpx;
  988. overflow: hidden;
  989. height: 50rpx;
  990. line-height: 50rpx;
  991. text-align: center;
  992. margin-left: 10px;
  993. margin-bottom: 10px;
  994. border-radius: 30rpx;
  995. color: #333;
  996. background-color: #f7f7f7;
  997. font-size: 14px;
  998. border: 1px solid #aaa;
  999. }
  1000. .sku-choose-item.active {
  1001. background-color: #04358D;
  1002. color: #fff;
  1003. border: 1px solid #04358D !important;
  1004. }
  1005. .sku-choose-item.gray {
  1006. background-color: #f9f9f9;
  1007. color: #ddd;
  1008. }
  1009. .sku-choose-item.dashed {
  1010. border: 1px dashed #ccc;
  1011. }
  1012. .pup-sku-count {
  1013. padding: 0 20rpx;
  1014. font-size: 24rpx;
  1015. margin: 10rpx 0;
  1016. }
  1017. .pup-sku-count .count-name {
  1018. height: 31px;
  1019. line-height: 31px;
  1020. width: 100rpx;
  1021. color: #000;
  1022. font-weight: bold;
  1023. }
  1024. .pup-sku-count .num-wrap {
  1025. position: relative;
  1026. z-index: 0;
  1027. width: 110px;
  1028. float: right;
  1029. vertical-align: middle;
  1030. display: flex;
  1031. }
  1032. .num-wrap .minus,
  1033. .num-wrap .plus {
  1034. position: relative;
  1035. max-width: 30px;
  1036. min-width: 30px;
  1037. height: 30px;
  1038. line-height: 30px;
  1039. background: #f7f7f7;
  1040. text-align: center;
  1041. }
  1042. .num-wrap .minus {
  1043. border-top-left-radius: 3px;
  1044. border-bottom-left-radius: 3px;
  1045. }
  1046. .num-wrap .plus {
  1047. border-top-right-radius: 3px;
  1048. border-bottom-right-radius: 3px;
  1049. }
  1050. .num-wrap .row {
  1051. border-radius: 20px;
  1052. position: absolute;
  1053. top: 50%;
  1054. left: 50%;
  1055. margin-left: -7px;
  1056. margin-top: -1px;
  1057. width: 14px;
  1058. height: 2px;
  1059. background-color: #ccc;
  1060. }
  1061. .num-wrap .col {
  1062. border-radius: 20px;
  1063. position: absolute;
  1064. top: 50%;
  1065. left: 50%;
  1066. margin-left: -1px;
  1067. margin-top: -7px;
  1068. width: 2px;
  1069. height: 14px;
  1070. background-color: #999;
  1071. }
  1072. .pup-sku-count .text-wrap {
  1073. position: relative;
  1074. width: 45px;
  1075. z-index: 0;
  1076. margin: 0 1px;
  1077. }
  1078. .pup-sku-count .text-wrap input {
  1079. height: 30px;
  1080. width: 100%;
  1081. color: #333;
  1082. background: #fff;
  1083. font-size: 12px;
  1084. text-align: center;
  1085. border: none;
  1086. background: #f7f7f7;
  1087. }
  1088. .pup-sku-footer {
  1089. position: fixed;
  1090. bottom: 0;
  1091. left: 0;
  1092. width: 100%;
  1093. display: flex;
  1094. flex-direction: row nowrap;
  1095. height: 110rpx;
  1096. z-index: 6;
  1097. justify-content: center;
  1098. /* box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05); */
  1099. }
  1100. .pup-sku-footer.gray .btn,
  1101. .pup-sku-footer.gray .btn,
  1102. .pup-sku-footer .btn {
  1103. position: relative;
  1104. display: flex;
  1105. flex-grow: 1;
  1106. justify-content: center;
  1107. align-items: center;
  1108. background-color: #fff;
  1109. font-size: 30rpx;
  1110. flex-flow: column;
  1111. border-radius: 60rpx;
  1112. height: 2.8em;
  1113. width: 45%;
  1114. margin: 0 15rpx;
  1115. }
  1116. .pup-sku-footer .btn.cart {
  1117. border: 2rpx solid #ddd;
  1118. color: #04358D;
  1119. }
  1120. .pup-sku-footer .btn.buy {
  1121. background: #04358D;
  1122. color: #fff;
  1123. }
  1124. .pup-sku-footer.gray .btn.cart {
  1125. background: #ddd;
  1126. }
  1127. .pup-sku-footer.gray .btn.buy {
  1128. background: #ddd;
  1129. }
  1130. /* 悬浮按钮 */
  1131. .suspension-box {
  1132. position: fixed;
  1133. top: 920rpx;
  1134. right: 40rpx;
  1135. z-index: 2;
  1136. }
  1137. .scroll-top {
  1138. top: 780rpx;
  1139. }
  1140. .suspension-btn {
  1141. display: flex;
  1142. justify-content: center;
  1143. align-items: center;
  1144. text-align: center;
  1145. width: 80rpx;
  1146. height: 80rpx;
  1147. border-radius: 50%;
  1148. background: #fff;
  1149. border: 1rpx solid #ccc;
  1150. margin-top: 30rpx;
  1151. }
  1152. button.btn-type {
  1153. background: #fff;
  1154. padding: 0;
  1155. margin: 0;
  1156. margin-top: 30rpx;
  1157. }
  1158. button.btn-type::after {
  1159. border: 0;
  1160. }
  1161. .suspension-btn image {
  1162. display: block;
  1163. width: 40rpx;
  1164. height: 40rpx;
  1165. }
  1166. /* 赚字浮层 */
  1167. .promo-con .earn {
  1168. background: rgba(230, 55, 58, 0.9);
  1169. box-shadow: 1px 2px 6px rgba(78, 78, 78, 0.4);
  1170. color: #fff;
  1171. border-radius: 50%;
  1172. width: 80rpx;
  1173. height: 80rpx;
  1174. font-size: 32rpx;
  1175. margin: auto;
  1176. text-align: center;
  1177. line-height: 80rpx;
  1178. }
  1179. /* /悬浮按钮 */
  1180. /*分享弹窗 */
  1181. .promo-share {
  1182. position: fixed;
  1183. top: 0;
  1184. left: 0;
  1185. background: rgba(0, 0, 0, 0.7);
  1186. width: 100%;
  1187. height: 100%;
  1188. z-index: 99;
  1189. }
  1190. .promo-tit {
  1191. padding-top: 40rpx;
  1192. font-size: 24rpx;
  1193. text-align: center;
  1194. margin-left: 80rpx;
  1195. }
  1196. .promo-main {
  1197. background: #fff;
  1198. position: absolute;
  1199. bottom: 0rpx;
  1200. width: 100%;
  1201. height: 500rpx;
  1202. z-index: 99;
  1203. }
  1204. .promo-icons-close image {
  1205. width: 45rpx;
  1206. height: 45rpx;
  1207. /* border-radius: 55%; */
  1208. float: right;
  1209. padding-right: 20rpx;
  1210. padding-top: 20rpx;
  1211. }
  1212. .promo-desc {
  1213. margin-left: 73rpx;
  1214. width: 600rpx;
  1215. text-align: center;
  1216. }
  1217. .promo-desc text {
  1218. padding: 20rpx;
  1219. font-size: 20rpx;
  1220. color: #999;
  1221. line-height: 34rpx;
  1222. display: inline-block;
  1223. }
  1224. .promo-icons {
  1225. font-size: 20rpx;
  1226. color: #666;
  1227. display: flex;
  1228. justify-content: space-around;
  1229. padding: 10rpx 150rpx;
  1230. }
  1231. .promo-icons image {
  1232. width: 75rpx;
  1233. height: 75rpx;
  1234. border-radius: 50%;
  1235. }
  1236. .promo-img1 {
  1237. display: flex;
  1238. flex-flow: column;
  1239. align-items: center;
  1240. line-height: 75rpx;
  1241. font-size: 22rpx;
  1242. background: none;
  1243. border: 0;
  1244. margin: 0;
  1245. padding: 0;
  1246. }
  1247. .promo-img1::after {
  1248. border: 0;
  1249. }
  1250. .promo-btn {
  1251. font-size: 28rpx;
  1252. width: 90%;
  1253. height: 80rpx;
  1254. border: 1px #e5e5e5 solid;
  1255. text-align: center;
  1256. line-height: 80rpx;
  1257. margin-left: 40rpx;
  1258. }
  1259. /** 二维码弹窗 */
  1260. .code-popup {
  1261. position: fixed;
  1262. top: 0;
  1263. left: 0;
  1264. background: rgba(0, 0, 0, 0.7);
  1265. width: 100%;
  1266. height: 100%;
  1267. z-index: 9;
  1268. }
  1269. .code-main {
  1270. margin: auto;
  1271. left: 0;
  1272. right: 0;
  1273. top: 0;
  1274. bottom: 0;
  1275. position: fixed;
  1276. width: 500rpx;
  1277. height: 700rpx;
  1278. }
  1279. .close-png {
  1280. width: 50rpx;
  1281. height: 50rpx;
  1282. margin-top: -10rpx;
  1283. }
  1284. .code-v {
  1285. padding: 20rpx;
  1286. border-radius: 6rpx;
  1287. background: #fff;
  1288. }
  1289. .wx-code {
  1290. width: 460rpx;
  1291. height: 460rpx;
  1292. }
  1293. .close-v {
  1294. text-align: right;
  1295. height: 60rpx;
  1296. }
  1297. .code-txt {
  1298. margin-top: 20rpx;
  1299. text-align: center;
  1300. color: #fff;
  1301. font-size: 28rpx;
  1302. background: #3a86b9;
  1303. border-radius: 6rpx;
  1304. height: 80rpx;
  1305. line-height: 80rpx;
  1306. }
  1307. /** 二维码弹窗 end */
  1308. /* 倒计时栏 */
  1309. .countdown-box {
  1310. width: 100%;
  1311. height: 85rpx;
  1312. line-height: 85rpx;
  1313. /* background: #e92121; */
  1314. background: #e43130;
  1315. color: #fff;
  1316. padding: 0 30rpx;
  1317. box-sizing: border-box;
  1318. }
  1319. .second-kill {
  1320. font-size: 33rpx;
  1321. }
  1322. .countdown-content {
  1323. float: right;
  1324. font-size: 28rpx;
  1325. height: 85rpx;
  1326. line-height: 85rpx;
  1327. text-align: left;
  1328. display: flex;
  1329. justify-content: space-between;
  1330. align-items: center;
  1331. }
  1332. .countdown-tips {
  1333. font-size: 24rpx;
  1334. opacity: 0.8;
  1335. margin-right: 10rpx;
  1336. }
  1337. .countdown-time {
  1338. font-size: 24rpx;
  1339. padding-top: 5rpx;
  1340. }
  1341. /* 价格 */
  1342. .goods-price {
  1343. padding: 15rpx 0;
  1344. border-bottom: 1px solid #f3f3f3;
  1345. }
  1346. .current-price {
  1347. display: flex;
  1348. align-items: center;
  1349. color: #e43130;
  1350. font-size: 34rpx;
  1351. /* margin-right: 15rpx; */
  1352. vertical-align: middle;
  1353. }
  1354. .original {
  1355. font-size: 26rpx;
  1356. color: #888888;
  1357. margin-top: 15rpx;
  1358. }
  1359. .original-price {
  1360. font-size: 26rpx;
  1361. text-decoration: line-through;
  1362. color: #999999;
  1363. margin-left: 10rpx;
  1364. }
  1365. /* 拼团价格 */
  1366. .condition {
  1367. font-size: 24rpx;
  1368. border: 1rpx solid red;
  1369. padding: 2rpx 10rpx;
  1370. vertical-align: middle;
  1371. }
  1372. /* 拼团详情 */
  1373. .spell-infor {
  1374. border-top: 20rpx solid #f7f7f7;
  1375. font-size: 28rpx;
  1376. padding: 20rpx;
  1377. background: #fff;
  1378. }
  1379. .spell-infor-title {
  1380. font-size: 26rxp;
  1381. }
  1382. .spell-infor-content {
  1383. position: relative;
  1384. padding-top: 20rpx;
  1385. padding-bottom: 20rpx;
  1386. border-bottom: 1rpx solid #f2f2f2;
  1387. }
  1388. .head-img {
  1389. display: inline-block;
  1390. width: 70rpx;
  1391. height: 70rpx;
  1392. margin-right: 15rpx;
  1393. vertical-align: bottom;
  1394. border-radius: 50%;
  1395. }
  1396. .head-img>image {
  1397. border-radius: 50%;
  1398. }
  1399. .spell-msg {
  1400. display: inline-block;
  1401. vertical-align: top;
  1402. font-size: 24rpx;
  1403. }
  1404. .spell-text {
  1405. padding-top: 10rpx;
  1406. color: #aaa;
  1407. }
  1408. .red-font {
  1409. color: #e43130;
  1410. }
  1411. .join-group {
  1412. position: absolute;
  1413. right: 10rpx;
  1414. bottom: 30rpx;
  1415. color: #e43130;
  1416. border: 1rpx solid #e43130;
  1417. padding: 10rpx 15rpx;
  1418. font-size: 24rpx;
  1419. }
  1420. .rules {
  1421. position: relative;
  1422. font-size: 24rpx;
  1423. padding-top: 20rpx;
  1424. }
  1425. .rules-text02 {
  1426. float: right;
  1427. font-size: 23rpx;
  1428. color: #aaa;
  1429. padding-right: 30rpx;
  1430. }
  1431. .right-arrow {
  1432. position: absolute;
  1433. right: 5rpx;
  1434. top: 20rpx;
  1435. display: inline-block;
  1436. width: 20rpx;
  1437. height: 20rpx;
  1438. }
  1439. .act-price-con {
  1440. border: 1px solid #e4393c;
  1441. margin-left: 20rpx;
  1442. padding: 2rpx 5rpx;
  1443. border-radius: 3rpx;
  1444. }
  1445. /* 列表为空 */
  1446. .empty {
  1447. margin-top: 100rpx;
  1448. text-align: cneter;
  1449. }
  1450. .empty-icon {
  1451. display: block;
  1452. width: 80rpx;
  1453. height: 80rpx;
  1454. margin: 0 auto;
  1455. margin-bottom: 20rpx;
  1456. }
  1457. .empty-icon>image {
  1458. width: 100%;
  1459. height: 100%;
  1460. }
  1461. .empty-text {
  1462. font-size: 28rpx;
  1463. text-align: center;
  1464. color: #999;
  1465. line-height: 2em;
  1466. }