12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- <view class="tab-bar white-bg">
- <share make="{{modalInfo.show}}" aid="{{modalInfo.aid}}" sid="{{modalInfo.sid}}" pid="{{modalInfo.pid}}" orderid="{{modalInfo.orderid}}" groupid="{{modalInfo.groupid}}" groupbook="{{modalInfo.groupbook}}" status="{{modalInfo.status}}" type="1" invitefbtn="{{modalInfo.invitefbtn}}"/>
- <view class="tab-item{{queryData.otype == '' ? ' active':''}}" data-index="" bindtap="setTabbar">
- <view class="label">全部</view>
- </view>
- <view class="tab-item{{queryData.otype == 1 ? ' active':''}}" data-index="1" bindtap="setTabbar">
- <view class="label">
- <text class="info" wx:if="{{stat.payNumber > 0}}">{{stat.payNumber}}</text>
- 待付款
- </view>
- </view>
- <view class="tab-item{{queryData.otype == 2 ? ' active':''}}" data-index="2" bindtap="setTabbar">
- <view class="label">
- <text class="info" wx:if="{{stat.attendNumber > 0}}">{{stat.attendNumber}}</text>
- 待参加
- </view>
- </view>
- <view class="tab-item{{queryData.otype == 3 ? ' active':''}}" data-index="3" bindtap="setTabbar">
- <view class="label">
- <text class="info" wx:if="{{stat.commentNumber > 0}}">{{stat.commentNumber}}</text>
- 待评价
- </view>
- </view>
- <view class="tab-item{{queryData.otype == 4 ? ' active':''}}" data-index="4" bindtap="setTabbar">
- <view class="label">退款售后</view>
- </view>
- </view>
- <view class="content">
- <view class="order-card white-bg" wx:for="{{list}}" wx:key="unique">
- <navigator class="order-card-main" hover-class="none" url="/pages/order/detail/index?orderid={{item.orderid}}&otype={{queryData.otype}}&presellStatus={{item.presellStatus}}">
- <image src="{{item.logo}}" mode="aspectFill" binderror="errorImg" data-index="{{index}}"></image>
- <view class="order-card-content">
- <view class="listTitle">{{item.atitle}}</view>
- <text class="font12 black">
- {{item.atype == 0 ? '场次':'颜色'}}:{{item.sessionName}}
- {{item.atype == 0 ? (item.military == 1?'排':'套餐'):'尺寸'}}:<block wx:for="{{item.meals}}" wx:for-index="i" wx:for-item="itemName" wx:key="i">{{itemName.policyName}} <text wx:if="{{item.military == 1}}">({{item.campSex==0?'仅女生可报':(item.campSex==1?'仅男生可报':'不限性别')}})</text>({{itemName.num}})</block>
- <text class="r-float subtitleColor">¥<text class="font16">{{item.price}}</text></text>
- </text>
- </view>
- </navigator>
- <view class="order-card-footer">
- <text class="subtitleColor" wx:if="{{!(item.status == 13 && item.needPayBalance==1)}}">{{item.statusDesc}}</text>
- <button size="mini" class="button button-plain-gray button-radius" wx:if="{{item.status==1 && item.presellStatus != 2 && item.waitPayResult!=1}}" bindtap="cancelOrder" data-orderid="{{item.orderid}}">取消订单</button>
- <button plain size="mini" class="button button-radius" wx:if="{{item.status==1 && item.waitPayResult!=1}}" bindtap="pay" data-orderid="{{item.orderid}}" data-presellStatus="{{item.presellStatus}}" data-status="item.status">{{item.presellStatus == 0 ? '我要付款':(item.presellStatus == 2 ? '支付尾款':'支付预付金')}}</button>
- <text wx:if="{{(item.groupbook == 1 && item.totalNum > 0 && item.status == 2 && (item.presellStatus == 0||item.presellStatus == 2)) || (item.groupbook == 1 && item.status == 13 && item.needPayBalance==0 && item.totalNum > 0)}}">
- <block wx:if="{{item.beforeNum != 0}}">已成{{item.beforeNum}}人团,</block>差{{item.nextNum-item.totalNum}}人成{{item.nextNum}}人团
- </text>
- <button plain size="mini" class="button button-radius invite-group" wx:if="{{(item.groupbook == 1 && item.status == 2 && (item.presellStatus == 0||item.presellStatus == 2)) || (item.groupbook == 1 && item.status == 13 && item.needPayBalance==0)}}" data-info="{{item}}" data-title="{{item.atitle}}" data-aid="{{item.aid}}" data-sid="{{item.sid}}" data-orderid="{{item.orderid}}" data-logo="{{item.logo}}" data-inviteFbtn="1" bindtap="inviteGroup">邀请拼团</button>
- <button plain size="mini" class="button button-radius invite-group" wx:if="{{item.atype==0&& item.timeContrast &&(item.groupbook != 1 || (item.groupbook == 1 && item.status == 15)) && ((item.status == 2 || item.status == 15) && (item.presellStatus == 0||item.presellStatus == 2) || (item.status == 13 && item.needPayBalance==0))}}" data-info="{{item}}" data-title="{{item.atitle}}" data-aid="{{item.aid}}" data-sid="{{item.sid}}" data-orderid="{{item.orderid}}" data-logo="{{item.logo}}" data-status="{{item.status}}" data-inviteFbtn="0" bindtap="inviteGroup">邀请好友</button>
- <button bindtap="comment" data-orderid="{{item.orderid}}" plain size="mini" class="button button-radius comment" wx:if="{{item.status == 3}}">我要评价
- <!-- <text class="badge--fixed" wx:if="{{item.atype == 0}}">+50~100</text> -->
- </button>
- <button plain size="mini" class="button button-radius cancel-refund" wx:if="{{item.status == 4 || item.status == 5}}" bindtap="cancelRefund" data-orderid="{{item.orderid}}">取消退款</button>
- <block wx:if="{{item.status == 13 && item.needPayBalance==1}}">
- <text>{{item.failureTime}} 之后,将无法支付预付金尾款。</text>
- <button plain size="mini" class="button button-radius" bindtap="jumpBalancePayment" data-aid="{{item.aid}}" data-orderid="{{item.orderid}}" data-presellStatus="{{item.presellStatus}}" data-otype="{{queryData.otype}}" data-campSex="{{item.campSex}}" data-military="{{item.military}}">支付尾款</button>
- </block>
- </view>
- </view>
- </view>
- <view class='noData' hidden='{{list.length > 0}}'><text class="icon icon-info"></text><text>~没有相关订单~</text></view>
- <view class='load-more' hidden="{{loadMore}}">下面没有了哦</view>
|