| | |
| | | <view class="service-card deposit-card" @click="jumpxiadan"> |
| | | <image class="service-image" src="/static/image/home_ic_jicun@2x.png" mode="aspectFit"></image> |
| | | </view> |
| | | <view class="service-card retrieve-card"> |
| | | <view class="service-card retrieve-card" @click="jumpOrderList(3)"> |
| | | <image class="service-image" src="/static/image/home_ic_qujian@2x.png" mode="aspectFit"></image> |
| | | </view> |
| | | </view> |
| | | |
| | | <view class="notice-card"> |
| | | <view class="notice-card" v-if="ingOrder && ingOrder.orderId" @click="jumpOrderDetail(ingOrder.orderId)"> |
| | | <view class="notice-icon-wrap"> |
| | | <image src="/static/icon/home_ic_daizhifu@2x.png" mode="aspectFit"></image> |
| | | </view> |
| | | <view class="notice-copy"> |
| | | <text class="notice-title">待支付</text> |
| | | <text class="notice-text">请在 10 分钟内完成支付,超时订单将自动取消</text> |
| | | <text class="notice-title">{{ingOrder.statusDesc || ''}}</text> |
| | | <text class="notice-text">{{ingOrder.tip || ''}}</text> |
| | | </view> |
| | | </view> |
| | | |
| | |
| | | bannerList: [], |
| | | pointList: [], |
| | | page: 1, |
| | | ingOrder:null, |
| | | isRequest: true |
| | | } |
| | | }, |
| | |
| | | await this.getNearbyShopList() |
| | | } |
| | | }, |
| | | onShow() { |
| | | this.ingOrder =null |
| | | this.getIngorder() |
| | | }, |
| | | onReachBottom() { |
| | | if (this.cityId && this.latitude && this.longitude) { |
| | | this.getNearbyShopList() |
| | | } |
| | | }, |
| | | methods: { |
| | | jumpOrderDetail(id){ |
| | | uni.navigateTo({ |
| | | url:'/pages/delivery-order-detail/delivery-order-detail?userType=0&id='+id |
| | | }) |
| | | }, |
| | | async getIngorder(){ |
| | | var that =this |
| | | let res = await that.$u.api.getActiveOrderTip() |
| | | if (res && res.code === 200) { |
| | | this.ingOrder = res.data |
| | | } |
| | | }, |
| | | jumpOrderList(status){ |
| | | uni.setStorageSync("orderStatus",status) |
| | | uni.switchTab({ |
| | | url: '/pages/itinerary/itinerary' |
| | | }) |
| | | }, |
| | | jumpxiadan() { |
| | | if (!this.cityId) return uni.showToast({ |
| | | title: '当前城市暂未开通', |