12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- <wxs src="../../../utils/formatFuc.wxs" module="formatFuc" />
- <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)">
- <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="2"></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="index">
- <view class="h">
- <view class="l">订单编号:{{item.orderNo}}</view>
- <view class="r">{{formatFuc.statusText(item.orderStatus)}}</view>
- </view>
- <navigator url="../orderDetail/orderDetail?id={{item.id}}" open-type="redirect" >
- <view class="goods" wx:for="{{item.orderItemList}}" wx:key="id" wx:for-item="gitem">
- <view class="img">
- <image src="{{gitem.thumbnail}}"></image>
- </view>
- <view class="info">
- <text class="name">{{gitem.skuName}}</text>
- <text class="number">共{{gitem.buyNumber}}件商品</text>
- </view>
- <view class="status">
- </view>
- </view>
- </navigator>
- <view class="b">
- <view class="l">实付:¥{{item.orderAmount}}</view>
- </view>
- <!-- 操作事件 -->
- <view class="order-item-operate" >
- <view class="order-item-result">
- </view>
- <view class="order-operate-wrapper">
- <view catchtap="payOrder" wx:if="{{item.orderStatus==0}}" data-id="{{item.id}}">去付款</view>
- <!-- <view catchtap="confirmOrder" wx:if="{{item.handleOption.confirm}}" data-id="{{item.id}}">待上门</view> -->
- <view catchtap="deleteOrder" wx:if="{{item.orderStatus==0||item.orderStatus==2||item.orderStatus==3}}" data-id="{{item.id}}">删除订单</view>
- <view catchtap="cancelOrder" wx:if="{{item.orderStatus==0}}" data-id="{{item.id}}">取消订单</view>
- <view catchtap="refundOrder" wx:if="{{item.orderStatus==1}}" 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>
|