@import '../../globaStyle.less';

page {
    background-color: #f6f6f6;
}

.my {
    .userInfo {
        position: relative;
        width: 100vw;
        height: 100vh;
        background: url("@src/icon/myBack.png");
        background-size: 100%;
        /* 设置背景图像为 100% 大小 */
        background-repeat: no-repeat;
        /* 禁止平铺 */
        background-position: 0 -13%;
        /* 设置背景图像的起始位置为 (0, 0) */

        .userInfo_box {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            min-height: 240px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 0 30px;
            box-sizing: border-box;

            .top {
                margin-top: 26px;
                display: flex;
                justify-content: space-between;
                align-items: center;

                .left {
                    display: flex;
                    justify-content: flex-start;
                    align-items: center;
                    flex: 1;

                    .avtai {
                        width: 130px;
                        height: 130px;
                        background: @bg_EC;
                        border-radius: 50%;
                        margin-right: 28px;

                        image {
                            width: 130px;
                            border-radius: 50%;
                        }
                    }

                    .name {
                        display: flex;
                        justify-content: flex-start;
                        align-items: center;
                        flex-wrap: wrap;
                        flex: 1;

                        .name_id {
                            display: flex;
                            align-items: center;
                            .copy {
                                width: 36px;
                                height: 40px;
                            }
                            .ID {
                                display: inline-block;
                                font-size: 32px;
                                font-family: PingFangSC-Medium, PingFang SC;
                                font-weight: 500;
                                color: @cl_666;
                                overflow: hidden;
                                text-overflow: ellipsis;
                                white-space: nowrap;
                                margin-right: 8px;
                                width: 70%;
                            }
                        }


                        .grade {
                            height: 36px;
                            width: 90px;
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            background-color: #EAC26E;
                            border-radius: 18px;

                            &>image {
                                width: 26px;
                                height: 22px;
                            }

                            &>text {
                                font-size: 24px;
                                font-family: PingFangSC-Regular, PingFang SC;
                                font-weight: 400;
                                color: #FFFFFF;
                                margin-left: 6px;
                            }
                        }
                    }

                }

                .right {
                    width: 318px;

                    .loginBt {
                        margin: 0;
                        padding: 0;
                        background-color: rgba(255, 255, 255, 0);
                        border-radius: 0;
                        height: 72px;

                        &::after {
                            border: 0;
                        }

                        image {
                            width: 318px;
                            height: 72px;
                        }
                    }
                }
            }

            .bottom {
                width: 100%;
                height: 156px;
                margin-top: 20px;
                position: relative;
                margin-bottom: 30rpx;

                &>view {
                    width: 100%;
                    height: 100%;
                    position: absolute;
                    top: 0;
                    left: 0;
                    right: 0;
                    bottom: 0;
                    display: flex;
                    justify-content: space-between;
                    padding: 0 28px;
                    box-sizing: border-box;
                    align-items: center;

                    .left {
                        display: flex;
                        align-items: center;

                        &>image {
                            width: 70px;
                            height: 60px;
                            margin-right: 20px;
                        }

                        &>.txt {
                            display: flex;
                            flex-direction: column;

                            text {
                                font-size: 32px;
                                font-family: PingFangSC-Regular, PingFang SC;
                                font-weight: 400;
                                color: #723700;
                            }

                            .tfv {
                                margin-top: 8px;
                                font-size: 24px;
                                color: #C3871A;
                            }
                        }

                    }

                    .right {
                        width: 164px;
                        height: 58px;
                        text-align: center;
                        line-height: 58px;
                        font-size: 28px;
                        font-family: PingFangSC-Regular, PingFang SC;
                        font-weight: 400;
                        color: #C3871A;
                        background: #FFFAE8;
                        border-radius: 28px;
                    }
                }

                image {
                    width: 100%;
                    height: 150rpx;
                    // background: linear-gradient( 180deg, rgba(255,255,255,0.89) 0%, rgba(255,255,255,0) 100%);
                    // border-radius: 0rpx 0rpx 0rpx 0rpx;
                    // opacity: 0.16649999999999998;
                }
            }
        }

        &>image {
            width: 100%;
            max-height: 372px;
        }
    }

    .account_info {
        width: 690rpx;
        height: 212rpx;
        background: #FFFFFF;
        border-radius: 20rpx 20rpx 20rpx 20rpx;
        padding: 30rpx;
        box-sizing: border-box;

        .account_info_title {
            width: 128rpx;
            height: 44rpx;
            font-family: PingFang SC, PingFang SC;
            font-weight: 500;
            font-size: 32rpx;
            color: #333333;
            line-height: 38rpx;
            text-align: left;
            font-style: normal;
            text-transform: none;
            margin-bottom: 20rpx;
        }

        .account_info_content {
            display: flex;
            justify-content: space-between;
            align-items: center;

            .account_info_content_btn {
                width: 164rpx;
                height: 56rpx;
                background: #FF415B;
                box-shadow: 0rpx 4rpx 8rpx 0rpx #FFADBA;
                border-radius: 30rpx 30rpx 30rpx 30rpx;
                font-family: PingFang SC, PingFang SC;
                font-weight: 500;
                font-size: 28rpx;
                color: #FFFFFF;
                line-height: 56rpx;
                text-align: center;
                font-style: normal;
                text-transform: none;
                text-align: center;
            }

            .account_info_content_left {
                .account_info_content_text {
                    display: flex;
                    flex-flow: column;
                    float: left;
                    align-items: center;

                    &:nth-child(2) {
                        margin-left: 86rpx;
                    }

                    text:last-child {
                        width: 48rpx;
                        height: 34rpx;
                        font-family: PingFang SC, PingFang SC;
                        font-weight: 400;
                        font-size: 24rpx;
                        color: #999999;
                        line-height: 28rpx;
                        text-align: left;
                        font-style: normal;
                        text-transform: none;
                    }

                    text:first-child {
                        height: 50rpx;
                        font-family: PingFang SC, PingFang SC;
                        font-weight: 500;
                        font-size: 36rpx;
                        color: #333333;
                        line-height: 42rpx;
                        text-align: left;
                        font-style: normal;
                        text-transform: none;
                    }
                }
            }


        }
    }

    .list_bt {
        background-color: #FFFFFF;
        margin-top: 30rpx;
        border-radius: 20px;
        padding: 36px 30px;
        box-sizing: border-box;

        .line {
            height: 2px;
            background: #E9E9E9;
        }

        .item {
            width: 100%;

            display: flex;
            justify-content: space-between;
            align-items: center;

            &:last-child {
                margin-top: 34px;
            }

            &:first-child {
                margin-bottom: 34px;
            }

            &>view {
                display: flex;
                align-items: center;
            }

            .left {
                image {
                    width: 36px;
                    margin-right: 16px;
                }

                text {
                    font-size: 32px;
                    font-family: PingFangSC-Regular, PingFang SC;
                    font-weight: 400;
                    color: @cl_333;
                }
            }

            .right image {
                width: 28px;
                height: 28px;
            }
        }
    }

    .signIn {
        height: 384px;
        background-color: #FFFFFF;
        border-radius: 20px;
        margin: 100px 30px 0;
        padding: 30px 28px;
        box-sizing: border-box;

        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;

            .left {
                font-weight: 600;
                color: #333333;
                font-size: 32px;
            }

            .right {
                font-weight: 500;
                color: #666666;
                font-size: 24px;
            }
        }

        .ins {
            display: flex;
            justify-content: space-between;
            margin-bottom: 20px;

            &>view {
                &>.top {
                    border-radius: 10px;
                    width: 80px;
                    background-color: #f7f7f7;
                    height: 110px;
                    margin-bottom: 10px;
                    padding: 12px 10px;
                    box-sizing: border-box;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                    align-items: center;

                    &>image {
                        width: 60px;
                        height: 60px;
                    }

                    &>text {
                        font-size: 24px;
                        font-weight: 500;
                        color: #999999;
                        text-align: center;
                    }
                }

                &>.bottom {
                    font-size: 24px;
                    font-weight: 400;
                    color: #999999;
                    text-align: center;
                }

                &.needSign {
                    &>.top {
                        background-color: #FFF3C9;

                        &>text {
                            color: #FF9A08;
                        }
                    }

                    &>.bottom {
                        color: #FFBF1C;
                    }
                }
            }
        }

        .signBt {
            width: 428px;
            height: 85px;
            text-align: center;
            line-height: 85px;
            background-image: linear-gradient(#FF6178, #FF3154);
            border-radius: 50px;
            color: #FFFFFF;
            margin: 0 auto;
            font-size: 32px;
            font-weight: 600;
            letter-spacing: 3px;
        }

        .signBtSucc {
            background: #D2D2D2;
        }
    }

    .crous {
        height: 448px;
        margin-top: 30px;
        margin-bottom: 30px;

        .header>.right {
            display: flex;
            align-items: center;

            &>image {
                width: 28px;
                height: 28px;
            }
        }

        .task {
            margin: 24px 8px;

            &>View {
                height: 80px;
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-bottom: 36px;

                .left {
                    display: flex;
                    justify-content: flex-start;
                    align-items: center;

                    .title {
                        color: #333333;
                        font-weight: 400;
                        font-size: 28px;
                        margin-left: 18px;
                        margin-right: 20px;
                    }

                    &>image {
                        width: 44px;
                        height: 52px;
                    }

                    .reward {
                        font-weight: 400;
                        color: #FF9302;
                        font-size: 28px;
                    }

                    .bean {
                        width: 40px;
                        height: 40px;
                    }
                }

                .right {
                    width: 160px;
                    height: 60px;
                    border-radius: 40px;
                    color: #FFFFFF;
                    text-align: center;
                    line-height: 60px;
                    background-color: #FF415B;
                    font-weight: 500;
                    font-size: 24px;
                }

                .rightSucc {
                    background-color: #FFFFFF;
                    border: 2px solid #FF415B;
                    color: #FF415B;
                }
            }
        }
    }
}