index.module.less 5.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  1. .knowledgeBg {
  2. width: 100%;
  3. height: 100%;
  4. background: #DDF2FF;
  5. padding: 16px;
  6. display: flex;
  7. transition: all .2s ease;
  8. &.wrapBottom {
  9. padding-bottom: 70px;
  10. transition: all .2s ease;
  11. }
  12. .left {
  13. width: 180px;
  14. height: 100%;
  15. display: flex;
  16. flex-direction: column;
  17. margin-right: 10px;
  18. border-radius: 8px;
  19. background: #fff;
  20. padding: 16px 8px 12px;
  21. .insTop {
  22. display: flex;
  23. flex-direction: column;
  24. align-items: center;
  25. padding-bottom: 8px;
  26. border-bottom: 1px solid #F2F2F2;
  27. :global {
  28. .van-notice-bar {
  29. padding: 0;
  30. }
  31. }
  32. >img {
  33. width: 54px;
  34. height: 54px;
  35. border-radius: 50%;
  36. margin-bottom: 8px;
  37. }
  38. .musician {
  39. width: 48px;
  40. height: 60px;
  41. overflow: hidden;
  42. }
  43. .insName {
  44. color: #131415;
  45. font-size: 14px;
  46. font-weight: 500;
  47. margin-bottom: 2px;
  48. }
  49. .insTro {
  50. color: #777777;
  51. font-size: 12px;
  52. }
  53. .imgSection {
  54. position: relative;
  55. width: 61px;
  56. height: 61px;
  57. margin-top: 6px;
  58. .img {
  59. width: 61px;
  60. height: 61px;
  61. border-radius: 2px;
  62. overflow: hidden;
  63. position: relative;
  64. z-index: 9;
  65. }
  66. &::before {
  67. content: '';
  68. position: absolute;
  69. left: 0;
  70. top: 0;
  71. z-index: 10;
  72. display: inline-block;
  73. width: 4px;
  74. height: 61px;
  75. background: linear-gradient(270deg, rgba(0, 0, 0, 0.13) 0%, rgba(255, 255, 255, 0) 100%);
  76. }
  77. .pan {
  78. content: '';
  79. position: absolute;
  80. top: 2px;
  81. right: -16px;
  82. display: inline-block;
  83. width: 56px;
  84. height: 56px;
  85. background: url('../../image/icon-pan.png') no-repeat center;
  86. background-size: contain;
  87. display: flex;
  88. align-items: center;
  89. justify-content: center;
  90. img {
  91. width: 40px;
  92. height: 40px;
  93. border-radius: 50%;
  94. overflow: hidden;
  95. }
  96. }
  97. }
  98. .songName {
  99. margin-top: 4px;
  100. font-size: 14px;
  101. font-weight: 500;
  102. color: #131415;
  103. width: 100%;
  104. :global {
  105. .van-notice-bar__wrap {
  106. padding: 0;
  107. justify-content: center;
  108. }
  109. }
  110. }
  111. .songWords {
  112. width: 100%;
  113. font-size: 12px;
  114. color: #777777;
  115. overflow: hidden;
  116. text-overflow: ellipsis;
  117. white-space: nowrap;
  118. text-align: center;
  119. >span {
  120. margin-right: 16px;
  121. }
  122. }
  123. }
  124. .songColumn {
  125. display: flex;
  126. align-items: center;
  127. margin: 14px 8px 4px;
  128. img {
  129. width: 14px;
  130. height: 14px;
  131. margin-right: 4px;
  132. }
  133. span {
  134. font-size: 12px;
  135. color: #000000;
  136. font-weight: 500;
  137. }
  138. }
  139. .insList {
  140. width: 104%;
  141. padding-right: 3%;
  142. flex: 1;
  143. display: flex;
  144. flex-direction: column;
  145. overflow-y: scroll;
  146. .li {
  147. display: flex;
  148. align-items: center;
  149. padding: 8px 8px;
  150. position: relative;
  151. :global {
  152. .van-notice-bar {
  153. padding: 0;
  154. }
  155. }
  156. .liBg {
  157. width: 28px;
  158. height: 28px;
  159. border-radius: 8px;
  160. position: relative;
  161. overflow: hidden;
  162. >img {
  163. width: 100%;
  164. height: 100%;
  165. border-radius: 8px;
  166. }
  167. }
  168. .liName {
  169. flex: 1;
  170. margin: 0 10px;
  171. overflow-x: hidden;
  172. text-overflow: ellipsis;
  173. white-space: nowrap;
  174. font-size: 13px;
  175. color: #131415;
  176. :global {
  177. .van-notice-bar__wrap {
  178. padding: 0;
  179. justify-content: left;
  180. }
  181. }
  182. }
  183. .liPlay {
  184. width: 20px;
  185. height: 20px;
  186. }
  187. .hidePlayLoading {
  188. opacity: 0;
  189. }
  190. &.liActive {
  191. background: #E8F6FF;
  192. border-radius: 6px;
  193. height: 39px;
  194. }
  195. }
  196. .emptyBox {
  197. flex: 1;
  198. display: flex;
  199. flex-direction: column;
  200. align-items: center;
  201. padding-top: 8px;
  202. >img {
  203. width: 86px;
  204. //height: 76px;
  205. }
  206. >span {
  207. font-size: 14px;
  208. color: #999999;
  209. margin-top: 6px;
  210. }
  211. }
  212. &::-webkit-scrollbar {
  213. width: 4px;
  214. height: 4px;
  215. background-color: transparent;
  216. z-index: 999;
  217. }
  218. &::-webkit-scrollbar-thumb {
  219. border-radius: 10px;
  220. background-color: #CBCBCB;
  221. }
  222. }
  223. }
  224. .right {
  225. flex: 1;
  226. border-radius: 8px;
  227. background: #fff;
  228. padding: 16px 6px 16px 16px;
  229. display: flex;
  230. flex-direction: column;
  231. .title {
  232. display: flex;
  233. align-items: center;
  234. font-size: 14px;
  235. color: #000000;
  236. font-weight: 500;
  237. margin-bottom: 14px;
  238. >img {
  239. width: 20px;
  240. height: 20px;
  241. margin-right: 6px;
  242. }
  243. }
  244. .desc {
  245. flex: 1;
  246. overflow-y: scroll;
  247. font-size: 14px;
  248. line-height: 20px;
  249. padding-right: 10px;
  250. img,
  251. video {
  252. width: 100% !important;
  253. }
  254. &::-webkit-scrollbar {
  255. width: 4px;
  256. height: 4px;
  257. background-color: transparent;
  258. }
  259. &::-webkit-scrollbar-thumb {
  260. border-radius: 10px;
  261. min-height: 50px;
  262. background-color: #CBCBCB;
  263. }
  264. }
  265. }
  266. }