prod.wxss 32 KB

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