hku-class/miniprogram/pages/interact/index.wxss
2026-05-16 23:59:13 +08:00

246 lines
4.0 KiB
Plaintext

.circle-head {
display: flex;
align-items: center;
justify-content: space-between;
gap: 24rpx;
margin-bottom: 22rpx;
padding: 26rpx 4rpx 12rpx;
}
.circle-title {
color: #2f211c;
font-size: 44rpx;
font-weight: 780;
line-height: 1.15;
}
.circle-subtitle {
margin-top: 8rpx;
color: #8a7b70;
font-size: 24rpx;
}
.circle-compose {
flex: none;
min-width: 108rpx;
height: 58rpx;
border-radius: 999rpx;
background: #6b1f2b;
color: #fff8ed;
font-size: 25rpx;
font-weight: 720;
line-height: 58rpx;
text-align: center;
}
.circle-list {
border-top: 1rpx solid rgba(121, 84, 54, 0.1);
}
.circle-post {
display: flex;
gap: 20rpx;
padding: 28rpx 0;
border-bottom: 1rpx solid rgba(121, 84, 54, 0.1);
}
.circle-avatar {
flex: none;
width: 76rpx;
height: 76rpx;
border-radius: 18rpx;
background: linear-gradient(145deg, #6b1f2b, #d6a653);
color: #fff8ed;
font-size: 30rpx;
font-weight: 780;
line-height: 76rpx;
text-align: center;
}
.circle-body {
flex: 1;
min-width: 0;
}
.circle-author {
color: #53698e;
font-size: 28rpx;
font-weight: 760;
}
.circle-post-title {
margin-top: 6rpx;
color: #2f211c;
font-size: 30rpx;
font-weight: 760;
line-height: 1.35;
}
.circle-content {
margin-top: 8rpx;
color: #3d2c25;
font-size: 28rpx;
line-height: 1.55;
white-space: pre-wrap;
}
.circle-images {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 8rpx;
margin-top: 14rpx;
max-width: 520rpx;
}
.circle-images image {
width: 100%;
height: 156rpx;
border-radius: 8rpx;
background: #efe0ca;
}
.circle-meta {
display: flex;
align-items: center;
justify-content: space-between;
gap: 18rpx;
margin-top: 14rpx;
color: #9a8c80;
font-size: 23rpx;
}
.circle-actions {
display: flex;
align-items: center;
gap: 10rpx;
flex: none;
}
.circle-action {
min-height: 44rpx;
padding: 0 16rpx;
border-radius: 999rpx;
background: #f1e4d4;
color: #725d4d;
font-size: 23rpx;
font-weight: 700;
line-height: 44rpx;
}
.circle-action.active {
background: #e7efff;
color: #53698e;
}
.circle-feedback {
position: relative;
margin-top: 12rpx;
padding: 14rpx 16rpx;
border-radius: 12rpx;
background: #f1e4d4;
}
.circle-feedback::before {
content: "";
position: absolute;
top: -10rpx;
left: 24rpx;
width: 0;
height: 0;
border-left: 10rpx solid transparent;
border-right: 10rpx solid transparent;
border-bottom: 10rpx solid #f1e4d4;
}
.circle-likes {
color: #53698e;
font-size: 24rpx;
font-weight: 720;
line-height: 1.45;
}
.circle-comment {
margin-top: 6rpx;
color: #4f3930;
font-size: 24rpx;
line-height: 1.5;
}
.circle-comment:first-child {
margin-top: 0;
}
.circle-comment-name {
color: #53698e;
font-weight: 720;
}
.empty-action {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 66rpx;
margin-top: 22rpx;
padding: 0 26rpx;
border-radius: 999rpx;
background: #6b1f2b;
color: #fff8ed;
font-size: 24rpx;
font-weight: 700;
}
.comment-mask {
position: fixed;
left: 0;
right: 0;
top: 0;
bottom: 0;
z-index: 50;
display: flex;
align-items: flex-end;
background: rgba(47, 33, 28, 0.16);
transition: bottom 0.18s ease;
}
.comment-bar {
display: flex;
gap: 14rpx;
width: 100%;
box-sizing: border-box;
margin: 0;
padding: 14rpx 14rpx calc(18rpx + env(safe-area-inset-bottom));
border-radius: 28rpx 28rpx 0 0;
background: #fffaf3;
box-shadow: 0 14rpx 38rpx rgba(47, 33, 28, 0.18);
}
.comment-mask.keyboard-open .comment-bar {
padding-bottom: 14rpx;
border-radius: 0;
}
.comment-bar input {
flex: 1;
min-width: 0;
height: 74rpx;
padding: 0 22rpx;
border-radius: 20rpx;
background: #f1e4d4;
color: #2f211c;
font-size: 26rpx;
}
.comment-bar button {
width: 152rpx;
flex: none;
height: 74rpx;
margin: 0;
padding: 0;
border-radius: 20rpx;
background: #6b1f2b;
color: #fff8ed;
font-size: 25rpx;
font-weight: 720;
line-height: 74rpx;
}