index.module.scss 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546
  1. .cloudPractice {
  2. display: flex;
  3. width: 100%;
  4. height: 100%;
  5. & > :deep(.elScrollbar) {
  6. .el-scrollbar__view {
  7. width: 100%;
  8. display: flex;
  9. padding: 50px 50px 0;
  10. }
  11. .el-scrollbar__wrap {
  12. overflow-x: hidden;
  13. }
  14. }
  15. }
  16. :global {
  17. .PopSelect, .PopSelectPart {
  18. width: 184px;
  19. background: #ffffff;
  20. box-shadow: 0px 2px 17px 0px rgba(0, 0, 0, 0.08);
  21. border-radius: 12px;
  22. --n-space-arrow: 12px !important;
  23. --n-option-height: 40px !important;
  24. .n-base-select-menu-option-wrapper {
  25. padding-top: 4px;
  26. padding-bottom: 4px;
  27. }
  28. .n-base-select-option:hover::before {
  29. background: #fff3d7 !important;
  30. }
  31. .n-base-select-option {
  32. font-size: 16px !important;
  33. }
  34. .n-base-select-option.n-base-select-option--selected {
  35. font-weight: 600;
  36. color: #994d1c;
  37. }
  38. .n-base-select-option::before {
  39. left: 6px;
  40. right: 6px;
  41. }
  42. .n-base-select-option.n-base-select-option--selected.n-base-select-option--pending::before {
  43. background-color: inherit;
  44. }
  45. .n-base-select-option .n-base-select-option__check {
  46. display: none;
  47. }
  48. .n-base-select-menu__empty {
  49. padding-top: 50px;
  50. padding-bottom: 50px;
  51. }
  52. }
  53. .PopSelectPart {
  54. width: 260px
  55. }
  56. }
  57. .leftContainer {
  58. flex-shrink: 0;
  59. margin-left: 60px;
  60. margin-top: 47px;
  61. width: 600px;
  62. // min-height: 729px;
  63. height: calc(100% - 47px - 50px);
  64. position: relative;
  65. background: linear-gradient(270deg, #fede94 0%, #ffe3a3 48%, #fede94 100%);
  66. border-radius: 36px;
  67. padding-top: 47px;
  68. &::before {
  69. content: "";
  70. width: 335px;
  71. height: 59px;
  72. background: url("@/img/cloudPractice/header-ring.png");
  73. background-size: contain;
  74. display: block;
  75. position: absolute;
  76. top: -30px;
  77. left: 50%;
  78. margin-left: -167.5px;
  79. }
  80. .details {
  81. position: relative;
  82. margin: 0 32px 32px;
  83. width: 536px;
  84. height: calc(100% - 36px);
  85. background: #ffffff;
  86. border-radius: 30px;
  87. }
  88. .leftSection {
  89. position: absolute;
  90. left: -49px;
  91. top: 21px;
  92. height: calc(100% - 42px);
  93. overflow-x: hidden;
  94. overflow-y: auto;
  95. &::-webkit-scrollbar {
  96. width: 4px;
  97. display: none;
  98. }
  99. .leftSection_item {
  100. padding-left: 10px;
  101. letter-spacing: 4px;
  102. width: 49px;
  103. height: 131px;
  104. background: url("@/img/cloudPractice/icon-left-default.png");
  105. background-size: contain;
  106. margin-bottom: 12px;
  107. display: flex;
  108. align-items: center;
  109. justify-content: center;
  110. writing-mode: vertical-lr;
  111. font-weight: 600;
  112. font-size: 20px;
  113. color: #ffffff;
  114. line-height: 24px;
  115. text-shadow: 0px 1px 1px #ffac2d;
  116. user-select: none;
  117. cursor: pointer;
  118. &:last-child {
  119. margin-bottom: 0;
  120. }
  121. }
  122. .leftSection_item__active {
  123. background: url("@/img/cloudPractice/icon-left-active.png");
  124. background-size: contain;
  125. color: #fe7846;
  126. text-shadow: none;
  127. }
  128. }
  129. .musicList {
  130. height: 100%;
  131. overflow-x: hidden;
  132. overflow-y: auto;
  133. display: flex;
  134. flex-direction: column;
  135. &::-webkit-scrollbar {
  136. width: 0;
  137. display: none;
  138. }
  139. }
  140. .searchHeader {
  141. position: sticky;
  142. top: 0;
  143. left: 0;
  144. z-index: 9;
  145. padding: 28px 0 15px;
  146. background-color: #fff;
  147. border-radius: 36px 36px 0 0;
  148. .categorySection {
  149. border-bottom: 1px solid #f2f2f2;
  150. padding: 0 20px 16px;
  151. margin-bottom: 18px;
  152. }
  153. .iconTagName {
  154. cursor: pointer;
  155. &::before {
  156. content: "";
  157. display: inline-block;
  158. margin-right: 8px;
  159. width: 22px;
  160. height: 22px;
  161. background: url("../../img/cloudPractice/icon-tag.png") no-repeat center;
  162. background-size: contain;
  163. // vertical-align: text-bottom;
  164. }
  165. font-weight: 600;
  166. font-size: 18px;
  167. color: #333333;
  168. line-height: 22px;
  169. height: 22px;
  170. display: flex;
  171. align-items: center;
  172. &::after {
  173. content: "";
  174. display: inline-block;
  175. margin-left: 8px;
  176. width: 12px;
  177. height: 12px;
  178. background: url("../../img/cloudPractice/icon-arrow-down.png") no-repeat center;
  179. background-size: contain;
  180. }
  181. &.show {
  182. &::after {
  183. transform: rotate(180deg);
  184. }
  185. }
  186. span {
  187. max-width: 440px;
  188. white-space: nowrap;
  189. overflow: hidden;
  190. text-overflow: ellipsis;
  191. display: inline-block;
  192. }
  193. }
  194. }
  195. .searchMore {
  196. display: flex;
  197. justify-content: space-between;
  198. padding: 0 20px;
  199. }
  200. .searchSection {
  201. gap: 0 16px;
  202. display: flex;
  203. margin-right: 16px;
  204. :global {
  205. .el-cascader .el-input .el-input__inner {
  206. color: #994d1c;
  207. }
  208. }
  209. }
  210. :global {
  211. .h_dictionary {
  212. flex: 1;
  213. }
  214. .h_dictionary .el-input__wrapper {
  215. background: #fff3d7;
  216. padding-left: 14px;
  217. padding-right: 7px;
  218. font-size: 16px;
  219. .el-input__icon {
  220. margin-left: 0;
  221. color: #994d1c;
  222. }
  223. }
  224. .el-cascader:not(.is-disabled):hover .el-input__wrapper {
  225. box-shadow: none;
  226. }
  227. .queryCp {
  228. margin: 12px 20px 0 !important;
  229. width: calc(100% - 40px) !important;
  230. // margin-top: 12px;
  231. background: #fff3d7 !important;
  232. .el-input__wrapper {
  233. background: #fff3d7 !important;
  234. }
  235. }
  236. }
  237. .btnSearch {
  238. flex-shrink: 0;
  239. width: 42px;
  240. height: 42px;
  241. background: url("@/img/cloudPractice/icon-search.png") no-repeat center;
  242. background-size: contain;
  243. cursor: pointer;
  244. &.btnSearchActive {
  245. opacity: 0.6;
  246. }
  247. }
  248. .wrapList {
  249. width: 100%;
  250. // min-width: 294px;
  251. min-height: 100%;
  252. padding: 0 20px;
  253. min-height: auto;
  254. flex: 1;
  255. // background: #fff;
  256. // border-radius: 16px;
  257. &.wrapListEmpty {
  258. display: flex;
  259. align-items: center;
  260. justify-content: center;
  261. min-height: auto;
  262. flex: 1;
  263. .empty {
  264. margin-top: -100px;
  265. --el-empty-image-width: 277px;
  266. :global {
  267. .el-empty__description p {
  268. font-weight: 400;
  269. font-size: 22px;
  270. color: #aaaaaa;
  271. }
  272. }
  273. }
  274. }
  275. .item {
  276. position: relative;
  277. display: flex;
  278. align-items: center;
  279. justify-content: space-between;
  280. padding: 15px 10px 15px 15px;
  281. border-radius: 12px;
  282. cursor: pointer;
  283. &:hover {
  284. background: #fff3d7;
  285. }
  286. // &.active {
  287. // background: #fff3d7;
  288. // .arrow {
  289. // opacity: 1;
  290. // }
  291. // }
  292. .img {
  293. position: relative;
  294. width: 60px;
  295. height: 60px;
  296. border-radius: 16px;
  297. margin-right: 12px;
  298. overflow: hidden;
  299. flex-shrink: 0;
  300. :global {
  301. .n-image {
  302. width: 60px;
  303. height: 60px;
  304. }
  305. }
  306. img {
  307. transition: opacity 0.3s;
  308. opacity: 0;
  309. height: 100%;
  310. width: 100%;
  311. border-radius: 16px;
  312. }
  313. img[data-loaded="true"] {
  314. opacity: 1;
  315. }
  316. .showPlayLoading {
  317. opacity: 0;
  318. }
  319. }
  320. .itemInfo {
  321. display: flex;
  322. align-items: center;
  323. flex: 1;
  324. }
  325. .titleName {
  326. font-weight: 600;
  327. font-size: 20px;
  328. color: #a15228;
  329. line-height: 28px;
  330. max-width: 270px;
  331. overflow: hidden;
  332. }
  333. .btn {
  334. cursor: pointer;
  335. display: flex;
  336. align-items: center;
  337. justify-content: center;
  338. width: 84px;
  339. height: 36px;
  340. background: linear-gradient(312deg, #ff9e49 0%, #ff531c 100%);
  341. border-radius: 18px;
  342. font-weight: 600;
  343. font-size: 16px;
  344. color: #ffffff;
  345. img {
  346. margin-left: 7px;
  347. width: 14px;
  348. height: 14px;
  349. }
  350. }
  351. }
  352. }
  353. .loadingWrap {
  354. display: flex;
  355. justify-content: center;
  356. min-height: 80px;
  357. &.showLoading {
  358. height: 0;
  359. opacity: 0;
  360. min-height: 0;
  361. display: none;
  362. }
  363. }
  364. }
  365. .rightContainer {
  366. flex: 1;
  367. background: #ffffff;
  368. border-radius: 36px;
  369. margin-left: 32px;
  370. margin-top: 47px;
  371. margin-right: 60px;
  372. margin-bottom: 50px;
  373. position: relative;
  374. display: flex;
  375. flex-direction: column;
  376. .leftArrow {
  377. position: absolute;
  378. top: 245px;
  379. left: -15px;
  380. display: inline-block;
  381. width: 32px;
  382. height: 32px;
  383. background: #ffffff;
  384. border-radius: 6px;
  385. transform: rotate(45deg);
  386. }
  387. .goBtn {
  388. position: absolute;
  389. left: 50%;
  390. bottom: 46px;
  391. transform: translateX(-50%);
  392. height: 94px;
  393. cursor: pointer;
  394. transition: all 0.2s ease-in;
  395. }
  396. .musicName {
  397. padding-top: 70px;
  398. padding-bottom: 10px;
  399. font-size: 26px;
  400. font-weight: 500;
  401. color: #333;
  402. line-height: 24px;
  403. text-align: center;
  404. }
  405. .staffImgs {
  406. flex: 1;
  407. // overflow-y: auto;
  408. height: 100%;
  409. width: 100%;
  410. padding: 0 30px;
  411. & > img {
  412. width: 100%;
  413. }
  414. &.staffImgsEmpty {
  415. display: flex;
  416. align-items: center;
  417. justify-content: center;
  418. .empty {
  419. margin-top: -80px;
  420. --el-empty-image-width: 277px;
  421. :global {
  422. .el-empty__description p {
  423. font-weight: 400;
  424. font-size: 22px;
  425. color: #aaaaaa;
  426. }
  427. }
  428. }
  429. }
  430. :global {
  431. iframe {
  432. // visibility: hidden;
  433. border: none;
  434. width: 100%;
  435. // height: 500px;
  436. flex: 1 auto;
  437. overflow: hidden;
  438. body {
  439. ::-webkit-scrollbar-thumb {
  440. background-color: #efeff0;
  441. border: 1px solid transparent;
  442. background-clip: padding-box;
  443. border-radius: 5px;
  444. }
  445. }
  446. }
  447. }
  448. }
  449. .rightBtns {
  450. position: absolute;
  451. top: 30px;
  452. right: 30px;
  453. display: flex;
  454. align-items: center;
  455. .transBtn {
  456. width: 48px;
  457. height: 48px;
  458. cursor: pointer;
  459. margin-right: 15px;
  460. &:hover {
  461. opacity: 0.7;
  462. }
  463. }
  464. .disableBtn {
  465. opacity: 0.7;
  466. cursor: not-allowed
  467. }
  468. }
  469. // .popSelect {
  470. // font-size: 16px;
  471. // max-width: 600px;
  472. // max-height: 500px;
  473. // overflow-y: scroll;
  474. // box-shadow: 0px 2px 16px 0px rgba(0, 0, 0, 0.08);
  475. // border-radius: 11px;
  476. // --n-option-height: 34px;
  477. // :global {
  478. // .n-base-select-option__content {
  479. // width: 80% !important;
  480. // }
  481. // }
  482. // }
  483. :global {
  484. .n-spin-container {
  485. height: 100%;
  486. }
  487. .n-spin-content {
  488. height: 100%;
  489. display: flex;
  490. align-items: center;
  491. flex-direction: column;
  492. }
  493. }
  494. }