123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497 |
- .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;
- top: 0;
- left: 0;
- }
- .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;
- z-index: 1;
- }
- .coverImg {
- max-width: 100%;
- max-height: 100%;
- }
- .file_info {
- position: absolute;
- bottom: 5px;
- padding: 0 10px;
- display: flex;
- justify-content: space-between;
- width: 100%;
- z-index: 1;
- >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;
- z-index: 1;
- }
- .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;
- border: 1px solid transparent;
- &.active {
- border-color: red;
- }
- >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;
- z-index: 1;
- }
- &:hover .cz {
- opacity: 1;
- }
- }
- }
- .select_cloudNew_layout {
- display: flex;
- width: 100%;
- height: 100%;
- flex-direction: column;
- gap: 6px;
- }
- .mediaPic_select {
- width: 100%;
- height: 100%;
- display: flex;
- border-radius: 4px;
- overflow: hidden;
- justify-content: center;
- align-items: center;
- .mediaPicImgList {
- display: flex;
- width: 100%;
- }
- .mediaPicImgList1 {
- >img {
- height: 100%;
- }
- }
- .mediaPicImgList3 {
- flex-wrap: wrap;
- >img {
- width: calc(33.33% - 2px);
- object-fit: contain;
- &:not(:first-child) {
- margin-left: 3px;
- }
- }
- }
- .mediaPicImgList4,
- .mediaPicImgList6 {
- flex-wrap: wrap;
- height: 120px;
- width: 120px;
- column-gap: 3px;
- >img {
- height: calc(50% - 1.5px);
- object-fit: contain;
- &:nth-child(1),
- &:nth-child(2) {
- margin-bottom: 3px;
- }
- }
- }
- .mediaPicImgList6 {
- width: 100%;
- justify-content: center;
- }
- .mediaPicImgList9 {
- flex-wrap: wrap;
- height: 120px;
- width: 120px;
- column-gap: 1.5px;
- >img {
- height: calc(33.333% - 1.5px);
- object-fit: contain;
- }
- }
- }
|