|
|
|
|
<block wx:if="{{isLoad}}"><view class="order-pages"><block wx:if="{{$root.g0}}"><view><view class="mt-md ml-lg mr-lg fill-base radius-16"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['list-item','flex-center','pd-lg',[(index!=0)?'b-1px-t':'']]}}"><image class="item-img radius-16" mode="aspectFill" src="{{item.$orig.cover}}"></image><view class="flex-1 ml-md"><view class="{{[[(bellOrderParams.order_type==0)?'flex-between':'']]}}"><view class="{{['f-title','c-title','text-bold','ellipsis',[(bellOrderParams.order_type==0)?'max-400':''],[(bellOrderParams.order_type==1)?'max-470':'']]}}">{{''+item.$orig.title+''}}</view><block wx:if="{{bellOrderParams.order_type==0}}"><view class="f-caption c-caption">{{"x"+item.$orig.num+''}}</view></block></view><view class="flex-between"><view class="flex-y-center f-desc c-caption"><view class="f-title c-warning mr-sm">{{'¥'+(bellOrderParams.order_type==0?item.$orig.pay_price:item.$orig.price)}}</view><block wx:if="{{bellOrderParams.order_type==0}}"><view class="text-delete mr-sm">{{"¥"+item.$orig.price+''}}</view></block>{{''+('/ '+item.$orig.time_long)+'分钟'}}</view><view><block wx:if="{{item.$orig.material_price*1>0}}"><view class="f-caption c-caption">{{'物料费:¥'+item.$orig.material_price}}</view></block></view></view><view class="flex-between"><view class="f-caption c-caption mt-sm mb-sm ellipsis" style="max-width:300rpx;">{{'服务'+item.m0+":"+(orderInfo.coach_info?orderInfo.coach_info.coach_name:'-')+''}}</view><view><block wx:if="{{bellOrderParams.order_type==1}}"><view class="flex-warp"><button data-event-opts="{{[['tap',[['changeNum',[-1,index]]]]]}}" class="reduce" style="{{'border-color:'+(primaryColor)+';'+('color:'+(primaryColor)+';')}}" catchtap="__e"><view class="iconfont icon-jian-bold _i"></view></button><button class="addreduce clear-btn">{{item.$orig.num||0}}</button><button data-event-opts="{{[['tap',[['changeNum',[1,index]]]]]}}" class="add" style="{{'background:'+(primaryColor)+';'+('border-color:'+(primaryColor)+';')}}" catchtap="__e"><view class="iconfont icon-jia-bold _i"></view></button></view></block></view></view></view></view></block></view><view class="mt-md ml-lg mr-lg fill-base radius-16"><view class="flex-between pd-lg b-1px-b"><view class="f-title c-title text-bold">服务开始时间</view><view class="f-paragraph c-caption">{{''+orderInfo.order_start_time+''}}</view></view><view class="flex-between pd-lg"><view class="f-title c-title text-bold">服务结束时间</view><view class="f-paragraph c-caption">{{''+orderInfo.order_end_time+''}}</view></view></view><view class="mt-md ml-lg mr-lg fill-base radius-16"><block wx:for="{{payList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><block wx:if="{{bellOrderParams.order_type==0&&orderInfo.pay_model==item.id||bellOrderParams.order_type==1}}"><view data-event-opts="{{[['tap',[['toChangeItem',[index,2]]]]]}}" class="flex-between pt-lg pb-lg pl-lg pr-md b-1px-b" catchtap="__e"><view class="flex-y-center f-title c-title"><view class="{{['iconfont','mr-md','_i',item.icon]}}" style="{{'color:'+(item.id==1?primaryColor:'')+';'+('font-size:'+('50rpx')+';')}}"></view>{{''+item.title+''}}<block wx:if="{{item.id==2}}"><view class="f-paragraph c-caption ml-md">{{"余额"+(balance||0)+"元"}}</view></block></view><view class="flex-y-center" style="{{'color:'+(payInd==index?primaryColor:'')+';'}}"><view class="{{['pay-icon','iconfont','icon-xuanze','mr-sm','_i',[(item.is_disabled||payInd==index)?'icon-xuanze-fill':'']]}}"></view></view></view></block></block></block></view><block wx:if="{{$root.g1}}"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="mt-md ml-lg mr-lg pd-lg fill-base f-paragraph c-title flex-y-center radius-16" catchtap="__e"><view class="{{['iconfont','mr-sm','_i',isAgree?'icon-xuanze-fill':'icon-xuanze']}}" style="{{'color:'+(isAgree?primaryColor:'')+';'}}"></view>我已阅读并同意<view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" style="{{'color:'+(primaryColor)+';'}}" catchtap="__e">《<EFBFBD><EFBFBD>
|