/* 切换栏 */ .navbar-box { width: 100%; /* height: 100%; */ position: fixed; top: 0; left: 0; background-color: #ffffff; display: flex; justify-content: center; } .navbar-box-container { box-sizing: border-box; position: absolute; display: flex; align-items: center; z-index: 999; } .navbar-box-container .navbar-location { width: 48rpx; height: 48rpx; margin-left: 20rpx; } .navbar-box-container .navbar-tips { color: #333333; font-weight: 500; font-size: 36rpx; text-align: center; } .navbar-box-container .navbar-arrow { width: 40rpx; height: 40rpx; } .message-box { padding: 0 20rpx; padding-bottom: 40rpx; } .tabs-wrap { height: 120rpx; background: #fff; position: relative; } .tabs-wrap .item { height: 100%; font-size: 28rpx; color: #666666; position: relative; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; margin-left: 48rpx; } .tabs-wrap .item:first-child { margin-left: 30rpx; } .tabs-wrap image { width: 30rpx; height: 30rpx; position: absolute; right: 40rpx; } .message-icon { width: 27rpx; height: 27rpx; background-color: #FF4414; border-radius: 50%; position: absolute; top: 33rpx; right: -16rpx; color: #FFFFFF; font-size: 24rpx; line-height: 27rpx; text-align: center; } .tabs-wrap .item.line::before { content: ''; position: absolute; right: -80rpx; top: 26rpx; width: 2rpx; height: 44rpx; background-color: #EEEEEE; border-radius: 16rpx; } .tabs-wrap .item.active { font-family: PingFangSC-Medium, PingFang SC; font-weight: 600; color: #333333; font-size: 36rpx; } .tabs-wrap .item.active::before { content: ''; position: absolute; top: 90rpx; width: 40rpx; height: 8rpx; background: linear-gradient(144deg, #FA7D22 0%, #FA4622 100%); border-radius: 4rpx; } /* 消息内容 */ .message-item { width: 710rpx; /* height: 456rpx; */ background-color: #FFFFFF; border-radius: 10px; margin-top: 20rpx; padding: 20rpx 20rpx 22rpx 20rpx; box-sizing: border-box; } .message-item:first-child { margin-top: 40rpx; } .line { width: 672rpx; height: 1rpx; background-color: #EAEAEA; margin-top: 20rpx; } .message-content { font-size: 28rpx; color: #222222; /* min-height: 367rpx; */ } .message-location { font-size: 28rpx; color: #FA7D22; } .message-time { font-size: 28rpx; color: #333333; } .message-bottom { color: #CCCCCC; font-size: 22rpx; margin-top: 16rpx; display: flex; align-items: center; justify-content: flex-end } .message-cicle { height: 20rpx; width: 20rpx; background: #FF4414; border-radius: 50%; align-items: center; margin-left: 20rpx; } /* 通知内容 */ .inform { /* height: 352rpx; */ width: 710rpx; background-color: #FFFFFF; border-radius: 10px; position: relative; padding: 20rpx 20rpx 30rpx 20rpx; box-sizing: border-box; margin-top: 20rpx; } .inform:first-child { margin-top: 40rpx; } .inform-line { width: 672rpx; height: 1rpx; background-color: #EAEAEA; margin-top: 30rpx; } .inform-title { width: 90%; font-size: 36rpx; color: #222222; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .inform-time { color: #CCCCCC; font-size: 22rpx; margin-top: 20rpx; } .inform-content { color: #666666; font-size: 28rpx; margin-top: 20rpx; /* height: 120rpx; */ width: 100%; } .inform-content-item { width: 100%; /* height: 80rpx; */ overflow: hidden; text-overflow: ellipsis; display: -webkit-box; white-space: normal; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .inform-see { display: flex; justify-content: flex-end; align-items: center; color: #FA7D22; font-size: 28rpx; margin-top: 30rpx; } .inform image { width: 11rpx; height: 18rpx; margin-left: 26rpx; margin-top: 6rpx; } .inform-icon { width: 20rpx; height: 20rpx; border-radius: 50%; background-color: #FF4414; position: absolute; top: 36rpx; right: 20rpx; }