details.wxss 6.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428
  1. .foot {
  2. position: fixed;
  3. left: 0;
  4. right: 0;
  5. bottom: 0;
  6. z-index: 10;
  7. border-top: 1rpx solid #ccc;
  8. text-align: center;
  9. height: 100rpx;
  10. font-size: 24rpx;
  11. color: #666;
  12. }
  13. .foot-item .btn {
  14. line-height: 1.2;
  15. background: transparent;
  16. font-size: 24rpx;
  17. padding: 0;
  18. color: #666;
  19. }
  20. .foot-item .btn::after {
  21. border: 0;
  22. }
  23. .foot-item .iconfont {
  24. color: #333;
  25. font-size: 42rpx;
  26. display: inline-block;
  27. }
  28. .foot-item .iconfont.active {
  29. color: #ff5344!important;
  30. }
  31. .foot-item .cart-num {
  32. position: absolute;
  33. right: -16rpx;
  34. top: -4rpx;
  35. width: 36rpx;
  36. height: 36rpx;
  37. background: #f43530;
  38. border-radius: 36rpx;
  39. color: #fff;
  40. font-size: 22rpx;
  41. display: flex;
  42. justify-content: center;
  43. align-items: center;
  44. }
  45. ::-webkit-scrollbar {
  46. display: none;
  47. width: 0;
  48. height: 0;
  49. color: transparent;
  50. }
  51. .topImg {
  52. width: 100%;
  53. vertical-align: top;
  54. }
  55. .com-tit {
  56. font-size: 32rpx;
  57. color: #1a1d21;
  58. padding-bottom: 20rpx;
  59. }
  60. .title {
  61. font-size: 45rpx;
  62. color: #1a1d21;
  63. padding: 15rpx 0;
  64. }
  65. .desc {
  66. font-size: 24rpx;
  67. color: #b0b2b5;
  68. }
  69. .userinfo {
  70. margin-top: 30rpx;
  71. }
  72. .avatar {
  73. width: 66rpx;
  74. height: 66rpx;
  75. border-radius: 50%;
  76. margin-right: 24rpx;
  77. }
  78. .p {
  79. color: #666;
  80. font-size: 26rpx;
  81. line-height: 1.8;
  82. margin-top: 20rpx;
  83. }
  84. .list-box {
  85. display: flex;
  86. overflow-x: scroll;
  87. overflow-y: hidden;
  88. white-space: nowrap;
  89. }
  90. .list-tit {
  91. color: #333;
  92. font-size: 28rpx;
  93. }
  94. /* 视频 */
  95. .media-box {
  96. position: relative;
  97. }
  98. .btn_view {
  99. position: absolute;
  100. left: 50%;
  101. top: 50%;
  102. z-index: 100;
  103. transform: translate(-50%, -50%);
  104. }
  105. .btn_view image {
  106. width: 120rpx;
  107. height: 120rpx;
  108. background: rgba(0, 0, 0, 0.1);
  109. border-radius: 50%;
  110. animation: playScale 2s ease-in-out infinite;
  111. }
  112. .video-wrap, .swiper-video {
  113. width: 100%;
  114. /* height: 100%; */
  115. vertical-align: top;
  116. }
  117. .end-play {
  118. position: relative;
  119. z-index: 1000;
  120. background: #000;
  121. text-align: center;
  122. padding: 20rpx 0;
  123. }
  124. .end-play .btn {
  125. display: inline-block;
  126. padding: 5rpx 30rpx;
  127. background-color: #f6f6f6;
  128. border-radius: 20rpx;
  129. font-size: 24rpx;
  130. }
  131. @keyframes playScale {
  132. 0% {
  133. transform: scale(1);
  134. }
  135. 25% {
  136. transform: scale(1.1);
  137. }
  138. 50% {
  139. transform: scale(1);
  140. }
  141. 75% {
  142. transform: scale(1.1);
  143. }
  144. }
  145. .canvas-img {
  146. position: absolute;
  147. top: -20000rpx;
  148. }
  149. .nav-btn {
  150. position: relative;
  151. left: 0;
  152. display: flex;
  153. justify-content: center;
  154. align-items: center;
  155. width: 31px;
  156. height: 31px;
  157. line-height: 31px;
  158. padding: 0;
  159. min-width: 31px;
  160. max-width: 31px;
  161. text-align: center;
  162. border-radius: 50%;
  163. min-height: initial;
  164. box-sizing: border-box;
  165. border: 1px solid rgba(255,255,255,0.05);
  166. color: #000;
  167. }
  168. .nav-btn .img {
  169. width: 22px;
  170. height: 22px;
  171. }
  172. /* 全屏视频 */
  173. .livepage {
  174. position: absolute;
  175. top: 0;
  176. left: 0;
  177. right: 0;
  178. z-index: 20;
  179. padding-bottom: 24px;
  180. box-sizing: border-box;
  181. width: 100%;
  182. height: 100vh;
  183. overflow: hidden;
  184. }
  185. .livepage1 {
  186. position: relative;
  187. width: 100%;
  188. height: 100%;
  189. z-index: 0;
  190. }
  191. .livepage1 video {
  192. width: 100%;
  193. height: 100%;
  194. }
  195. .livepage2 {
  196. position: absolute;
  197. top: 0;
  198. left: 0;
  199. right: 0;
  200. z-index: 20;
  201. padding-bottom: 24px;
  202. box-sizing: border-box;
  203. width: 100%;
  204. height: 100%;
  205. }
  206. .operation {
  207. position: absolute;
  208. right: 17px;
  209. bottom: 24px;
  210. z-index: 10;
  211. }
  212. .operation .item {
  213. width: 42px;
  214. height: 42px;
  215. background-image: linear-gradient(180deg, #8385F3 0%, #6467F0 100%);
  216. border-radius: 50%;
  217. margin-bottom: 23px;
  218. overflow: hidden;
  219. }
  220. .operation .item .iconfont {
  221. font-size: 24px;
  222. color: #fff;
  223. }
  224. .operation .item.operation--mode-filter-black {
  225. background: rgba(0, 0, 0, 0.25);
  226. backdrop-filter: blur(20px);
  227. border-radius: 50%;
  228. overflow: hidden;
  229. }
  230. .operation button.item::after {
  231. content: none;
  232. }
  233. .store {
  234. padding: 0 16px;
  235. position: absolute;
  236. z-index: 2;
  237. left: 0;
  238. right: 0;
  239. bottom: 30px;
  240. }
  241. .store-list {
  242. border-radius: 16px;
  243. overflow: hidden;
  244. position: relative;
  245. bottom: -999px;
  246. }
  247. .store-list.fadeIn {
  248. bottom: 0;
  249. animation: fadeInStoreList 0.2s 1 forwards;
  250. }
  251. .store__mask {
  252. position: fixed;
  253. top: 0;
  254. left: 0;
  255. right: 0;
  256. height: 100%;
  257. }
  258. .mode-filter-black {
  259. background-color: rgba(0, 0, 0, 0.25);
  260. backdrop-filter: blur(20px);
  261. border-radius: inherit;
  262. }
  263. .store-list__inner {
  264. position: relative;
  265. z-index: 5002;
  266. padding: 16px 12px;
  267. box-sizing: border-box;
  268. }
  269. .store-list__header {
  270. position: relative;
  271. display: flex;
  272. justify-content: center;
  273. align-items: center;
  274. padding: 0 4px;
  275. font-weight: 500;
  276. }
  277. .store-list__title {
  278. font-size: 15px;
  279. color: #ffffff;
  280. text-shadow: 0.5px 0.5px 2px rgba(0, 0, 0, 0.1);
  281. }
  282. .store-list__body {
  283. margin-top: 4px;
  284. overflow: hidden;
  285. padding: 2px 5px 0 0;
  286. box-sizing: border-box;
  287. flex: 1;
  288. display: flex;
  289. flex-direction: column;
  290. justify-content: space-between;
  291. }
  292. .store-list__page__inner {
  293. position: relative;
  294. width: calc(100% + 20px);
  295. box-sizing: border-box;
  296. -webkit-mask-image: -webkit-gradient(linear, left bottom, left 96%, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 04)));
  297. }
  298. .store-list__item {
  299. margin-bottom: 12px;
  300. background: #ffffff;
  301. border-radius: 8px;
  302. }
  303. .store-list__item:last-child {
  304. margin-bottom: 0;
  305. }
  306. .store-list__item__inner {
  307. display: flex;
  308. justify-content: flex-start;
  309. align-items: stretch;
  310. padding: 8px;
  311. }
  312. .store-list__item__header {
  313. position: relative;
  314. margin-right: 9px;
  315. font-size: 0;
  316. }
  317. .store-list__item__avatar {
  318. width: 64px;
  319. height: 64px;
  320. border-radius: 2px;
  321. box-sizing: border-box;
  322. }
  323. .store-list__item__index {
  324. position: absolute;
  325. top: 0;
  326. left: 0;
  327. background: rgba(0, 0, 0, 0.5);
  328. border-radius: 2px 0px 8px 0px;
  329. text-align: center;
  330. padding: 0 2px;
  331. min-width: 14px;
  332. line-height: 12px;
  333. font-size: 10px;
  334. color: #ffffff;
  335. text-align: center;
  336. }
  337. .store-list__item__page {
  338. height: initial;
  339. }
  340. .store-list__item__title {
  341. font-size: 15px;
  342. color: rgba(0, 0, 0, 0.7);
  343. overflow: hidden;
  344. text-overflow: ellipsis;
  345. display: -webkit-box;
  346. -webkit-line-clamp: 2;
  347. -webkit-box-orient: vertical;
  348. word-break: break-all;
  349. line-height: 19.6px;
  350. margin-bottom: 5px;
  351. }
  352. .store-list__item__price {
  353. opacity: 0.9;
  354. font-size: 14px;
  355. color: #fa9d3b;
  356. }
  357. .store-list__item__price-before {
  358. color: #B2B2B2;
  359. text-decoration: line-through;
  360. }
  361. .store-list__empty {
  362. text-align: center;
  363. height: 287px;
  364. line-height: 140px;
  365. color: #fff;
  366. font-size: 14px;
  367. }
  368. .operation--mode-filter-black .icon-xinaixin.active {
  369. color: #ff5344!important;
  370. }