From 6cde965343eda99445f34d6e7503659b6c1aefdc Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期三, 06 五月 2026 08:55:16 +0800
Subject: [PATCH] 支付宝支付dddadd
---
small-program/pages/itinerary/itinerary.vue | 46 +++++++++++++++++++++++++++++++++++++++-------
1 files changed, 39 insertions(+), 7 deletions(-)
diff --git a/small-program/pages/itinerary/itinerary.vue b/small-program/pages/itinerary/itinerary.vue
index 5b8ed12..f3b7a2e 100644
--- a/small-program/pages/itinerary/itinerary.vue
+++ b/small-program/pages/itinerary/itinerary.vue
@@ -198,16 +198,26 @@
</view>
</u-popup>
<u-popup :show="showQrcode" round="15" @close="openQrcode()" :safeAreaInsetBottom="false" mode="bottom" :closeable="true" :closeOnClickOverlay="false">
- <view class="tc" style="height: 700rpx;width: 100%; ">
+ <view class="tc" style="height: auto;width: 100%; ">
<view class="tc-contemt" style="text-align: center;">
- <view class="tc-contemt-title" style="text-align: center;">鏍搁攢鐮�</view>
+ <view style="margin-bottom: 30rpx;">
+ <text class="pickup-code" style="font-size: 48rpx;">琛屾潕缂栧彿锛歿{ currentOrder.sortnum||'' }}</text>
+ <view class="pickup-code" style="margin-left: 60rpx;font-size: 28rpx;text-align: left;font-weight: normal;">鐢ㄦ埛锛歿{currentOrder.takeUser||''}}({{currentOrder.takePhone||''}})</view>
+ <view class="pickup-code" style="margin-left: 60rpx;font-size: 28rpx;text-align: left;font-weight: normal;">闂ㄥ簵锛歿{currentOrder.depositShopName||''}}</view>
+ <view class="item-form-list" style="align-items:baseline;" v-if="currentOrder && currentOrder.orderImages && currentOrder.orderImages.length">
+ <view class="item-form-list-row" v-for="(item,index) in currentOrder.orderImages" key="item">
+ <image :src="item" mode="widthFix" @click="previewImage(currentOrder.orderImages,index)" ></image>
+ </view>
+ </view>
+ </view>
<view class="qrcode-box">
<canvas canvas-id="qrcodeCanvas" id="qrcodeCanvas" style="width: 100px; height: 100px;"></canvas>
<image class="qrcode-image" :src="qrcodeImage" mode="widthFix"></image>
</view>
- <text class="pickup-code">{{ currentOrder.memberVerifyCode||'' }}</text>
- <text class="pickup-tip" @tap="copyCode">鐐瑰嚮澶嶅埗鑷彁鐮�</text>
+ <text class="pickup-code">鏍搁攢鐮�:{{ currentOrder.memberVerifyCode||'' }}</text>
+ <text class="pickup-tip" @tap="copyCode">鐐瑰嚮澶嶅埗鏍搁攢鐮�</text>
</view>
+
</view>
</u-popup>
<custom-tabbar></custom-tabbar>
@@ -302,7 +312,7 @@
if (orderStatus != null &&orderStatus != undefined ) {
if( Number(orderStatus) === -2){
this.activeTab = 0
- } else{
+ } else if( Number(orderStatus) !== 0 ){
this.activeTab = Number(orderStatus)
}
}
@@ -313,6 +323,12 @@
this.getDataList();
},
methods: {
+ previewImage(images,index = 0) {
+ uni.previewImage({
+ current: index,
+ urls: images
+ });
+ },
changeTab(item){
this.activeTab = item.value
this.getFirstPageData()
@@ -478,7 +494,7 @@
data: this.currentOrder.memberVerifyCode,
success: () => {
uni.showToast({
- title: '宸插鍒惰嚜鎻愮爜',
+ title: '宸插鍒舵牳閿�鐮�',
icon: 'none'
})
}
@@ -879,6 +895,7 @@
color: #8C939F;
}
.price-line{
+ padding: 0 30rpx;
box-sizing: border-box;
display: flex;
align-items: flex-end;
@@ -1003,7 +1020,22 @@
opacity: 0;
}
}
-
+ .item-form-list {
+ max-width: 100%;
+ display: flex;
+ flex-wrap: wrap;
+ align-items: center;
+ justify-content: center;
+ gap: 20rpx;
+ .item-form-list-row {
+ border-radius: 8rpx;
+ overflow: hidden;
+ image {
+ width: 130rpx;
+ max-height: 150rpx;
+ }
+ }
+ }
.qrcode-image {
width: 100%;
height: 100%;
--
Gitblit v1.9.3