detail.wxml 8.6 KB

1
  1. <view class="wrap data-v-57d42baa"><navbar vue-id="a2b0478a-1" iSimmersive="{{false}}" title-color="#ffffff" background="#c30d24" placeholder="{{true}}" title="订单详情" class="data-v-57d42baa" bind:__l="__l"></navbar><block wx:if="{{isError}}"><info vue-id="a2b0478a-2" class="data-v-57d42baa" bind:__l="__l"></info></block><block wx:if="{{!isError}}"><view class="data-v-57d42baa"><block wx:if="{{order.shipping_type==1}}"><view class="top data-v-57d42baa"><view class="status data-v-57d42baa"><uni-steps vue-id="a2b0478a-3" options="{{stepsOptions}}" active-color="#07c160" active="{{active}}" class="data-v-57d42baa" bind:__l="__l"></uni-steps></view><view class="address data-v-57d42baa"><view class="info data-v-57d42baa"><text class="data-v-57d42baa">{{"收件人:"+order.accept_name}}</text><text class="data-v-57d42baa">{{"手机号:"+order.mobile}}</text></view><view class="address-info data-v-57d42baa">{{''+order.region+" "+order.address+''}}</view></view></view></block><block wx:if="{{order.shipping_type==2}}"><view class="top data-v-57d42baa"><view class="status data-v-57d42baa"><uni-steps vue-id="a2b0478a-4" options="{{stepsShopOptions}}" active-color="#07c160" active="{{active}}" class="data-v-57d42baa" bind:__l="__l"></uni-steps></view></view></block><block wx:if="{{order.shipping_type==2}}"><view class="order data-v-57d42baa"><view class="title data-v-57d42baa"><text class="data-v-57d42baa">核销信息</text></view><view class="shop-box data-v-57d42baa"><view class="qrcode data-v-57d42baa"><image src="{{order.qrcode}}" class="data-v-57d42baa"></image></view><view class="code data-v-57d42baa">{{order.code}}</view></view><view class="shop-address data-v-57d42baa"><view class="data-v-57d42baa">{{"门店名称:"+order.shop_name}}</view><view class="data-v-57d42baa">{{"营业时间:"+order.day_time}}</view><view class="data-v-57d42baa">{{"门店电话:"+order.phone}}</view></view><view class="shop-address data-v-57d42baa"><view class="data-v-57d42baa">取件地址:</view><view class="data-v-57d42baa"><text class="data-v-57d42baa">{{order.area_name}}</text><text class="data-v-57d42baa">{{order.shop_address}}</text></view></view></view></block><view class="goods data-v-57d42baa"><view class="title data-v-57d42baa"><text class="data-v-57d42baa">{{"共"+$root.g0+"件商品"}}</text></view><view class="goods-box data-v-57d42baa"><block wx:for="{{order.item}}" wx:for-item="value" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goGoods',['$0'],[[['order.item','',index,'goods_id']]]]]]]}}" class="goods-item clear data-v-57d42baa" bindtap="__e"><view class="goods-img data-v-57d42baa"><image src="{{value.thumb_image}}" class="data-v-57d42baa"></image></view><view class="goods-info data-v-57d42baa"><view class="t data-v-57d42baa"><text class="data-v-57d42baa">{{value.title}}</text><text class="data-v-57d42baa">{{"¥"+value.sell_price}}</text></view><view class="b data-v-57d42baa"><text class="data-v-57d42baa">{{value.spec}}</text><text class="data-v-57d42baa">{{"× "+value.nums}}</text></view></view></view></block></view></view><block wx:for="{{order.goods_info}}" wx:for-item="value" wx:for-index="index" wx:key="index"><block wx:if="{{order.goods_info}}"><view class="order data-v-57d42baa"><view class="title data-v-57d42baa"><text class="data-v-57d42baa">商品信息</text></view><view class="shop-address data-v-57d42baa"><view class="data-v-57d42baa">商品名称:</view><view class="data-v-57d42baa"><text style="word-wrap:break-word;" class="data-v-57d42baa">{{value.title}}</text></view></view><block wx:if="{{value.type==1}}"><view class="shop-address data-v-57d42baa"><view class="data-v-57d42baa">商品内容:</view><view class="data-v-57d42baa"><text style="word-wrap:break-word;" class="data-v-57d42baa">{{value.content}}</text></view><view style="padding-top:10rpx;" class="data-v-57d42baa"><button data-event-opts="{{[['tap',[['scopy',['$0'],[[['order.goods_info','',index,'content']]]]]]]}}" style="background-color:#c30d24;color:#fff;" bindtap="__e" class="data-v-57d42baa">复制内容</button></view></view></block><block wx:if="{{value.type==2}}"><view class="shop-address data-v-57d42baa"><view class="data-v-57d42baa">商品内容:</view><view class="data-v-57d42baa"><text style="word-wrap:break-word;" class="data-v-57d42baa">{{value.content}}</text></view><view style="padding-top:10rpx;" class="data-v-57d42baa"><button data-event-opts="{{[['tap',[['scopy',['$0'],[[['order.goods_info','',index,'content']]]]]]]}}" style="background-color:#c30d24;color:#fff;" bindtap="__e" class="data-v-57d42baa">复制内容</button></view></view></block><block wx:if="{{value.type==3}}"><view class="shop-address data-v-57d42baa"><view class="data-v-57d42baa"><button data-event-opts="{{[['tap',[['downLoad',['$0'],[[['order.goods_info','',index,'content']]]]]]]}}" style="background-color:#c30d24;color:#fff;" bindtap="__e" class="data-v-57d42baa">下载内容</button></view></view></block></view></block></block><view class="order data-v-57d42baa"><view class="title data-v-57d42baa"><text class="data-v-57d42baa">订单信息</text></view><view class="list clear data-v-57d42baa"><view class="list-box clear data-v-57d42baa"><view class="data-v-57d42baa">订单编号:</view><view class="money data-v-57d42baa">{{order.order_no}}</view></view><view class="list-box clear data-v-57d42baa"><view class="data-v-57d42baa">下单时间:</view><view class="data-v-57d42baa">{{order.create_time}}</view></view><view class="list-box clear data-v-57d42baa"><view class="data-v-57d42baa">订单类型:</view><view class="data-v-57d42baa">{{order.type}}</view></view><view class="list-box clear data-v-57d42baa"><view class="data-v-57d42baa">支付状态:</view><view class="money data-v-57d42baa">{{order.pay_status}}</view></view><view class="list-box clear data-v-57d42baa"><view class="data-v-57d42baa">支付方式:</view><view class="money data-v-57d42baa">{{order.pay_type}}</view></view></view></view><view class="order data-v-57d42baa"><view class="list clear data-v-57d42baa"><view class="list-box clear data-v-57d42baa"><view class="data-v-57d42baa">商品金额:</view><view class="data-v-57d42baa">{{order.real_amount}}</view></view><view class="list-box clear data-v-57d42baa"><view class="data-v-57d42baa">运费金额:</view><view class="data-v-57d42baa">{{order.payable_freight}}</view></view><view class="list-box clear data-v-57d42baa"><view class="data-v-57d42baa">订单总额:</view><view class="money data-v-57d42baa">{{order.order_amount}}</view></view></view></view><block wx:if="{{order.order_status==1}}"><view class="order data-v-57d42baa"><view class="title data-v-57d42baa"><text class="data-v-57d42baa">支付方式</text></view><view class="payment-box data-v-57d42baa"><block wx:for="{{providerList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['selectPayment',['$0'],[[['providerList','',index,'id']]]]]]]}}" class="payment-item data-v-57d42baa" bindtap="__e"><view class="data-v-57d42baa"><text class="{{['iconfont','pay','data-v-57d42baa',item.class]}}" id="{{item.id}}"></text></view><view class="{{['data-v-57d42baa',(payment==item.id)?'activeColor':'']}}">{{item.name}}<block wx:if="{{item.id=='balance'}}"><text style="padding-left:15rpx;padding-top:2rpx;font-size:24rpx;" class="data-v-57d42baa">{{"可用余额: ¥"+order.users_price+"元"}}</text></block></view><view class="{{['data-v-57d42baa',(payment==item.id)?'active':'']}}"><text class="iconfont data-v-57d42baa"></text></view></view></block></view></view></block><block wx:if="{{active!=4}}"><view class="data-v-57d42baa"><view class="operation-placeholder data-v-57d42baa"></view><view class="operation data-v-57d42baa"><block wx:if="{{order.order_status==1}}"><text data-event-opts="{{[['tap',[['cancel',['$event']]]]]}}" class="cancel data-v-57d42baa" bindtap="__e">取消订单</text></block><block wx:if="{{order.order_status==1}}"><text data-event-opts="{{[['tap',[['goPay',['$event']]]]]}}" class="pay data-v-57d42baa" bindtap="__e">立即付款</text></block><block wx:if="{{order.order_status==2||order.order_status==3||order.order_status==4}}"><text data-event-opts="{{[['tap',[['confirm',['$event']]]]]}}" class="confirm data-v-57d42baa" bindtap="__e">确认收货</text></block><block wx:if="{{order.order_status==2||order.order_status==3||order.order_status==4}}"><text data-event-opts="{{[['tap',[['refund',['$event']]]]]}}" class="refund data-v-57d42baa" bindtap="__e">申请退款</text></block><block wx:if="{{order.order_status==5}}"><text data-event-opts="{{[['tap',[['evaluate',['$event']]]]]}}" class="evaluate data-v-57d42baa" bindtap="__e">待评价</text></block></view></view></block></view></block></view>