detail.module.less 11 KB

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