From e89688f1c058bd9c4c505a2bb891643855e50a29 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期二, 28 四月 2026 16:31:25 +0800
Subject: [PATCH] 小程序端和PC端bug修复
---
small-program/pages/delivery-order-detail/delivery-order-detail.vue | 22 ++++++++++++++++++----
1 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/small-program/pages/delivery-order-detail/delivery-order-detail.vue b/small-program/pages/delivery-order-detail/delivery-order-detail.vue
index b44ea9b..c330127 100644
--- a/small-program/pages/delivery-order-detail/delivery-order-detail.vue
+++ b/small-program/pages/delivery-order-detail/delivery-order-detail.vue
@@ -39,7 +39,7 @@
<text>{{info.depositShopName || ''}}</text>
<image src="/static/icon/ar_jicundian@2x.png" mode="widthFix"></image>
</view>
- <text>{{info.takeUser || ''}} {{info.takePhone || ''}}</text>
+ <text>{{info.depositShopAddress || ''}} </text>
</view>
<view class="addr-item" v-if="info.type === 1">
<view class="ji bg1">鏀�</view>
@@ -47,20 +47,27 @@
<text>{{info.takeShopName || info.takeLocation || ''}}</text>
<image src="/static/icon/ar_jicundian@2x.png" mode="widthFix"></image>
</view>
- <text>{{info.takeUser || ''}} {{info.takePhone || ''}}</text>
+ <text>{{info.takeShopAddress || ''}}</text>
</view>
</view>
<view class="item-qrcode" v-if=" (info.type ===0 && info.status >=1 &&info.status <7) || (info.type ===1 && (info.status ===1 || (info.takeShopId && info.status ===5)))">
<!-- <image src="/static/image/btn_upload@2x.png" mode="widthFix"></image> -->
<view style="width: 360rpx; height: 360rpx;">
- <canvas canvas-id="qrcodeCanvas" id="qrcodeCanvas" style="width: 180px; height: 180px;"></canvas>
- <!-- <image :src="qrcodeImage" mode="widthFix"></image> -->
+ <canvas canvas-id="qrcodeCanvas" id="qrcodeCanvas":style="'width: '+width+'px; height:'+height+'px;'"></canvas>
</view>
<text>{{info.memberVerifyCode || ''}}</text>
<text @tap="copyCode(info.memberVerifyCode||'')">鏍搁攢鐮�</text>
</view>
<view class="item-x"></view>
<view class="item-list">
+ <view class="item-list-row">
+ <view class="item-form-label">鏀朵欢浜�</view>
+ <view class="item-form-val">{{info.takeUser || ''}}</view>
+ </view>
+ <view class="item-list-row">
+ <view class="item-form-label">鏀朵欢浜虹數璇�</view>
+ <view class="item-form-val">{{info.takePhone || ''}}</view>
+ </view>
<view class="item-list-row">
<view class="item-form-label">棰勮鍒板簵鏃堕棿</view>
<view class="item-form-val">{{info.expectedDepositTime || ''}}</view>
@@ -341,6 +348,8 @@
data() {
return {
id:null,
+ height:180,
+ width:180,
info:{},
showDone:false,
showCancel:false,
@@ -369,6 +378,8 @@
this.showPay=false
this.showPhone=false
this.getUserDetail()
+ this.width = this.rpxToPx(200)
+ this.height = this.rpxToPx(200)
this.linkItem={title:'',linkname:'',linkphone:''}
},
methods:{
@@ -378,6 +389,9 @@
urls: images
});
},
+ rpxToPx(rpx) {
+ return rpx * wx.getSystemInfoSync().windowWidth / 750
+ },
payOrder(){
var that = this;
uni.showLoading({ title: '鍙戣捣鏀粯涓�...', mask: true })
--
Gitblit v1.9.3