<share make="{{make}}" type="1" aid="{{info.aid}}" orderid="{{orderid}}" invitefbtn="{{invitefbtn}}" sid="{{info.sid}}" pid="{{info.pid}}"></share>
<view class="content">
  <view class="successBox">
    <view class="successBg">
      <image src="../../../images/paySuccess/successBox.png" class="bgImg">
      </image>
      <!-- 报名成功 -->
      <view class="successTitle">
        <image src="https://img.bbztx.com/miniProgram/challengeFamily/orderIcon1.png" style="width:50rpx;margin-right: 20rpx;" mode="widthFix"></image>
        <image src="https://img.bbztx.com/miniProgram/challengeFamily/orderIcon.png" style="height: 56rpx;width: 56rpx;margin-right:20rpx ;"></image>
        <view wx:if="{{tradeChannelWeixin !='CMBC'}}">
          <view wx:if="{{info.atype == 0}}">
            <view wx:if="{{info.subOrders[0].status == 13}}">支付成功
            </view>
            <view wx:elif="{{info.subOrders[0].status == 15}}">候补中
            </view>
            <view wx:else>报名成功
            </view>
          </view>
          <view wx:else>
            购买成功
          </view>
        </view>
        <view wx:else>
          {{btype==3?'候补中':(info.atype == 0 ? (info.subOrders[0].status == 13?'支付成功':'报名成功'):'购买成功')}}
        </view>
        <image src="https://img.bbztx.com/miniProgram/challengeFamily/orderIcon2.png" style="width:50rpx;margin-left: 20rpx;" mode="widthFix"></image>
      </view>
      <!-- 活动名称 -->
      <view class="actInfo">
        {{info.atype == 0 ? '活动':'商品'}}名称：<tetx style="color: #C6C7C8;width: 380rpx;text-align: end; " class="ellipsisDisplay"> {{info.title}}</tetx>
      </view>
      <view style="margin-left:50rpx; width: 82%;">
        <view class="horizontalLine">
        </view>
      </view>
      <view class="actInfo" style="margin-top: 0;">
        {{info.atype == 0 ? (info.military==1?'场次/排':'场次/套餐'):'颜色/尺码'}}：<view style="color: #C6C7C8;"> {{info.sessionName}}/<block wx:for="{{info.meals}}" wx:key="unique" wx:if="{{info.meals}}">{{item.policyName}}<text wx:if="{{info.military==1}}">（{{info.campSex==0?'仅女生可报':(info.campSex==1?'仅男生可报':'不限性别')}}）</text>({{item.num}});</block>
        </view>
      </view>
    </view>
  </view>
  <!-- 拼团邀请 -->
  <view class="tips-content white-bg borderRadiu boxPadding" wx:if="{{info.groupinfo && info.groupinfo.discount&&info.waitPayResult != 1}}" style="position: relative;">
    <image src="https://img.bbztx.com/miniProgram/challengeFamily/orderIcon3.png" class="ballom"></image>
    <view class="groupItem">
      <view style="display: flex;font-size: 26rpx;">
        <text wx:if="{{info.groupinfo.discount.before > 0 && info.groupinfo.discount.total >= info.groupinfo.discount.before && info.groupinfo.discount.next-info.groupinfo.discount.total > 0}}" style="color:#C6C7C8">已满{{info.groupinfo.discount.before}}人团，</text>
        <text wx:if="{{info.groupinfo.discount.next-info.groupinfo.discount.total > 0}}">还差<text class="subtitleColor">{{info.groupinfo.discount.next-info.groupinfo.discount.total}}</text>人成{{info.groupinfo.discount.next}}人团</text>
        <text wx:elif="{{info.groupinfo.discount.next > 0}}">已满{{info.groupinfo.discount.next}}人团</text>
      </view>
      <view class="redButt" id="invite" bindtap="invite" wx:if="{{info.groupinfo.gstatus == 0}}" data-invitefbtn="1">立即邀请
      </view>
    </view>
    <view style="width: 100%;">
      <view class="horizontalLine">
      </view>
    </view>
    <view class="groupItem">
      <view style="display: flex;align-items: center;">
        <view wx:for="{{info.groupinfo.discount.users}}" wx:key="unique" style=" padding-left: 10rpx;">
          <image src="{{item.avatar}}" wx:if="{{item.avatar}}" class="groupImg" mode="" style="margin-top: 4rpx;" />
          <view class="groupImg groupNo" wx:else>
            +
          </view>
        </view>
      </view>
      <view style="font-size: 26rpx;" wx:if="{{info.groupinfo.discount.deadline > 0}}">剩余时间<view class="font14 subtitleColor" style="display: inline-block;">{{info.updateTime.hour}}:{{info.updateTime.minite}}:{{info.updateTime.second}}</view>
      </view>
    </view>
    <view style="font-size: 22rpx;color: #EE454A;margin-top:20rpx;text-align: left;">
      注：拼团是否成功并不影响实际参与活动，拼团奖励活动结束后发放</view>
  </view>
  <!-- 专属活动群 -->
  <view class="tips-content white-bg borderRadiu boxPadding" wx:if="{{info.atype ==0}}">
    <view class="selfActTitle">
      <view style="display: flex;align-items: center;">
        <view class="titleLine">
        </view>
        <view>
          专属客服
        </view>
      </view>
    </view>
    <view class="selfInfo ">
      <view class="infoLeft">
        <text>扫码添加客服微信，获取专属服务</text>
        <view style="color: #8C8C8C;display: flex;align-items: center;">
          <image src="https://img.bbztx.com/miniProgram/challengeFamily/fingerprint.png" class="infocode"></image>
          <text>长按识别二维码立刻添加</text>
          <image src="https://img.bbztx.com/miniProgram/challengeFamily/orderIcon4.png" style="height: 30rpx;width: 30rpx;margin-left: 10rpx;margin-top: 8rpx;"></image>
        </view>
      </view>
      <view>
        <image src="https://img.bbztx.com/miniProgram/challengeFamily/QRcode.png" mode="aspectFit" show-menu-by-longpress="true" style="width:240rpx;height: 240rpx;"></image>
      </view>
    </view>
  </view>
  <view style="display:flex;align-items: center;flex-direction: column;">
    <view class="shareBtn" id="invite" bindtap="invite" data-invitefbtn="0" wx:if="{{info.atype==0}}">邀请好友报名</view>
    <view class="backBtn">
      <navigator id="returnHome" bindtap="jumpToHome" data-url="/pages/home/index" hover-class="none">返回首页</navigator>
      <navigator url="{{link}}" id="orderDetail" hover-class="none">查看详情</navigator>
    </view>
  </view>


  <view class="modal-col borderRadiu" wx:if="{{showGoodsRecom}}" style="margin-top: 46rpx;">
    <physicalForCard title="活动所需物品清单" link="{{'/pages/public/showGoodsList/index?aid='+info.aid}}"></physicalForCard>
    <physicalList showType="{{true}}" aid="{{info.aid}}"></physicalList>
  </view>
  <view class="mTop20">
    <recommend aid="{{info.aid}}" wx:if="{{info.recommend==1}}" />
  </view>
</view>