prod.wxss 30 KB

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