fix: 修复购物车栏位置和配送费变量命名

修复购物车栏的底部位置,将其从100rpx调整为30rpx,以提高用户体验。同时,将配送费的变量名从`delivery_price`改为`deliveryPrice`,以符合项目命名规范。
This commit is contained in:
yindongqi 2025-04-11 15:48:06 +08:00
parent ad15f7f497
commit 58359af16d
2 changed files with 2 additions and 6 deletions

View File

@ -40,7 +40,7 @@
<view class="info-row" v-if="item.distance > 0">
<uv-icon name="car" size="14" color="#666"></uv-icon>
<text>配送范围 {{item.distance}}km</text>
<text class="delivery-price">配送费 ¥{{item.delivery_price}}</text>
<text class="delivery-price">配送费 ¥{{item.deliveryPrice}}</text>
</view>
<view class="info-row no-delivery" v-else>
<uv-icon name="info-circle" size="14" color="#ff5722"></uv-icon>

View File

@ -1194,11 +1194,7 @@
.cart-bar {
position: fixed;
<<<<<<< HEAD
bottom: 100rpx;
=======
bottom: 100rpx;
>>>>>>> bfc7e10860b0d97c3b1ad8f472c19a36411ccd50
bottom: 30rpx;
left: 0;
width: calc(100% - 80rpx);
height: 100rpx;