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 +