This commit is contained in:
2024-08-22 12:47:21 +08:00
commit dedb40f497
373 changed files with 5393 additions and 0 deletions

View File

@@ -0,0 +1,96 @@
<view class="container p-bottom" wx:if="{{order.order_id}}">
<scroll-view scrollY="true">
<view class="b-f">
<view class="flow-checkout-header b-f dis-flex">
<view class="flow-header-left padding-box">
<view class="flow-checkout-admin f-26 col-3">{{order.address.name}} <text class="f-26 col-m">{{order.address.phone}}</text>
</view>
<view class="flow-checkout-address"> {{order.address.region.province}} {{order.address.region.city}} {{order.address.region.region}} {{order.address.detail}} </view>
</view>
</view>
</view>
<view class="flow-all-money b-f padding-box m-top20" wx:if="{{order.delivery_status.value==20}}">
<view class="dis-flex flow-all-list-cont">
<text class="col-7">快递公司: {{order.express_company}}</text>
</view>
<view class="dis-flex flow-all-list-cont">
<text class="col-7" selectable="{{true}}">快递单号: {{order.express_no}}</text>
</view>
</view>
<view class="order-cont b-f m-top20">
<view class="padding-box b-f">
<view class="order-header dis-flex">
<view class="flex-box t-l">
<text class="title">商品列表</text>
</view>
<view class="flex-box t-r">
<text class="col-m" wx:if="{{order.pay_status.value==10}}">{{order.pay_status.text}}</text>
<text class="col-m" wx:if="{{order.pay_status.value==20&&order.delivery_status.value==10}}">{{order.delivery_status.text}}</text>
<text class="col-m" wx:if="{{order.pay_status.value==20&&order.delivery_status.value==20&&order.receipt_status.value==10}}">{{order.receipt_status.text}}</text>
<text class="col-m" wx:if="{{order.order_status.value==30}}">{{order.order_status.text}}</text>
</view>
</view>
</view>
<view class="padding-box b-f">
<view class="order-cont dis-flex">
<view class="order-num">
<text selectable="{{true}}">订单号:{{order.order_no}}</text>
</view>
<view class="order-time">
<text>{{order.create_time}}</text>
</view>
</view>
</view>
</view>
<view class="padding-box b-f">
<view class="dis-flex flow-shopList b-f" data-id="{{item.goods_id}}" wx:for="{{order.goods}}" wx:key="this">
<view bindtap="goodsDetail" class="flow-list-left" data-id="{{item.goods_id}}">
<image mode="scaleToFill" src="{{item.image.file_path}}"></image>
</view>
<view class="flow-list-right">
<text class="h4 twolist-hidden">{{item.goods_name}}</text>
<text class="p f-22 col-7">{{item.goods_attr}}</text>
<view class="flow-list-cont">
<text class="flow-cont">¥{{item.goods_price}}</text>
<text class="small">×{{item.total_num}}</text>
</view>
<view>
<view class="flex-box" wx:if="{{order.pay_status.value==20&&(order.order_status.value==10||order.order_status.value==30)&&item.refund_status==0&&order.delivery_status.value==20}}">
<view bindtap="aftermarketOrder" class="btn-main1" data-id="{{item.order_goods_id}}">申请售后</view>
</view>
<view class="flex-box" wx:if="{{item.refund_status>0}}">
<view bindtap="aftermarketOrder" class="btn-default" data-id="{{item.order_goods_id}}">售后详情</view>
</view>
</view>
</view>
</view>
</view>
<view class="select b-f">
<view class="flow-num-box b-f">共{{order.goods.length}}件商品,合计: <text class="flow-money">{{order.total_price}}</text>
</view>
</view>
<view class="flow-all-money b-f padding-box m-top20">
<view class="dis-flex flow-all-list">
<text class="flex-five">订单金额</text>
</view>
<view class="dis-flex flow-all-list-cont">
<text class="flex-five col-7">商品金额:</text>
<text class="flex-five col-m t-r">¥{{order.total_price}}</text>
</view>
<view class="dis-flex flow-all-list-cont">
<text class="flex-five col-7">应付金额:</text>
<text class="flex-five col-m t-r">¥{{order.pay_price}}</text>
</view>
</view>
</scroll-view>
<view class="flow-fixed-footer b-f">
<view class="dis-flex chackout-box" wx:if="{{order.pay_status.value==10}}">
<button class="flex-box chackout-right-detail btn-normal" openType="contact">
<text bindtap="payOrder" class="flow-btn" wx:if="{{order.pay_status.value==10}}">联系客服付款</text>
</button>
</view>
<view class="flow-btn h3" wx:if="{{order.delivery_status.value==20&&order.receipt_status.value==10}}">
<view bindtap="receipt">确认收货</view>
</view>
</view>
</view>