多驿站修改

This commit is contained in:
2025-03-14 19:34:06 +08:00
parent 6f5185beb3
commit e93e48f2e3
4 changed files with 18 additions and 11 deletions

View File

@ -16,6 +16,7 @@ Page({
},
package:{
name:'',
stationCount:0,
count:0
},
@ -81,6 +82,7 @@ Page({
this.setData({
package:{
name:name.join(''),
stationCount:name.length,
count:count
}
})
@ -89,6 +91,7 @@ Page({
this.setData({
package:{
name:'',
stationCount:0,
count:0
}
})

View File

@ -112,18 +112,21 @@ bind:enter="enterPageContainer" bind:leave="leavePageContainer" wx:if="{{isShowO
</view>
</view>
<view class="spliter"></view>
<view class="kv-item">
<!-- <view class="kv-item">
<view class="key">订单总金额</view>
<view class="value money money-normal">
{{preOrder.price_info.original_amount}}
</view>
</view>
</view> -->
<view class="kv-item">
<view class="key">基础配送费</view>
<view class="value money money-normal">{{preOrder.price_info.base_delivery_amount}}</view>
</view>
<view class="kv-item" wx:if="{{preOrder.price_info.more_station_price}}">
<view class="key">多驿站费</view>
<view class="key">
<label>多驿站费</label>
<label class="station-count">{{package.stationCount}}个驿站)</label>
</view>
<view class="value money money-normal">{{preOrder.price_info.more_station_price}}</view>
</view>
<view class="kv-item" wx:if="{{preOrder.price_info.coupon_discount_amount}}">
@ -143,7 +146,7 @@ bind:enter="enterPageContainer" bind:leave="leavePageContainer" wx:if="{{isShowO
</view>
<view class="value money">{{preOrder.price_info.final_amount}}</view>
</view>
<view class="tips">{{preOrder.price_detail_text}}</view>
<text class="tips">{{preOrder.price_detail_text}}</text>
<button class="button" type="primary" bind:tap="getOrder" loading="{{ordering}}">确认下单</button>
</view>

View File

@ -203,10 +203,13 @@
}
.pc-content .kv-item .key{
font-size: 30rpx;
}
.pc-content .kv-item .key{
display: flex;
align-items: center;
flex:1;
}
.pc-content .kv-item .station-count{
color: #ff0000;
font-size: 24rpx;
}
.pc-content .kv-item .tags{
margin-left:20rpx;
@ -220,9 +223,6 @@
.pc-content .kv-item .red{
color: #ff0000;
}
.pc-content .kv-item .key{
flex:1
}
.pc-content .head .kv-item{
margin:40rpx 0;
}
@ -241,6 +241,7 @@
font-size:26rpx;
color:#888888;
line-height: 38rpx;
display: block;
}
.pc-content .button{
margin:57rpx 0 40rpx 0;

View File

@ -101,12 +101,12 @@
<view class="key">取件数量</view>
<view class="value bold">{{orderDetail.package_count}}</view>
</view>
<view class="kv">
<!-- <view class="kv">
<view class="key">订单总金额</view>
<view class="value">
<view class="money money-normal">{{orderDetail.original_amount}}</view>
</view>
</view>
</view> -->
<view class="kv">
<view class="key">基础配送费</view>
<view class="value">