.btn-close{ position: absolute; top: -8px; right: -8px; width: 17px; height: 17px; background: url('../images/bg_icon.png') no-repeat -25px 0; cursor: pointer; } .btn-close:hover { text-decoration: none; border-bottom: 0 none; } .upload-img-box .upload-pre-item{ position: relative; margin-top: 8px; overflow: visible; float: left; margin-right: 8px; } .upload-pre-item img{ max-height: 64px; } /* 上传图片点击弹出层 */ .uploadback { z-index: 99999; position: fixed; left: 0; top: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.8); } .upload-img-popup { position: fixed; z-index: 9999; padding: 3px; border: 1px solid #c3c3c3; background-color: #fff; box-shadow: 0 0 4px rgba(0,0,0,.5); } .upload-img-popup img{ display: inline-block; max-height: 500px; max-width: 500px; cursor: pointer; } .upload-img-popup .close-pop { position: absolute; top: -8px; right: -8px; width: 17px; height: 17px; background: url('../images/bg_icon.png') no-repeat -25px 0; } .upload-img-popup .close-pop:hover { text-decoration: none; border-bottom: 0 none; } .upload-img-popup img { display: block; } .upload_icon_all { width: 15px; height: 15px; background: url('../images/attachment_1.png'); display: inline-block; vertical-align: middle; margin-right: 5px }