index.wxml 8.1 KB

1
  1. <view class="order-details pos-order-details"><view class="header acea-row row-middle"><view class="state">{{title}}</view><view class="data"><view class="order-num">{{$root.m0+":"+orderInfo.order_id}}</view><view><label class="time _span">{{orderInfo._add_time}}</label></view></view></view><block wx:if="{{goname!='looks'}}"><view class="remarks acea-row row-between-wrapper"><label class="iconfont icon-zhinengkefu- _span"></label><input class="line1" style="text-align:left;" disabled="{{true}}" data-event-opts="{{[['tap',[['modify',['1']]]]]}}" value="{{orderInfo.remark?orderInfo.remark:$root.m1}}" bindtap="__e"/></view></block><view class="orderingUser acea-row row-middle"><label class="iconfont icon-yonghu2 _span"></label>{{orderInfo.nickname+''}}</view><view class="address"><view class="name">{{''+orderInfo.real_name}}<label class="phone _span">{{orderInfo.user_phone}}</label><label data-event-opts="{{[['tap',[['copyNum',[orderInfo.real_name+' '+orderInfo.user_phone+' '+orderInfo.user_address]]]]]}}" class="copy copy-data _span" bindtap="__e">{{$root.m2}}</label></view><view>{{orderInfo.user_address}}</view></view><view class="line"><image src="/static/images/line.jpg"></image></view><view class="pos-order-goods"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><navigator class="goods acea-row row-between-wrapper" url="{{'/pages/goods_details/index?id='+(item.$orig.productInfo.product_id?item.$orig.productInfo.product_id:item.$orig.productInfo.id)}}" hover-class="none"><view class="picTxt acea-row row-between-wrapper"><view class="pictrue"><image src="{{item.$orig.productInfo.image}}"></image></view><view class="text acea-row row-between row-column"><view class="info line2">{{''+item.$orig.productInfo.store_name+''}}</view><view class="attr">{{item.$orig.productInfo.attrInfo.suk}}</view></view></view><view class="money"><view class="x-money">{{$root.m3+item.$orig.productInfo.price}}</view><view class="num">{{"x"+item.$orig.cart_num}}</view><block wx:if="{{item.$orig.productInfo.attrInfo}}"><view class="y-money">{{item.m4+item.$orig.productInfo.attrInfo.ot_price}}</view></block><block wx:else><view class="y-money">{{item.m5+item.$orig.productInfo.ot_price}}</view></block></view></navigator></block></view><block wx:if="{{orderInfo.total_num}}"><view class="public-total">{{''+$root.m6+orderInfo.total_num+$root.m7+''}}<label class="money _span">{{$root.m8+orderInfo.pay_price}}</label>{{'( '+$root.m9+" "+$root.m10+orderInfo.pay_postage+'\n\t\t\t)'}}</view></block><block wx:if="{{orderInfo.order_id}}"><view class="wrapper"><view class="item acea-row row-between"><view>{{$root.m11+":"}}</view><view class="conter acea-row row-middle row-right">{{''+orderInfo.order_id+''}}<label data-event-opts="{{[['tap',[['copyNum',['$0'],['orderInfo.order_id']]]]]}}" class="copy copy-data _span" bindtap="__e">{{$root.m12}}</label></view></view><view class="item acea-row row-between"><view>{{$root.m13+":"}}</view><view class="conter">{{orderInfo._add_time}}</view></view><view class="item acea-row row-between"><view>{{$root.m14+":"}}</view><view class="conter">{{''+(orderInfo.paid==1?$root.m15:$root.m16)+''}}</view></view><view class="item acea-row row-between"><view>{{$root.m17+":"}}</view><view class="conter">{{payType}}</view></view><view class="item acea-row row-between"><view>{{$root.m18+":"}}</view><view class="conter">{{orderInfo.mark}}</view></view></view></block><block wx:if="{{$root.g0}}"><view class="wrapper"><block wx:for="{{customForm}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item acea-row row-between"><block wx:if="{{item.label=='img'}}"><view class="upload"><view>{{item.title+":"}}</view><block wx:for="{{item.value}}" wx:for-item="img" wx:for-index="index" wx:key="index"><view class="pictrue"><image src="{{img}}"></image></view></block></view></block><block wx:if="{{item.label!=='img'}}"><view>{{item.title+":"}}</view></block><block wx:if="{{item.label!=='img'}}"><view class="conter">{{item.value}}</view></block></view></block></view></block><view class="wrapper"><view class="item acea-row row-between"><view>{{$root.m19+":"}}</view><view class="conter">{{''+$root.m20+$root.g1+''}}</view></view><block wx:if="{{orderInfo.pay_postage>0}}"><view class="item acea-row row-between"><view>{{$root.m21+":"}}</view><view class="conter">{{$root.m22+$root.g2}}</view></view></block><block wx:if="{{orderInfo.levelPrice>0}}"><view class="item acea-row row-between"><view>{{$root.m23+":"}}</view><view class="conter">{{"-"+$root.m24+$root.g3}}</view></view></block><block wx:if="{{orderInfo.memberPrice>0}}"><view class="item acea-row row-between"><view>{{$root.m25+":"}}</view><view class="conter">{{"-"+$root.m26+$root.g4}}</view></view></block><block wx:if="{{orderInfo.coupon_price>0}}"><view class="item acea-row row-between"><view>{{$root.m27+":"}}</view><view class="conter">{{"-"+$root.m28+$root.g5}}</view></view></block><block wx:if="{{orderInfo.use_integral>0}}"><view class="item acea-row row-between"><view>{{$root.m29+":"}}</view><view class="conter">{{"-"+$root.m30+$root.g6}}</view></view></block><view class="actualPay acea-row row-right">{{$root.m31+":"}}<text class="money">{{$root.m32+$root.g7}}</text></view></view><block wx:if="{{orderInfo.delivery_type!='fictitious'&&orderInfo._status._type===2}}"><view class="wrapper"><view class="item acea-row row-between"><view>{{$root.m33+":"}}</view><block wx:if="{{orderInfo.delivery_type==='express'}}"><view class="conter">{{''+$root.m34+''}}</view></block><block wx:if="{{orderInfo.delivery_type==='send'}}"><view class="conter">{{$root.m35}}</view></block></view><view class="item acea-row row-between"><block wx:if="{{orderInfo.delivery_type==='express'}}"><view>{{$root.m36+":"}}</view></block><block wx:if="{{orderInfo.delivery_type==='send'}}"><view>{{$root.m37+":"}}</view></block><view class="conter">{{orderInfo.delivery_name}}</view></view><view class="item acea-row row-between"><block wx:if="{{orderInfo.delivery_type==='express'}}"><view>{{$root.m38+":"}}</view></block><block wx:if="{{orderInfo.delivery_type==='send'}}"><view>{{$root.m39+":"}}</view></block><view class="conter">{{''+orderInfo.delivery_id+''}}<label data-event-opts="{{[['tap',[['copyNum',['$0'],['orderInfo.delivery_id']]]]]}}" class="copy copy-data _span" bindtap="__e">{{$root.m40}}</label></view></view></view></block><view style="height:120rpx;"></view><block wx:if="{{goname!='looks'}}"><view class="footer acea-row row-right row-middle"><view class="more"></view><block wx:if="{{types==0}}"><view data-event-opts="{{[['tap',[['modify',['0']]]]]}}" class="bnt cancel" bindtap="__e">{{''+$root.m41+''}}</view></block><block wx:if="{{types==-1&&orderInfo.refund_type==1}}"><view data-event-opts="{{[['tap',[['modify',['2']]]]]}}" class="bnt cancel" bindtap="__e">{{''+$root.m42+''}}</view></block><block wx:if="{{types==-1&&orderInfo.refund_type==2}}"><view data-event-opts="{{[['tap',[['agreeExpress',['$0'],['orderInfo.id']]]]]}}" class="bnt cancel" bindtap="__e">{{''+$root.m43+''}}</view></block><block wx:if="{{types==-1&&orderInfo.refund_type==4}}"><view class="wait">{{$root.m44}}</view></block><view data-event-opts="{{[['tap',[['modify',['1']]]]]}}" class="bnt cancel" bindtap="__e">{{$root.m45}}</view><block wx:if="{{orderInfo.pay_type==='offline'&&orderInfo.paid===0}}"><view data-event-opts="{{[['tap',[['offlinePay',['$event']]]]]}}" class="bnt cancel" bindtap="__e">{{''+$root.m46+''}}</view></block><block wx:if="{{orderInfo.delivery_type=='express'&&orderInfo.status==1}}"><navigator class="bnt cancel" hover-class="none" url="{{'/pages/goods/goods_logistics/index?is_admin=1&orderId='+orderInfo.order_id}}">{{''+$root.m47+''}}</navigator></block><block wx:if="{{types==1&&orderInfo.shipping_type===1&&(orderInfo.pinkStatus===null||orderInfo.pinkStatus===2)}}"><navigator class="bnt delivery" url="{{'/pages/admin/delivery/index?id='+orderInfo.order_id}}">{{$root.m48}}</navigator></block></view></block><price-change vue-id="20cee64d-1" change="{{change}}" orderInfo="{{orderInfo}}" status="{{status}}" data-event-opts="{{[['^closechange',[['changeclose',['$event']]]],['^savePrice',[['savePrice']]]]}}" bind:closechange="__e" bind:savePrice="__e" bind:__l="__l"></price-change></view>