city_card/pages/talk/talkDetail.wxss
2023-07-15 14:25:28 +08:00

181 lines
2.5 KiB
Plaintext

.talk {
background-color: #fff;
border-bottom: 1px solid #ddd;
padding: 20rpx;
}
.talk:last-child {
border-bottom: none;
}
.talk-user,.user-info {
display: flex;
justify-content: space-between;
margin-bottom: 10rpx;
}
.user-info image {
border-radius: 50%;
height: 80rpx;
margin-right: 20rpx;
width: 80rpx;
}
.good image {
height: 40rpx;
margin-top: -8rpx;
vertical-align: middle;
width: 40rpx;
}
.name {
font-size: 32rpx;
line-height: 50rpx;
}
.time {
color: #888;
font-size: 24rpx;
}
.good text {
line-height: 80rpx;
}
.talk-content {
font-size: 30rpx;
line-height: 40rpx;
}
.reply-container {
margin-bottom: 100rpx;
}
.reply {
background-color: #fff;
border-bottom: 1px solid #ddd;
padding: 20rpx;
}
.reply:last-child {
border-bottom: none;
}
.reply-content,.reply-reply {
padding-left: 100rpx;
}
.reply-content {
margin-bottom: 20rpx;
}
.photo-box {
display: inline-block;
height: 150rpx;
margin-right: 2%;
overflow: hidden;
position: relative;
text-align: center;
width: 32%;
}
.photo-box:nth-child(3n) {
margin-right: 0;
}
.click-good {
background-color: #fff;
display: flex;
justify-content: space-between;
margin: 20rpx 0;
padding: 20rpx;
}
.good-text {
text-align: center;
width: 20%;
}
.good-text image {
height: 40rpx;
width: 40rpx;
}
.good-count {
font-size: 24rpx;
}
.good-avatar {
width: 80%;
}
.good-avatar image {
border: 1px solid #fff;
border-radius: 50%;
height: 50rpx;
margin: 12rpx 0 0 -15rpx;
width: 50rpx;
}
.good-avatar image:first-child {
margin-left: 0;
}
.reply .click-good {
background: none;
}
.edit-reply {
background-color: #fff;
border-top: 1px solid #ddd;
bottom: 0;
left: 0;
padding: 20rpx;
position: fixed;
right: 0;
}
.edit-reply input {
background-color: #eee;
border-radius: 40rpx;
height: 60rpx;
padding: 0 20rpx;
}
.video-box {
height: auto!important;
width: 65%;
}
.video-box video {
width: 100%;
}
.reply-row {
background-color: #f7f7f7;
line-height: 60rpx;
padding: 0 10rpx;
word-break: break-all;
}
.reply-row text {
font-weight: 700;
}
.photo-one {
height: auto;
width: 50%;
}
.photo-one image {
max-width: 100%;
}
.photo-more image {
height: auto;
left: 50%;
position: absolute;
top: 50%;
transform: translate(-50%,-50%);
width: 100%;
}