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 +