123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105 |
- <view class="poster" wx:if="{{myqr_show}}">
- <view>
- <image src="{{myqr_url}}" style="width:{{myqr_width}}rpx;" mode="widthFix">
- </image>
- <view class="tool">
- <view>
- <button open-type='share' class="share-btn">
- <image class="img" style="width: 85rpx;margin-right: 25rpx;" mode="widthFix" src="/static/images/share/p_wx.png"></image>
- </button>
- </view>
- <view>
- <image class="img" mode="widthFix" bindtap="goSaveQrcode" src="/static/images/share/p_save.png"></image>
- </view>
- </view>
- <view style="text-align:center">
- <image class="closeImg" bindtap="hidePoster" src="/static/images/share/close.png"></image>
- </view>
- </view>
- </view>
- <view class="container" style="filter:blur({{myqr_blur}}rpx)">
- <!-- <view class="orders-switch">
- <view class="item {{ showType == 0 ? 'active' : ''}}" bindtap="switchTab" data-index='0'>
- <view class="txt">全部</view>
- </view>
- <view class="item {{ showType == 1 ? 'active' : ''}}" bindtap="switchTab" data-index='1'>
- <view class="txt">待付款</view>
- </view> -->
- <!-- <view class="item {{ showType == 2 ? 'active' : ''}}" bindtap="switchTab" data-index='2'>
- <view class="txt">待发货</view>
- </view> -->
- <!-- <view class="item {{ showType == 3 ? 'active' : ''}}" bindtap="switchTab" data-index='3'>
- <view class="txt">待上门</view>
- </view>
- <view class="item {{ showType == 4 ? 'active' : ''}}" bindtap="switchTab" data-index='4'>
- <view class="txt">待评价</view>
- </view>
- </view> -->
- <van-tabs active="{{showType }}" color="#09afff" bind:change="onTabChange">
- <van-tab title="全部" name="0"></van-tab>
- <van-tab title="待付款" name="1"></van-tab>
- <van-tab title="服务中" name="3"></van-tab>
- <van-tab title="待评价" name="4"></van-tab>
- </van-tabs>
- <view class="no-order" wx:if="{{orderList.length <= 0}}">
- <view class="c">
- <text>还没有任何订单呢</text>
- </view>
- </view>
- <view class="orders">
-
- <view class="order" wx:for="{{orderList}}" wx:key="id">
- <view class="h">
- <view class="l">订单编号:{{item.orderSn}}</view>
- <view class="r">{{item.orderStatusText}}</view>
- </view>
- <navigator url="../orderDetail/orderDetail?id={{item.id}}" open-type="redirect" >
- <view class="goods" wx:for="{{item.goodsList}}" wx:key="id" wx:for-item="gitem">
- <view class="img">
- <image src="{{gitem.picUrl}}"></image>
- </view>
- <view class="info">
- <text class="name">{{gitem.goodsName}}</text>
- <text class="number">{{item.createTime}}</text>
- <text class="number">共{{gitem.number}}件商品</text>
- <view class="detail-btn">订单详情</view>
- </view>
- <view class="status">
- </view>
- </view>
- </navigator>
- <view class="b">
- <view class="l">实付:¥{{item.actualPrice}}</view>
- </view>
- <!-- 操作事件 -->
- <view class="order-item-operate" >
- <view class="order-item-result">
- </view>
- <view class="order-operate-wrapper">
- <view catchtap="payOrder" wx:if="{{item.handleOption.pay}}" data-id="{{item.id}}">去付款</view>
- <!-- <view catchtap="confirmOrder" wx:if="{{item.handleOption.confirm}}" data-id="{{item.id}}">待上门</view> -->
- <view catchtap="deleteOrder" wx:if="{{item.handleOption.delete}}" data-id="{{item.id}}">删除订单</view>
- <view catchtap="cancelOrder" wx:if="{{item.handleOption.cancel}}" data-id="{{item.id}}">取消订单</view>
- <!-- <view catchtap="refundOrder" wx:if="{{item.handleOption.refund&&item.goodsList[0].goodsSn!='1036016'}}" data-id="{{item.id}}">申请退款</view> -->
- <!-- <view data-id="{{item.goodsList[0].goodsId}}" catchtap="shareFriendOrCircle" >分享商品</view> -->
- <view catchtap="viewService" data-id="{{item.id}}" wx:if="{{!(item.orderStatus==101||item.orderStatus==102||item.orderStatus==103)}}">查看服务</view>
- </view>
- </view>
-
- </view>
- </view>
- </view>
|