feat: 调整商品详情样式

This commit is contained in:
duanshuwen
2025-08-05 18:23:10 +08:00
parent a5d31ef170
commit 81c8658621
6 changed files with 20 additions and 15 deletions

View File

@@ -2,7 +2,7 @@
<uni-popup
ref="popup"
type="bottom"
background-color="#E9F3F7"
background-color="#fff"
border-radius="12px 12px 0 0"
mask-background-color="rgba(0,0,0,0.5)"
:safe-area="false"
@@ -98,7 +98,10 @@
</scroll-view>
<!-- 总价区域 -->
<SumCard :referencePrice="goodsData.specificationPrice" :discount="totalPrice" />
<SumCard
:referencePrice="goodsData.specificationPrice"
:discount="totalPrice"
/>
</view>
</scroll-view>

View File

@@ -34,7 +34,7 @@
}
.good-content {
background: #e9f3f7;
background: #fff;
box-sizing: border-box;
max-height: 60vh;
overflow: hidden;
@@ -54,7 +54,7 @@
.goods-info {
display: flex;
box-sizing: border-box;
background-color: #fff;
background-color: #f5f5f5;
padding: 12px;
.goods-details {
@@ -105,13 +105,13 @@
font-size: 14px;
font-weight: 500;
color: #333;
margin-bottom: 8px;
}
.goods-service-item {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 8px;
.service-label,
.service-value {