From 929262efe5ca2a1f11019dcb170efe4529446f36 Mon Sep 17 00:00:00 2001 From: From-wh Date: Wed, 7 Jun 2023 11:05:35 +0800 Subject: [PATCH] =?UTF-8?q?improve:=20=E8=87=AA=E5=AE=9A=E4=B9=89=E8=A1=A8?= =?UTF-8?q?=E5=8D=95=E6=95=B0=E6=8D=AE=E5=8F=AF=E5=A4=8D=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../pages/goods/order_details/index.vue | 54 +++++++++++++------ 1 file changed, 39 insertions(+), 15 deletions(-) diff --git a/template/uni-app/pages/goods/order_details/index.vue b/template/uni-app/pages/goods/order_details/index.vue index f77919e82..09625e51b 100644 --- a/template/uni-app/pages/goods/order_details/index.vue +++ b/template/uni-app/pages/goods/order_details/index.vue @@ -87,8 +87,8 @@ + :background="background" :foreground="foreground" :pdground="pdground" :icon="icon" + :iconSize="iconsize" :onval="onval" :loadMake="loadMake" @result="qrR" /> @@ -155,8 +155,8 @@ :delivery_type="item.delivery_type" @confirmOrder="confirmOrder" @openSubcribe="openSubcribe"> @@ -231,7 +231,8 @@ - + {{$t(`复制`)}} @@ -250,6 +251,7 @@ {{item.title}}: {{item.value}} + {{$t(`复制`)}} @@ -292,8 +294,8 @@ {{$t(`送货人电话`)}}: - {{orderInfo.delivery_id || ''}}{{$t(`拨打`)}} + {{orderInfo.delivery_id || ''}}{{$t(`拨打`)}} @@ -343,7 +345,8 @@ {{orderInfo.help_info.pay_nickname || ''}} - {{$t(`总代付`)}}:{{$t(`¥`)}}{{parseFloat(orderInfo.pay_price).toFixed(2)}} + {{$t(`总代付`)}}:{{$t(`¥`)}}{{parseFloat(orderInfo.pay_price).toFixed(2)}} @@ -375,8 +378,8 @@ hover-class='none' :url="'/pages/goods/goods_logistics/index?orderId='+ orderInfo.order_id"> {{$t(`查看物流`)}} - + {{$t(`查看拼团`)}} @@ -396,7 +399,8 @@ :url="'/pages/goods/goods_logistics/index?orderId='+ orderInfo.order_id + '&type=refund'"> {{$t(`查看退货物流`)}} - + {{$t(`删除订单`)}} @@ -425,9 +429,9 @@ - + @@ -978,6 +982,17 @@ }); }, // #endif + copyText(text) { + let str = '' + this.customForm.map(e => { + if (e.label !== 'img') { + str += e.title + e.value + } + }) + uni.setClipboardData({ + data: str, + }); + }, // #ifdef H5 copyAddress() { // console.log('1111111111111') @@ -2174,6 +2189,15 @@ } } + .copy-text { + width: max-content; + font-size: 10px; + border-radius: 1px; + border: 0.5px solid #666; + padding: 1px 7px; + margin-left: auto; + } + .upload .pictrue { display: inline-block; margin: 22rpx 17rpx 20rpx 0; @@ -2186,4 +2210,4 @@ width: 100%; height: 100%; } - \ No newline at end of file +