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O>AgX{5_BGvf;mpEpu(V7R*E-+rX
z9KXE6YPwWs6#(S&y}5<~O+Ur%Bi>7@Sy_qg(wdaP52Ld9(FYa)_TxL@8s*|{bLpmZ
zdS+3kCEPz>`MZjw?7Mog5@Jij^RB;GY;^D);
LtHa9W%mV)pRz~uQ
literal 0
HcmV?d00001
From 8294a578b3f0c9588f44381312110346f3ee3eb9 Mon Sep 17 00:00:00 2001
From: PQZ
Date: Tue, 24 Sep 2024 00:06:18 +0800
Subject: [PATCH 6/7] 1
---
pages/orderList/orderList.vue | 33 +++++++++++++++++++++++++++++----
utils/request.js | 2 +-
2 files changed, 30 insertions(+), 5 deletions(-)
diff --git a/pages/orderList/orderList.vue b/pages/orderList/orderList.vue
index 1fd477d..645604f 100644
--- a/pages/orderList/orderList.vue
+++ b/pages/orderList/orderList.vue
@@ -42,15 +42,22 @@
评价订单
+
+
+
+
-
-
+ 11{{imageUrl}}
+
+
+
+
-
+
@@ -74,6 +81,7 @@
activeKey: 0,
pageNum:1,
totalPages:0,
+ imageUrl:null,
tabList: [{
id: 0,
title: '全部订单'
@@ -168,9 +176,26 @@
text: res.data.code_url
})
}, 60)
+ setTimeout(()=>{
+ that.convertToImage()
+
+ }, 500)
})
},
+
+ convertToImage() {
+
+ uni.canvasToTempFilePath({
+
+ canvasId: 'myQrcode',
+ success: function(res) {
+ // 在H5平台下,tempFilePath 为 base64
+ this.imageUrl = res.tempFilePath.replace(/[\r\n]/g, "")
+ console.log(this.imageUrl,200);
+ }
+ })
+ } ,
popupChange({show}) {
if (show) {
diff --git a/utils/request.js b/utils/request.js
index e6f8ff3..15856cd 100644
--- a/utils/request.js
+++ b/utils/request.js
@@ -14,7 +14,7 @@ const request = config => {
if (getToken() && !isToken) {
config.header['Authorization'] = 'Bearer ' + getToken()
}else{
- config.header['Authorization'] = 'Bearer ' +'1c734ee940d94a9fbbedf7422c866bb8'
+ config.header['Authorization'] = 'Bearer ' +'6e753c0a509e4d01bde4f315f6a39ceb'
}
// get请求映射params参数
if (config.params) {
From 508ca8f1358afe739c2ce8950e92c88da4bdb0a8 Mon Sep 17 00:00:00 2001
From: PQZ
Date: Tue, 24 Sep 2024 00:19:47 +0800
Subject: [PATCH 7/7] 1
---
pages/orderList/orderList.vue | 27 ++++++++++-----------------
1 file changed, 10 insertions(+), 17 deletions(-)
diff --git a/pages/orderList/orderList.vue b/pages/orderList/orderList.vue
index 645604f..72c408c 100644
--- a/pages/orderList/orderList.vue
+++ b/pages/orderList/orderList.vue
@@ -42,24 +42,19 @@
评价订单
-
-
- 11{{imageUrl}}
-
-
-
-
+
+
+
+
-
-
@@ -81,7 +76,7 @@
activeKey: 0,
pageNum:1,
totalPages:0,
- imageUrl:null,
+ imageUrl:'',
tabList: [{
id: 0,
title: '全部订单'
@@ -175,12 +170,8 @@
canvasId: 'myQrcode',
text: res.data.code_url
})
- }, 60)
- setTimeout(()=>{
that.convertToImage()
-
- }, 500)
-
+ }, 60)
})
},
@@ -191,7 +182,9 @@
canvasId: 'myQrcode',
success: function(res) {
// 在H5平台下,tempFilePath 为 base64
- this.imageUrl = res.tempFilePath.replace(/[\r\n]/g, "")
+ // this.imageUrl = res.tempFilePath.replace(/[\r\n]/g, "")
+ document.getElementById("dl-pay-img").setAttribute("src",res.tempFilePath.replace(/[\r\n]/g, ""))
+ this.$forceUpdate()
console.log(this.imageUrl,200);
}
})