.container-photo{
    /* 弹性布局 默认水平排列 */
    display: flex;
    justify-content: center;
    padding: 2%;
    width: 60vmin;
    width: 90vmax;
    height: 20vmin;
    height: 30vmax;
    margin: 0 auto;
    user-select:none;
    /* 溢出隐藏 */
}
.item{
    /* 相对定位 */
    display: flex;
    width: 6.5vh;
    margin: 10px;
    cursor: pointer;
    border-radius: 2.8vh;
    align-items: flex-end;
    /* 保持原有尺寸比例，裁切长边 */
    background-size: cover;
    /* 定位背景图像为正中间 */
    background-position: center;
    /* 过渡效果：时长 贝塞尔曲线 */
    transition: 0.5s cubic-bezier(0.05,0.51,0,0.91);
    /* 超出隐藏 */
    overflow: hidden;
}
.item .content-photo{
    flex-direction: row;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding: 0 0 1.5vh 3.81vh;
    left: 10px;
    transition: 0.5s cubic-bezier(0.05,0.61,0.41,0.95);
    width: 100%;
    height: 100%;
    /* 允许下面文本自动填充 */
    flex-grow: 1;
}
.item .content-photo .icon{
    display: flex;
    min-width: 3.3vh;
    width: 3.3vh;
    height: 3.3vh;
    border-radius: 50%;
    background-color: #ffffff7a;
    flex-grow: 1;
    transition-delay: 0.1s;
    transition: 1s;
/* 暂弃 */
    /* font-size: 16px; */
}
.item:nth-child(1) .fa{
    color: #fc6e51;
}
.item:nth-child(2) .fa{
    color: #ffce54;
}
.item:nth-child(3) .fa{
    color: #2ecc71;
}
.item:nth-child(4) .fa{
    color: #5d9cec;
}
.item:nth-child(5) .fa{
    color: #ac92ec;
}
.item .content-photo .text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: 1vh;
    color: #fff;
    width: 100%;
}
.item .content-photo .text div{
    /* 超出显示省略号（需要设置width） */
    width: calc(100% - 70px);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.5s ease-out;
}
.item .content-photo .text .tit{
    font-weight: bold;
    font-size: 1vmax;
}
.item .content-photo .text .sub{
    /* 设置过渡效果延迟时间 */
    transition-delay: 0.11s;
    font-weight: bold;
    font-size: 1.1vmax;
}
/* 选中态样式 */
.item.active{
    width: 20vmin;
    width: 45vmax;
    margin: 10px;
    border-radius: 2.8vh;
}
.item.active .content-photo{
    bottom: 20px;
    left: 20px;
    padding: 0 0 1.5vh 1.5vh;
}
.item.active .content-photo .text{
    margin: 0 0 -1vh 1vh;
}
.item.active .content-photo .text div{
    opacity: 1;
}
.item.active .content-photo .icon{
    background-color: #2a2727cb;
    transition: 1s;
}
/* 手机端适配 */
@media screen and (max-width: 720px) {
    .container-photo{
        display: none;
    }
}