goodsDetail.wxss 26 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460
  1. @import "/lionfish_comshop/resource/css/vip.wxss";
  2. page {
  3. background: #f6f6f6;
  4. }
  5. .goods-wrapper {
  6. position: relative;
  7. }
  8. swiper {
  9. height: 600rpx;
  10. }
  11. swiper image {
  12. width: 100%;
  13. height: auto;
  14. }
  15. .sticky-title {
  16. width: 100%;
  17. display: none;
  18. justify-content: space-between;
  19. background: #fff;
  20. height: 160rpx;
  21. position: relative;
  22. z-index: 3;
  23. }
  24. .sticky-title.sticky {
  25. position: fixed;
  26. display: flex;
  27. top: 0;
  28. left: 0;
  29. height: 80rpx;
  30. line-height: 80rpx;
  31. width: 100vw;
  32. border-bottom: 2rpx solid rgba(0, 0, 0, 0.1);
  33. animation: opacity 0.2s ease-in-out;
  34. }
  35. .sticky-title.sticky .nav {
  36. padding-left: 30rpx;
  37. }
  38. .sticky-title.sticky .nav .tab-btn {
  39. width: 56rpx;
  40. height: 80rpx;
  41. line-height: 80rpx;
  42. margin-right: 36rpx;
  43. color: #666;
  44. font-size: 28rpx;
  45. font-weight: bold;
  46. position: relative;
  47. display: inline-block;
  48. }
  49. .sticky-title.sticky .nav .tab-btn-active {
  50. color: #ff5344;
  51. line-height: 80rpx;
  52. }
  53. .sticky-title.sticky .nav .tab-btn-active:after {
  54. content: '';
  55. width: 56rpx;
  56. height: 6rpx;
  57. border-radius: 6rpx;
  58. background: linear-gradient(to right, #fe655c, #fa875b);
  59. position: absolute;
  60. bottom: 0;
  61. left: 0;
  62. box-shadow: 0 4rpx 8rpx rgba(255, 89, 9, 0.25);
  63. }
  64. .sticky-title.sticky .time {
  65. width: 290rpx;
  66. height: 80rpx;
  67. font-size: 26rpx;
  68. color: #444;
  69. display: flex;
  70. align-items: center;
  71. padding-right: 30rpx;
  72. justify-content: flex-end;
  73. }
  74. .sticky-title.sticky .time text {
  75. white-space: nowrap;
  76. }
  77. .sticky-title.sticky .time .countdownTop {
  78. font-size: 28rpx;
  79. white-space: nowrap;
  80. display: flex;
  81. justify-content: center;
  82. align-items: center;
  83. }
  84. .sticky-title.sticky .time .countdownTop .itemTimeTop {
  85. width: 38rpx;
  86. height: 32rpx;
  87. background: #444;
  88. border-radius: 4rpx;
  89. font-size: 26rpx;
  90. color: #fff;
  91. display: flex;
  92. justify-content: center;
  93. align-items: center;
  94. }
  95. .spuInfoImg {
  96. width: 100%;
  97. height: 600rpx;
  98. background-size: 100% 100%;
  99. position: relative;
  100. }
  101. .spuInfoImg .share {
  102. width: 160rpx;
  103. height: 68rpx;
  104. background: linear-gradient(90deg, #f75451 0%, #fa6f57 100%);
  105. border-radius: 48rpx 0 0 48rpx;
  106. position: absolute;
  107. top: 60rpx;
  108. right: 0;
  109. display: flex;
  110. justify-content: center;
  111. align-items: center;
  112. }
  113. .spuInfoImg .share .shareImg {
  114. width: 32rpx;
  115. height: 28rpx;
  116. margin-right: 14rpx;
  117. }
  118. .spuInfoImg .share text {
  119. width: 60rpx;
  120. height: 68rpx;
  121. line-height: 68rpx;
  122. font-size: 26rpx;
  123. color: #fff;
  124. }
  125. .spuInfoImg .current {
  126. width: 90rpx;
  127. height: 32rpx;
  128. line-height: 32rpx;
  129. text-align: center;
  130. border-radius: 24rpx;
  131. background-color: rgba(0, 0, 0, 0.5);
  132. font-size: 26rpx;
  133. color: #fff;
  134. position: absolute;
  135. left: 50%;
  136. bottom: 110rpx;
  137. margin-left: -44rpx;
  138. z-index: 1;
  139. }
  140. .spuInfoImg .slide-image {
  141. width: 750rpx;
  142. height: 600rpx;
  143. }
  144. .spuInfo {
  145. width: 100%;
  146. z-index: 2;
  147. position: relative;
  148. margin-top: -50px;
  149. }
  150. .spuInfo .spuPrice {
  151. position: relative;
  152. width: 680rpx;
  153. height: 100rpx;
  154. padding-left: 30rpx;
  155. margin: 0 auto;
  156. display: flex;
  157. align-items: center;
  158. justify-content: space-between;
  159. }
  160. .spuInfo .spuPrice .spuPriceBg {
  161. position: absolute;
  162. top: 0;
  163. left: 0;
  164. width: 710rpx;
  165. height: 100rpx;
  166. z-index: -1;
  167. }
  168. .spuInfo .spuPrice .price {
  169. font-size: 28rpx;
  170. color: #fff;
  171. margin-top: 10rpx;
  172. }
  173. .spuInfo .spuPrice .price .salePrice {
  174. font-size: 68rpx;
  175. font-weight: bold;
  176. }
  177. .spuInfo .spuPrice .price .storePrice {
  178. text-decoration: line-through;
  179. margin-left: 10rpx;
  180. }
  181. .spuInfo .spuPrice .time {
  182. width: 220rpx;
  183. height: 100rpx;
  184. display: flex;
  185. justify-content: center;
  186. align-items: center;
  187. flex-direction: column;
  188. font-size: 26rpx;
  189. color: #f8e71c;
  190. white-space: nowrap;
  191. }
  192. .spuInfo .spuPrice .time text {
  193. line-height: 28rpx;
  194. margin-top: 10rpx;
  195. }
  196. .spuInfo .spuPrice .time .endAct {
  197. color: #fff;
  198. }
  199. .spuInfo .spuPrice .time .countdown {
  200. font-size: 28rpx;
  201. display: flex;
  202. justify-content: center;
  203. align-items: center;
  204. }
  205. .spuInfo .spuPrice .time .countdown em {
  206. margin: 0;
  207. }
  208. .spuInfo .spuPrice .time .countdown .itemTime {
  209. width: 32rpx;
  210. text-align: center;
  211. }
  212. .spuInfo .bgOne {
  213. background: url("http://shiziyu.liofis.com/attachment/images/3/2019/01/s8DBXZhrLr998t89Tg8BblqnXbNB8r.png");
  214. background-size: 100% 100%;
  215. }
  216. .spuInfo .bgTwo {
  217. background: url("https://image.songshupinpin.com/goods_1540374630865.png");
  218. background-size: 100% 100%;
  219. }
  220. .spuInfo .spuDetailInfo, .spuInfo .straightInLive, .spuInfo .buyRecords {
  221. width: 670rpx;
  222. background: #fff;
  223. box-shadow: 0 0 40rpx 0 rgba(0, 0, 0, 0.05);
  224. border-radius: 0 0 20rpx 20rpx;
  225. padding: 30rpx 20rpx;
  226. margin: 0 auto;
  227. }
  228. .spuInfo .spuDetailInfo .spuName, .spuInfo .straightInLive .spuName,
  229. .spuInfo .buyRecords .spuName {
  230. font-size: 36rpx;
  231. color: #444;
  232. font-weight: bold;
  233. min-height: 48rpx;
  234. line-height: 44rpx;
  235. padding: 0 10rpx;
  236. white-space: initial;
  237. overflow: hidden;
  238. text-overflow: ellipsis;
  239. display: -webkit-box;
  240. -webkit-line-clamp: 2;
  241. -webkit-box-orient: vertical;
  242. }
  243. .spuInfo .spuDetailInfo .remind, .spuInfo .straightInLive .remind,
  244. .spuInfo .buyRecords .remind {
  245. margin-top: 20rpx;
  246. display: flex;
  247. align-items: center;
  248. padding: 0 10rpx;
  249. }
  250. .spuInfo .spuDetailInfo .remind .remindImg,
  251. .spuInfo .straightInLive .remind .remindImg,
  252. .spuInfo .buyRecords .remind .remindImg {
  253. width: 28rpx;
  254. height: 28rpx;
  255. margin-right: 20rpx;
  256. }
  257. .spuInfo .spuDetailInfo .remind text, .spuInfo .straightInLive .remind text,
  258. .spuInfo .buyRecords .remind text {
  259. font-size: 26rpx;
  260. color: #aaa;
  261. }
  262. .spuInfo .spuDetailInfo .preferential, .spuInfo .straightInLive .preferential,
  263. .spuInfo .buyRecords .preferential {
  264. padding: 24rpx 20rpx;
  265. background: linear-gradient(223deg, #fff7f0 0%, #fff4ec 100%);
  266. border-radius: 16rpx;
  267. margin-top: 40rpx;
  268. margin-bottom: 10rpx;
  269. font-size: 24rpx;
  270. color: #ca7e57;
  271. font-weight: bold;
  272. line-height: 40rpx;
  273. }
  274. .spuInfo .spuDetailInfo .preferential .tit,
  275. .spuInfo .straightInLive .preferential .tit,
  276. .spuInfo .buyRecords .preferential .tit {
  277. font-size: 20rpx;
  278. color: #ff5344;
  279. border: 2rpx solid #ffa49c;
  280. border-radius: 16rpx;
  281. padding: 0 8rpx;
  282. margin-right: 10rpx;
  283. }
  284. .spuInfo .spuDetailInfo .preferential .con,
  285. .spuInfo .straightInLive .preferential .con,
  286. .spuInfo .buyRecords .preferential .con {
  287. margin-right: 20rpx;
  288. }
  289. .spuInfo .spuDetailInfo .purchasing, .spuInfo .spuDetailInfo .saleNum,
  290. .spuInfo .straightInLive .purchasing, .spuInfo .straightInLive .saleNum,
  291. .spuInfo .buyRecords .purchasing, .spuInfo .buyRecords .saleNum {
  292. font-size: 26rpx;
  293. color: #666;
  294. padding: 30rpx 0 0;
  295. margin: 0 10rpx;
  296. border-bottom: 0.1rpx solid #efefef;
  297. }
  298. .spuInfo .spuDetailInfo .purchasing .purTit,
  299. .spuInfo .spuDetailInfo .saleNum .purTit,
  300. .spuInfo .straightInLive .purchasing .purTit,
  301. .spuInfo .straightInLive .saleNum .purTit,
  302. .spuInfo .buyRecords .purchasing .purTit, .spuInfo .buyRecords .saleNum .purTit {
  303. color: #444;
  304. font-weight: bold;
  305. margin-right: 20rpx;
  306. }
  307. .spuInfo .spuDetailInfo .purchasing .remaining,
  308. .spuInfo .spuDetailInfo .saleNum .remaining,
  309. .spuInfo .straightInLive .purchasing .remaining,
  310. .spuInfo .straightInLive .saleNum .remaining,
  311. .spuInfo .buyRecords .purchasing .remaining,
  312. .spuInfo .buyRecords .saleNum .remaining {
  313. font-weight: bold;
  314. margin: 0;
  315. color: #ff5344;
  316. }
  317. .spuInfo .spuDetailInfo .purchasing .stock,
  318. .spuInfo .spuDetailInfo .saleNum .stock,
  319. .spuInfo .straightInLive .purchasing .stock,
  320. .spuInfo .straightInLive .saleNum .stock,
  321. .spuInfo .buyRecords .purchasing .stock, .spuInfo .buyRecords .saleNum .stock {
  322. display: inline-block;
  323. font-weight: normal;
  324. margin: 0;
  325. }
  326. .spuInfo .spuDetailInfo .saleNum, .spuInfo .straightInLive .saleNum,
  327. .spuInfo .buyRecords .saleNum {
  328. border: none;
  329. }
  330. .spuInfo .straightInLive, .spuInfo .buyRecords {
  331. width: 650rpx;
  332. padding: 0 30rpx;
  333. border-radius: 20rpx;
  334. margin: 20rpx auto 0;
  335. }
  336. .spuInfo .straightInLive .title, .spuInfo .buyRecords .title {
  337. height: 100rpx;
  338. font-size: 32rpx;
  339. color: #444;
  340. font-weight: bold;
  341. border-bottom: 0.1rpx solid #efefef;
  342. display: flex;
  343. align-items: center;
  344. }
  345. .spuInfo .straightInLive .title .commentsNum,
  346. .spuInfo .buyRecords .title .commentsNum {
  347. font-size: 26rpx;
  348. color: #aaa;
  349. font-weight: normal;
  350. }
  351. .spuInfo .straightInLive .comments, .spuInfo .buyRecords .comments {
  352. margin-top: 30rpx;
  353. }
  354. .spuInfo .straightInLive .comments .commentsCon,
  355. .spuInfo .buyRecords .comments .commentsCon {
  356. font-size: 28rpx;
  357. color: #666;
  358. line-height: 44rpx;
  359. margin-bottom: 10rpx;
  360. word-wrap: break-word;
  361. }
  362. .spuInfo .straightInLive .comments .doubleHidden,
  363. .spuInfo .buyRecords .comments .doubleHidden {
  364. display: -webkit-box;
  365. -webkit-box-orient: vertical;
  366. -webkit-line-clamp: 3;
  367. overflow: hidden;
  368. text-overflow: initial;
  369. white-space: normal;
  370. }
  371. .spuInfo .straightInLive .comments .commentsOpen,
  372. .spuInfo .buyRecords .comments .commentsOpen {
  373. height: 22rpx;
  374. font-size: 22rpx;
  375. color: #444;
  376. font-weight: bold;
  377. margin-bottom: 20rpx;
  378. display: flex;
  379. align-items: center;
  380. }
  381. .spuInfo .straightInLive .comments .commentsOpen .commentsOpenImg,
  382. .spuInfo .buyRecords .comments .commentsOpen .commentsOpenImg {
  383. width: 16rpx;
  384. height: 8rpx;
  385. margin-left: 6rpx;
  386. }
  387. .spuInfo .straightInLive .comments .commentsOpen .down,
  388. .spuInfo .buyRecords .comments .commentsOpen .down {
  389. transform: rotate(180deg);
  390. }
  391. .spuInfo .straightInLive .comments .allImg,
  392. .spuInfo .buyRecords .comments .allImg {
  393. width: 650rpx;
  394. /* height: 150rpx; */
  395. overflow: hidden;
  396. }
  397. .spuInfo .straightInLive .comments .allImg {
  398. display: flex;
  399. overflow-x: auto;
  400. }
  401. ::-webkit-scrollbar {
  402. width: 0;
  403. height: 0;
  404. color: transparent;
  405. }
  406. .spuInfo .straightInLive .comments .allImg .commentsImg,
  407. .spuInfo .buyRecords .comments .allImg .commentsImg {
  408. width: 150rpx;
  409. height: 150rpx;
  410. margin-right: 16rpx;
  411. display: inline-block;
  412. }
  413. .spuInfo .straightInLive .comments .allImg .commentsImg .goodsImg,
  414. .spuInfo .buyRecords .comments .allImg .commentsImg .goodsImg {
  415. width: 150rpx;
  416. }
  417. .spuInfo .straightInLive .comments .allImg .commentsImg .goodsImg .img-class,
  418. .spuInfo .buyRecords .comments .allImg .commentsImg .goodsImg .img-class {
  419. width: 150rpx;
  420. height: 150rpx;
  421. border-radius: 4rpx;
  422. position: unset;
  423. }
  424. .spuInfo .straightInLive .comments .allImg .commentsImg:last-child,
  425. .spuInfo .buyRecords .comments .allImg .commentsImg:last-child {
  426. margin: 0;
  427. }
  428. .spuInfo .straightInLive .comments .checkComments,
  429. .spuInfo .buyRecords .comments .checkComments {
  430. font-size: 26rpx;
  431. color: #aaa;
  432. line-height: 26rpx;
  433. padding: 40rpx 0;
  434. text-align: center;
  435. }
  436. .spuInfo .buyRecords {
  437. width: 650rpx;
  438. }
  439. .spuInfo .buyRecords .title {
  440. display: flex;
  441. align-items: center;
  442. justify-content: space-between;
  443. }
  444. .spuInfo .buyRecords .title .buyNum {
  445. font-size: 24rpx;
  446. color: #aaa;
  447. font-weight: normal;
  448. }
  449. .spuInfo .buyRecords .title .buyNum text {
  450. color: #ff5344;
  451. font-weight: bold;
  452. }
  453. .spuInfo .buyRecords .title .buyNum .goBuyRecords {
  454. width: 12rpx;
  455. height: 24rpx;
  456. display: inline-block;
  457. margin-bottom: -4rpx;
  458. margin-left: 10rpx;
  459. }
  460. .spuInfo .buyRecords .buyerList {
  461. padding: 30rpx 20rpx 20rpx;
  462. display: flex;
  463. flex-wrap: wrap;
  464. width: 650rpx;
  465. box-sizing: border-box;
  466. }
  467. .spuInfo .buyRecords .buyerList .buyerImg {
  468. width: 90rpx;
  469. height: 90rpx;
  470. margin-right: 40rpx;
  471. margin-bottom: 24rpx;
  472. border-radius: 100%;
  473. display: block;
  474. }
  475. .spuInfo .buyRecords .buyerList .buyerImg .img-class {
  476. width: 90rpx;
  477. height: 90rpx;
  478. border-radius: 100%;
  479. }
  480. .spuInfo .buyRecords .buyerList .buyerImg:nth-child(5) {
  481. margin-right: 0;
  482. }
  483. .spuInfo .buyRecords .buyerList .moreBuyer {
  484. display: inline-block;
  485. }
  486. .spuInfo .buyRecords .buyerList .moreBuyer .buyerImg {
  487. margin-right: 0;
  488. }
  489. .spuInfo .spuDetail {
  490. width: 100%;
  491. }
  492. .spuInfo .spuDetail .goodsDetailTitleImg {
  493. width: 336rpx;
  494. /* height: 60rpx; */
  495. margin: 60rpx auto;
  496. display: block;
  497. }
  498. .spuInfo .spuDetail .warmPrompt {
  499. width: 750rpx;
  500. overflow-x: hidden;
  501. }
  502. .spuInfo .service {
  503. padding: 40rpx 20rpx 0;
  504. }
  505. .spuInfo .service .detailLogo {
  506. display: flex;
  507. justify-content: center;
  508. align-items: center;
  509. margin-bottom: 40rpx;
  510. }
  511. .spuInfo .service .detailLogo text {
  512. width: 130rpx;
  513. height: 2rpx;
  514. background: #e4e4e4;
  515. }
  516. .spuInfo .service .detailLogo .detailLogoImg {
  517. width: 184rpx;
  518. height: 48rpx;
  519. margin: 0 40rpx;
  520. }
  521. .spuInfo .service .instructions {
  522. background: #fff;
  523. padding: 40rpx 30rpx;
  524. border-radius: 20rpx;
  525. overflow: hidden;
  526. }
  527. .spuInfo .service .instructions .instructionsTit {
  528. height: 36rpx;
  529. line-height: 36rpx;
  530. color: #1c1819;
  531. font-size: 28rpx;
  532. font-weight: bold;
  533. margin-left: 28rpx;
  534. margin-bottom: 30rpx;
  535. }
  536. .spuInfo .service .instructions .instructionsList {
  537. line-height: 36rpx;
  538. color: #999;
  539. font-size: 24rpx;
  540. margin-bottom: 20rpx;
  541. display: flex;
  542. justify-content: space-between;
  543. }
  544. .spuInfo .service .instructions .instructionsList:last-child {
  545. margin: 0;
  546. }
  547. .spuInfo .service .instructions .instructionsList .instructionsMark {
  548. width: 6rpx;
  549. height: 6rpx;
  550. background: #ff5344;
  551. margin-top: 16rpx;
  552. }
  553. .spuInfo .service .instructions .instructionsList .instructionsText {
  554. width: 630rpx;
  555. }
  556. .spuInfo .service .instructions .instructionsList .instructionsText .instructionsTextTit {
  557. color: #666;
  558. font-weight: bold;
  559. }
  560. .spuInfo .service .instructions .instructionsList .instructionsText .instructionsUnderline {
  561. color: #666;
  562. text-decoration: underline;
  563. }
  564. .spuInfo .service .instructions .instructionsList .instructionsText .instructionsTime {
  565. color: #ff6557;
  566. font-weight: bold;
  567. }
  568. .spuInfo .sloganImg {
  569. width: 250rpx;
  570. height: 56rpx;
  571. padding: 80rpx 0 180rpx;
  572. margin: 0 auto;
  573. display: block;
  574. }
  575. .goTopImg {
  576. bottom: 160rpx;
  577. right: 30rpx;
  578. width: 45rpx;
  579. height: 45rpx;
  580. position: fixed;
  581. background: rgba(0, 0, 0, 0.5);
  582. border-radius: 50%;
  583. color: #fff;
  584. text-align: center;
  585. z-index: 3;
  586. padding: 15rpx;
  587. }
  588. @-webkit-keyframes opacity {
  589. 0% {
  590. opacity: 0;
  591. }
  592. 25% {
  593. opacity: 0.3;
  594. }
  595. 50% {
  596. opacity: 0.5;
  597. }
  598. 75% {
  599. opacity: 0.8;
  600. }
  601. 100% {
  602. opacity: 1;
  603. }
  604. }
  605. @keyframes opacity {
  606. 0% {
  607. opacity: 0;
  608. }
  609. 25% {
  610. opacity: 0.3;
  611. }
  612. 50% {
  613. opacity: 0.5;
  614. }
  615. 75% {
  616. opacity: 0.8;
  617. }
  618. 100% {
  619. opacity: 1;
  620. }
  621. }
  622. .canvas-img {
  623. position: absolute;
  624. top: -20000rpx;
  625. }
  626. .goodsDetailSkeleton_content {
  627. position: relative;
  628. }
  629. .goodsDetailSkeleton_content .goodsDetailSkeleton_img {
  630. width: 750rpx;
  631. height: 600rpx;
  632. background-color: #e4e4e4;
  633. }
  634. .goodsDetailSkeleton_content .goodsDetailSkeleton_spu {
  635. width: 710rpx;
  636. height: 540rpx;
  637. position: absolute;
  638. left: 20rpx;
  639. top: 650rpx;
  640. background: #fff;
  641. border-radius: 20rpx;
  642. }
  643. .goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_list {
  644. height: 60rpx;
  645. margin: 10rpx 30rpx;
  646. display: flex;
  647. justify-content: space-between;
  648. }
  649. .goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_list text {
  650. width: 200rpx;
  651. background: #e4e4e4;
  652. border-radius: 10rpx;
  653. }
  654. .goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_list2 {
  655. height: 60rpx;
  656. margin: 30rpx;
  657. background: #e4e4e4;
  658. border-radius: 10rpx;
  659. }
  660. .goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_list3,
  661. .goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_list5 {
  662. height: 60rpx;
  663. margin: 30rpx;
  664. display: flex;
  665. justify-content: flex-start;
  666. }
  667. .goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_list3 .spec1,
  668. .goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_list3 .spec2,
  669. .goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_list5 .spec1,
  670. .goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_list5 .spec2 {
  671. width: 40rpx;
  672. background: #e4e4e4;
  673. border-radius: 10rpx;
  674. }
  675. .goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_list3 .spec2,
  676. .goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_list5 .spec2 {
  677. width: 400rpx;
  678. margin-left: 20rpx;
  679. }
  680. .goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_list3 {
  681. height: 36rpx;
  682. }
  683. .goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_list5 {
  684. height: 44rpx;
  685. }
  686. .goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_listAct {
  687. width: 670rpx;
  688. height: 120rpx;
  689. margin: 0 auto;
  690. border-radius: 16rpx;
  691. background: linear-gradient(223deg, #fff7f0 0%, #fff4ec 100%);
  692. overflow: hidden;
  693. }
  694. .goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_listAct .goodsDetailSkeleton_list4 {
  695. height: 32rpx;
  696. margin: 20rpx;
  697. display: flex;
  698. justify-content: flex-start;
  699. align-items: center;
  700. }
  701. .goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_listAct .goodsDetailSkeleton_list4 .spec1,
  702. .goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_listAct .goodsDetailSkeleton_list4 .spec2 {
  703. width: 40rpx;
  704. height: 32rpx;
  705. background: #e4e4e4;
  706. border-radius: 8rpx;
  707. margin-right: 20rpx;
  708. }
  709. .goodsDetailSkeleton_content .goodsDetailSkeleton_spu .goodsDetailSkeleton_listAct .goodsDetailSkeleton_list4 .spec2 {
  710. width: 400rpx;
  711. height: 40rpx;
  712. }
  713. button::after {
  714. border: none;
  715. }
  716. /***商品底部按钮begin **/
  717. .goods-bottom-bar {
  718. height: 96rpx;
  719. display: flex;
  720. }
  721. .goods-bottom-bar .leftBtn {
  722. height: 94rpx;
  723. display: flex;
  724. border-top: 2rpx solid #efefef;
  725. }
  726. .goods-bottom-bar .leftBtn .bar-item {
  727. display: flex;
  728. justify-content: center;
  729. align-items: center;
  730. flex-direction: column;
  731. }
  732. .goods-bottom-bar .leftBtn .back-to-index {
  733. width: 132rpx;
  734. height: 94rpx;
  735. font-size: 20rpx;
  736. color: #707070;
  737. }
  738. .goods-bottom-bar .leftBtn .back-to-index image {
  739. width: 54rpx;
  740. height: 54rpx;
  741. }
  742. .goods-bottom-bar .leftBtn .shop-cart {
  743. width: 132rpx;
  744. height: 96rpx;
  745. font-size: 20rpx;
  746. color: #707070;
  747. position: relative;
  748. }
  749. .goods-bottom-bar .leftBtn .shop-cart .icon {
  750. width: 54rpx;
  751. height: 54rpx;
  752. position: relative;
  753. }
  754. .goods-bottom-bar .leftBtn .shop-cart .icon image {
  755. width: 100%;
  756. height: 100%;
  757. }
  758. .goods-bottom-bar .leftBtn .shop-cart .icon .cart-num {
  759. position: absolute;
  760. right: -16rpx;
  761. top: -4rpx;
  762. width: 36rpx;
  763. height: 36rpx;
  764. background: #f43530;
  765. border-radius: 36rpx;
  766. color: #fff;
  767. font-size: 22rpx;
  768. display: flex;
  769. justify-content: center;
  770. align-items: center;
  771. }
  772. .goods-bottom-bar .goodsStatus {
  773. width: 100%;
  774. height: 96rpx;
  775. background: #dcdcdc;
  776. font-size: 30rpx;
  777. color: #fff;
  778. display: flex;
  779. justify-content: center;
  780. align-items: center;
  781. }
  782. .goods-bottom-bar .gobuy {
  783. flex: 1;
  784. display: flex;
  785. align-items: center;
  786. justify-content: space-between;
  787. font-weight: bold;
  788. }
  789. .goods-bottom-bar .gobuy .add-to-cart {
  790. width: 240rpx;
  791. height: 96rpx;
  792. background: linear-gradient(270deg, #f9c706 0%, #feb600 100%);
  793. color: #fff;
  794. font-size: 30rpx;
  795. display: flex;
  796. justify-content: center;
  797. align-items: center;
  798. }
  799. .goods-bottom-bar .gobuy .btn {
  800. width: 208rpx;
  801. height: 96rpx;
  802. position: absolute;
  803. opacity: 0;
  804. z-index: 9;
  805. top: 0;
  806. padding: 0;
  807. margin: 0;
  808. }
  809. .goods-bottom-bar .gobuy .balanceBtn {
  810. display: flex;
  811. flex: 1;
  812. }
  813. .goods-bottom-bar .gobuy .balanceBtn .balance {
  814. height: 96rpx;
  815. flex: 1;
  816. background: linear-gradient(90deg, #ff5041 0%, #ff695c 100%);
  817. color: #fff;
  818. font-size: 30rpx;
  819. display: flex;
  820. justify-content: center;
  821. align-items: center;
  822. }
  823. .i-fixed-bottom {
  824. position: fixed;
  825. bottom: 0px;
  826. z-index: 100;
  827. width: 100%;
  828. background-color: #fff;
  829. padding-bottom: constant(safe-area-inset-bottom);
  830. padding-bottom: env(safe-area-inset-bottom);
  831. }
  832. /***商品底部按钮end **/
  833. /*分享begin*/
  834. .ui-mask {
  835. position: fixed;
  836. display: block;
  837. top: 0;
  838. left: 0;
  839. width: 100%;
  840. height: 100%;
  841. z-index: 999;
  842. background: rgba(0, 0, 0, 0.6);
  843. }
  844. .model-services {
  845. width: 100%;
  846. position: fixed;
  847. background-color: #fff;
  848. bottom: 0;
  849. z-index: 1000;
  850. color: #333;
  851. -webkit-transition: all 0.3s;
  852. transition: all 0.3s;
  853. -webkit-transform: translate(0, 100%);
  854. transform: translate(0, 100%);
  855. }
  856. .model-services.show {
  857. -webkit-transform: translate(0);
  858. transform: translate(0);
  859. }
  860. .model-services .model-services-title {
  861. font-size: 36rpx;
  862. text-align: center;
  863. height: 80rpx;
  864. line-height: 80rpx;
  865. border-bottom: 1px solid #f2f5f8;
  866. }
  867. .model-services .model-services-content {
  868. padding: 40rpx;
  869. }
  870. .model-services .model-services-content .service-item {
  871. margin-bottom: 20rpx;
  872. width: 50%;
  873. float: left;
  874. text-align: center;
  875. }
  876. .model-services .model-services-content .service-icon {
  877. font-size: 80rpx;
  878. color: #50b674;
  879. }
  880. .service-name {
  881. padding-left: 10rpx;
  882. }
  883. .cube-text {
  884. position: relative;
  885. width: 100%;
  886. height: 32rpx;
  887. line-height: 32rpx;
  888. color: #777;
  889. margin-top: 5rpx;
  890. font-size: 24rpx;
  891. }
  892. .none_btn {
  893. border: none;
  894. line-height: 1.1;
  895. padding: 0px;
  896. }
  897. button[plain] {
  898. border: none;
  899. }
  900. .share-modal {
  901. position: fixed;
  902. left: 0;
  903. right: 0;
  904. top: 0;
  905. bottom: 0;
  906. background: rgba(0, 0, 0, 0.6);
  907. z-index: 101;
  908. transition: all 400ms ease-in;
  909. }
  910. .share-modal-content {
  911. position: relative;
  912. width: 70%;
  913. top: 50%;
  914. left: 15%;
  915. transform: translateY(-50%);
  916. z-index: 110;
  917. }
  918. .share-modal-img {
  919. width: 100%;
  920. height: 956rpx;
  921. background: #f7f7f7;
  922. }
  923. .share-modal-img image {
  924. width: 100%;
  925. }
  926. .share-modal-btn-list {
  927. display: flex;
  928. margin-top: 30rpx;
  929. }
  930. .share-modal-btn-item {
  931. text-align: center;
  932. flex: 1;
  933. }
  934. .share-modal .btn-icon {
  935. font-size: 70rpx;
  936. color: #fff;
  937. margin: 0 auto;
  938. }
  939. .share-modal .btn-text {
  940. position: relative;
  941. width: 100%;
  942. height: 32rpx;
  943. line-height: 32rpx;
  944. color: #fff;
  945. margin-top: 5rpx;
  946. font-size: 24rpx;
  947. }
  948. /*分享end*/
  949. .fixed-share {
  950. display: inline-block;
  951. bottom: 22%;
  952. right: 30rpx;
  953. width: 80rpx;
  954. height: 80rpx;
  955. position: fixed;
  956. background: rgba(0, 0, 0, 0.5);
  957. border-radius: 50%;
  958. text-align: center;
  959. color: #fff;
  960. box-sizing: border-box;
  961. font-size: 20rpx;
  962. padding: 10rpx;
  963. line-height: 1.2;
  964. z-index: 100;
  965. }
  966. .fixed-share .iconfont {
  967. font-size: 30rpx;
  968. }
  969. /* 标签 */
  970. .spuInfoImg .item-tag {
  971. position: absolute;
  972. left: 30rpx;
  973. top: 20rpx;
  974. width: 80rpx;
  975. height: 92rpx;
  976. z-index: 1;
  977. color: #fff;
  978. text-align: center;
  979. }
  980. .item-tag-bg {
  981. position: absolute;
  982. left: 0;
  983. top: 0;
  984. width: 80rpx;
  985. height: 92rpx;
  986. z-index: 0;
  987. }
  988. .spuInfoImg .item-tag .tag-name {
  989. position: relative;
  990. padding-top: 12rpx;
  991. font-size: 28rpx;
  992. line-height: 1;
  993. font-weight: 600;
  994. z-index: 1;
  995. }
  996. .spuInfoImg .item-tag .tag-name.two-word {
  997. font-size: 28rpx;
  998. padding-top: 24rpx;
  999. }
  1000. /* 评论 */
  1001. .comment-user {
  1002. line-height: 60rpx;
  1003. display: flex;
  1004. margin-bottom: 10rpx;
  1005. }
  1006. .comment-user image {
  1007. width: 60rpx;
  1008. height: 60rpx;
  1009. border-radius: 50%;
  1010. margin-right: 14rpx;
  1011. background-color: #f0f0f0;
  1012. }
  1013. .comment-user text {
  1014. font-size: 26rpx;
  1015. }
  1016. /* 联系客服 */
  1017. .fixed-service {
  1018. display: inline-block;
  1019. bottom: 13%;
  1020. right: 30rpx;
  1021. width: 80rpx;
  1022. height: 80rpx;
  1023. position: fixed;
  1024. background: rgba(0, 0, 0, 0.5);
  1025. border-radius: 50%;
  1026. text-align: center;
  1027. color: #fff;
  1028. box-sizing: border-box;
  1029. font-size: 20rpx;
  1030. padding: 10rpx;
  1031. line-height: 1.2;
  1032. z-index: 100;
  1033. }
  1034. .fixed-service::after {
  1035. border: 0;
  1036. }
  1037. .fixed-service .iconfont {
  1038. font-size: 30rpx;
  1039. }
  1040. .cell {
  1041. display: flex;
  1042. justify-content: center;
  1043. align-items: center;
  1044. margin: 30rpx 20rpx;
  1045. background-color: #fff;
  1046. padding: 20rpx 30rpx;
  1047. border-radius: 20rpx;
  1048. }
  1049. .cell-left {
  1050. flex: 1;
  1051. line-height: 40rpx;
  1052. }
  1053. .cell-left text {
  1054. display: inline-block;
  1055. vertical-align: middle;
  1056. }
  1057. .icon-right {
  1058. width: 12rpx;
  1059. height: 22rpx;
  1060. }
  1061. .cell-icon {
  1062. width: 40rpx;
  1063. display: inline-block;
  1064. vertical-align: middle;
  1065. margin-right: 10rpx;
  1066. }
  1067. /* 幻灯片视频 */
  1068. .btn_view {
  1069. position: absolute;
  1070. left: 50%;
  1071. top: 50%;
  1072. z-index: 100;
  1073. transform: translate(-50%, -50%);
  1074. }
  1075. .btn_view image {
  1076. width: 120rpx;
  1077. height: 120rpx;
  1078. background: rgba(0, 0, 0, 0.1);
  1079. border-radius: 50%;
  1080. animation: playScale 2s ease-in-out infinite;
  1081. }
  1082. .video-wrap, .swiper-video {
  1083. width: 100%;
  1084. height: 100%;
  1085. }
  1086. .end-play {
  1087. position: relative;
  1088. z-index: 1000;
  1089. background: #000;
  1090. text-align: center;
  1091. padding: 20rpx 0;
  1092. }
  1093. .end-play .btn {
  1094. display: inline-block;
  1095. padding: 5rpx 30rpx;
  1096. background-color: #f6f6f6;
  1097. border-radius: 20rpx;
  1098. font-size: 24rpx;
  1099. }
  1100. @keyframes playScale {
  1101. 0% {
  1102. transform: scale(1);
  1103. }
  1104. 25% {
  1105. transform: scale(1.1);
  1106. }
  1107. 50% {
  1108. transform: scale(1);
  1109. }
  1110. 75% {
  1111. transform: scale(1.1);
  1112. }
  1113. }
  1114. /* 群 */
  1115. .group {
  1116. background-color: #fff;
  1117. width:650rpx;
  1118. padding:20rpx 30rpx;
  1119. border-radius:20rpx;
  1120. margin:20rpx auto 0;
  1121. box-shadow:0 0 40rpx 0 rgba(0, 0, 0, 0.05);
  1122. display: flex;
  1123. align-items: center;
  1124. }
  1125. .group-avatar image {
  1126. width: 94rpx;
  1127. height: 94rpx;
  1128. border-radius: 10rpx;
  1129. }
  1130. .group-m {
  1131. flex: 1;
  1132. margin: 0 15rpx;
  1133. width: 0;
  1134. }
  1135. .group-btn {
  1136. background: #ff5344;
  1137. color: #fff;
  1138. padding: 10rpx 30rpx;
  1139. border-radius: 60rpx;
  1140. }
  1141. .group-title {
  1142. font-size: 28rpx;
  1143. color: #333;
  1144. overflow: hidden;
  1145. text-overflow:ellipsis;
  1146. white-space: nowrap;
  1147. }
  1148. .group-desc {
  1149. font-size: 24rpx;
  1150. color: #999;
  1151. margin-top: 6rpx;
  1152. display: -webkit-box;
  1153. -webkit-box-orient: vertical;
  1154. -webkit-line-clamp: 2;
  1155. overflow: hidden;
  1156. }
  1157. .group-r-icon {
  1158. width: 20rpx;
  1159. height: 36rpx;
  1160. vertical-align: middle;
  1161. }
  1162. .guessLike {
  1163. margin-bottom: 0 !important;
  1164. margin-top: 30rpx !important;
  1165. }
  1166. .comiss {
  1167. display: inline-block;
  1168. padding: 2rpx 8rpx;
  1169. background:#fff7f0;
  1170. border-radius: 6rpx;
  1171. margin-right: 10rpx;
  1172. font-size: 22rpx;
  1173. color: #ca7e57;
  1174. font-weight: bold;
  1175. margin-top: 20rpx;
  1176. }
  1177. .hexiao {
  1178. margin-right: 30rpx;
  1179. }
  1180. /* 20200309 */
  1181. .coverVideo {
  1182. position: fixed;
  1183. left: 0;
  1184. right: 0;
  1185. top: 0;
  1186. bottom: 0;
  1187. z-index: 1000;
  1188. }
  1189. .coverVideo .main {
  1190. width: 750rpx;
  1191. height: 100%;
  1192. background: #000;
  1193. overflow: hidden;
  1194. z-index: 99999;
  1195. }
  1196. .coverVideo .main .section video {
  1197. width: 750rpx;
  1198. height: 100vh;
  1199. }
  1200. .coverVideo .goods {
  1201. width: 400rpx;
  1202. height: 150rpx;
  1203. background: #fff;
  1204. border-radius: 10rpx;
  1205. position: fixed;
  1206. bottom: 160rpx;
  1207. left: 20rpx;
  1208. z-index: 9998;
  1209. display: flex;
  1210. }
  1211. .coverVideo .goods .good-img {
  1212. width: 150rpx;
  1213. height: 150rpx;
  1214. margin-right: 10rpx;
  1215. box-sizing: border-box;
  1216. padding: 10rpx;
  1217. }
  1218. .coverVideo .good-img cover-image {
  1219. width: 150rpx;
  1220. height: 150rpx;
  1221. object-fit: cover;
  1222. border-radius: 10rpx;
  1223. overflow: hidden;
  1224. }
  1225. .coverVideo .good-title {
  1226. display: inline-block;
  1227. font-size: 26rpx;
  1228. margin-top: 10rpx;
  1229. height: 60rpx;
  1230. line-height: 30rpx;
  1231. white-space: pre-wrap;
  1232. }
  1233. .coverVideo .xqbottom {
  1234. display: flex;
  1235. justify-content: space-between;
  1236. align-items: center;
  1237. margin-bottom: 10rpx;
  1238. }
  1239. .coverVideo .good-price {
  1240. display: inline-block;
  1241. flex: 1;
  1242. font-size: 28rpx;
  1243. color: red;
  1244. }
  1245. .presaleTime {
  1246. text-align: center;
  1247. padding-right: 10rpx;
  1248. flex: 3;
  1249. border-right: 1px solid #fff;
  1250. }
  1251. .dingjin .price {
  1252. color: #ff5344;
  1253. }