|
@@ -1,50 +1,42 @@
|
|
-<!--pages/order/order.wxml-->
|
|
|
|
|
|
+<!-- pages/order/order.wxml -->
|
|
<view class="container">
|
|
<view class="container">
|
|
- <view class="code-info" >
|
|
|
|
-
|
|
|
|
|
|
+ <!-- 倒计时 -->
|
|
|
|
+ <view class="timer" wx:if="{{orderStatus==2}}">等待买家付款,剩余{{timer.minute}}分{{timer.second}}秒后自动关闭</view>
|
|
|
|
+ <view class="code-info" wx:if="{{order.status==2}}">
|
|
<view class="code card">
|
|
<view class="code card">
|
|
<canvas class="canvas-code" type="2d" id="qrCode" />
|
|
<canvas class="canvas-code" type="2d" id="qrCode" />
|
|
- <view class="code-text f13 c-707070">
|
|
|
|
- 进店请出示二维码进行核销
|
|
|
|
- </view>
|
|
|
|
|
|
+ <view class="code-text f13 c-707070">进店请出示二维码进行核销</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="order card">
|
|
<view class="order card">
|
|
<view class="order-img">
|
|
<view class="order-img">
|
|
- <image class="" src="{{order.productImg}}">
|
|
|
|
-
|
|
|
|
- </image>
|
|
|
|
|
|
+ <image class="" src="{{order.productImg}}"></image>
|
|
</view>
|
|
</view>
|
|
<view class="order-info">
|
|
<view class="order-info">
|
|
-
|
|
|
|
<view class="order-id f13 c-707070">{{order.orderSn}}</view>
|
|
<view class="order-id f13 c-707070">{{order.orderSn}}</view>
|
|
- <view class="order-title c-202020">
|
|
|
|
- {{order.productName}}
|
|
|
|
-
|
|
|
|
- </view>
|
|
|
|
|
|
+ <view class="order-title c-202020">{{order.productName}}</view>
|
|
<view class="order-price f18">¥{{order.orderMoney}}</view>
|
|
<view class="order-price f18">¥{{order.orderMoney}}</view>
|
|
-
|
|
|
|
<view class="order-date f13 c-707070">
|
|
<view class="order-date f13 c-707070">
|
|
<mp-icon icon="time" size="18" class="icon" color="#707070"></mp-icon>
|
|
<mp-icon icon="time" size="18" class="icon" color="#707070"></mp-icon>
|
|
{{order.appointmentTime}}
|
|
{{order.appointmentTime}}
|
|
</view>
|
|
</view>
|
|
-
|
|
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="shop-info card">
|
|
<view class="shop-info card">
|
|
- <view class="shop f17">
|
|
|
|
- {{ order.storeName}}
|
|
|
|
- </view>
|
|
|
|
|
|
+ <view class="shop f17">{{ order.storeName}}</view>
|
|
<view class="address f14 c-707070 ">
|
|
<view class="address f14 c-707070 ">
|
|
<image src="../../images/icons/location.png"></image>
|
|
<image src="../../images/icons/location.png"></image>
|
|
{{order.address}}
|
|
{{order.address}}
|
|
</view>
|
|
</view>
|
|
- <view class="f17 shop">
|
|
|
|
- 场馆电话
|
|
|
|
- </view>
|
|
|
|
|
|
+ <view class="f17 shop">场馆电话</view>
|
|
<view class="tel f14 c-707070 ">
|
|
<view class="tel f14 c-707070 ">
|
|
<image src="../../images/icons/tel.png"></image>
|
|
<image src="../../images/icons/tel.png"></image>
|
|
{{order.mobile}}
|
|
{{order.mobile}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
+ <view class="order-btn">
|
|
|
|
+ <view class="delete-btn" bindtap = "cancelOrder" wx:if="{{orderStatus==2}}">取消订单</view>
|
|
|
|
+ <view class="pay-btn" wx:if="{{orderStatus==2}}">确认支付</view>
|
|
|
|
+ <view class="delete-btn" bindtap = "deleteOrder" wx:if="{{orderStatus==3}}">删除订单</view>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|