prod.wxss 32 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105
  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. font-size: 32rpx;
  351. color: #222222;
  352. font-weight: bold;
  353. }
  354. .cmt-good {
  355. color: #FF4D3A;
  356. font-size: 24rpx;
  357. }
  358. .cmt-count {
  359. position: absolute;
  360. right: 20rpx;
  361. top: 20rpx;
  362. font-size: 24rpx;
  363. color: #666;
  364. }
  365. .cmt-more {
  366. width: 10rpx;
  367. height: 10rpx;
  368. border-top: 2rpx solid #FF4D3A;
  369. border-right: 2rpx solid #FF4D3A;
  370. transform: rotate(45deg);
  371. margin-left: 10rpx;
  372. display: inline-block;
  373. }
  374. .cmt-cont {
  375. padding: 0 20rpx;
  376. }
  377. .cmt-tag {
  378. position: relative;
  379. padding: 14px 3px 0 0;
  380. margin: 0;
  381. border-radius: 8rpx;
  382. }
  383. .cmt-tag text {
  384. margin: 0 6px 10px 0;
  385. background: #F0F0F0;
  386. display: inline-block;
  387. padding: 0 10px;
  388. height: 25px;
  389. border-radius: 3px;
  390. line-height: 25px;
  391. font-size: 12px;
  392. font-family: -apple-system, Helvetica, sans-serif;
  393. color: #666;
  394. }
  395. .cmt-tag text.selected {
  396. color: #fff;
  397. background: #006CE8;
  398. }
  399. .cmt-item {
  400. position: relative;
  401. padding: 10px 0;
  402. }
  403. .cmt-item::after {
  404. content: "";
  405. height: 0;
  406. display: block;
  407. border-bottom: 1px solid #ddd;
  408. position: absolute;
  409. left: 0;
  410. right: 0;
  411. bottom: 0;
  412. border-bottom-color: #e5e5e5;
  413. }
  414. .cmt-user {
  415. line-height: 25px;
  416. margin-bottom: 8px;
  417. font-size: 12px;
  418. }
  419. .cmt-user-info {
  420. display: flex;
  421. align-items: center;
  422. width: 400rpx;
  423. }
  424. .cmt-user .user-img {
  425. width: 25px;
  426. height: 25px;
  427. border-radius: 50%;
  428. vertical-align: middle;
  429. }
  430. .cmt-user .nickname {
  431. margin-left: 10px;
  432. display: inline-block;
  433. color: #333;
  434. max-width: 8.2em;
  435. height: 25px;
  436. line-height: 27px;
  437. }
  438. .cmt-user .stars {
  439. display: flex;
  440. margin-left: 3px;
  441. }
  442. .cmt-user .stars image {
  443. width: 35rpx;
  444. height: 35rpx;
  445. }
  446. .cmt-user .date {
  447. float: right;
  448. color: #999;
  449. margin-left: -60px;
  450. }
  451. .cmt-cnt {
  452. overflow: hidden;
  453. text-overflow: ellipsis;
  454. display: -webkit-box;
  455. -webkit-line-clamp: 3;
  456. -webkit-box-orient: vertical;
  457. position: relative;
  458. line-height: 1.5;
  459. font-size: 14px;
  460. margin: 5px 0;
  461. word-break: break-all;
  462. max-height: 126px;
  463. }
  464. .cmt-attr {
  465. height: 85px;
  466. width: 100%;
  467. white-space: nowrap;
  468. }
  469. .cmt-attr .img-wrap {
  470. width: 85px;
  471. height: 85px;
  472. display: inline-block;
  473. }
  474. .cmt-attr image {
  475. display: inline-block;
  476. width: 80px;
  477. height: 80px;
  478. margin-right: 5px;
  479. margin-bottom: 5px;
  480. border-radius: 2px;
  481. background: #f3f3f3;
  482. }
  483. .cmt-more-v {
  484. text-align: center;
  485. background-color: #fff;
  486. font-size: 12px;
  487. }
  488. .cmt-more-v text {
  489. height: 25px;
  490. line-height: 25px;
  491. font-size: 12px;
  492. text-align: center;
  493. color: #333;
  494. padding: 0px 10px;
  495. margin: 10px 0;
  496. border: 1px solid #ccc;
  497. border-radius: 40px;
  498. display: inline-block;
  499. }
  500. /** 评价弹窗 */
  501. .cmt-popup {
  502. position: fixed;
  503. top: 0;
  504. bottom: 0;
  505. left: 0;
  506. right: 0;
  507. z-index: 5;
  508. background-color: #fff;
  509. padding-bottom: 98rpx;
  510. }
  511. .cmt-popup .cmt-cont {
  512. height: calc(100% - 80rpx);
  513. overflow: auto;
  514. }
  515. .cmt-popup .cmt-cnt {
  516. -webkit-line-clamp: 20;
  517. max-height: 500px;
  518. }
  519. .cmt-reply {
  520. font-size: 14px;
  521. border-top: 1px dashed #ddd;
  522. padding: 5px 0;
  523. }
  524. .cmt-reply .reply-tit {
  525. color: #e43130;
  526. }
  527. .cmt-reply .reply-content {
  528. word-wrap: break-word;
  529. }
  530. .cmt-popup .load-more {
  531. font-size: 14px;
  532. padding: 20px;
  533. text-align: center;
  534. margin-bottom: 10px;
  535. }
  536. .cmt-popup .load-more text {
  537. border: 1px solid #ddd;
  538. padding: 5px 10px;
  539. border-radius: 10px;
  540. color: #666;
  541. }
  542. /** 店铺 */
  543. .shop-box {
  544. margin: 20rpx 0;
  545. background: #fff;
  546. padding: 20rpx;
  547. }
  548. /* .shopbox-head {
  549. padding-bottom: 24rpx;
  550. } */
  551. .shop-logo {
  552. display: inline-block;
  553. width: 80rpx;
  554. height: 80rpx;
  555. background: #fff;
  556. margin-right: 20rpx;
  557. vertical-align: middle;
  558. }
  559. .shop-logo image{
  560. border-radius: 16rpx;
  561. }
  562. .shop-name,
  563. .self-operate {
  564. display: inline-block;
  565. vertical-align: middle;
  566. }
  567. .shop-name {
  568. font-size: 30rpx;
  569. font-weight: bold;
  570. }
  571. .self-operate {
  572. width: 112rpx;
  573. height: 36rpx;
  574. background: #FF4D3A;
  575. border-radius: 8rpx 8rpx 8rpx 8rpx;
  576. font-size: 24rpx;
  577. color: #FFFFFF;
  578. text-align: center;
  579. /* padding: 5rpx 15rpx; */
  580. margin-left: 15rpx;
  581. }
  582. .swiper-box{
  583. padding: 20rpx;
  584. background: #fff;
  585. margin-top: 20rpx;
  586. border-radius: 16rpx;
  587. }
  588. .swiper-box .tab-box{
  589. display: flex;
  590. }
  591. .swiper-box .tab-box .tab{
  592. font-size: 32rpx;
  593. color: #222222;
  594. padding-bottom: 18rpx;
  595. margin-right: 48rpx;
  596. }
  597. .swiper-box .tab-box .tab.active{
  598. position: relative;
  599. font-weight: bold;
  600. font-size: 32rpx;
  601. color: #222222;
  602. }
  603. .swiper-box .tab-box .tab.active::after{
  604. content: '';
  605. display: block;
  606. position: absolute;
  607. left: calc(50% - 20rpx);
  608. bottom: 0;
  609. width: 40rpx;
  610. height: 8rpx;
  611. background: #006CE8;
  612. border-radius: 8rpx 8rpx 8rpx 8rpx;
  613. }
  614. /* 粉丝&商品 */
  615. .shop-situation {
  616. margin: 25rpx 0;
  617. }
  618. .situation-item {
  619. display: inline-block;
  620. width: 49%;
  621. border-right: 1rpx solid #e4e4e4;
  622. text-align: center;
  623. }
  624. .situation-item:last-child {
  625. border: none;
  626. }
  627. .situation-item-num {
  628. font-size: 32rpx;
  629. line-height: 2em;
  630. }
  631. .situation-item-txt {
  632. font-size: 23rpx;
  633. color: #999;
  634. }
  635. /* 收藏店铺&进入店铺 */
  636. .handle-shop-item {
  637. display: inline-block;
  638. width: 48%;
  639. margin-right: 20rpx;
  640. border: 1rpx solid #e4e4e4;
  641. border-radius: 8rpx;
  642. padding: 10rpx 0;
  643. text-align: center;
  644. }
  645. .handle-shop-item:last-child {
  646. margin: 0;
  647. }
  648. .handle-shop-icon {
  649. display: inline-block;
  650. width: 40rpx;
  651. height: 40rpx;
  652. margin-right: 10rpx;
  653. }
  654. .handle-shop-icon>image {
  655. width: 100%;
  656. height: 100%;
  657. vertical-align: middle;
  658. }
  659. .handle-txt {
  660. font-size: 28rpx;
  661. vertical-align: middle;
  662. }
  663. /** 商品详情 */
  664. .prod-detail {
  665. background: #fff;
  666. margin-top: 20rpx;
  667. position: relative;
  668. line-height: 48rpx;
  669. overflow: hidden;
  670. padding: 20rpx 0;
  671. }
  672. rich-text {
  673. width: 100% !important;
  674. }
  675. .det-tit {
  676. width: 300rpx;
  677. }
  678. .detail-tit {
  679. font-size: 32rpx;
  680. position: relative;
  681. border-bottom: 1px solid #ddd;
  682. padding: 20rpx;
  683. }
  684. .prod-detail image {
  685. width: 750rpx !important;
  686. display: block;
  687. }
  688. rich-text image {
  689. width: 100% !important;
  690. }
  691. img {
  692. width: 100% !important;
  693. display: block;
  694. }
  695. /** end 商品详情 */
  696. /** 底部按钮 */
  697. .cart-footer {
  698. position: fixed;
  699. bottom: 0;
  700. left: 0;
  701. width: 100%;
  702. display: flex;
  703. align-items: center;
  704. flex-direction: row nowrap;
  705. height: 110rpx;
  706. z-index: 3;
  707. box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
  708. background: #fff;
  709. }
  710. .cart-footer .btn {
  711. position: relative;
  712. display: flex;
  713. flex-grow: 1;
  714. justify-content: center;
  715. align-items: center;
  716. width: 0;
  717. background-color: #fff;
  718. font-size: 28rpx;
  719. flex-flow: column;
  720. }
  721. .cart-footer .btn.icon {
  722. flex-grow: 0;
  723. flex-shrink: 0;
  724. width: 90rpx;
  725. font-size: 23rpx;
  726. color: #666;
  727. }
  728. .cart-footer .btn.icon image {
  729. width: 54rpx;
  730. height: 54rpx;
  731. }
  732. .cart-footer .btn.cart {
  733. border: 2rpx solid #ddd;
  734. font-weight: bold;
  735. font-size: 28rpx;
  736. color: #006CE8;
  737. margin: 0 12rpx;
  738. text-align: center;
  739. }
  740. .cart-footer .btn.buy {
  741. background: #006CE8;
  742. color: #fff;
  743. margin-right: 12rpx;
  744. font-size: 28rpx;
  745. text-align: center;
  746. }
  747. .cart-radius {
  748. border-radius: 60rpx;
  749. height: 2.8em;
  750. line-height: 2.8em;
  751. }
  752. .cart-footer.gray .btn.cart,
  753. .cart-footer.gray .btn.buy {
  754. display: block;
  755. background: #ddd;
  756. }
  757. .cart-footer .btn .badge {
  758. position: absolute;
  759. top: 3rpx;
  760. left: 55rpx;
  761. display: inline-block;
  762. width: 28rpx;
  763. height: 28rpx;
  764. border-radius: 14rpx;
  765. background-color: #e43130;
  766. text-align: center;
  767. line-height: 28rpx;
  768. font-size: 18rpx;
  769. color: #fff;
  770. }
  771. /* .cart-footer .btn .badge-1 {
  772. width: 36rpx;
  773. } */
  774. .cart-footer .btn .badge-2 {
  775. width: 48rpx;
  776. left: 52rpx;
  777. }
  778. /** end 底部按钮 */
  779. .contact-btn-box{
  780. position: relative;
  781. }
  782. .contact-btn{
  783. position: absolute;
  784. top: 0;
  785. left: 6rpx;
  786. height: 90rpx;
  787. width: 80rpx;
  788. text-align: center;
  789. background-color: transparent;
  790. }
  791. .contact-btn::after{
  792. border: none;
  793. }
  794. /* 积分 底部按钮 */
  795. .ex-integral-foot {
  796. position: fixed;
  797. bottom: 0;
  798. left: 0;
  799. width: 100%;
  800. display: flex;
  801. flex-direction: row nowrap;
  802. color: #fff;
  803. z-index: 4;
  804. box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05);
  805. }
  806. .ex-integral-btn {
  807. box-sizing: border-box;
  808. width: 100%;
  809. margin: 20rpx;
  810. padding: 1em 0;
  811. background: #e43130;
  812. color: #fff;
  813. text-align: center;
  814. font-size: 30rpx;
  815. line-height: 1em;
  816. border-radius: 8rpx;
  817. }
  818. /** 【拼团】底部按钮 */
  819. .foot-box {
  820. margin-top: 100rpx;
  821. }
  822. .footer {
  823. position: fixed;
  824. bottom: 0;
  825. width: 100%;
  826. box-sizing: border-box;
  827. height: 100rpx;
  828. background: #fff;
  829. /* box-shadow: 10rpx 0 10rpx 0 #f0f0f0; */
  830. display: flex;
  831. align-items: center;
  832. }
  833. .foot-btn {
  834. position: relative;
  835. display: inline-block;
  836. width: 100rpx;
  837. font-size: 23rpx;
  838. color: #666;
  839. text-align: center;
  840. padding-top: 6rpx;
  841. background: #fff;
  842. }
  843. .foot-btn>image {
  844. display: block;
  845. width: 54rpx;
  846. height: 54rpx;
  847. margin: 0 auto;
  848. }
  849. .buy-btn {
  850. display: inline-block;
  851. font-size: 30rpx;
  852. /* height: 100rpx;
  853. line-height: 105rpx; */
  854. vertical-align: top;
  855. width: 34.3%;
  856. color: #fff;
  857. text-align: center;
  858. }
  859. .alone-buy {
  860. background: #fd7d46;
  861. margin: 0 12rpx;
  862. }
  863. .group-buy {
  864. background: #e43130;
  865. margin-right: 12rpx;
  866. }
  867. /* 购物车数量显示 */
  868. .badge {
  869. position: absolute;
  870. top: 10rpx;
  871. left: 50rpx;
  872. display: inline-block;
  873. width: 28rpx;
  874. height: 28rpx;
  875. border-radius: 14rpx;
  876. background-color: #e43130;
  877. text-align: center;
  878. line-height: 28rpx;
  879. font-size: 18rpx;
  880. color: #fff;
  881. }
  882. /* .badge-1 {
  883. width: 36rpx;
  884. } */
  885. .badge-2 {
  886. width: 48rpx;
  887. left: 52rpx;
  888. }
  889. /** end 底部按钮 */
  890. /** 优惠券弹窗 **/
  891. .popup-hide {
  892. position: fixed;
  893. top: 0;
  894. bottom: 0;
  895. left: 0;
  896. right: 0;
  897. z-index: 5;
  898. background-color: rgba(0, 0, 0, 0.3);
  899. }
  900. .popup-box {
  901. position: absolute;
  902. bottom: 0;
  903. width: 100%;
  904. min-height: 375px;
  905. max-height: 475px;
  906. overflow: hidden;
  907. background-color: #fff;
  908. }
  909. .popup-tit {
  910. position: relative;
  911. height: 46px;
  912. line-height: 46px;
  913. padding-left: 10px;
  914. font-size: 16px;
  915. color: #333;
  916. background-color: #f7f7f7;
  917. }
  918. .close {
  919. color: #aaa;
  920. border-radius: 12px;
  921. line-height: 20px;
  922. text-align: center;
  923. height: 20px;
  924. width: 20px;
  925. font-size: 18px;
  926. padding: 1px;
  927. top: 16rpx;
  928. right: 10px;
  929. position: absolute;
  930. }
  931. .close::before {
  932. content: "\2716";
  933. }
  934. .popup-cnt {
  935. max-height: 429px;
  936. overflow: auto;
  937. padding: 0 10px;
  938. }
  939. /** 规格弹窗**/
  940. .pup-sku {
  941. position: fixed;
  942. top: 0;
  943. bottom: 0;
  944. left: 0;
  945. right: 0;
  946. z-index: 6;
  947. background-color: rgba(0, 0, 0, 0.3);
  948. }
  949. .pup-sku-main {
  950. position: absolute;
  951. bottom: 0;
  952. width: 100%;
  953. min-height: 375px;
  954. max-height: 475px;
  955. background-color: #fff;
  956. }
  957. .pup-sku-header {
  958. position: relative;
  959. font-size: 16px;
  960. color: #333;
  961. padding: 20rpx 20rpx;
  962. background-color: #fff;
  963. border-bottom: 1rpx solid #f2f2f2;
  964. padding-top: 35rpx;
  965. }
  966. .pup-sku-img {
  967. display: inline-block;
  968. width: 27%;
  969. height: 180rpx;
  970. vertical-align: middle;
  971. border-radius: 10rpx;
  972. }
  973. .pup-sku-img image {
  974. display: block;
  975. width: 180rpx;
  976. height: 100%;
  977. }
  978. .pup-sku-prod {
  979. display: inline-block;
  980. width: 70%;
  981. vertical-align: middle;
  982. padding-left: 10rpx;
  983. }
  984. .prod-title {
  985. font-size: 28rpx;
  986. display: -webkit-box;
  987. -webkit-line-clamp: 1;
  988. /*设定显示行数*/
  989. -webkit-box-orient: vertical;
  990. word-break: break-all;
  991. overflow: hidden;
  992. text-overflow: ellipsis;
  993. max-width: 100%;
  994. margin: 15rpx 0;
  995. }
  996. .pup-sku-price {
  997. display: inline-block;
  998. height: 1.5em;
  999. line-height: 1.5em;
  1000. color: #e43130;
  1001. font-size: 26rpx;
  1002. }
  1003. .group-sku-pri {
  1004. display: flex;
  1005. align-items: center;
  1006. }
  1007. .pup-sku-price-int {
  1008. font-size: 38rpx;
  1009. }
  1010. .pup-sku-prop {
  1011. display: block;
  1012. font-size: 26rpx;
  1013. color: #333;
  1014. line-height: 1.4em;
  1015. padding-right: 10px;
  1016. margin-top: 16rpx;
  1017. display: -webkit-box;
  1018. -webkit-line-clamp: 1;
  1019. /*设定显示行数*/
  1020. -webkit-box-orient: vertical;
  1021. word-break: break-all;
  1022. overflow: hidden;
  1023. text-overflow: ellipsis;
  1024. }
  1025. .pup-sku-prop text:first-child {
  1026. color: #999;
  1027. }
  1028. .pup-sku-body {
  1029. box-sizing: border-box;
  1030. padding-bottom: 100px;
  1031. overflow: auto;
  1032. }
  1033. .pup-sku-area {
  1034. max-height: 480rpx;
  1035. overflow-y: scroll;
  1036. }
  1037. .pup-sku-area .sku-kind {
  1038. font-size: 12px;
  1039. margin: 0 10px;
  1040. height: 40px;
  1041. line-height: 40px;
  1042. color: #000;
  1043. font-weight: bold;
  1044. }
  1045. .pup-sku-area .sku-choose {
  1046. overflow: hidden;
  1047. margin-bottom: 3px;
  1048. }
  1049. .sku-choose-item {
  1050. display: inline-block;
  1051. min-width: 100rpx;
  1052. max-width: 540rpx;
  1053. padding: 0 16rpx;
  1054. overflow: hidden;
  1055. height: 50rpx;
  1056. line-height: 50rpx;
  1057. text-align: center;
  1058. margin-left: 10px;
  1059. margin-bottom: 10px;
  1060. border-radius: 30rpx;
  1061. color: #333;
  1062. background-color: #f7f7f7;
  1063. font-size: 14px;
  1064. border: 1px solid #aaa;
  1065. }
  1066. .sku-choose-item.active {
  1067. background-color: #006CE8;
  1068. color: #fff;
  1069. border: 1px solid #006CE8 !important;
  1070. }
  1071. .sku-choose-item.gray {
  1072. background-color: #f9f9f9;
  1073. color: #ddd;
  1074. }
  1075. .sku-choose-item.dashed {
  1076. border: 1px dashed #ccc;
  1077. }
  1078. .pup-sku-count {
  1079. padding: 0 20rpx;
  1080. font-size: 24rpx;
  1081. margin: 10rpx 0;
  1082. }
  1083. .pup-sku-count .count-name {
  1084. height: 31px;
  1085. line-height: 31px;
  1086. width: 100rpx;
  1087. color: #000;
  1088. font-weight: bold;
  1089. }
  1090. .pup-sku-count .num-wrap {
  1091. position: relative;
  1092. z-index: 0;
  1093. width: 110px;
  1094. float: right;
  1095. vertical-align: middle;
  1096. display: flex;
  1097. }
  1098. .num-wrap .minus,
  1099. .num-wrap .plus {
  1100. position: relative;
  1101. max-width: 30px;
  1102. min-width: 30px;
  1103. height: 30px;
  1104. line-height: 30px;
  1105. background: #f7f7f7;
  1106. text-align: center;
  1107. }
  1108. .num-wrap .minus {
  1109. border-top-left-radius: 3px;
  1110. border-bottom-left-radius: 3px;
  1111. }
  1112. .num-wrap .plus {
  1113. border-top-right-radius: 3px;
  1114. border-bottom-right-radius: 3px;
  1115. }
  1116. .num-wrap .row {
  1117. border-radius: 20px;
  1118. position: absolute;
  1119. top: 50%;
  1120. left: 50%;
  1121. margin-left: -7px;
  1122. margin-top: -1px;
  1123. width: 14px;
  1124. height: 2px;
  1125. background-color: #ccc;
  1126. }
  1127. .num-wrap .col {
  1128. border-radius: 20px;
  1129. position: absolute;
  1130. top: 50%;
  1131. left: 50%;
  1132. margin-left: -1px;
  1133. margin-top: -7px;
  1134. width: 2px;
  1135. height: 14px;
  1136. background-color: #999;
  1137. }
  1138. .pup-sku-count .text-wrap {
  1139. position: relative;
  1140. width: 45px;
  1141. z-index: 0;
  1142. margin: 0 1px;
  1143. }
  1144. .pup-sku-count .text-wrap input {
  1145. height: 30px;
  1146. width: 100%;
  1147. color: #333;
  1148. background: #fff;
  1149. font-size: 12px;
  1150. text-align: center;
  1151. border: none;
  1152. background: #f7f7f7;
  1153. }
  1154. .pup-sku-footer {
  1155. position: fixed;
  1156. bottom: 0;
  1157. left: 0;
  1158. width: 100%;
  1159. display: flex;
  1160. flex-direction: row nowrap;
  1161. height: 110rpx;
  1162. z-index: 6;
  1163. justify-content: center;
  1164. /* box-shadow: 0 -1px 3px rgba(0, 0, 0, 0.05); */
  1165. }
  1166. .pup-sku-footer.gray .btn,
  1167. .pup-sku-footer.gray .btn,
  1168. .pup-sku-footer .btn {
  1169. position: relative;
  1170. display: flex;
  1171. flex-grow: 1;
  1172. justify-content: center;
  1173. align-items: center;
  1174. background-color: #fff;
  1175. font-size: 30rpx;
  1176. flex-flow: column;
  1177. border-radius: 60rpx;
  1178. height: 2.8em;
  1179. width: 45%;
  1180. margin: 0 15rpx;
  1181. }
  1182. .pup-sku-footer .btn.cart {
  1183. border: 2rpx solid #ddd;
  1184. color: #006CE8;
  1185. }
  1186. .pup-sku-footer .btn.buy {
  1187. background: #006CE8;
  1188. color: #fff;
  1189. }
  1190. .pup-sku-footer.gray .btn.cart {
  1191. background: #ddd;
  1192. }
  1193. .pup-sku-footer.gray .btn.buy {
  1194. background: #ddd;
  1195. }
  1196. /* 悬浮按钮 */
  1197. .suspension-box {
  1198. position: fixed;
  1199. top: 920rpx;
  1200. right: 40rpx;
  1201. z-index: 2;
  1202. }
  1203. .scroll-top {
  1204. top: 780rpx;
  1205. }
  1206. .suspension-btn {
  1207. display: flex;
  1208. justify-content: center;
  1209. align-items: center;
  1210. text-align: center;
  1211. width: 80rpx;
  1212. height: 80rpx;
  1213. border-radius: 50%;
  1214. background: #fff;
  1215. border: 1rpx solid #ccc;
  1216. margin-top: 30rpx;
  1217. }
  1218. button.btn-type {
  1219. background: #fff;
  1220. padding: 0;
  1221. margin: 0;
  1222. margin-top: 30rpx;
  1223. }
  1224. button.btn-type::after {
  1225. border: 0;
  1226. }
  1227. .suspension-btn image {
  1228. display: block;
  1229. width: 40rpx;
  1230. height: 40rpx;
  1231. }
  1232. /* 赚字浮层 */
  1233. .promo-con .earn {
  1234. background: rgba(230, 55, 58, 0.9);
  1235. box-shadow: 1px 2px 6px rgba(78, 78, 78, 0.4);
  1236. color: #fff;
  1237. border-radius: 50%;
  1238. width: 80rpx;
  1239. height: 80rpx;
  1240. font-size: 32rpx;
  1241. margin: auto;
  1242. text-align: center;
  1243. line-height: 80rpx;
  1244. }
  1245. /* /悬浮按钮 */
  1246. /*分享弹窗 */
  1247. .promo-share {
  1248. position: fixed;
  1249. top: 0;
  1250. left: 0;
  1251. background: rgba(0, 0, 0, 0.7);
  1252. width: 100%;
  1253. height: 100%;
  1254. z-index: 99;
  1255. }
  1256. .promo-tit {
  1257. padding-top: 40rpx;
  1258. font-size: 24rpx;
  1259. text-align: center;
  1260. margin-left: 80rpx;
  1261. }
  1262. .promo-main {
  1263. background: #fff;
  1264. position: absolute;
  1265. bottom: 0rpx;
  1266. width: 100%;
  1267. height: 500rpx;
  1268. z-index: 99;
  1269. }
  1270. .promo-icons-close image {
  1271. width: 45rpx;
  1272. height: 45rpx;
  1273. /* border-radius: 55%; */
  1274. float: right;
  1275. padding-right: 20rpx;
  1276. padding-top: 20rpx;
  1277. }
  1278. .promo-desc {
  1279. margin-left: 73rpx;
  1280. width: 600rpx;
  1281. text-align: center;
  1282. }
  1283. .promo-desc text {
  1284. padding: 20rpx;
  1285. font-size: 20rpx;
  1286. color: #999;
  1287. line-height: 34rpx;
  1288. display: inline-block;
  1289. }
  1290. .promo-icons {
  1291. font-size: 20rpx;
  1292. color: #666;
  1293. display: flex;
  1294. justify-content: space-around;
  1295. padding: 10rpx 150rpx;
  1296. }
  1297. .promo-icons image {
  1298. width: 75rpx;
  1299. height: 75rpx;
  1300. border-radius: 50%;
  1301. }
  1302. .promo-img1 {
  1303. display: flex;
  1304. flex-flow: column;
  1305. align-items: center;
  1306. line-height: 75rpx;
  1307. font-size: 22rpx;
  1308. background: none;
  1309. border: 0;
  1310. margin: 0;
  1311. padding: 0;
  1312. }
  1313. .promo-img1::after {
  1314. border: 0;
  1315. }
  1316. .promo-btn {
  1317. font-size: 28rpx;
  1318. width: 90%;
  1319. height: 80rpx;
  1320. border: 1px #e5e5e5 solid;
  1321. text-align: center;
  1322. line-height: 80rpx;
  1323. margin-left: 40rpx;
  1324. }
  1325. /** 二维码弹窗 */
  1326. .code-popup {
  1327. position: fixed;
  1328. top: 0;
  1329. left: 0;
  1330. background: rgba(0, 0, 0, 0.7);
  1331. width: 100%;
  1332. height: 100%;
  1333. z-index: 9;
  1334. }
  1335. .code-main {
  1336. margin: auto;
  1337. left: 0;
  1338. right: 0;
  1339. top: 0;
  1340. bottom: 0;
  1341. position: fixed;
  1342. width: 500rpx;
  1343. height: 700rpx;
  1344. }
  1345. .close-png {
  1346. width: 50rpx;
  1347. height: 50rpx;
  1348. margin-top: -10rpx;
  1349. }
  1350. .code-v {
  1351. padding: 20rpx;
  1352. border-radius: 6rpx;
  1353. background: #fff;
  1354. }
  1355. .wx-code {
  1356. width: 460rpx;
  1357. height: 460rpx;
  1358. }
  1359. .close-v {
  1360. text-align: right;
  1361. height: 60rpx;
  1362. }
  1363. .code-txt {
  1364. margin-top: 20rpx;
  1365. text-align: center;
  1366. color: #fff;
  1367. font-size: 28rpx;
  1368. background: #3a86b9;
  1369. border-radius: 6rpx;
  1370. height: 80rpx;
  1371. line-height: 80rpx;
  1372. }
  1373. /** 二维码弹窗 end */
  1374. /* 倒计时栏 */
  1375. .countdown-box {
  1376. width: 100%;
  1377. height: 85rpx;
  1378. line-height: 85rpx;
  1379. /* background: #e92121; */
  1380. background: #e43130;
  1381. color: #fff;
  1382. padding: 0 30rpx;
  1383. box-sizing: border-box;
  1384. }
  1385. .second-kill {
  1386. font-size: 33rpx;
  1387. }
  1388. .countdown-content {
  1389. float: right;
  1390. font-size: 28rpx;
  1391. height: 85rpx;
  1392. line-height: 85rpx;
  1393. text-align: left;
  1394. display: flex;
  1395. justify-content: space-between;
  1396. align-items: center;
  1397. }
  1398. .countdown-tips {
  1399. font-size: 24rpx;
  1400. opacity: 0.8;
  1401. margin-right: 10rpx;
  1402. }
  1403. .countdown-time {
  1404. font-size: 24rpx;
  1405. padding-top: 5rpx;
  1406. }
  1407. /* 价格 */
  1408. .goods-price {
  1409. padding: 15rpx 0;
  1410. border-bottom: 1px solid #f3f3f3;
  1411. }
  1412. .current-price {
  1413. display: flex;
  1414. align-items: center;
  1415. color: #e43130;
  1416. font-size: 34rpx;
  1417. /* margin-right: 15rpx; */
  1418. vertical-align: middle;
  1419. }
  1420. .original {
  1421. font-size: 26rpx;
  1422. color: #888888;
  1423. margin-top: 15rpx;
  1424. }
  1425. .original-price {
  1426. font-size: 26rpx;
  1427. text-decoration: line-through;
  1428. color: #999999;
  1429. margin-left: 10rpx;
  1430. }
  1431. /* 拼团价格 */
  1432. .condition {
  1433. font-size: 24rpx;
  1434. border: 1rpx solid red;
  1435. padding: 2rpx 10rpx;
  1436. vertical-align: middle;
  1437. }
  1438. /* 拼团详情 */
  1439. .spell-infor {
  1440. border-top: 20rpx solid #f7f7f7;
  1441. font-size: 28rpx;
  1442. padding: 20rpx;
  1443. background: #fff;
  1444. }
  1445. .spell-infor-title {
  1446. font-size: 26rxp;
  1447. }
  1448. .spell-infor-content {
  1449. position: relative;
  1450. padding-top: 20rpx;
  1451. padding-bottom: 20rpx;
  1452. border-bottom: 1rpx solid #f2f2f2;
  1453. }
  1454. .head-img {
  1455. display: inline-block;
  1456. width: 70rpx;
  1457. height: 70rpx;
  1458. margin-right: 15rpx;
  1459. vertical-align: bottom;
  1460. border-radius: 50%;
  1461. }
  1462. .head-img>image {
  1463. border-radius: 50%;
  1464. }
  1465. .spell-msg {
  1466. display: inline-block;
  1467. vertical-align: top;
  1468. font-size: 24rpx;
  1469. }
  1470. .spell-text {
  1471. padding-top: 10rpx;
  1472. color: #aaa;
  1473. }
  1474. .red-font {
  1475. color: #e43130;
  1476. }
  1477. .join-group {
  1478. position: absolute;
  1479. right: 10rpx;
  1480. bottom: 30rpx;
  1481. color: #e43130;
  1482. border: 1rpx solid #e43130;
  1483. padding: 10rpx 15rpx;
  1484. font-size: 24rpx;
  1485. }
  1486. .rules {
  1487. position: relative;
  1488. font-size: 24rpx;
  1489. padding-top: 20rpx;
  1490. }
  1491. .rules-text02 {
  1492. float: right;
  1493. font-size: 23rpx;
  1494. color: #aaa;
  1495. padding-right: 30rpx;
  1496. }
  1497. .right-arrow {
  1498. position: absolute;
  1499. right: 5rpx;
  1500. top: 20rpx;
  1501. display: inline-block;
  1502. width: 20rpx;
  1503. height: 20rpx;
  1504. }
  1505. .act-price-con {
  1506. border: 1px solid #e4393c;
  1507. margin-left: 20rpx;
  1508. padding: 2rpx 5rpx;
  1509. border-radius: 3rpx;
  1510. }
  1511. /* 列表为空 */
  1512. .empty {
  1513. margin-top: 100rpx;
  1514. text-align: cneter;
  1515. }
  1516. .empty-icon {
  1517. display: block;
  1518. width: 80rpx;
  1519. height: 80rpx;
  1520. margin: 0 auto;
  1521. margin-bottom: 20rpx;
  1522. }
  1523. .empty-icon>image {
  1524. width: 100%;
  1525. height: 100%;
  1526. }
  1527. .empty-text {
  1528. font-size: 28rpx;
  1529. text-align: center;
  1530. color: #999;
  1531. line-height: 2em;
  1532. }
  1533. .text-block{
  1534. display: flex;
  1535. align-items: center;
  1536. justify-content: center;
  1537. margin-top: 28rpx;
  1538. margin-bottom: 20rpx;
  1539. }
  1540. .text-block .icon{
  1541. width: 26rpx;
  1542. height: 26rpx;
  1543. }
  1544. .text-block .title{
  1545. font-weight: bold;
  1546. font-size: 36rpx;
  1547. color: #006CE8;
  1548. padding: 0 12rpx;
  1549. }
  1550. .prod-content {
  1551. text-align: justify;
  1552. display: flex;
  1553. justify-content: space-between;
  1554. }
  1555. .left,
  1556. .right {
  1557. display: inline-block;
  1558. vertical-align: top;
  1559. width: 344rpx;
  1560. }
  1561. .swiper-prod{
  1562. margin-top: 24rpx;
  1563. min-height: 424rpx;
  1564. }
  1565. .swiper-prod.h844{
  1566. min-height: 844rpx;
  1567. }
  1568. .swiper-prod .wx-swiper-dots {
  1569. position: absolute; /* 绝对定位,基于swiper容器 */
  1570. bottom: 0; /* 距离底部20px(垂直位置核心) */
  1571. }
  1572. .swiper-prod .swiper-item{
  1573. display: grid;
  1574. /* 列规则:5列等宽(1fr 代表"剩余空间等份分配") */
  1575. grid-template-columns: repeat(3, 1fr);
  1576. /* 行列间距:10rpx(小程序常用 rpx 适配多端) */
  1577. gap: 20rpx;
  1578. /* 容器内边距:避免网格贴边 */
  1579. align-items: start;
  1580. }
  1581. .swiper-prod .item{
  1582. width: 204rpx;
  1583. border: 2rpx solid #F0F0F0;
  1584. border-radius: 16rpx;
  1585. }
  1586. .swiper-prod .item .item-img{
  1587. width: 100%;
  1588. vertical-align: bottom;
  1589. }
  1590. .swiper-prod .item .item-title{
  1591. font-weight: bold;
  1592. font-size: 24rpx;
  1593. color: #222222;
  1594. text-overflow: ellipsis;
  1595. display: -webkit-box;
  1596. -webkit-box-orient: vertical;
  1597. -webkit-line-clamp: 2;
  1598. overflow: hidden;
  1599. padding: 0 20rpx;
  1600. margin-top: 20rpx;
  1601. height: 60rpx;
  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 .num{
  1612. width: 24rpx;
  1613. height: 24rpx;
  1614. line-height: 24rpx;
  1615. text-align: center;
  1616. background: #FF4D3A;
  1617. border-radius: 50%;
  1618. font-size: 20rpx;
  1619. color: #FFFFFF;
  1620. position: absolute;
  1621. top: -12rpx;
  1622. right: -6rpx;
  1623. }
  1624. .swiper-prod .item .price-box .name-price{
  1625. font-weight: bold;
  1626. font-size: 32rpx;
  1627. color: #FF4D3A;
  1628. }
  1629. .prod-content .item {
  1630. background-color: #fff;
  1631. /* margin-top: 20rpx; */
  1632. margin-bottom: 14rpx;
  1633. display: inline-block;
  1634. width: 344rpx;
  1635. border-radius: 16rpx;
  1636. overflow: hidden;
  1637. padding-bottom: 16rpx;
  1638. position: relative;
  1639. }
  1640. .prod-content .item .sell-out-box{
  1641. position: absolute;
  1642. top: 0;
  1643. left: 0;
  1644. border-radius: 16rpx;
  1645. width: 344rpx;
  1646. height: 100%;
  1647. background: rgba(255,255,255,0.6);
  1648. display: flex;
  1649. align-items: center;
  1650. justify-content: center;
  1651. }
  1652. .prod-content .item .sell-out-text{
  1653. width: 156rpx;
  1654. height: 156rpx;
  1655. line-height: 156rpx;
  1656. border-radius: 50%;
  1657. text-align: center;
  1658. background: rgba(0,0,0,0.6);
  1659. font-size: 28rpx;
  1660. color: #FFFFFF;
  1661. }
  1662. .prod-content .heart {
  1663. display: flex;
  1664. align-items: center;
  1665. justify-content: space-between;
  1666. margin-right: 8rpx;
  1667. margin-top: 20rpx;
  1668. }
  1669. .prod-content .name-price {
  1670. display: flex;
  1671. align-items: center;
  1672. font-weight: 800;
  1673. font-size: 36rpx;
  1674. color: #FF4D3A;
  1675. }
  1676. .prod-content .num-box{
  1677. display: flex;
  1678. align-items: center;
  1679. }
  1680. .prod-content .num-box .btn{
  1681. font-size: 20rpx;
  1682. width: 44rpx;
  1683. height: 44rpx;
  1684. text-align: center;
  1685. }
  1686. .prod-content .num-box .num{
  1687. width: 80rpx;
  1688. height: 44rpx;
  1689. background: #FFFFFF;
  1690. text-align: center;
  1691. line-height: 40rpx;
  1692. font-size: 24rpx ;
  1693. color: #222222;
  1694. border-bottom: 2rpx solid #F0F0F0;
  1695. border-top: 2rpx solid #F0F0F0;
  1696. box-sizing: border-box;
  1697. }
  1698. .prod-content .item-img {
  1699. width: 100%;
  1700. vertical-align: bottom;
  1701. }
  1702. .prod-content .item-title {
  1703. font-weight: bold;
  1704. font-size: 28rpx;
  1705. text-overflow: ellipsis;
  1706. display: -webkit-box;
  1707. -webkit-box-orient: vertical;
  1708. -webkit-line-clamp: 2;
  1709. overflow: hidden;
  1710. font-family: 'PingFang SC-Medium';
  1711. color: #1e1e1e;
  1712. padding: 0 20rpx;
  1713. /* height: 40rpx; */
  1714. line-height: 40rpx;
  1715. /* background-color: turquoise; */
  1716. }
  1717. .prod-content .item .name {
  1718. padding: 0 15rpx;
  1719. margin-top: 20rpx;
  1720. padding-bottom: 10rpx;
  1721. align-items: center;
  1722. font-size: 22rpx;
  1723. font-family: 'PingFang SC-Medium';
  1724. }
  1725. .prod-content .item-title-box {
  1726. display: flex;
  1727. position: relative;
  1728. z-index: 2;
  1729. }
  1730. .tips {
  1731. height: 60rpx;
  1732. line-height: 60rpx;
  1733. text-align: center;
  1734. font-size: 24rpx;
  1735. color: #AAAAAA;
  1736. }
  1737. .loading-box{
  1738. text-align: center;
  1739. line-height: 80rpx;
  1740. height: 80rpx;
  1741. }
  1742. .none .van-empty__description{
  1743. margin-top: -30rpx;
  1744. }
  1745. /* 动画容器:全屏覆盖,不影响下层交互 */
  1746. .animation-wrap {
  1747. position: fixed;
  1748. top: 0;
  1749. left: 0;
  1750. width: 100vw;
  1751. height: 100vh;
  1752. pointer-events: none;
  1753. z-index: 9999;
  1754. }
  1755. /* 抛物线小图标样式 */
  1756. .move-x {
  1757. animation:
  1758. moveX .5s linear forwards; /* X轴匀速 */
  1759. }
  1760. .move-y{
  1761. animation: moveY .5s cubic-bezier(0.5, -0.5, 1, 1) forwards;
  1762. }
  1763. /* 核心抛物线动画:贝塞尔曲线轨迹 */
  1764. @keyframes moveX {
  1765. from {
  1766. transform: translateX(0);
  1767. }
  1768. to {
  1769. transform: translateX(var(--endX));
  1770. }
  1771. }
  1772. /* 核心抛物线动画:贝塞尔曲线轨迹 */
  1773. @keyframes moveY {
  1774. from {
  1775. transform: translateY(0);
  1776. opacity: 1;
  1777. }
  1778. to {
  1779. transform: translateY(var(--endY));
  1780. opacity: 0;
  1781. }
  1782. }
  1783. .intro-box{
  1784. display: flex;
  1785. background: #FFFFFF;
  1786. border-radius: 16rpx 16rpx 16rpx 16rpx;
  1787. padding: 24rpx 20rpx 24rpx 0;
  1788. margin-top: 20rpx;
  1789. position: relative;
  1790. }
  1791. .intro-box .intro-item{
  1792. flex: 1;
  1793. border-right: 2rpx solid #F0F0F0;
  1794. padding-left: 20rpx;
  1795. /* text-align: center; */
  1796. }
  1797. .intro-box .intro-item:last-child{
  1798. border-right: none;
  1799. }
  1800. .intro-box .intro-item .title{
  1801. font-weight: 800;
  1802. font-size: 28rpx;
  1803. color: #222222;
  1804. }
  1805. .intro-box .more{
  1806. position: absolute;
  1807. width: 20rpx;
  1808. height: 20rpx;
  1809. top: calc(50% - 10rpx);
  1810. right: 20rpx;
  1811. }
  1812. .intro-box .intro-item .desc{
  1813. font-size: 24rpx;
  1814. color: #AAAAAA;
  1815. margin-top: 16rpx;
  1816. }