detail.module.less 11 KB

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