.mask-parent:hover .contents-text {
    background-color: #d8b207;
    color: #fff;
    transition: .5s;
}

.mask-parent:hover p {
    color: #fff;
    transition: .5s;
}

.mask-parent {
    width: 320px;
    margin: 10px;
    position: relative;
}

@media (max-width: 999px) {
    .icon {
        width: 20px;
        height: 20px;
    }
    .page-top-block {
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        padding: 0 15px;
    }
    .top-nav-list {
        margin: 12px 0 0 25px;
        display: none;
    }
    #top-nav-list-item {
        color: #fff;
        background-color: #d8b207;
    }
    .top-nav-list li {
        margin: 10px 7px;
        list-style: none;
        cursor: pointer;
    }
    .top-nav-list li a {
        background-color: #fff;
        border: 1px solid #CCCCCC;
        border-radius: 6px;
        font-size: 14px;
        padding: 8px 13px;
        text-decoration: none;
        color: #000;
    }
    #active a {
        color: #fff;
        background-color: #d8b207;
        padding: 8px 40px;
        border-radius: 20px;
    }
    .contents-image {
        max-width: 100%;
        height: auto;
    }
    .contents div:hover {
        cursor: pointer;
    }
    .contents-text {
        padding: 10px 0;
    }
    .contents-text span {
        font-size: 15px;
        margin: 10px 0;
    }
    .contents-text p {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        font-size: 12px;
        margin-top: 10px;
        color: rgba(24, 24, 24, 0.671);
    }
    .mask-parent:hover .mask {
        opacity: .5;
        transition: 1s;
    }
    .mask {
        background-color: #000;
        position: absolute;
        opacity: 0;
        /* 解决有遮罩层绝对定位时，点击图片无法触发事件，比如代码中的 deleteImg 事件 */
        pointer-events: none;
        top: 0;
        left: 0;
        width: 320px;
        height: 190px;
    }
    .mask-cirl {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: #d8b207;
        position: absolute;
        top: 34%;
        left: 44%;
    }
    .mask img {
        width: 30px;
        height: 30px;
        top: 15%;
        left: 15%;
        position: absolute;
    }
    .img-parent {
        width: 320px;
        height: 190px;
    }
    .allButton {
        background-color: #d8b207;
        border-radius: 6px;
        color: #fff;
        cursor: pointer;
        display: none;
    }
    img {
        max-width: 100%;
    }
}

@media (min-width: 1000px) {
    body {
        background-color: #F1F3F5;
    }
}

.contents {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    display: flex;
    overflow: hidden;
}

.contents-image {
    width: 100%;
    height: 100%;
}

.contents div:hover {
    cursor: pointer;
}

.contents-text {
    padding: 10px 14px;
}

.contents-text span {
    font-size: 15px;
    margin: 10px 0;
}

.contents-text p {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    font-size: 12px;
    margin-top: 10px;
    color: rgba(24, 24, 24, 0.671);
}

.mask-parent {
    display: block;
    position: relative;
}

.mask-parent:hover .mask {
    opacity: .5;
    transition: 1s;
}

.mask {
    background-color: #000;
    position: absolute;
    opacity: 0;
    /* 解决有遮罩层绝对定位时，点击图片无法触发事件，比如代码中的 deleteImg 事件 */
    pointer-events: none;
    top: 0;
    left: 0;
    width: 320px;
    height: 190px;
}

.mask-cirl {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #d8b207;
    position: absolute;
    top: 34%;
    left: 44%;
}

.mask img {
    width: 30px;
    height: 30px;
    top: 15%;
    left: 15%;
    position: absolute;
}

.img-parent {
    width: 320px;
    height: 190px;
}