xuxueyang
2024-07-30 c212c9ab501e1aff9e2dd90e8e87871c0bc7f1bc
pages/user/supplier-user.vue
@@ -80,8 +80,11 @@
               </view>
            </view>
            <view class="flex order-icons-container">
               <view class="order-icons" @click="goto('/pages/order/order?status=PENDING',true)">
                  <image src="../../static/images/customer/order/order-type-1.png" class="order-icon dfk"></image>
               <view class="order-icons" style="position: relative;" @click="goto('/pages/order/order?status=PENDING',true)">
                  <image src="../../static/images/customer/order/order-type-1.png" class="order-icon dfk"
                     style="position: relative;">
                     <view class="image-shop-number">{{order_pendding_num||''}}</view>
                  </image>
                  <view>待付款</view>
               </view>
               <view class="order-icons" @click="goto('/pages/order/order?status=SEND',true)">
@@ -289,6 +292,7 @@
            tel: '15974805814',
            tj: {},
            cacheUserId: '',
            order_pendding_num: 0,
         };
      },
@@ -349,6 +353,18 @@
                        that.tj = res.data || {}
                     }
                  })
                  //获取待支付数目
                  this.$http.request('get', '/api/customer/order/count/pending', {
                     params: {
                     }
                  }).then(res => {
                     if (res.code === 0) {
                        that.order_pendding_num = res.data || 0
                     }
                  })
                  // #endif
               }, 200)
            }