This commit is contained in:
张慢慢
2021-05-24 13:56:00 +08:00
commit a7995d90bc
208 changed files with 13143 additions and 0 deletions

View File

@@ -0,0 +1,115 @@
<!-- 订单状态 -->
<view class="order-statl">
{{order.status_text}}
<block wx:if="{{order.status == '0'}}">
<image src="/static/icon/order_icon_00.png" class="order-statl-icon"></image>
</block>
<block wx:elif="{{order.status == '1'}}">
<image src="/static/icon/order_icon_01.png" class="order-statl-icon"></image>
</block>
<block wx:elif="{{order.status == '2'}}">
<image src="/static/icon/order_icon_02.png" class="order-statl-icon"></image>
</block>
</view>
<!-- 收货人 -->
<view class="order-address" wx:if="{{order.address != ''}}">
<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.address.name}}
<text>{{order.address.mobile}}</text>
</view>
<view class="order-address-text">{{order.address.province}}{{order.address.city}}{{order.address.district}}{{order.address.info}}</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.param.cover}}" mode="aspectFill"></image>
<view class="goods-body">
<view class="goods-name nowrap">{{order.title}}</view>
<view class="goods-price nowrap">¥{{order.param.price}}
<text class="goods-qty">×{{order.param.number}}</text>
</view>
</view>
</view>
</view>
<!-- 券赠送 -->
<block wx:if="{order.have_coupon != 0}}">
<view class="ni-border-bottom goodsCoupon" wx:for="{{order.coupons}}" wx:key="coupons">
<view class="goodsCoupon-left">
<image class="goodsCoupon-img" mode="scaleToFill" src="/static/img/activity_coupon.png"></image>
<view class="goodsCoupon-number">
<text>¥</text>{{item.amount}}
</view>
<view class="nowrap goodsCoupon-btn">
超市券满减券
</view>
<view class="goodsCoupon-tips"><text>赠</text></view>
</view>
<view class="goodsCoupon-right">
<view class="nowrap goodsCoupon-name">{{item.title}}</view>
<view class="goodsCoupon-sheet">
<view>卡数(张)</view>
<text>x</text> {{item.number}}
</view>
</view>
</view>
</block>
<!-- 礼盒 -->
<block wx:if="{order.have_gift != 0}}">
<view class="goodsCoupon" wx:for="{{order.gifts}}" wx:key="gifts">
<view class="goodsCoupon-left goodsCoupon-box">
<image src="{{item.cover}}" mode="scaleToFill" class="goodsBox-img"></image>
<view class="goodsBox-tips"><text>赠</text></view>
</view>
<view class="goodsCoupon-right goodsCoupon-box-right">
<view class="nowrap goodsCoupon-name goodsCoupon-name-box">{{item.title}}</view>
<view class="nowrap goodsCoupon-text" wx:if="{{item.subtitle != null}}">{{item.subtitle}}</view>
<view class="goodsCoupon-cost">原价:{{item.amount}}元</view>
<view class="goodsCoupon-sheet">
<view class="goodsCoupon-price">活动0.00元</view>
<text>x</text> {{item.number}}
</view>
</view>
</view>
</block>
<view class="order-total">
<view class="order-total-li">
订单号
<text bindtap="copyText" data-text="{{order.order_id}}">{{order.order_id}}</text>
</view>
<!-- <view class="order-total-li">
下单时间
<text>{{order.order_id}}</text>
</view> -->
</view>
<view class="order-total" wx:if="{{order.ex_type_text != '无'}}">
<view class="order-total-li">
物流公司
<text data-text="">{{order.ex_type_text}}</text>
</view>
</view>
<view class="order-total" wx:if="{{order.ex_no != null}}">
<view class="order-total-li">
快递单号
<text bindtap="copyText" data-text="{{order.ex_no}}">{{order.ex_no}}</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.id}}" wx:if="{{order.iscancel}}">取消订单</view>
<view class="order-btn order-btn-back" bindtap="orderPay" wx:if="{{order.ispay}}" data-id="{{order.id}}">立即支付</view>
</view>