You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
5.4 KiB
1 line
5.4 KiB
5 months ago
|
<view class="order-pages"><uni-nav-bar vue-id="197cfa01-1" fixed="{{true}}" shadow="{{false}}" statusBar="{{true}}" title="订单" color="#ffffff" backgroundColor="{{primaryColor}}" bind:__l="__l"></uni-nav-bar><view style="{{'height:'+(configInfo.navBarHeight+'px')+';'}}"></view><fixed vue-id="197cfa01-2" top="{{configInfo.navBarHeight}}" bind:__l="__l" vue-slots="{{['default']}}"><tab vue-id="{{('197cfa01-3')+','+('197cfa01-2')}}" list="{{tabList}}" activeIndex="{{activeIndex*1}}" activeColor="{{primaryColor}}" width="{{100/$root.g0+'%'}}" height="100rpx" data-event-opts="{{[['^change',[['handerTabChange']]]]}}" bind:change="__e" bind:__l="__l"></tab><view class="b-1px-b"></view></fixed><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goDetail',[index,'detail']]]]]}}" class="item-child mt-md ml-md mr-md pd-lg fill-base radius-16 rel" catchtap="__e"><block wx:if="{{item.$orig.is_add}}"><view><view class="bell-tag flex-center f-icontext c-base abs" style="{{'background:'+(primaryColor)+';'}}">加钟服务</view><view class="space-md"></view></view></block><view class="flex-between pb-lg b-1px-b"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" data-event-params="{{({item:item.$orig})}}" class="f-paragraph c-title max-450 ellipsis" catchtap="__e">{{"订单号:"+item.$orig.order_code+''}}</view><view class="f-caption text-bold" style="{{'color:'+(item.$orig.pay_type==1?primaryColor:item.g1?subColor:item.$orig.pay_type==7?'#11C95E':'#333')+';'}}">{{''+statusType[item.$orig.pay_type]+''}}</view></view><block wx:for="{{item.$orig.order_goods}}" wx:for-item="aitem" wx:for-index="aindex" wx:key="aindex"><view class="flex-center mt-lg"><image class="cover radius-16" mode="aspectFill" src="{{aitem.goods_cover}}"></image><view class="flex-1 ml-md"><view class="flex-between"><view class="f-mini-title c-title text-bold max-400 ellipsis">{{''+aitem.goods_name+''}}</view><view class="f-desc c-desc">{{"x"+aitem.num}}</view></view><view class="flex-center" style="{{'margin-top:'+(aindex==item.g2-1?'6rpx':'20rpx')+';'}}"><view class="flex-1 flex-y-center f-caption c-caption">{{"服务"+item.m0+''}}<view class="ml-md max-280 ellipsis">{{''+(item.$orig.coach_info?item.$orig.coach_info.coach_name:'-')+''}}</view></view><block wx:if="{{aitem.refund_num>0}}"><view class="f-caption c-warning">{{"已退x"+aitem.refund_num+''}}</view></block></view><view class="flex-y-center f-caption c-caption">预约时间<view class="ml-md">{{item.$orig.start_time+''}}</view></view><block wx:if="{{aindex==item.g3-1}}"><view class="flex-y-center f-caption c-caption">总计:<view class="flex-y-baseline c-warning text-bold">¥<view class="f-title">{{item.$orig.pay_price}}</view></view></view></block></view></view></block><view class="flex-between pt-lg"><view></view><view class="flex-warp"><block wx:if="{{item.$orig.pay_type==1}}"><block><button data-event-opts="{{[['tap',[['toCancel',[index]]]]]}}" class="clear-btn order" catchtap="__e">取消订单</button><button data-event-opts="{{[['tap',[['toPay',[index]]]]]}}" class="clear-btn order" style="{{'color:'+('#fff')+';'+('background:'+(primaryColor)+';')+('border-color:'+(primaryColor)+';')}}" catchtap="__e">去支付</button></block></block><block wx:if="{{item.$orig.pay_type==-1||item.$orig.pay_type==7}}"><block><button data-event-opts="{{[['tap',[['toCancel',[index]]]]]}}" class="clear-btn order" catchtap="__e">删除</button></block></block><block wx:if="{{item.$orig.can_refund>0}}"><button data-event-opts="{{[['tap',[['goDetail',[index,'refund']]]]]}}" class="clear-btn order" catchtap="__e">申请退款</button></block><block wx:if="{{item.$orig.pay_type==6&&(item.$orig.is_add||!item.$orig.is_add&&item.$orig.can_add_order)}}"><block><button data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" data-event-params="{{({item:item.$orig})}}" class="clear-btn order" style="{{'color:'+('#fff')+';'+('background:'+(primaryColor)+';')+('border-color:'+(primaryColor)+';')}}" catchtap="__e">{{item.$orig.is_add?'升级项目':'升级/加
|