feat: 核销码展示、备货进度静态

This commit is contained in:
2026-07-14 16:44:57 +08:00
parent 585fd6fb7e
commit 94f8297a01
6 changed files with 504 additions and 37 deletions
+34 -2
View File
@@ -2,7 +2,10 @@
<view class="order-details">
<!-- 自提商品核销 -->
<view v-if="orderInfo.deliveryType === 2 && orderInfo.payStatus" class="writeOff borRadius14">
<view class="title">核销信息</view>
<view class="title-row">
<view class="title">核销信息</view>
<view class="progress-btn" @tap.stop="goStockProgress">备货进度</view>
</view>
<view class="grayBg flex-center">
<view class="pictrue">
<image
@@ -73,6 +76,14 @@
qrcodeSize: 145,
});
const goStockProgress = () => {
const id = props.orderInfo?.id || props.orderInfo?.orderId;
if (!id) return;
uni.navigateTo({
url: `/pages/order/stockProgress?id=${id}`,
});
};
/**
* 打开地图
*/
@@ -155,13 +166,34 @@
padding-bottom: 50rpx;
}
.order-details .writeOff .title {
.order-details .writeOff .title-row {
display: flex;
align-items: center;
justify-content: space-between;
font-size: 30rpx;
color: #282828;
height: 87rpx;
border-bottom: 1px solid #f0f0f0;
padding: 0 24rpx;
line-height: 87rpx;
box-sizing: border-box;
}
.order-details .writeOff .title {
font-size: 30rpx;
color: #282828;
height: 87rpx;
line-height: 87rpx;
}
.order-details .writeOff .progress-btn {
height: 52rpx;
line-height: 52rpx;
padding: 0 16rpx;
border-radius: 26rpx;
font-size: 24rpx;
color: #5b4eff;
background: rgba(91, 78, 255, 0.12);
}
.order-details .writeOff .grayBg {