//图片上传 .image-upload{ .pic-wrap { width: 100%; .fileCon { border-bottom: 1px solid #f7f7f7; display: flex; flex-direction: row; flex-wrap: wrap; .list { width: 100%; display: flex; flex-direction: row; flex-wrap: wrap; & > div { width: 50px; height: 50px; margin: 10px 10px 10px 10px; position: relative; background: #F6F6F6; & > img { width: 100%; height: 100%; } .close { width: 15px; height: 15px; position: absolute; top: -7px; right: -7px; } img{ width: 100%; height: 100%; } } .add-image { width: 50px; height: 50px; display: flex; justify-content: center; align-items: center; img { width: 30%; height: 30%; } } } } } .preview-image { width: 95%; max-height: 95%; } } //文件上传 .file-upload{ .pic-wrap { width: 100%; border-bottom: 1px solid #f7f7f7; .file-wrap { .list { .list-file { //margin: 6px 10px 0px 10px; padding: 5px 10px; box-sizing: border-box; display: flex; flex-direction: row; justify-content: space-between; position: relative; .file-left { flex:1; max-width: 35px; max-height: 35px; img { width: 35px; height: 35px; } } .file-cen { display: -webkit-flex; display: flex; flex-direction: column; justify-content: left; min-width: 160px; width: calc(100% - 95px); font-size: 12px; padding-left: 6px; .fileName{ width: 100%; text-overflow: ellipsis; white-space: nowrap; overflow: hidden; padding: 2px 0; } .size { color: #cccccc; } } .file-right { min-width: 20px; max-width: 60px; margin-left: 8px; display: -webkit-flex; display: flex; flex-direction: row; align-items: center; justify-content: space-between; .file-download { width:18px; font-size: 17px; // margin-right: 18px; } .img-box { margin-left: 18px; img { width: 15px; height: 15px; } } } .file-right-read { min-width: 20px; max-width: 60px; margin-left: 8px; display: -webkit-flex; display: flex; flex-direction: row; align-items: center; justify-content: flex-end; .file-download { font-size: 17px; } } .file-cen-read { width: calc(100% - 70px);; } } .add { width: 50px; height: 50px; margin: 10px 10px 10px 10px; position: relative; background: #f7f7f7; & > img { width: 100%; height: 100%; } .add-file { width: 50px; height: 50px; display: flex; justify-content: center; align-items: center; img { width: 30%; height: 30%; } } } } } } } //加载中 .loading { width:100%; height:40px; display:flex; align-items:center; justify-content:center; .text { font-size:14px; margin-left:10px; } } .preview-file{ width:100%; height:84%; overflow-y:auto; overflow-x:auto; //pdf弹窗按钮样式 .arrow-box { width: 100%; height: 40px; display: flex; position: fixed; line-height: 60px; border-top: 1px solid #D9D9D9; bottom: 0; // justify-content: flex-end; align-items: center; background: #ffffff; .page { display: inline-block; } span{ // border: 1px solid red; // position: absolute; // margin: 0 15%; // left: 32%; } div{ width:24%; height: 38px; background-color: #EBEBEB; border-radius:4px; display: flex; align-items: center; justify-content: center; } .previous{ position: absolute; left: 10px; top: 10px; } .previous_disabled{ position: absolute; left: 10px; top: 10px; background: #FAFAFA; } .next{ position: absolute; right: 10px; top: 10px; } .next_disabled{ position: absolute; right: 10px; top: 10px; background: #FAFAFA; } .next,.previous:active{ background: #E5E5E5; } } }