goodsDetail.wxss 26 KB

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