luban-mall/unpackage/dist/dev/mp-weixin/pagesA/order/detail.wxml

1 line
3.0 KiB
Plaintext

<view class="pad-b140 data-v-35bf19e6"><status-nav vue-id="fbb6b840-1" ifReturn="{{true}}" navBarTitle="订单详情" marginBottom="{{0}}" class="data-v-35bf19e6" bind:__l="__l"></status-nav><view class="order-info-bg data-v-35bf19e6"><view class="order-info data-v-35bf19e6"><view class="flex data-v-35bf19e6"><text class="data-v-35bf19e6">订单编号</text><text class="data-v-35bf19e6">{{orderDetail.coding}}</text></view><view class="flex data-v-35bf19e6"><text class="data-v-35bf19e6">下单时间</text><text class="data-v-35bf19e6">{{orderDetail.created_at}}</text></view><view class="flex data-v-35bf19e6"><text class="data-v-35bf19e6">订单状态</text><text class="data-v-35bf19e6">{{orderDetail.status_text}}</text></view></view></view><view class="order-list data-v-35bf19e6"><view class="order-item order-item-detail data-v-35bf19e6"><view class="order-information data-v-35bf19e6">订单信息</view><view class="item-bg data-v-35bf19e6"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toDetail',['$0','$1'],[[['orderDetail.skus','',index,'spu_id']],[['orderDetail.skus','',index,'is_series']]]]]]]}}" class="item flex data-v-35bf19e6" bindtap="__e"><view class="img data-v-35bf19e6"><image src="{{item.$orig.spu_cover}}" mode="widthFix" class="data-v-35bf19e6"></image></view><view class="txt data-v-35bf19e6"><view class="title data-v-35bf19e6">{{item.$orig.spu_name}}</view><view class="specs clips2 data-v-35bf19e6">{{"规格:"+item.$orig.custom_title}}</view><view class="price flex data-v-35bf19e6"><text class="data-v-35bf19e6">{{"¥"+item.g0}}</text><view class="data-v-35bf19e6"><text class="data-v-35bf19e6">x</text>{{item.$orig.num}}</view></view></view></view></block></view><view class="total-price total-price-detail flex data-v-35bf19e6"><text class="data-v-35bf19e6">{{"总价:¥"+$root.g1}}</text></view></view></view><view class="contact-info-bg data-v-35bf19e6"><view class="contact-info data-v-35bf19e6"><view class="title data-v-35bf19e6">联系方式</view><view class="name data-v-35bf19e6"><text class="data-v-35bf19e6">{{orderDetail.contact}}</text><text class="data-v-35bf19e6">{{orderDetail.phone}}</text></view><view class="item data-v-35bf19e6">{{orderDetail.address}}</view><block wx:if="{{orderDetail.remarks!==''}}"><view class="item data-v-35bf19e6">{{"希望到货时间:"+orderDetail.remarks}}</view></block></view></view><view class="shop-btns order-btns flex data-v-35bf19e6"><block wx:if="{{orderDetail.status=='ordered'}}"><view data-event-opts="{{[['tap',[['cancleEv',['$event']]]]]}}" class="btn btn-grey data-v-35bf19e6" bindtap="__e">取消订单</view></block><block wx:if="{{orderDetail.status=='completed'||orderDetail.status=='closed'}}"><view data-event-opts="{{[['tap',[['buyAgain',['$event']]]]]}}" class="btn data-v-35bf19e6" bindtap="__e">再次购买</view></block></view><customer-service vue-id="fbb6b840-2" class="data-v-35bf19e6" bind:__l="__l"></customer-service></view>