소스 검색

运单号增加复制功能

ylong 9 달 전
부모
커밋
bb8df6c08e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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>