/*上传图片插件的样式*/ .img-box{ margin-top:0.6rem; padding-bottom:2rem; } .img-box .up-p{ margin:0 0.26rem; margin-bottom:0.2rem; font-size:0.24rem; color: #555; } .z_photo{ padding:0.2rem; border:2px dashed #E7E6E6; margin:0 0.1rem; /*padding: 18px;*/ } .z_photo .z_file{ position: relative; } .z_file .file{ width: 100%; height: 100%; opacity: 0; position: absolute; top: 0px; left: 0px; z-index: 100; } .z_photo .up-section{ position: relative; margin-right:0.2rem; margin-bottom:0.2rem; } .up-section .close-upimg{ position: absolute; top:0; right:0; display: none; z-index: 10; width:100%; height:100% } .up-section .up-span{ display: block; width: 100%; height: 100%; visibility: hidden; position: absolute; top: 0px; left: 0px; z-index: 9; background: rgba(0,0,0,.5); } .up-section:hover{ border: 2px solid #f15134; } .up-section:hover .close-upimg{ display: block; } .up-section:hover .up-span{ visibility: visible; } .z_photo .up-img{ display: block; width: 100%; height: 100%; } .loading{ border: 1px solid #D1D1D1; background:url(../img/loading.gif) no-repeat center; } .up-opcity{ opacity: 0; } .img-name-p{ display: none; } .upimg-div .up-section { width: 1.4rem; height: 1.4rem; } .img-box .upimg-div .z_file { width:1.4rem; height:1.4rem; } .z_file .add-img { display: block; width: 1.4rem; height: 1.4rem; } /*遮罩层样式*/ .mask{ z-index: 1000; display: none; position: fixed; top: 0px; left: 0px; width: 100%; height: 100%; background: rgba(0,0,0,.4); } .mask .mask-content{ width:5rem; position: absolute; top: 50%; left: 50%; margin-left: -2.5rem; margin-top: -1.4rem; background: white; height:2.5rem; text-align: center; } .mask .mask-content .del-p{ color: #555; height:1.5rem; line-height:1.5rem; font-size:0.28rem; border-bottom: 1px solid #D1D1D1; } .mask-content .check-p{ height:1.5rem; line-height:1.5rem; position: absolute; bottom: 0px; left: 0px; width: 100%; } .mask-content .check-p span{ width: 49%; display:inline-block; text-align: center; color:#d4361d ; font-size: 0.28rem; } .check-p .del-com{ border-right: 1px solid #D1D1D1; }