Browse Source

运单号增加复制功能

ylong 9 months ago
parent
commit
bb8df6c08e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pages/index/detail/components/OrderInfo.vue

+ 1 - 1
pages/index/detail/components/OrderInfo.vue

@@ -26,7 +26,7 @@
         </view>
         <view class="info-item">
             <text class="label">快递</text>
-            <text class="content">{{ finalExpressText }}(单号:{{ detail.waybillCode }})</text>
+            <text class="content">{{ finalExpressText }}<text style="color: #409eef;" @click="copyToClipboard(detail.waybillCode)">(单号:{{ detail.waybillCode }})</text></text>
         </view>
         <view class="info-item">
             <text class="label">发件人<text style="color: #e99d42;">(所有单)</text></text>