/*单图上传*/
.form-upload-image {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 15px;
    position: relative;

    img {
        max-height: 220px;
        width: 100%;
        border: #dedede dashed 1px;
    }

    .info {
        width: 100%;
        /*display: flex;*/
        position: absolute;
        bottom: 0;
        display: none;
    }

    :hover .info {
        display: flex;
    }

    .layui-btn + .layui-btn {
        margin-left: unset;
        border-radius: unset;
    }
}


.form-upload-images {
    .img-list {
        display: flex;
        flex-wrap: wrap;
        li {
            position: relative;
            float: left;
            margin-right: 5px;
            margin-bottom: 10px;
            border: 1px dashed #e2e2e2;

            img {
                height: 220px;
                min-width: 30px;
            }

            &:hover {
                .info {
                    display: block;
                }
            }

            .info {
                display: none;
                color: #009b9b;
                input{
                    position: absolute;
                    bottom: 0;
                }
                .toClose {
                    position: absolute;
                    top: 5px;
                    right: 5px;
                    cursor: pointer;
                }
                .toLeft {
                    position: absolute;
                    top: 85px;
                    left: 5px;
                    cursor: pointer;
                }
                .toRight {
                    position: absolute;
                    top: 85px;
                    right: 5px;
                    cursor: pointer;
                }

            }

        }
    }
}