index.less 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459
  1. .files {
  2. width: 100%;
  3. height: calc(100vh - 240px);
  4. overflow-y: auto;
  5. position: relative;
  6. }
  7. .flex_box_img {
  8. width: 100px;
  9. cursor: pointer;
  10. }
  11. .flex_box {
  12. width: 200px;
  13. height: 200px;
  14. display: flex;
  15. justify-content: center;
  16. flex-flow: column;
  17. align-items: center;
  18. padding: 10px 0;
  19. position: relative;
  20. font-size: 12px;
  21. user-select: none;
  22. &:hover {
  23. background-color: #c5d8f0;
  24. border-radius: 5px;
  25. border: 1px solid #c5d8f0;
  26. box-sizing: border-box;
  27. .select {
  28. display: flex;
  29. background-color: #7cc6ee;
  30. }
  31. }
  32. }
  33. .flex_box_name {
  34. width: 100%;
  35. overflow: hidden;
  36. text-overflow: ellipsis;
  37. white-space: nowrap;
  38. cursor: pointer;
  39. text-align: center;
  40. &:hover {
  41. color: #1890ff;
  42. }
  43. }
  44. .flex_box_id {
  45. width: 85%;
  46. overflow: hidden;
  47. text-overflow: ellipsis;
  48. white-space: nowrap;
  49. cursor: pointer;
  50. text-align: center;
  51. &:hover {
  52. color: #1890ff;
  53. }
  54. }
  55. .rt {
  56. margin: 0 5px;
  57. color: #c5d8f3;
  58. }
  59. .path {
  60. margin-bottom: 15px;
  61. // margin-top: 10px;
  62. }
  63. .path_color {
  64. color: #09aaff;
  65. cursor: pointer;
  66. }
  67. .file_news_content {
  68. width: 100%;
  69. columns: 300px 5;
  70. column-gap: 20px;
  71. >div {
  72. width: 100%;
  73. break-inside: avoid;
  74. margin-bottom: 20px;
  75. display: flex;
  76. justify-content: center;
  77. }
  78. }
  79. .file_content {
  80. width: 100%;
  81. // columns: 200px 7;
  82. // column-gap: 20px;
  83. display: flex;
  84. flex-wrap: wrap;
  85. gap: 6px;
  86. >div {
  87. width: 200px;
  88. break-inside: avoid;
  89. display: flex;
  90. justify-content: center;
  91. }
  92. }
  93. .select {
  94. position: absolute;
  95. left: 5px;
  96. top: 5px;
  97. border-radius: 50%;
  98. width: 21px;
  99. height: 21px;
  100. display: none;
  101. justify-content: center;
  102. align-items: center;
  103. cursor: pointer;
  104. >span {
  105. display: flex;
  106. justify-content: center;
  107. align-items: center;
  108. }
  109. }
  110. .select_btn {
  111. margin-bottom: 10px;
  112. >span {
  113. color: #09aaff;
  114. cursor: pointer;
  115. }
  116. }
  117. .image_box,
  118. .video_box,
  119. .audio_box {
  120. width: 200px;
  121. height: 200px;
  122. display: flex;
  123. justify-content: center;
  124. flex-flow: column;
  125. align-items: center;
  126. padding: 10px 20px;
  127. position: relative;
  128. font-size: 12px;
  129. img {
  130. height: 100px;
  131. width: 130px;
  132. object-fit: contain;
  133. }
  134. audio {}
  135. &:hover {
  136. background-color: #c5d8f0;
  137. border-radius: 5px;
  138. border: 1px solid #c5d8f0;
  139. box-sizing: border-box;
  140. .select {
  141. display: flex;
  142. background-color: #7cc6ee;
  143. }
  144. }
  145. }
  146. .menu {
  147. position: fixed;
  148. display: flex;
  149. align-items: center;
  150. justify-content: center;
  151. flex-flow: column;
  152. z-index: 999;
  153. list-style: none;
  154. padding: 15px 0;
  155. min-width: 100px;
  156. margin: 0;
  157. border: 1px solid #dde0e4;
  158. border-radius: 5px;
  159. box-shadow: 0 0 8px #ccc;
  160. background-color: #fff;
  161. >li {
  162. cursor: pointer;
  163. height: 30px;
  164. line-height: 30px;
  165. padding: 0 10px;
  166. text-align: center;
  167. width: 100%;
  168. &:hover {
  169. background-color: #a4d9f5;
  170. }
  171. }
  172. }
  173. .add {
  174. position: absolute;
  175. left: 0;
  176. top: 0;
  177. height: 100%;
  178. width: 100%;
  179. background-color: rgba(0, 0, 0, 0.6);
  180. color: #fff;
  181. font-size: 30px;
  182. display: none;
  183. align-items: center;
  184. justify-content: center;
  185. }
  186. .news_box {
  187. width: 280px;
  188. display: flex;
  189. justify-content: center;
  190. flex-flow: column;
  191. align-items: center;
  192. padding: 15px 30px;
  193. box-sizing: border-box;
  194. position: relative;
  195. >div {
  196. height: 60px;
  197. display: flex;
  198. flex-flow: row;
  199. align-items: center;
  200. position: relative;
  201. box-sizing: border-box;
  202. width: 100%;
  203. justify-content: space-between;
  204. margin-top: 2px;
  205. &:hover {
  206. >p {
  207. display: flex;
  208. cursor: pointer;
  209. }
  210. }
  211. div {
  212. order: 2;
  213. }
  214. img {
  215. object-fit: cover;
  216. width: 50px;
  217. height: 50px;
  218. }
  219. span {
  220. display: -webkit-box;
  221. -webkit-box-orient: vertical;
  222. -webkit-line-clamp: 2;
  223. overflow: hidden;
  224. order: 1;
  225. height: 40px;
  226. width: 75%;
  227. }
  228. &:nth-child(2) {
  229. position: relative;
  230. height: 120px;
  231. overflow: hidden;
  232. img {
  233. object-fit: cover;
  234. width: 100%;
  235. height: 120px;
  236. }
  237. >span {
  238. position: absolute;
  239. bottom: 0;
  240. left: 0;
  241. height: 20px;
  242. background-color: rgba(0, 0, 0, 0.6);
  243. color: #fff;
  244. line-height: 20px;
  245. overflow: hidden;
  246. text-overflow: ellipsis;
  247. white-space: nowrap;
  248. display: inline-block;
  249. width: 100%;
  250. box-sizing: border-box;
  251. }
  252. }
  253. }
  254. &:hover {
  255. background-color: #c5d8f0;
  256. border-radius: 5px;
  257. // border: 1px solid #c5d8f0;
  258. box-sizing: border-box;
  259. .select {
  260. display: flex;
  261. background-color: #7cc6ee;
  262. }
  263. }
  264. }
  265. .knews_box {
  266. width: 300px;
  267. display: flex;
  268. justify-content: center;
  269. flex-flow: column;
  270. align-items: center;
  271. padding: 15px 30px;
  272. box-sizing: border-box;
  273. position: relative;
  274. height: 200px;
  275. >div {
  276. display: flex;
  277. justify-content: space-between;
  278. width: 100%;
  279. background-color: #f0f5f7;
  280. padding: 10px;
  281. border-radius: 5px;
  282. height: 95px;
  283. box-sizing: border-box;
  284. img {
  285. width: 50px;
  286. height: 50px;
  287. margin-top: 25px;
  288. object-fit: cover;
  289. }
  290. span {
  291. font-weight: 500;
  292. margin-bottom: 5px;
  293. }
  294. p {
  295. font-size: 12px;
  296. overflow: hidden;
  297. text-overflow: ellipsis;
  298. display: -webkit-box;
  299. -webkit-line-clamp: 2;
  300. -webkit-box-orient: vertical;
  301. color: #999;
  302. padding-top: 10px;
  303. width: 160px;
  304. }
  305. }
  306. &:hover {
  307. background-color: #c5d8f0;
  308. border-radius: 5px;
  309. // border: 1px solid #c5d8f0;
  310. box-sizing: border-box;
  311. .select {
  312. display: flex;
  313. background-color: #7cc6ee;
  314. }
  315. }
  316. }
  317. .flex_box_font {}
  318. .action {
  319. background-color: #c5d8f0;
  320. border-radius: 5px;
  321. // border: 1px solid #90d8ff;
  322. box-sizing: border-box;
  323. .select {
  324. background-color: #09aaff;
  325. display: flex;
  326. }
  327. &:hover {
  328. background-color: #c5d8f0;
  329. border-radius: 5px;
  330. // border: 1px solid #90d8ff;
  331. box-sizing: border-box;
  332. .select {
  333. display: flex;
  334. background-color: #09aaff;
  335. }
  336. }
  337. }
  338. .pagination {
  339. width: 100%;
  340. display: flex;
  341. align-items: center;
  342. justify-content: center;
  343. margin-bottom: 10px;
  344. margin-top: 5px;
  345. min-height: 32px;
  346. }
  347. .wxSelect {
  348. position: absolute;
  349. top: 0;
  350. right: 0;
  351. // width: 200px;
  352. >div {
  353. margin-top: 0 !important;
  354. }
  355. }
  356. .pageVideo {
  357. position: relative;
  358. .pagePreview {
  359. position: absolute;
  360. top: 50%;
  361. left: 50%;
  362. transform: translate(-50%, -50%);
  363. z-index: 10;
  364. background-color: rgba(0, 0, 0, 0.6);
  365. color: #FFF;
  366. font-size: 14px;
  367. opacity: 0;
  368. transition: opacity 0.3s;
  369. cursor: pointer;
  370. border-radius: 6px;
  371. width: 60px;
  372. height: 27px;
  373. line-height: 27px;
  374. text-align: center;
  375. }
  376. &:hover .pagePreview {
  377. opacity: 1;
  378. }
  379. }
  380. .imgData {
  381. background-color: rgba(0, 0, 0, 0.1);
  382. border-radius: 6px;
  383. }
  384. .maskClass {
  385. background-color: rgba(0, 0, 0, 0.1);
  386. border-radius: 6px;
  387. >div {
  388. background-color: rgba(0, 0, 0, 0.7);
  389. padding: 4px 10px;
  390. border-radius: 6px;
  391. }
  392. }
  393. .moveSelected {
  394. position: fixed;
  395. top: 0;
  396. left: 0;
  397. border: 1px dashed #2783F5;
  398. pointer-events: none;
  399. }