@import "./index.skeleton.wxss";

.messagePage {
    overflow: hidden;
    padding-top: 55rpx;
 
    .messageList {
        padding: 0rpx 25rpx 250rpx;
        box-sizing: border-box;

        .fixed {
            margin: 0 auto 55rpx;
            width: 700rpx;
            padding: 46rpx 50rpx 40rpx;
            box-sizing: border-box;
            background: #FFFFFF;
            box-shadow: 0rpx 2rpx 14rpx 0rpx rgba(0, 0, 0, 0.07);
            border-radius: 30rpx;

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

                .authority {
                    position: relative;
                    display: flex;
                    align-items: center;

                    .avatar {
                        width: 86rpx;
                        height: 125rpx;
                    }

                    .unread {
                        top: -4rpx;
                        right: -10rpx;
                        position: absolute;
                        width: 32rpx;
                        height: 32rpx;
                        line-height: 32rpx;
                        border-radius: 550rpx;
                        color: white;
                        font-size: 20rpx;
                        text-align: center;
                        background-color: #FF0000;
                    }
                }
            }

            .searchBox {
                margin: 30rpx auto 0;
                width: 504rpx;
                padding: 12rpx;
                background: #F2F6FC;
                border-radius: 27rpx;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 27rpx;
                color: #666666;

                .search-icon {
                    margin-left: 22rpx;
                    width: 28rpx;
                    height: 28rpx;
                }
            }
        }

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

            .avatar {
                margin-right: 20rpx;
                border-radius: 50rpx;
                width: 80rpx;
                height: 80rpx;
                background-color: #EEEEEE;
            }

            .infoBox {
                height: 110rpx;
                flex: 1;
                display: flex;
                align-items: center;
                justify-content: space-between;
                border-bottom: 1rpx solid #D8D8D8;
                padding: 20rpx 0;
                box-sizing: border-box;
                .body {
                    flex: 1;
                    .name {
                        max-width: 330rpx;
                        font-size: 30rpx;
                        color: #000;
                    }
                }

                .right {
                    min-width: 140rpx;
                    display: flex;
                    flex-direction: column;
                    align-items: flex-end;

                    .date {
                        font-size: 24rpx;
                    }

                    .unread {
                        margin-top: 6rpx;
                        width: 32rpx;
                        height: 32rpx;
                        line-height: 32rpx;
                        border-radius: 550rpx;
                        color: white;
                        font-size: 20rpx;
                        text-align: center;
                        background-color: #FF0000;
                    }
                }
            }
        }

        .user {
            .info {
                margin-top: 8rpx;
                width: 400rpx;
                color: #969696;
                font-size: 24rpx;
            }
        }

        .pressHover {
            background-color: #f1f1f1;
        }
    }

    .menuBg {
        position: fixed;
        top: 0px;
        left: 0px;
        width: 100vw;
        height: 100vh;
    }

    .menu {
        position: fixed;
        width: 278rpx;
        // height: 180rpx;
        padding: 20rpx 20rpx;
        box-sizing: border-box;
        border-radius: 24rpx;
        background-color: white;
        box-shadow: rgba(0, 0, 0, 0.24) 0px 6rpx 16rpx;

        view {
            height: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .icon {
            width: 30rpx;
            height: 30rpx;
            margin-right: 16rpx;
        }

        .menu-one {
            // border-bottom: 1rpx solid #D8D8D8;

            .icon {
                width: 22rpx;
                height: 28rpx;
            }
        }
    }

    .skeleton {
        width: 100%;
        height: 80vh;
        position: relative;

        .messageList {
            padding: 0rpx;
        }
    }
}