first commit

This commit is contained in:
编码猿
2024-09-27 01:32:49 +08:00
commit 28ebe05a64
7399 changed files with 1174529 additions and 0 deletions

View File

@@ -0,0 +1,114 @@
<!-- 头部 -->
<nav-bar isBack="{{isBack}}" pageTitle="{{pageTitle}}" system="{{system}}"></nav-bar>
<!-- mall/laundryList/laundryInfo/laundryInfo.wxml -->
<view class="laundryInfo">
<view class="order_start flex-con3" style="top:{{system.statusHeight+system.titleHeight+'px'}}">
<image src="{{orderInof.status_img}}" />
{{orderInof.status_name}}
</view>
<view class="laundryInfo_cen">
<view class="shop_list">
<view class="shop_list_title">商品信息</view>
<view class="shop_list_row dis-flex" wx:for="{{ orderInof.order_detail }}" wx:key="{{ index }}" wx:if="{{ index < shopNum }}">
<view class="shop_list_img">
<image src="{{item.image}}" />
</view>
<view class="flex1 ml20 dis-flex1">
<view class="flex1 flex-con2">
<view class="flex1 text1">{{item.product_name}}</view>
<view class="flex1 text-right text1">¥{{item.price}}</view>
</view>
<view class="flex1 flex-con2">
<view class="flex1 text2">{{item.attr}}</view>
<view class="flex1 text-right text1">×{{item.count}}</view>
</view>
</view>
</view>
<view wx:if="{{shopNum <= 2 && orderInof.order_detail.length>2}}" bind:tap="more" class="more_shop flex-con3">
共{{orderInof.order_detail.length}}件
<image class="ml20" src="/static/img/icon/asfa51f3a1f3a5f13a.png" />
</view>
</view>
<view class="mon mt20">
<view class="mon_cen pdtb20 dis-flex">
<view class="flex1 mon_p">商品总金额</view>
<view class="flex1 text-right mon_p">¥{{orderInof.order_total_price}}</view>
</view>
<view class="mon_cen pdtb20 dis-flex">
<view class="flex1 mon_p">优惠</view>
<view class="flex1 text-right mon_span">
-¥{{orderInof.favourable != null ?orderInof.favourable :0}}
</view>
</view>
<!-- <view class="mon_cen pdtb20 dis-flex">
<view class="flex1 mon_p">运费(实付满99.00元免运费)</view>
<view class="text-right mon_p">¥{{orderInof.postage}}</view>
</view> -->
<view class="mt20 pt40 pb20 rem flex-con2">
<view class="dis-flex mon_p">实际支付</view>
<view class="flex1 text-right mon_span2">¥{{orderInof.total_price}}</view>
</view>
</view>
<view class="mon mt20">
<view class="list_title">配送详情</view>
<view class="mon_cen pdtb20 dis-flex">
<view class="flex1 mon_p">配送方式</view>
<view class="flex1 text-right mon_i">{{orderInof.take_type == 1?"快递":"门店自取"}}</view>
</view>
<view class="mon_cen pdtb20 dis-flex">
<view class="flex1 mon_p">收货地址</view>
<view wx:if="{{orderInof.take_type == 1}}" class="flex2 text-right mon_i">
<view>{{orderInof.realname}} {{orderInof.telnum}}</view>
<view>{{orderInof.user_address}}</view>
</view>
<view wx:if="{{orderInof.take_type == 2}}" class="flex2 text-right mon_i">
<view>{{orderInof.name}} {{orderInof.shopTelnum}}</view>
<view>{{orderInof.address}}</view>
</view>
</view>
</view>
<view class="mon mt20">
<view class="list_title">订单详情</view>
<view class="mon_cen pdtb20 dis-flex">
<view class="flex1 mon_p">订单详情</view>
<view class="flex1 text-right mon_i">{{orderInof.order_no}}</view>
</view>
<view class="mon_cen pdtb20 dis-flex">
<view class="flex1 mon_p">下单时间</view>
<view class="flex1 text-right mon_i">{{orderInof.create_time}}</view>
</view>
<view class="mon_cen pdtb20 dis-flex">
<view class="flex1 mon_p">支付方式</view>
<view class="flex1 text-right mon_i">
{{orderInof.pay_type == 1 ?"余额支付":"微信支付"}}
</view>
</view>
<view class="mon_cen pdtb20 dis-flex">
<view class="flex1 mon_p">支付时间</view>
<view class="flex1 text-right mon_i">
{{orderInof.pay_time == 0?"未支付":orderInof.pay_time}}
</view>
</view>
<view class="mon_cen pdtb20 dis-flex">
<view class="flex1 mon_p">订单状态</view>
<view class="flex1 text-right mon_i">{{orderInof.status_name}}</view>
</view>
<view class="mon_cen pdtb20 dis-flex">
<view class="flex1 mon_p">订单备注</view>
<view class="flex2 text-right mon_i">{{orderInof.remark}}</view>
</view>
</view>
</view>
</view>
<!-- 付款或者取消 -->
<view class="pay_cancel flex-con5 pd30">
<span wx:if="{{orderInof.status == 1}}" data-id="{{orderInof.id}}" bind:tap="orderPay" class="lau_pay ml20">
付款
</span>
<span wx:if="{{orderInof.status == 1}}" data-id="{{orderInof.id}}" bind:tap="orderCancel" class="lau_cancel ml20">
取消订单
</span>
<button open-type="contact" class="lau_service ml20">联系客服</button>
</view>
<!-- toasta提示 -->
<i-toast id="toast" />