.cloudNew_layout { display: flex; min-width: 1200px; height: calc(100vh - 98px); flex-direction: column; gap: 6px; } .cloudNew_search {} .cloudNew { display: flex; flex: 1 0; overflow: hidden; height: 100%; .folder { width: 238px; border-right: 1px solid #e8eaec; overflow: hidden; display: flex; flex-direction: column; .top { border-bottom: 1px solid #e8eaec; padding: 6px; display: flex; flex-direction: column; flex: 0 1; } .bottom { padding: 4px 6px 4px 2px; flex: 1 0; overflow: hidden; overflow-y: auto; } } } .material { flex: 1 0; overflow: hidden; display: flex; flex-direction: column; .operates { border-bottom: 1px solid #e8eaec; padding: 8px 16px; flex: 0 1; display: flex; justify-content: space-between; } .left_bts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; } .content { width: 100%; flex: 1 0; overflow: hidden; min-height: 100px; } .content_scroll { height: 100%; overflow-y: auto; padding: 12px; div.content_scroll_div { display: flex; // gap: 10px; flex-wrap: wrap; } .placeholder { position: absolute; pointer-events: none; color: #6c6c6c; width: 100%; height: 100%; font-weight: 600; font-size: 18px; display: flex; justify-content: center; align-items: center; z-index: 100; background-color: rgba(255, 224, 224, 0.5); border: 1px dashed 9b9b9b; } .dragOver { color: red; border: 1px dashed red; } } .content_row { padding: 4px; >div { border-radius: 6px; } } .content_col { user-select: none; /* 对大多数浏览器有效 */ -webkit-user-select: none; /* Safari */ -moz-user-select: none; /* Firefox */ -ms-user-select: none; /* Internet Explorer/Edge */ &:hover .body .detailBt { display: inline; } } .content_cover { padding: 10px; background-color: #ececec; border-top-left-radius: 6px; border-top-right-radius: 6px; position: relative; display: flex; justify-content: center; align-items: center; transition: all 0.2s; .checkbox { position: absolute; top: 6px; left: 10px; } .coverImg { max-width: 100%; max-height: 100%; } .file_info { position: absolute; bottom: 5px; padding: 0 10px; display: flex; justify-content: space-between; width: 100%; >div { background-color: rgba(0, 0, 0, 0.75); padding: 0 4px; border-radius: 4px; color: #fff; font-size: 12px; } } .playr { position: absolute; width: 35px; height: 35px; top: 50%; left: 50%; transform: translate(-50%, -50%); >img { width: 100%; height: 100%; } } .imgPreview { position: absolute; top: 50%; left: 50%; color: #fff; padding: 1px 8px; transform: translate(-50%, -50%); background-color: rgba(0, 0, 0, 0.55); border-radius: 6px; opacity: 0; transition: opacity 0.2s; } .move { position: absolute; top: 6px; right: 10px; cursor: grab; color: rgb(153, 153, 153); opacity: 0; } &:hover { .file_info>div { opacity: 0.25; } .imgPreview { opacity: 1; } .move { opacity: 1; } } } .body { padding: 6px 10px; display: flex; justify-content: space-between; align-items: center; gap: 10px; .title { flex: 1 0; overflow: hidden; span:hover { color: #1890ff; } } .detailBt { font-size: 12px; display: none; transition: opacity ease-in-out .2s; } } .actions { // border-top: 1px solid rgba(0, 0, 0, .06); padding: 4px 10px; display: flex; justify-content: space-between; line-height: 20px; } .fotter { flex: 0 1; border-top: 1px solid #e8eaec; padding: 8px 16px; } } .file { position: relative; cursor: pointer; >input { opacity: 0; position: absolute; display: block; top: 0; left: 0; cursor: pointer; right: 0; bottom: 0; width: 100%; font-size: 0; >span { display: none; } } } .file_details { display: flex; gap: 10px; .details_left { width: 300px; img, video { width: 100%; margin-bottom: 10px; } } .details_right { flex: 1 0; overflow: hidden; display: flex; flex-direction: column; gap: 10px; } .details_xq { width: 100%; margin-block-start: 0; margin-block-end: 0; padding-inline-start: 0; li { display: flex; justify-content: space-between; >span { font-size: 12px; display: inline-block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; &:first-child { width: 85px; } &:last-child { width: 175px; text-align: right; } } >div { width: 175px; text-align: right; font-size: 12px; >span { width: 100%; } } } } } .divFooter { height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 10px; .selectedCloud { flex: 1 0; overflow: hidden; overflow-x: auto; height: 40px; >div { height: 38px; display: flex; gap: 8px; align-items: center; &::-webkit-scrollbar { width: 1px; /* 垂直滚动条宽度 */ height: 1px; /* 水平滚动条高度 */ } @-moz-document url-prefix() { .selectedCloud { scrollbar-width: none; } } } } .selectedCloud_col { width: 58px; height: 28px; background-color: #d4d4d4; border-radius: 6px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; >img { max-width: 100%; max-height: 100%; } .cz { opacity: 0; padding: 0 4px; border-radius: 4px; background-color: rgba(0, 0, 0, 0.75); position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); transition: all .2; display: flex; gap: 4px; } &:hover .cz { opacity: 1; } } } .select_cloudNew_layout { display: flex; width: 100%; height: 100%; flex-direction: column; gap: 6px; }