index.less 6.2 KB

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