invoice.wxml
4.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!--pages/my/invoice/invoice.wxml-->
<view>
<view class='banner'>
<view class='iconfont icon-fanhui' bindtap='get_my'></view>
<view class='coupons'>我的地址</view>
</view>
<view class='hint_information'>
<view class='hint1'>提示</view>
<view>自助开票只开最近一次的订单发票,如需更多 请联系客服</view>
</view>
<view>
<view class='content_item' wx:if='{{arr.length>0}}'>
<view class='item_list1'>
<view class='list_title'>配送信息</view>
<view class='content {{More?"":"active"}}'>
<view class='content_list' wx:for="{{arr}}" wx:key="{{item.id}}">
<view class='content_detail'>
<view class='content_img'>
<image src='{{item.more.thumbnail}}'></image>
</view>
<view class='species'>
<view>{{item.title}}</view>
<view class='num'>×{{item.number}}</view>
</view>
</view>
<view>¥{{item.price}}</view>
</view>
</view>
<view class='more_box' bindtap='clickMore' wx:if='{{More}}'>
<view>展开更多</view>
<view class='iconfont icon-zhankai'></view>
</view>
</view>
<view>
<view class='item_list1'>
<view class='goods_detail'>
<view>商品总价</view>
<view>¥{{info.amount*1}}</view>
</view>
<view class='goods_detail' wx:if='{{info.coupon_price!=0.00}}'>
<view>优惠券</view>
<view>-¥{{info.coupon_price*1}}</view>
</view>
<view class='goods_detail'>
<view>商品实付</view>
<view>¥{{info.amount*1-info.coupon_price*1}}</view>
</view>
<view class='goods_detail'>
<view>运费</view>
<view>¥{{info.yunfei}}</view>
</view>
</view>
<view class='total'>合计
<text class='money'>¥{{info.real_price*1}}</text> </view>
</view>
<view class='item_list1'>
<view class='list_title'>订单信息</view>
<view class='expected_time'>
<view class='hint2'>订单编号</view>
<view>{{info.order_sn}}</view>
</view>
<view class='expected_time'>
<view class='hint2'>交易流水</view>
<view>{{info.pay_order_sn}}</view>
</view>
<view class='expected_time'>
<view class='hint2'>创建时间</view>
<view>{{info.create_time}}</view>
</view>
<view class='expected_time'>
<view class='hint2'>付款时间</view>
<view>{{info.pay_time}}</view>
</view>
</view>
</view>
<view wx:else class='none_order'>您暂时还没有订单~</view>
</view>
<view class='bottom_btn' bindtap='machine'>
<view class='invoice_btn'>开发票</view>
</view>
<view class='null_box'></view>
</view>