179 lines
2.5 KiB
Plaintext
179 lines
2.5 KiB
Plaintext
|
|
.comment-page {
|
||
|
|
background-color: #f5f5f5;
|
||
|
|
min-height: 100vh;
|
||
|
|
padding-bottom: 120rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 商品信息 */
|
||
|
|
.product-info {
|
||
|
|
background: #fff;
|
||
|
|
padding: 32rpx;
|
||
|
|
margin-bottom: 20rpx;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.product-image {
|
||
|
|
width: 120rpx;
|
||
|
|
height: 120rpx;
|
||
|
|
border-radius: 12rpx;
|
||
|
|
margin-right: 24rpx;
|
||
|
|
flex-shrink: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.product-details {
|
||
|
|
flex: 1;
|
||
|
|
}
|
||
|
|
|
||
|
|
.product-name {
|
||
|
|
font-size: 32rpx;
|
||
|
|
color: #333;
|
||
|
|
font-weight: 500;
|
||
|
|
margin-bottom: 8rpx;
|
||
|
|
line-height: 1.4;
|
||
|
|
}
|
||
|
|
|
||
|
|
.product-spec {
|
||
|
|
font-size: 24rpx;
|
||
|
|
color: #999;
|
||
|
|
margin-bottom: 8rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.product-price {
|
||
|
|
font-size: 28rpx;
|
||
|
|
color: #ff6b35;
|
||
|
|
font-weight: 600;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 评分区域 */
|
||
|
|
.rating-section {
|
||
|
|
background: #fff;
|
||
|
|
padding: 32rpx;
|
||
|
|
margin-bottom: 20rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.section-title {
|
||
|
|
font-size: 32rpx;
|
||
|
|
color: #333;
|
||
|
|
font-weight: 500;
|
||
|
|
margin-bottom: 24rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
/* 评论内容 */
|
||
|
|
.content-section {
|
||
|
|
background: #fff;
|
||
|
|
padding: 32rpx;
|
||
|
|
margin-bottom: 20rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.comment-textarea {
|
||
|
|
margin-top: 16rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 图片上传 */
|
||
|
|
.images-section {
|
||
|
|
background: #fff;
|
||
|
|
padding: 32rpx;
|
||
|
|
margin-bottom: 20rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.images-grid {
|
||
|
|
display: flex;
|
||
|
|
flex-wrap: wrap;
|
||
|
|
gap: 16rpx;
|
||
|
|
margin-top: 16rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.image-item {
|
||
|
|
position: relative;
|
||
|
|
width: 160rpx;
|
||
|
|
height: 160rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.uploaded-image {
|
||
|
|
width: 100%;
|
||
|
|
height: 100%;
|
||
|
|
border-radius: 12rpx;
|
||
|
|
object-fit: cover;
|
||
|
|
}
|
||
|
|
|
||
|
|
.delete-btn {
|
||
|
|
position: absolute;
|
||
|
|
top: -8rpx;
|
||
|
|
right: -8rpx;
|
||
|
|
width: 32rpx;
|
||
|
|
height: 32rpx;
|
||
|
|
background: rgba(0, 0, 0, 0.6);
|
||
|
|
border-radius: 50%;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
}
|
||
|
|
|
||
|
|
.add-image-btn {
|
||
|
|
width: 160rpx;
|
||
|
|
height: 160rpx;
|
||
|
|
border: 2rpx dashed #ddd;
|
||
|
|
border-radius: 12rpx;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
background: #fafafa;
|
||
|
|
}
|
||
|
|
|
||
|
|
.add-text {
|
||
|
|
font-size: 24rpx;
|
||
|
|
color: #999;
|
||
|
|
margin-top: 8rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.images-tip {
|
||
|
|
font-size: 24rpx;
|
||
|
|
color: #999;
|
||
|
|
margin-top: 16rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 匿名评论 */
|
||
|
|
.anonymous-section {
|
||
|
|
background: #fff;
|
||
|
|
padding: 32rpx;
|
||
|
|
margin-bottom: 20rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
.anonymous-item {
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: space-between;
|
||
|
|
}
|
||
|
|
|
||
|
|
.anonymous-label {
|
||
|
|
font-size: 32rpx;
|
||
|
|
color: #333;
|
||
|
|
}
|
||
|
|
|
||
|
|
.anonymous-tip {
|
||
|
|
font-size: 24rpx;
|
||
|
|
color: #999;
|
||
|
|
margin-top: 16rpx;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* 提交按钮 */
|
||
|
|
.submit-section {
|
||
|
|
position: fixed;
|
||
|
|
bottom: 0;
|
||
|
|
left: 0;
|
||
|
|
right: 0;
|
||
|
|
background: #fff;
|
||
|
|
padding: 24rpx 32rpx;
|
||
|
|
border-top: 1rpx solid #eee;
|
||
|
|
z-index: 100;
|
||
|
|
}
|
||
|
|
|
||
|
|
.submit-btn {
|
||
|
|
width: 100%;
|
||
|
|
height: 88rpx;
|
||
|
|
border-radius: 44rpx;
|
||
|
|
}
|