index.module.scss 11 KB

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