detail.module.less 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571
  1. .container {
  2. display: flex;
  3. flex-direction: column;
  4. height: 100%;
  5. .iconBack {
  6. width: 36px;
  7. height: 36px;
  8. }
  9. :global {
  10. .n-breadcrumb>ul {
  11. display: flex;
  12. align-items: center;
  13. .n-breadcrumb-item {
  14. display: flex;
  15. align-items: center;
  16. }
  17. .n-breadcrumb-item__separator {
  18. display: none;
  19. }
  20. .n-breadcrumb-item__link {
  21. padding: 5px 18px;
  22. background: #FFFFFF;
  23. border-radius: 16px;
  24. color: #21225D;
  25. line-height: 20px;
  26. }
  27. }
  28. .n-breadcrumb .n-breadcrumb-item:last-child .n-breadcrumb-item__link {
  29. color: #fff;
  30. background: var(--product-color);
  31. }
  32. }
  33. &> :global(.n-space) {
  34. height: 36px;
  35. flex-shrink: 0;
  36. }
  37. .separator {
  38. width: 9px;
  39. height: 15px;
  40. margin: 0 16px;
  41. }
  42. }
  43. .wrap {
  44. padding-top: 15px;
  45. flex: 1;
  46. transition: padding .3s;
  47. overflow: hidden;
  48. &.wrapBottom {
  49. padding-bottom: 108px;
  50. }
  51. }
  52. .content {
  53. display: flex;
  54. flex-direction: column;
  55. height: 100%;
  56. background: #DDF2FF;
  57. border-radius: 20px;
  58. // max-height: 90vh;
  59. }
  60. .tools {
  61. padding: 20px;
  62. display: flex;
  63. align-items: center;
  64. flex-shrink: 0;
  65. :global {
  66. .n-input {
  67. margin-left: auto;
  68. width: 361px;
  69. }
  70. .n-input__input-el {
  71. height: 100%;
  72. line-height: 100%;
  73. }
  74. }
  75. }
  76. .contentWrap {
  77. position: relative;
  78. flex: 1;
  79. display: flex;
  80. padding: 20px 55px 20px 20px;
  81. overflow: hidden;
  82. gap: 0 32px;
  83. }
  84. .musicList {
  85. background-color: #fff;
  86. border-radius: 16px;
  87. width: 470px;
  88. min-width: 294px;
  89. height: 100%;
  90. overflow-x: hidden;
  91. overflow-y: auto;
  92. min-width: 330Px;
  93. &::-webkit-scrollbar {
  94. width: 0;
  95. display: none;
  96. }
  97. .instrumentGroup {
  98. padding-top: 27px;
  99. padding-bottom: 20px;
  100. display: flex;
  101. align-items: center;
  102. justify-content: center;
  103. flex-direction: column;
  104. .instrumentImg {
  105. width: 125px;
  106. height: 125px;
  107. overflow: hidden;
  108. border-radius: 50%;
  109. }
  110. .instrumentName {
  111. padding: 13px 0 5px;
  112. font-size: max(18px, 14Px);
  113. font-weight: 600;
  114. color: #131415;
  115. line-height: 25px;
  116. letter-spacing: 1px;
  117. }
  118. .instrumentTag {
  119. font-size: max(13px, 12Px);
  120. color: #777777;
  121. line-height: 18px;
  122. }
  123. }
  124. .wrapList {
  125. width: 470px;
  126. padding: 0 17px;
  127. min-width: 294px;
  128. min-height: 100%;
  129. // background: #fff;
  130. border-radius: 16px;
  131. :global {
  132. .n-empty .n-empty__description {
  133. font-size: calc(14px, 12Px);
  134. }
  135. }
  136. .titlec {
  137. padding: 20px 0;
  138. font-size: max(18px, 14Px);
  139. font-weight: 600;
  140. color: #000000;
  141. line-height: 25px;
  142. border-top: 1px solid #F2F2F2;
  143. display: flex;
  144. align-items: center;
  145. }
  146. .icon2 {
  147. width: 23px;
  148. height: 23px;
  149. margin-right: 8px;
  150. background: url('../images/icon-2.png') no-repeat center;
  151. background-size: contain;
  152. }
  153. }
  154. .empty {
  155. display: flex;
  156. align-items: center;
  157. justify-content: center;
  158. height: 50vh;
  159. // height: 100%;
  160. }
  161. }
  162. .itemContainer {
  163. width: 100%;
  164. border-radius: 16px;
  165. padding: 4px 8px;
  166. // background-color: #fff;
  167. &:first-child {
  168. padding-top: 8px;
  169. }
  170. &:last-child {
  171. // border-radius: 0 0 16px 16px;
  172. padding-bottom: 8px;
  173. }
  174. }
  175. .item {
  176. position: relative;
  177. display: flex;
  178. align-items: center;
  179. padding: 10px;
  180. border-radius: 12px;
  181. cursor: pointer;
  182. &:hover {
  183. background-color: rgba(0, 0, 0, .05);
  184. }
  185. &.active {
  186. background-color: #DDF2FF;
  187. .arrow {
  188. opacity: 1;
  189. }
  190. }
  191. .img {
  192. position: relative;
  193. width: 60px;
  194. height: 60px;
  195. border-radius: 18px;
  196. margin-right: 12px;
  197. // box-shadow: 0 0 10px 4px rgba(27, 35, 55, .1);
  198. overflow: hidden;
  199. flex-shrink: 0;
  200. :global {
  201. .n-image {
  202. width: 60px;
  203. height: 60px;
  204. }
  205. }
  206. img {
  207. transition: opacity .3s;
  208. opacity: 0;
  209. height: 100%;
  210. width: 100%;
  211. }
  212. img[data-loaded="true"] {
  213. opacity: 1;
  214. }
  215. }
  216. .title {
  217. flex: 1;
  218. overflow: hidden;
  219. display: flex;
  220. flex-direction: column;
  221. align-items: flex-start;
  222. .titleName {
  223. font-size: calc(17px, 12Px);
  224. font-weight: 600;
  225. color: #131415;
  226. line-height: 28px;
  227. width: 100%;
  228. }
  229. .titleDes {
  230. font-size: 14px;
  231. font-weight: 400;
  232. color: #777777;
  233. line-height: 20px;
  234. max-width: 100%;
  235. white-space: nowrap;
  236. text-overflow: ellipsis;
  237. overflow: hidden;
  238. }
  239. }
  240. .btn {
  241. margin-left: auto;
  242. width: 84px;
  243. height: 40px;
  244. background: linear-gradient(to right, #44CAFF, #259DFE);
  245. border: none;
  246. padding: 0;
  247. font-weight: bold !important;
  248. flex-shrink: 0;
  249. min-width: 62px;
  250. min-height: 30px;
  251. :global {
  252. .n-button__content {
  253. &>img {
  254. margin-left: 10px;
  255. width: 9px;
  256. height: 12px;
  257. }
  258. }
  259. }
  260. }
  261. .arrow {
  262. position: absolute;
  263. top: 50%;
  264. right: 12px;
  265. transform: translate(124%, -50%);
  266. opacity: 0;
  267. }
  268. .showPlayLoading {
  269. opacity: 0;
  270. }
  271. }
  272. .loadingWrap {
  273. display: flex;
  274. justify-content: center;
  275. min-height: 80px;
  276. }
  277. .musicStaff {
  278. display: flex;
  279. flex-direction: column;
  280. position: relative;
  281. left: -8px;
  282. flex: 1;
  283. background-color: #fff;
  284. border-radius: 16px;
  285. padding-bottom: 18px;
  286. z-index: 1;
  287. overflow: hidden;
  288. &::-webkit-scrollbar {
  289. width: 0;
  290. display: none;
  291. }
  292. .musicTitle {
  293. padding: 27px 27px 13px;
  294. font-size: max(18px, 14Px);
  295. font-weight: 600;
  296. color: #000000;
  297. line-height: 25px;
  298. display: flex;
  299. align-items: center;
  300. .icon1 {
  301. display: inline-block;
  302. width: 23px;
  303. height: 23px;
  304. margin-right: 8px;
  305. background: url('../images/icon-1.png') no-repeat center;
  306. background-size: contain;
  307. }
  308. }
  309. .musicContent {
  310. flex: 1;
  311. overflow-y: auto;
  312. height: 100%;
  313. padding: 0 27px;
  314. &>img {
  315. width: 100%;
  316. }
  317. section,
  318. &>div {
  319. font-size: inherit !important;
  320. }
  321. }
  322. }
  323. .staffImgs {
  324. flex: 1;
  325. overflow-y: auto;
  326. height: 100%;
  327. padding: 0 30px;
  328. &>img {
  329. width: 100%;
  330. }
  331. }
  332. :global {
  333. .van-fade-enter-active,
  334. .van-fade-leave-active {
  335. transition: all 0.3s;
  336. }
  337. .van-fade-enter-from,
  338. .van-fade-leave-to {
  339. opacity: 0;
  340. }
  341. }
  342. .changeSizeSection {
  343. position: absolute;
  344. right: 10px;
  345. bottom: 50%;
  346. width: 35px;
  347. transform: translate(0, 50%);
  348. background: #fff;
  349. border-radius: 7px;
  350. display: flex;
  351. align-items: center;
  352. flex-direction: column;
  353. padding: 13px 0;
  354. .iconT {
  355. width: 15px;
  356. height: 15px;
  357. }
  358. .iconAddT,
  359. .iconPlusT {
  360. width: 23px;
  361. height: 23px;
  362. cursor: pointer;
  363. }
  364. .iconAddT {
  365. margin-top: 13px;
  366. margin-bottom: 8px;
  367. }
  368. .iconPlusT {
  369. margin-top: 8px;
  370. }
  371. :global {
  372. .n-slider {
  373. height: 125px;
  374. --n-handle-size: 15px !important;
  375. --n-rail-height: 0 !important;
  376. }
  377. }
  378. }
  379. .musicTop,
  380. .musicInfo {
  381. display: flex;
  382. align-items: center;
  383. flex-direction: column;
  384. padding-top: 36px;
  385. padding-bottom: 22px;
  386. }
  387. .musicInfo {
  388. flex-direction: row;
  389. }
  390. .musicImg {
  391. position: relative;
  392. width: 100px;
  393. height: 100px;
  394. border-radius: 2px;
  395. z-index: 9;
  396. margin-right: 54px;
  397. margin-left: 31px;
  398. .img {
  399. position: relative;
  400. z-index: 9;
  401. width: 100px;
  402. height: 100px;
  403. border-radius: 2px;
  404. }
  405. .panSection {
  406. position: absolute;
  407. right: -44px;
  408. top: 5px;
  409. width: 95px;
  410. height: 95px;
  411. z-index: 0;
  412. display: flex;
  413. align-items: center;
  414. justify-content: center;
  415. .img2 {
  416. position: relative;
  417. z-index: 1;
  418. width: 64px;
  419. height: 64px;
  420. border-radius: 50%;
  421. }
  422. }
  423. .iconPan {
  424. position: absolute;
  425. left: 0;
  426. right: 0;
  427. width: 95px;
  428. height: 95px;
  429. z-index: 0;
  430. }
  431. &::before {
  432. content: ' ';
  433. position: absolute;
  434. top: 0;
  435. left: 0;
  436. z-index: 10;
  437. display: inline-block;
  438. width: 5px;
  439. height: 100px;
  440. background: linear-gradient(270deg, rgba(0, 0, 0, 0.18) 0%, rgba(255, 255, 255, 0) 100%);
  441. }
  442. &::after {
  443. content: ' ';
  444. position: absolute;
  445. left: -31px;
  446. bottom: 0;
  447. z-index: 8;
  448. width: 148px;
  449. height: 16px;
  450. background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.3) 100%);
  451. filter: blur(2.3328px);
  452. border-radius: 50%;
  453. }
  454. }
  455. .info {
  456. text-align: left;
  457. }
  458. .musicInfo {
  459. // width: 500px;
  460. .name {
  461. font-size: max(21px, 15Px);
  462. font-weight: 600;
  463. color: #131415;
  464. line-height: 25px;
  465. padding-bottom: 8px;
  466. max-width: 220px;
  467. }
  468. .c {
  469. font-size: max(13px, 12Px);
  470. color: #777777;
  471. line-height: 18px;
  472. span {
  473. flex-shrink: 0;
  474. }
  475. &>div {
  476. display: flex;
  477. margin-right: 20px;
  478. max-width: 220px;
  479. }
  480. }
  481. }