/* pages/liveDetail/index.wxss */ @import '../../assets/css/commonDetail.wxss'; /* @import '../../assets/css/liveList.wxss'; */ .liveDetail { box-sizing: border-box; padding: 20rpx 0rpx; background: #f7f7f7; } .item { background: #fff; padding: 20rpx; display:flex; align-items:center; justify-content:space-between; } .topicImg { height: 160rpx; position: absolute; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); top: 0; } .caption { width: 100%; font-size: 28rpx; max-height: 80rpx; line-height: 40rpx; font-weight: bold; overflow: hidden; word-break: break-all; text-overflow: ellipsis; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin-bottom: 6rpx; } .topName { display: inline-block; font-size: 26rpx; line-height: 60rpx; font-weight: 700; margin-bottom: -40rpx; } .topName::before { content: ""; width: 22rpx; height: 22rpx; background: #2296f3; display: inline-block; margin-right: 20rpx; } .canvas { background: #fff; } .listInfo { background: #ffffff; display: flex; align-items: center; justify-content: space-between; margin-bottom: 20rpx; padding: 30rpx 26rpx; margin-bottom: 20rpx; background: #fff; } .coverImg { display: inline-block; width: 162rpx; height: 200rpx; overflow: hidden; position: relative; } .cover { float: left; width: 100%; height: auto; position: absolute; top: 50%; transform: translateY(-50%); left: 0; } .info { flex: 1; padding-left: 30rpx; } .nameInfo { margin-top: 6rpx; width: 100%; font-size: 24rpx; color: #333333; margin-top: 12rpx; } .userName { display: block; } .headurl { display: inline-block; width: 34rpx; height: 34rpx; border-radius: 50%; vertical-align: middle; } .bottom { width: 100%; font-size: 28rpx; line-height: 34rpx; color: #aaa; margin-top: 4rpx; } .listInfo .title { display: inline-block; width: 300rpx; padding-left: 8rpx; font-size: 24rpx; }