goodsDetail.wxss 27 KB

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