From f84f9fc04329bf4660650d58e2f5525f4ba2ac36 Mon Sep 17 00:00:00 2001 From: sunliwei Date: Tue, 24 Sep 2024 16:03:57 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/orderList/orderList.vue | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/pages/orderList/orderList.vue b/pages/orderList/orderList.vue index 72c408c..6b526e7 100644 --- a/pages/orderList/orderList.vue +++ b/pages/orderList/orderList.vue @@ -42,15 +42,15 @@ 评价订单 - + - + - + - + 长按识别图中二维码支付 @@ -64,7 +64,7 @@ import VNavigationBar from '@/components/VNavigationBar.vue' import tabBarVue from '@/components/tabBar/tabBar.vue' import drawQrcode from 'weapp-qrcode'; - + export default { components: { tabBarVue, @@ -160,10 +160,10 @@ method: 'get', params: {orderId:data.id} }).then((res) => { - + this.$refs.popup.open() setTimeout(()=>{ - + drawQrcode({ width: 200, height: 200, @@ -174,11 +174,11 @@ }, 60) }) }, - - convertToImage() { - + + convertToImage() { + uni.canvasToTempFilePath({ - + canvasId: 'myQrcode', success: function(res) { // 在H5平台下,tempFilePath 为 base64 @@ -187,11 +187,11 @@ this.$forceUpdate() console.log(this.imageUrl,200); } - }) + }) } , popupChange({show}) { if (show) { - + } }, gotoDetail() { @@ -220,6 +220,7 @@ flex: 1; height: 0; padding: 24rpx 32rpx; + overflow: auto; } .tabList { @@ -337,4 +338,4 @@ } } } - \ No newline at end of file +