diff --git a/packages/shop/goods/index.css b/packages/shop/goods/index.css index f6644165..f74f9dc4 100644 --- a/packages/shop/goods/index.css +++ b/packages/shop/goods/index.css @@ -104,6 +104,45 @@ image { margin-right: 40rpx; } +/* 促销信息样式 */ +.promotions-container { + padding: 15rpx; + background-color: #FFF; + border-radius: 10rpx; + margin: 15rpx 0; +} + +.promotion-item { + display: flex; + align-items: center; + margin-bottom: 20rpx; +} + +.promotion-tag { + width: 80rpx; + text-align: center; + background-color: #ffe8e5; + color: #ff5029; + padding: 5rpx 15rpx; + border-radius: 10rpx; + font-size: 26rpx; + margin-right: 30rpx; +} + +.promotion-content { + font-size: 26rpx; + color: #333; +} + +.promotion-content1 { + width: auto; + padding: 5rpx 10rpx; + text-align: center; + background-color: #ff6749; + color: white; + border-radius: 10rpx; +} + .GG_Item { font-size: 26rpx; color: #999999; @@ -130,7 +169,7 @@ image { } .GoodsMsg { - font-size: 33rpx; + /* font-size: 30rpx; */ color: #222222; margin: 0 20rpx; margin-top: 55rpx; @@ -148,14 +187,14 @@ image { .Msg_ItemTit { width: 120rpx; margin-right: 100rpx; - font-size: 28rpx; + font-size: 26rpx; color: #999999; margin: 0 20rpx; padding: 30rpx 0; } .Msg_ItemCon { - font-size: 28rpx; + font-size: 26rpx; color: #222222; display: flex; align-items: center; @@ -270,7 +309,7 @@ image { flex-direction: column; align-items: center; justify-content: center; - font-size: 28rpx; + font-size: 26rpx; color: #000000; } @@ -362,29 +401,124 @@ image { color: #999999; } -.active{ +.active { background: #FF370B; color: #fff; } -.priceInfo{ +.priceInfo { height: 450rpx; padding: 20rpx; } -.priceInfo-title{ - font-size: 30rpx; +.priceInfo-title { + /* font-size: 30rpx; */ font-weight: bolder; margin: 15rpx 0 20rpx 0; } -.priceInfo-content{ - font-size: 28rpx; +.priceInfo-content { + font-size: 26rpx; color: #9c9c9c; - line-height: 1.5; + line-height: 1.7; } -.priceInfo-content-title{ +.priceInfo-content-title { font-size: 28rpx; color: #333; +} + +.fenge { + width: 100%; + height: 15rpx; + background-color: #f5f7fb; +} + +/* 评价部分样式 */ +.reviews-section { + padding: 20rpx; + background-color: #fff; + margin-bottom: 20rpx; +} + +.reviews-header { + display: flex; + justify-content: space-between; + align-items: center; + margin-bottom: 20rpx; +} + +.reviews-header h3 { + /* font-size: 32rpx; */ + font-weight: bold; +} + +.view-all { + color: #999; + font-size: 26rpx; + background: none; + border: none; + padding: 0; +} + +.reviews-list { + margin-top: 20rpx; +} + +.review-item { + padding: 20rpx 0; + border-bottom: 1rpx solid #f5f5f5; +} + +.review-user { + display: flex; + align-items: center; + margin-bottom: 15rpx; +} + +.user-avatar { + width: 60rpx; + height: 60rpx; + border-radius: 50%; + margin-right: 15rpx; +} + +.user-info { + flex: 1; +} + +.user-name { + font-size: 28rpx; + font-weight: 500; +} + +.user-purchase { + font-size: 24rpx; + color: #999; + margin: 10rpx 0; +} + +.review-content { + font-size: 27rpx; + line-height: 1.5; + margin-bottom: 15rpx; +} + +.review-images { + display: flex; + flex-wrap: wrap; + gap: 10rpx; + margin-bottom: 15rpx; +} + +.review-img { + width: 140rpx; + height: 140rpx; + border-radius: 8rpx; +} + +.review-time { + font-size: 24rpx; + color: #999; + text-align: right; } \ No newline at end of file diff --git a/packages/shop/goods/index.vue b/packages/shop/goods/index.vue index 0cc9c097..d650db3b 100644 --- a/packages/shop/goods/index.vue +++ b/packages/shop/goods/index.vue @@ -63,7 +63,88 @@