/* mycomponent/channelsLiveFloat/channelsLiveFloat.wxss */ .channelsLive { position: fixed; display: flex; flex-direction: column; align-items: center; width: 95rpx; height: 110rpx; background-color: rgba(255, 255, 255, 0.6); border-radius: 10rpx; z-index: 2; } .channelsLive.left { left: 35rpx; } .channelsLive.right { right: 35rpx; } .channelsLive .face { padding-top: 13rpx; height: 72rpx; } .channelsLive .face image { width: 59rpx; height: 59rpx; } .channelsLive .text { padding-top: 2rpx; font-size: 20rpx; color: #2d2d2d; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 1; line-clamp: 1; -webkit-box-orient: vertical; }