.files { width: 100%; height: calc(100vh - 240px); overflow-y: auto; position: relative; } .flex_box_img { width: 100px; cursor: pointer; } .flex_box { width: 200px; height: 200px; display: flex; justify-content: center; flex-flow: column; align-items: center; padding: 10px 0; position: relative; font-size: 12px; user-select: none; &:hover { background-color: #c5d8f0; border-radius: 5px; border: 1px solid #c5d8f0; box-sizing: border-box; .select { display: flex; background-color: #7cc6ee; } } } .flex_box_name { width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; text-align: center; &:hover { color: #1890ff; } } .flex_box_id { width: 85%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer; text-align: center; &:hover { color: #1890ff; } } .rt { margin: 0 5px; color: #c5d8f3; } .path { margin-bottom: 15px; // margin-top: 10px; } .path_color { color: #09aaff; cursor: pointer; } .file_news_content { width: 100%; columns: 300px 5; column-gap: 20px; >div { width: 100%; break-inside: avoid; margin-bottom: 20px; display: flex; justify-content: center; } } .file_content { width: 100%; // columns: 200px 7; // column-gap: 20px; display: flex; flex-wrap: wrap; gap: 6px; >div { width: 200px; break-inside: avoid; display: flex; justify-content: center; } } .select { position: absolute; left: 5px; top: 5px; border-radius: 50%; width: 21px; height: 21px; display: none; justify-content: center; align-items: center; cursor: pointer; >span { display: flex; justify-content: center; align-items: center; } } .select_btn { margin-bottom: 10px; >span { color: #09aaff; cursor: pointer; } } .image_box, .video_box, .audio_box { width: 200px; height: 200px; display: flex; justify-content: center; flex-flow: column; align-items: center; padding: 10px 20px; position: relative; font-size: 12px; img { height: 100px; width: 130px; object-fit: contain; } audio {} &:hover { background-color: #c5d8f0; border-radius: 5px; border: 1px solid #c5d8f0; box-sizing: border-box; .select { display: flex; background-color: #7cc6ee; } } } .menu { position: fixed; display: flex; align-items: center; justify-content: center; flex-flow: column; z-index: 999; list-style: none; padding: 15px 0; min-width: 100px; margin: 0; border: 1px solid #dde0e4; border-radius: 5px; box-shadow: 0 0 8px #ccc; background-color: #fff; >li { cursor: pointer; height: 30px; line-height: 30px; padding: 0 10px; text-align: center; width: 100%; &:hover { background-color: #a4d9f5; } } } .add { position: absolute; left: 0; top: 0; height: 100%; width: 100%; background-color: rgba(0, 0, 0, 0.6); color: #fff; font-size: 30px; display: none; align-items: center; justify-content: center; } .news_box { width: 280px; display: flex; justify-content: center; flex-flow: column; align-items: center; padding: 15px 30px; box-sizing: border-box; position: relative; >div { height: 60px; display: flex; flex-flow: row; align-items: center; position: relative; box-sizing: border-box; width: 100%; justify-content: space-between; margin-top: 2px; &:hover { >p { display: flex; cursor: pointer; } } div { order: 2; } img { object-fit: cover; width: 50px; height: 50px; } span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; order: 1; height: 40px; width: 75%; } &:nth-child(2) { position: relative; height: 120px; overflow: hidden; img { object-fit: cover; width: 100%; height: 120px; } >span { position: absolute; bottom: 0; left: 0; height: 20px; background-color: rgba(0, 0, 0, 0.6); color: #fff; line-height: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; width: 100%; box-sizing: border-box; } } } &:hover { background-color: #c5d8f0; border-radius: 5px; // border: 1px solid #c5d8f0; box-sizing: border-box; .select { display: flex; background-color: #7cc6ee; } } } .knews_box { width: 300px; display: flex; justify-content: center; flex-flow: column; align-items: center; padding: 15px 30px; box-sizing: border-box; position: relative; height: 200px; >div { display: flex; justify-content: space-between; width: 100%; background-color: #f0f5f7; padding: 10px; border-radius: 5px; height: 95px; box-sizing: border-box; img { width: 50px; height: 50px; margin-top: 25px; object-fit: cover; } span { font-weight: 500; margin-bottom: 5px; } p { font-size: 12px; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: #999; padding-top: 10px; width: 160px; } } &:hover { background-color: #c5d8f0; border-radius: 5px; // border: 1px solid #c5d8f0; box-sizing: border-box; .select { display: flex; background-color: #7cc6ee; } } } .flex_box_font {} .action { background-color: #c5d8f0; border-radius: 5px; // border: 1px solid #90d8ff; box-sizing: border-box; .select { background-color: #09aaff; display: flex; } &:hover { background-color: #c5d8f0; border-radius: 5px; // border: 1px solid #90d8ff; box-sizing: border-box; .select { display: flex; background-color: #09aaff; } } } .pagination { width: 100%; display: flex; align-items: center; justify-content: center; margin-bottom: 10px; margin-top: 5px; min-height: 32px; } .wxSelect { position: absolute; top: 0; right: 0; // width: 200px; >div { margin-top: 0 !important; } } .pageVideo { position: relative; .pagePreview { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10; background-color: rgba(0, 0, 0, 0.6); color: #FFF; font-size: 14px; opacity: 0; transition: opacity 0.3s; cursor: pointer; border-radius: 6px; width: 60px; height: 27px; line-height: 27px; text-align: center; } &:hover .pagePreview { opacity: 1; } } .imgData { background-color: rgba(0, 0, 0, 0.1); border-radius: 6px; } .maskClass { background-color: rgba(0, 0, 0, 0.1); border-radius: 6px; >div { background-color: rgba(0, 0, 0, 0.7); padding: 4px 10px; border-radius: 6px; } } .moveSelected { position: fixed; top: 0; left: 0; border: 1px dashed #2783F5; pointer-events: none; }