detail.module.less 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444
  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: 512px;
  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: 18px;
  113. font-weight: 600;
  114. color: #131415;
  115. line-height: 25px;
  116. letter-spacing: 1px;
  117. }
  118. .instrumentTag {
  119. font-size: 13px;
  120. color: #777777;
  121. line-height: 18px;
  122. }
  123. }
  124. .wrapList {
  125. width: 512px;
  126. padding: 0 17px;
  127. min-width: 294px;
  128. min-height: 100%;
  129. // background: #fff;
  130. border-radius: 16px;
  131. .titlec {
  132. padding: 20px 0;
  133. font-size: 18px;
  134. font-weight: 600;
  135. color: #000000;
  136. line-height: 25px;
  137. border-top: 1px solid #F2F2F2;
  138. display: flex;
  139. align-items: center;
  140. }
  141. .icon2 {
  142. width: 23px;
  143. height: 23px;
  144. margin-right: 8px;
  145. background: url('../images/icon-2.png') no-repeat center;
  146. background-size: contain;
  147. }
  148. }
  149. .empty {
  150. display: flex;
  151. align-items: center;
  152. justify-content: center;
  153. height: 50vh;
  154. // height: 100%;
  155. }
  156. }
  157. .itemContainer {
  158. width: 100%;
  159. border-radius: 16px;
  160. padding: 4px 8px;
  161. // background-color: #fff;
  162. &:first-child {
  163. padding-top: 8px;
  164. }
  165. &:last-child {
  166. // border-radius: 0 0 16px 16px;
  167. padding-bottom: 8px;
  168. }
  169. }
  170. .item {
  171. position: relative;
  172. display: flex;
  173. align-items: center;
  174. padding: 10px;
  175. border-radius: 12px;
  176. cursor: pointer;
  177. &:hover {
  178. background-color: rgba(0, 0, 0, .05);
  179. }
  180. &.active {
  181. background-color: #DDF2FF;
  182. .arrow {
  183. opacity: 1;
  184. }
  185. }
  186. .img {
  187. position: relative;
  188. width: 60px;
  189. height: 60px;
  190. border-radius: 8px;
  191. margin-right: 12px;
  192. box-shadow: 0 0 10px 4px rgba(27, 35, 55, .1);
  193. overflow: hidden;
  194. flex-shrink: 0;
  195. :global {
  196. .n-image {
  197. width: 60px;
  198. height: 60px;
  199. }
  200. }
  201. img {
  202. transition: opacity .3s;
  203. opacity: 0;
  204. height: 100%;
  205. width: 100%;
  206. }
  207. img[data-loaded="true"] {
  208. opacity: 1;
  209. }
  210. }
  211. .title {
  212. flex: 1;
  213. overflow: hidden;
  214. display: flex;
  215. flex-direction: column;
  216. align-items: flex-start;
  217. .titleName {
  218. font-size: 17px;
  219. font-weight: 600;
  220. color: #131415;
  221. line-height: 28px;
  222. width: 100%;
  223. }
  224. .titleDes {
  225. font-size: 14px;
  226. font-weight: 400;
  227. color: #777777;
  228. line-height: 20px;
  229. max-width: 100%;
  230. white-space: nowrap;
  231. text-overflow: ellipsis;
  232. overflow: hidden;
  233. }
  234. }
  235. .btn {
  236. margin-left: auto;
  237. width: 84px;
  238. height: 40px;
  239. background: linear-gradient(to right, #44CAFF, #259DFE);
  240. border: none;
  241. padding: 0;
  242. font-weight: bold !important;
  243. flex-shrink: 0;
  244. min-width: 62px;
  245. min-height: 30px;
  246. :global {
  247. .n-button__content {
  248. &>img {
  249. margin-left: 10px;
  250. width: 9px;
  251. height: 12px;
  252. }
  253. }
  254. }
  255. }
  256. .arrow {
  257. position: absolute;
  258. top: 50%;
  259. right: 12px;
  260. transform: translate(124%, -50%);
  261. opacity: 0;
  262. }
  263. .showPlayLoading {
  264. opacity: 0;
  265. }
  266. }
  267. .loadingWrap {
  268. display: flex;
  269. justify-content: center;
  270. min-height: 80px;
  271. }
  272. .musicStaff {
  273. display: flex;
  274. flex-direction: column;
  275. position: relative;
  276. left: -8px;
  277. flex: 1;
  278. background-color: #fff;
  279. border-radius: 16px;
  280. // height: 100%;
  281. z-index: 1;
  282. overflow: hidden;
  283. &::-webkit-scrollbar {
  284. width: 0;
  285. display: none;
  286. }
  287. .musicTitle {
  288. padding: 27px 27px 13px;
  289. font-size: 18px;
  290. font-weight: 600;
  291. color: #000000;
  292. line-height: 25px;
  293. display: flex;
  294. align-items: center;
  295. .icon1 {
  296. display: inline-block;
  297. width: 23px;
  298. height: 23px;
  299. margin-right: 8px;
  300. background: url('../images/icon-1.png') no-repeat center;
  301. background-size: contain;
  302. }
  303. }
  304. .musicContent {
  305. flex: 1;
  306. overflow-y: auto;
  307. height: 100%;
  308. padding: 0 27px;
  309. &>img {
  310. width: 100%;
  311. }
  312. section,
  313. &>div {
  314. font-size: inherit !important;
  315. }
  316. }
  317. }
  318. .staffImgs {
  319. flex: 1;
  320. overflow-y: auto;
  321. height: 100%;
  322. padding: 0 30px;
  323. &>img {
  324. width: 100%;
  325. }
  326. }
  327. :global {
  328. .van-fade-enter-active,
  329. .van-fade-leave-active {
  330. transition: all 0.3s;
  331. }
  332. .van-fade-enter-from,
  333. .van-fade-leave-to {
  334. opacity: 0;
  335. }
  336. }
  337. .changeSizeSection {
  338. position: absolute;
  339. right: 10px;
  340. bottom: 27px;
  341. width: 35px;
  342. background: #fff;
  343. border-radius: 7px;
  344. display: flex;
  345. align-items: center;
  346. flex-direction: column;
  347. padding: 13px 0;
  348. .iconT {
  349. width: 15px;
  350. height: 15px;
  351. }
  352. .iconAddT,
  353. .iconPlusT {
  354. width: 23px;
  355. height: 23px;
  356. }
  357. .iconAddT {
  358. margin-top: 13px;
  359. margin-bottom: 8px;
  360. }
  361. .iconPlusT {
  362. margin-top: 8px;
  363. }
  364. :global {
  365. .n-slider {
  366. height: 125px;
  367. --n-handle-size: 15px !important;
  368. --n-rail-height: 0 !important;
  369. }
  370. }
  371. }