invoice.wxml 4.9 KB
<!--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>