Files
uniapp-im-shop/pages/discover/styles/dynamic.scss
2026-01-22 01:23:57 +08:00

164 lines
3.4 KiB
SCSS

.top-bg-img {
width: 100%;
height: 544rpx;
position: relative;
background: #87d8ff;
.img {
width: 100%;
height: 100%;
}
.user-info {
position: absolute;
right: 24rpx;
bottom: -60rpx;
display: flex;
align-items: flex-start;
.name {
margin-top: 30rpx;
font-family: PingFang SC, PingFang SC;
font-weight: 600;
font-size: 32rpx;
color: #ffffff;
font-style: normal;
text-transform: none;
}
.avatar {
width: 160rpx;
height: 160rpx;
border-radius: 16rpx;
margin-left: 30rpx;
}
}
}
.dynamic-list {
padding: 86rpx 26rpx 0 26rpx;
.list + .list {
margin-top: 32rpx;
}
.list {
display: flex;
.avatar {
width: 96rpx;
height: 96rpx;
border-radius: 96rpx;
flex-shrink: 0;
margin-right: 32rpx;
}
.content {
width: 100%;
font-family: PingFang SC, PingFang SC;
text-align: left;
font-style: normal;
text-transform: none;
display: flex;
flex-direction: column;
.name {
font-weight: bold;
font-size: 32rpx;
color: #333333;
}
.text {
font-weight: 500;
font-size: 28rpx;
color: #333333;
margin: 16rpx 0;
}
.img-list {
display: grid;
grid-template-columns: repeat(3, 1fr);
grid-gap: 14rpx;
.item-img {
width: 180rpx;
height: 180rpx;
border-radius: 8rpx;
}
}
.one-img {
.item-img {
width: 410rpx;
height: 250rpx;
border-radius: 8rpx;
}
}
.address {
display: flex;
align-items: center;
margin: 16rpx 0 14rpx;
text {
font-weight: 500;
font-size: 24rpx;
color: #999999;
margin-right: 16rpx;
&:nth-child(2) {
font-size: 24rpx;
color: #0c587e;
}
}
}
.like-box {
display: flex;
align-items: center;
.like {
display: flex;
align-items: center;
margin-right: 86rpx;
text {
font-weight: 400;
font-size: 22rpx;
color: #747474;
}
}
}
.comment {
margin-top: 16rpx;
padding: 16rpx 18rpx;
background: #f9f9f9;
border-radius: 8rpx;
.comment-item + .comment-item {
margin-top: 16rpx;
}
.comment-item {
text {
font-weight: 400;
font-size: 28rpx;
color: #333333;
margin-right: 8rpx;
&:last-child {
font-weight: 500;
font-size: 28rpx;
color: #999999;
}
}
}
}
.input-box {
margin-top: 16rpx;
display: flex;
justify-content: space-between;
align-items: center;
border-radius: 14rpx;
border: 2rpx solid #19ac31;
padding: 12rpx 18rpx;
input {
font-size: 28rpx;
}
button {
display: inline-block;
margin: 0;
width: 120rpx;
height: 60rpx;
line-height: 60rpx;
background: #19ac31;
border-radius: 8rpx;
font-size: 24rpx;
color: #ffffff;
&::after {
display: none;
}
}
}
}
}
}