[本时生活小程序-线上备份]
This commit is contained in:
63
pages/orderData/orderData.wxml
Normal file
63
pages/orderData/orderData.wxml
Normal file
@@ -0,0 +1,63 @@
|
||||
<!-- 订单状态 -->
|
||||
<view class="order-statl">
|
||||
{{order.state_text}}
|
||||
<block wx:if="{{order.state == 'UNPAY'}}">
|
||||
<image src="/static/icon/order_icon_00.png" class="order-statl-icon"></image>
|
||||
</block>
|
||||
<block wx:elif="{{order.state == 'PAID'}}">
|
||||
<image src="/static/icon/order_icon_01.png" class="order-statl-icon"></image>
|
||||
</block>
|
||||
<block wx:elif="{{order.state == 'COMPLETED'}}">
|
||||
<image src="/static/icon/order_icon_02.png" class="order-statl-icon"></image>
|
||||
</block>
|
||||
</view>
|
||||
|
||||
<!-- 收货人 -->
|
||||
<view class="order-address" wx:if="{{order.express != '' && order.express != null}}">
|
||||
<image class="address-icon" src="https://storage.funnyzhibo.com/images/2020/05/06/address_icon.png" mode="widthFix"></image>
|
||||
<view class="order-address-name nowrap">
|
||||
收货人:{{order.express.name}}
|
||||
<text>{{order.express.mobile}}</text>
|
||||
</view>
|
||||
<view class="order-address-text">{{order.express.address}}</view>
|
||||
<image class="order-address-back" src="/static/img/address_back.png" mode="widthFix"></image>
|
||||
</view>
|
||||
|
||||
<view class="order-goods">
|
||||
<view class="goods-goods-li">
|
||||
<image class="goods-img" src="{{order.items.cover}}" mode="aspectFill"></image>
|
||||
<view class="goods-body">
|
||||
<view class="goods-name nowrap">{{order.items.title}}</view>
|
||||
<view class="goods-price nowrap">¥{{order.items.price}}
|
||||
<text class="goods-qty">×{{order.items.qty}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="order-total">
|
||||
<view class="order-total-li order-type">
|
||||
权益类型
|
||||
<text>{{order.type_text}}</text>
|
||||
</view>
|
||||
<view class="order-total-li">
|
||||
订单号
|
||||
<text bindtap="copyText" data-text="{{order.orderid}}">{{order.orderid}}</text>
|
||||
</view>
|
||||
<view class="order-total-li">
|
||||
下单时间
|
||||
<text>{{order.created_at}}</text>
|
||||
</view>
|
||||
</view>
|
||||
<view class="order-total">
|
||||
<view class="order-total-li">
|
||||
实际支付
|
||||
<text class="redCor">¥{{order.amount}}</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="order-data-footer {{statusHeight > 30 ? 'iphoneX':''}}">
|
||||
<view class="order-btn" bindtap="orderRun">返回订单</view>
|
||||
<view class="order-btn" bindtap="orderDelete" data-id="{{order.orderid}}" wx:if="{{order.canCancel}}">取消订单</view>
|
||||
<view class="order-btn order-btn-back" bindtap="orderPay" wx:if="{{order.canPay}}" data-id="{{order.orderid}}">立即支付</view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user