217 lines
3.4 KiB
CSS
217 lines
3.4 KiB
CSS
page {
|
|
background-color: #f0f2f5;
|
|
min-height: 100vh;
|
|
overflow-y: hidden;
|
|
}
|
|
|
|
.container {
|
|
padding: 20rpx;
|
|
}
|
|
|
|
/* 商品图片区域 */
|
|
.goods-scroll {
|
|
width: 96%;
|
|
white-space: nowrap;
|
|
margin-bottom: 30rpx;
|
|
padding: 20rpx 15rpx;
|
|
background-color: #ffffff;
|
|
}
|
|
|
|
.goods-list {
|
|
display: inline-flex;
|
|
}
|
|
|
|
.goods-item {
|
|
width: 120rpx;
|
|
height: 120rpx;
|
|
margin-right: 16rpx;
|
|
border-radius: 8rpx;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.goods-img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
/* 订单编号 */
|
|
.order-info {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 20rpx 0;
|
|
border-bottom: 1rpx solid #EEEEEE;
|
|
margin-bottom: 30rpx;
|
|
}
|
|
|
|
.order-label {
|
|
font-size: 26rpx;
|
|
color: #9a9a9a;
|
|
}
|
|
|
|
.order-value {
|
|
font-size: 26rpx;
|
|
color: #333333;
|
|
}
|
|
|
|
.goods{
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
gap: 20rpx;
|
|
}
|
|
|
|
/* 货品图 */
|
|
.goodsImg{
|
|
display: flex;
|
|
width: 100rpx;
|
|
height: 100rpx;
|
|
}
|
|
|
|
/* 评分区域 */
|
|
.rating{
|
|
width: 460rpx;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
margin: 0 0 0rpx 55rpx;
|
|
color: #a6a6a6;
|
|
}
|
|
|
|
.rating-section {
|
|
background-color: #FFFFFF;
|
|
border-radius: 16rpx;
|
|
padding: 20rpx;
|
|
margin-bottom: 30rpx;
|
|
height: 80vh;
|
|
}
|
|
|
|
.rating-item {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-bottom: 30rpx;
|
|
margin-top: 20rpx;
|
|
}
|
|
|
|
.rating-item:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
|
|
.rating-label {
|
|
width: 160rpx;
|
|
font-size: 28rpx;
|
|
color: #333333;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* 评价输入 */
|
|
.comment-section {
|
|
padding: 20rpx;
|
|
margin-bottom: 30rpx;
|
|
border-top: 1rpx solid #f5f5f5;
|
|
}
|
|
|
|
.comment-input {
|
|
width: 100%;
|
|
min-height: 100rpx;
|
|
font-size: 26rpx;
|
|
color: #333333;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
/* 图片上传 */
|
|
.upload-section {
|
|
/* background-color: #FFFFFF; */
|
|
border-radius: 16rpx;
|
|
padding: 20rpx;
|
|
margin-bottom: 40rpx;
|
|
display: flex;
|
|
}
|
|
|
|
.upload-btn {
|
|
display: flex;
|
|
width: 150rpx;
|
|
height: 150rpx;
|
|
padding: 15rpx;
|
|
background-color: #f6f6f6;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin-bottom: 20rpx;
|
|
border-radius: 20rpx;
|
|
}
|
|
|
|
.upload-icon {
|
|
width: 60rpx;
|
|
height: 50rpx;
|
|
margin-right: 10rpx;
|
|
}
|
|
|
|
.upload-text {
|
|
font-size: 28rpx;
|
|
color: #333333;
|
|
margin: 10rpx 0;
|
|
}
|
|
|
|
.upload-count {
|
|
font-size: 28rpx;
|
|
color: #999999;
|
|
}
|
|
|
|
.image-list {
|
|
display: flex;
|
|
/* flex-wrap: wrap; */
|
|
}
|
|
|
|
.image-item {
|
|
width: 170rpx;
|
|
height: 170rpx;
|
|
margin-right: 20rpx;
|
|
margin-bottom: 20rpx;
|
|
position: relative;
|
|
border-radius: 20rpx;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.uploaded-img {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.delete-btn {
|
|
position: absolute;
|
|
top: -10rpx;
|
|
right: -10rpx;
|
|
width: 36rpx;
|
|
height: 36rpx;
|
|
background-color: rgba(0, 0, 0, 0.5);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
.delete-icon {
|
|
color: #FFFFFF;
|
|
font-size: 24rpx;
|
|
font-weight: bold;
|
|
}
|
|
|
|
/* 提交按钮 */
|
|
.submit-btn {
|
|
width: 90%;
|
|
height: 98rpx;
|
|
background-color: #ff4117;
|
|
border-radius: 49rpx;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
margin-top: 20rpx;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.btn-text {
|
|
font-size: 32rpx;
|
|
color: #FFFFFF;
|
|
font-weight: bold;
|
|
} |