/* nova-tourism/components/collect/index.wxss */
.all{
    width: 100vw;
    overflow-y: scroll;
    padding-bottom: 30rpx;
    color: #382E2E;
    font-weight: 400;
    font-family: "Microsoft JhengHei", "PingFang SC", "Helvetica Neue", sans-serif; 
    .img2{
        width: 100%;
        height: 442rpx;
    }
    //云上风物
    .box{
        width: 100%;
        padding-left: 30rpx;
        padding-right: 30rpx;
        padding-top: 20rpx;
        .taps{
            width: 100%;
            height: 220rpx;
            display: flex;
            justify-content: space-around;
            border-bottom: solid 4rpx #99B6A0;
            .tap{
                display: flex;
                justify-content: center;
                align-items: center;
                flex-direction: column;
                image{
                    width: 100rpx;
                    height: 100rpx;
                    border-radius: 50%;
                }
                .tap-tex{
                    font-size: 26rpx;
                    margin-top: 20rpx;
                    color: #969696 ;
                }
            }
        }
        .box-tex{
            font-size: 32rpx;
            color: #67806A;
            margin-top: 10rpx;
            margin-bottom: 20rpx;
        }
        .picturebox{
            width: 100%;
            height: 500rpx;
            position: relative;
            .img{
                width: 100%;
                height: 500rpx;
                image{
                    width: 100%;
                    height: 100%;
    
                }
            }
            .numberbox{
                position: absolute;
                bottom: 40rpx;
                right: 20rpx;
                border-radius: 45%;
                z-index: 10;
                color: white;
                width: 70rpx;
                height: 45rpx;
                font-size: 24rpx;
                display: flex;
                justify-content: center;
                align-items: center;
                background-color: rgba(12, 12, 12, 0.5);
            }
    
        }
        .wangbox{
            width: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
            margin-top: 40rpx;
            margin-bottom: 20rpx;
            .wang{
                width: 200rpx;
                height: 60rpx;
                font-size: 32rpx;
                color: #67806A;
                background-image: url(https://file-cloud.fmode.cn/EbxZUK5lBI/20241126/dm1jj2032446503.png?imageView2/1/w/200/h/200);
                background-position: center; /* 背景图片居中 */
                // background-size: cover; /* 背景图片覆盖整个元素 */
                background-repeat: no-repeat; /* 不重复背景图片 */
                display: flex;
                justify-content: center;
                align-items: center;
            }
            .wang2{
                font-size: 28rpx;
                color: #969696;
            }
        }
        .wang-cardbox{
            margin-top: 40rpx;
            width: 100%;
            background-color: white;
            overflow-y: hidden;
            padding-left: 3%;
            padding-right: 3%;
            padding-bottom: 40rpx;
            column-count: 2; /* 设置列数 */
            column-gap: 20rpx; /* 设置列间距 */
            .wang-card{
                break-inside: avoid; /* 防止卡片在列之间断裂 */
                margin-bottom: 20rpx; /* 设置卡片底部间距 */
                width: 100%; /* 确保卡片宽度为100% */
                
                image{
                    width: 100%;
                    height: 275rpx;
                    border-radius: 15rpx;
                }
                .wang-catex{
                    font-size: 28rpx;
                }
                .wang-numbox{
                    width: 100%;
                    height: 80rpx;
                    display: flex;
                    align-items: center;
                    .wang-num{
                        display: flex;
                        justify-content: flex-end;
                        align-items: flex-end;
                        color: #C5262Ced;
                        font-size: 30rpx;
                        .wang-num1{
                            font-size: 32rpx;
                        }
                        .wang-num2{
                            font-size: 36rpx;
                        }
                    }
                    .wang-submit{
                        width: 100rpx;
                        height: 50rpx;
                        font-size: 30rpx;
                        color: white;
                        background-color: #F8DA7F;
                        border-radius: 40rpx;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        margin-left: auto;
                    }
                }
            }
        }
        .more{
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            .more-tex{
                font-size: 28rpx;
                color: #969696;
            }
        }
    }


    //我的收藏
    .Legendary-Information{
        margin-top: 44rpx;
        width: 100%;
        background-color: white;
        overflow-y: hidden;
        padding-left: 3%;
        padding-right: 3%;
        padding-bottom: 40rpx;
        column-count: 2; /* 设置列数 */
        column-gap: 10rpx; /* 设置列间距 */
        .cardbox {
            break-inside: avoid; /* 防止卡片在列之间断裂 */
            margin-bottom: 20rpx; /* 设置卡片底部间距 */
            width: 346rpx;
            height: 398rpx; /* 确保卡片宽度为100% */
            background-color: #F9F9F9;
            display: flex;
            align-items: center;
            flex-direction: column;
            .pic{
                width: 336rpx;
                height: 198rpx;
                border-radius: 10rpx;
            }
            .textobx{
                width: 302;
                height: 152rpx;
                margin-bottom: 20rpx;
                .title{
                    width: 100%;
                    height: 50rpx;
                    margin-top: 4rpx;
                    display: flex;
                    align-items: center;
                    .til{
                        font-size: 28rpx;
                        font-weight:700;
                    }
                    .collect{
                        width: 46rpx;
                        height: 46rpx;
                        margin-left: auto;
                    }
                }
                .miaosu{
                    width: 284rpx;
                    height: 70rpx;
                    font-size: 26rpx;
                    font-weight: 400;
                    overflow: hidden;
                    display: -webkit-box;
                    -webkit-box-orient: vertical;
                    -webkit-line-clamp: 2;
                    text-overflow: ellipsis;
                }
                .bottom{
                    width: 100%;
                    height: 46rpx;
                    margin-top: 4rpx;
                    display: flex;
                    .qian{
                        font-size: 28;
                        font-weight: 400;
                        color: #C5262Ced;
                        display: flex;
                        .numbox{
                            margin-left: 6rpx;
                        }
                    }
                    .soucang{
                        width: 118rpx;
                        height: 46rpx;
                        font-size: 24rpx;
                        font-weight: 700;
                        background-color: #343027;
                        border-radius: 40rpx;
                        color: white;
                        margin-left: auto;
                        display: flex;
                        justify-content: center;
                        align-items: center;
                    }
                }
            }
        }
    }
    //选中
    @font-face {
        font-family: 'NotoSans-Bold-5';
        src: url('../../styles/font/Noto-sans/NotoSans-Bold-5.ttf'); /* 字体文件路径 */
    }
    //为选中
    @font-face {
        font-family: 'NotoSans-Regular-2';
        src: url('../../styles/font/Noto-sans/NotoSans-Regular-2.ttf'); /* 字体文件路径 */
    }
    
    .tab-bar {
        display: flex;
        justify-content: space-around;
        margin-top: 28rpx;
        font-family: 'NotoSans-Regular-2', sans-serif;
      }
      
      .tab-item {
        padding: 10rpx 0;
        text-align: center;
        position: relative;
        color: #969696;
        font-size: 28rpx;
        font-weight: 400;
      }
      
      .tab-item.active {
        position: relative;
        color: #67806A;
        font-size: 32rpx;
        font-weight: 500;
        font-family: 'NotoSans-Bold-5', sans-serif;
      }
      
      .tab-item.active::after {
        content: "";
        width: 64rpx;
        position: absolute;
        left: calc(50% - 32rpx); 
        right: calc(50% - 32rpx); 
        bottom: 0;
        height: 6rpx;
        background-color: #67806A;
        border-radius: 4rpx;
        
      }

}