goodsDetail.wxss 26 KB

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