MrShi
2026-05-20 b806c4ad52a661a1e5f0695650ec1a7e42f01633
small-program/pages/itinerary/itinerary.vue
@@ -101,6 +101,7 @@
                        <text class="insurance-label">含行李保费:</text>
                        <text class="insurance-value">{{((item.declaredFee || 0)/100).toFixed(2) }}</text>
                     </view>
                     <view class="yichang" v-if="item.abnormalOrder === 1">异常转存</view>
                  </view>
               </view>
@@ -217,7 +218,7 @@
                  </view>
                  </view>
               <view class="qrcode-box">
                  <canvas canvas-id="qrcodeCanvas" id="qrcodeCanvas" style="width: 100px; height: 100px;"></canvas>
                  <canvas canvas-id="qrcodeCanvas" id="qrcodeCanvas" style="width: 100px; height: 100px; position: fixed; top: -100%; left: -100%; z-index: -1;"></canvas>
                  <image class="qrcode-image" :src="qrcodeImage" mode="widthFix"></image>
               </view>
               <text class="pickup-code">核销码:{{ currentOrder.memberVerifyCode||'' }}</text>
@@ -282,6 +283,7 @@
         /* if (options.status != null && options.status != undefined) {
            this.activeTab =  Number(options.status)
         } */
         this.getFirstPageData()
         var that =this
         uni.$on('updateOrder',function(data){
            console.log('监听到事件来自 update ,携带参数 msg 为:' ,data);
@@ -298,33 +300,26 @@
                  }
               }) 
            }
          })
      },
      onShow() {
         this.activeTab = -1
         this.showDone=false
         this.showCancel=false
         this.showDelete=false
         this.showQrcode=false
         this.showPay=false
         this.contanctType =0
         this.showPhone=false
         this.loading=false
         this.currentOrder=null
         this.linkItem={title:'',linkname:'',linkphone:''}
         var orderStatus = uni.getStorageSync("orderStatus");
         console.log(orderStatus,"==================")
         if (orderStatus != null &&orderStatus != undefined ) {
          uni.$on('shuaxin', (orderStatus) => {
            this.activeTab = -1
            this.showDone=false
            this.showCancel=false
            this.showDelete=false
            this.showQrcode=false
            this.showPay=false
            this.contanctType =0
            this.showPhone=false
            this.loading=false
            this.currentOrder=null
            this.linkItem={title:'',linkname:'',linkphone:''}
            if( Number(orderStatus) === -2){
               this.activeTab = 0
            } else if( Number(orderStatus) !== 0 ){
               this.activeTab =  Number(orderStatus)
            }
         }
         uni.clearStorageSync("orderStatus")
         this.getFirstPageData()
            this.getFirstPageData()
          })
      },
      onReachBottom(){
         this.getDataList();
@@ -773,6 +768,7 @@
   .mode-tag {
      width: 112rpx;
      height: 38rpx;
      line-height: 38rpx;
      border-radius: 8rpx;
      display: flex;
      align-items: baseline;
@@ -938,7 +934,7 @@
      padding: 0 30rpx;
      box-sizing: border-box;
      display: flex;
      align-items: flex-end;
      align-items: end;
   }
   .amount-area {
      width: 50%;
@@ -969,6 +965,13 @@
   }
   .insurance-row {
      margin-top: 12rpx;
   }
   .yichang {
      font-weight: 400;
      font-size: 24rpx;
      color: #FF0000;
      margin-top: 12rpx;
   }
@@ -1024,6 +1027,7 @@
      font-size: 28rpx;
      box-sizing: border-box;
      margin-right: 20rpx;
      white-space: nowrap;
      &:last-child {
         margin: 0 !important;
      }
@@ -1033,6 +1037,7 @@
      border: 1rpx solid #B2B2B2;
      background: #ffffff;
      color: #666666;
      white-space: nowrap;
   }
   .primary-btn {