<!-- <safetyTip id="safeTip" /> -->
<chat show="{{show.chat}}" aid="{{aid}}" type="1" wx:if="{{show.chat}}" />
<!-- 右侧浮动红包 -->
<floatWindow show="{{showfloatWin}}" aid="{{aid}}" price="{{datas.shareCommission}}" orderid="" type="1" channel="{{channel}}" channelTimes="{{channelTimes}}" />
<!-- 点击报名无忧的弹框 -->
<refund bindclose="closeRefund" type="{{type}}" show="{{refundShow}}"></refund>
<!-- 点击报名的弹框 -->
<sku presellOpen='{{datas.presellOpen}}' ageLimit="{{datas.ages}}" military="{{datas.military}}" show="{{show.sku}}" aid="{{aid}}" s1="{{skuIndex || -1}}" s2="{{mealsIndex || -1}}" shareInfo="{{shareInfo}}" createGroup="{{datas.discountStatus == 1? 1 : growupInfo.createGroup}}" atype="{{datas.atype}}" groupid="{{isBuy ? '': groupid}}" shareId="{{shareId}}" qtype="{{datas.qtype}}" street="{{datas.street ? datas.street : '0'}}" recommender="{{datas.recommender}}" maxUserCoin="{{datas.maxUserCoin||0}}" bind:close="skuClose" bind:alternateEmit="alternateEmit" />
<alternatePopup alternateData="{{alternateData}}" show="{{showAlternatePopup}}" bind:close="alternatePopup"></alternatePopup>
<inviteEnrollPopup show="{{showEnrollPopup}}" datas="{{datas.gdiscount}}" list="{{sku.sessions}}" shareInfo="{{shareInfo}}" remainTime="{{remainTime}}" bind:close="closeinviteEnroll" bind:signup="inviteEnrollSignup" bind:newGroup="newGroup"></inviteEnrollPopup>
<paymentPopup show="{{showPaymentPopup}}" presell="{{CompletedOrderInfo}}" bind:makeUpGroup="{{buttonClass != 'disabled' ? 'paymentPay':''}}" bind:jumpBalancePayment="{{'jumpBalancePayment'}}"></paymentPopup>
<share make="{{show.share}}" aid="{{aid}}" orderid="" type="1" channel="{{channel}}" channelTimes="{{channelTimes}}" />
<!-- <groupWork show="{{showGrouPopup}}" datas="{{datas.gdiscount}}" remainTime="{{remainTime}}" bind:close="closeGroupPopup" bind:newGroup="newGroup" bind:joinGroup="newGroup" bind:signUp="goPay"></groupWork> -->
<!-- <official make="{{show.official}}" text="{{officialText}}"/> -->
<growup info="{{growupInfo}}" presellOpen="{{datas.presellOpen}}" show="{{show.growup}}" status="{{datas.status}}" gdiscount="{{datas.gdiscount}}" bind:close="growupToPay" bind:salesReminder="setRemind" />
<integral show="{{show.integral}}" info="{{integralConfig}}" bind:close="goPay" />
<groupCard show="{{show.card}}" status="{{datas.growthCardStatus}}" />
<view class="common_fix common_back" hidden="{{!showBack}}" bindtap="toTop">
  <text class="icon icon-toTop"></text>
</view>

<view class="barOnBottom ">
  <makeGroup wx:if="{{((datas.gdiscount.users.length > 0 && datas.gdiscount.users && buttonClass1 != 'disabled' && alternateBol) || (CompletedOrderInfo.status && CompletedOrderInfo.status != 0))}}" presell="{{CompletedOrderInfo}}" datas="{{datas.gdiscount}}" presellOpen="{{datas.presellOpen}}" remainTime="{{remainTime}}" bind:makeUpGroup="{{buttonClass != 'disabled' ? 'newGroup':''}}" bind:jumpBalancePayment="{{'jumpBalancePayment'}}" />
  <view class="buttons-row">
    <view class="button-growup">
      <button class="button button-white" bindtap="gohome">
        <image src="https://img.bbztx.com/miniProgram/challengeFamily/actToHome.png" class="actBoIcon" mode="widthFix" />
        <text class="middle font12"> 首页</text>
      </button>
      <button class="button button-white" bindtap="chat">
        <image src="https://img.bbztx.com/miniProgram/challengeFamily/actToConsult.png" class="actBoIcon" mode="widthFix" />
        <text class="middle font12"> 咨询</text>
      </button>
      <button id="invite" class="button button-white" bindtap='invite'>
        <image src="https://img.bbztx.com/miniProgram/challengeFamily/actToDate.png" class="actBoIcon" mode="widthFix" />
        <text class="middle font12"> 约伴</text>
      </button>
    </view>
    <!-- 底部按钮组 -->
    <view class="button-growup">
      <!-- 预售/开售提醒 -->
      <view wx:if="{{datas.status == 1 || datas.status == 2 || datas.status == 6 }}" class="button-growup set-remind {{ datas.status == 6?'button-blue':''}}" bindtap='setRemind' style="margin-left: 10px;">
        <text>{{datas.presellOpen==0?'开售提醒':'预售提醒'}}</text>
        <text>{{buttonText}}</text>
      </view>
      <view wx:else class="button-growup set-remind {{buttonClass}}" style="margin-left: 10px;">
        <!-- 立即报名 -->
        <view class="button {{buttonClass}}" bindtap="{{buttonClass == 'disabled'?'':'goPay'}}" data-alone="1" wx:if="{{datas.presellOpen == 0 && (datas.status==0 || datas.status==3)}}">{{buttonText}}</view>
        <!-- 立即预定 -->
        <view style="font-size: 28rpx; line-height: 1;" class="button {{buttonClass}}" bindtap="{{buttonClass == 'disabled'?'':'goPay'}}" data-alone="1" wx:if="{{(datas.presellOpen == 1 || datas.presellOpen == 2) && datas.status==0}}">
          <view class="font14"><text>付￥</text>{{datas.presellPrice}}<text>抵￥</text>{{datas.presellDiscount}}</view>
          立即预订
        </view>
      </view>
    </view>
  </view>
</view>
<view class="content">
  <downTimer aid="{{aid}}" source="1" />
  <view class="top">
    <swiper indicator-dots="true" class="swiper">
      <block wx:for="{{datas.pics}}" wx:key="index">
        <swiper-item>
          <image src="{{imgUrl}}{{item}}" class="slide-image" width="355" height="150" />
        </swiper-item>
      </block>
      <!-- <view class="act-tip" wx:if="{{userInfo.roleType=='sharer'&& userInfo.shareStatus==1&&datas.shareCommission>0}}">邀约好友报名 最高可赚{{datas.shareCommission}}元</view> -->
    </swiper>
    <view class="product-info-line" style="{{datas.qptype == 1 ? 'padding:0':''}}">
      <!-- 拼团 -->
      <block wx:if="{{datas.qptype == 1 && datas.presellOpen == 0}}">
        <view class="qptype-box">
          <view style="display: flex;align-items: center;">
            <view class="font12 qptype-text">
              {{updateTime.saleTime}} {{updateTime.saleTime && updateTime.isQp == 0 ? '开售':(updateTime.saleTime && updateTime.isQp == 1 ? '结束':'')}}
            </view>
          </view>
          <view class="qptype-downtime right" wx:if="{{showTimer}}">
            <block wx:if="{{updateTime.day<=0}}">
              <text class='font12'>{{updateTime.title}}</text>
              <text class='time-m'>{{updateTime.hour}}</text><text class="i">:</text>
              <text class='time-m'>{{updateTime.minite}}</text><text class="i">:</text>
              <text class='time-m'>{{updateTime.second}}</text>
            </block>
            <block wx:else>
              <text class='font12'>{{updateTime.title}}</text>
              <text class='time-m'>{{updateTime.day}}</text><text class="i-d">天</text>
              <text class='time-m'>{{updateTime.hour}}</text><text class="i-d">小时</text>
            </block>
          </view>
        </view>
        <!-- 价格 -->
        <view class="product-box borderRadiu priceBox">
          <view class="colBox">
            <view class="priceRemark">{{datas.priceRemark || '活动费'}}</view>
            <text class="col  font23" style="font-weight: 700;"><text style="font-size: 30rpx;">￥</text>{{datas.price}}</text>
            <text class=' col-s gray87 font14' wx:if="{{datas.originalPrice && datas.price != datas.originalPrice}}">￥{{datas.originalPrice}}</text>
            <text class="gray87 font14" wx:if="{{datas.bigRide == 0}}">(不含大交通)</text>
          </view>
        </view>
      </block>
      <!-- 活动预定 -->
      <view wx:if="{{datas.presellOpen != 0}}">
        <block>
          <view class="qptype-box ">
            <view class="qptype-info">
              <view class="priceRemark" style="font-size: 20rpx;padding:2rpx 8rpx">{{datas.presellPriceRemark || '预付活动'}}</view>
              <view class="amount">
                <text class="col font23"><text class="font16">付￥</text>{{datas.presellPrice}}<text class="font16">抵￥</text>{{datas.presellDiscount}}</text>
              </view>
            </view>
            <view class="qptype-downtime right" wx:if="{{showTimer}}">
              <block wx:if="{{updateTime.day<=0}}">
                <text class='font12'>{{datas.presellOpen == 2 ? '距开始':'距结束'}}</text>
                <text class='time-m'>{{updateTime.hour}}</text><text class="i">:</text>
                <text class='time-m'>{{updateTime.minite}}</text><text class="i">:</text>
                <text class='time-m'>{{updateTime.second}}</text>
              </block>
              <block wx:else>
                <text class='font12'>{{datas.presellOpen == 2 ? '距开始':'距结束'}}</text>
                <text class='time-m'>{{updateTime.day}}</text><text class="i-d">天</text>
                <text class='time-m'>{{updateTime.hour}}</text><text class="i-d">小时</text>
              </block>
            </view>
          </view>
        </block>
        <view class="product-box borderRadiu priceBox">
          <view class="colBox">
            <view class="priceRemark subtitleColor">{{datas.priceRemark?datas.priceRemark:'活动费'}}</view>
            <text class="col font23" style="font-weight: 700;" ><text style="font-size: 30rpx;font-weight: 500;">￥</text>{{datas.price}}</text>
            <text class=' col-s gray87 font14' wx:if="{{datas.originalPrice && datas.price != datas.originalPrice}}">￥{{datas.originalPrice}}</text>
            <text class="gray87 font14" wx:if="{{datas.bigRide == 0}}">(不含大交通)</text>
          </view>
          <view class="font10" style="padding-bottom:10rpx;color:#878787">
            尾款支付时间：<text>{{datas.presellPayStartTime}}</text>～<text>{{datas.presellPayEndTime}}</text>
          </view>
        </view>
      </view>
      <!-- 普通活动 -->
      <view class="product-box borderRadiu" wx:if="{{datas.qptype == 0 && datas.presellOpen == 0}}">
        <view class="colBox">
          <view class="priceRemark">{{datas.priceRemark || '活动费'}}</view>
          <text class="col  font23" style="font-weight: 600;"><text style="font-size: 30rpx;font-weight: 500;">￥</text>{{datas.price}}</text>
          <text class=' col-s gray87 font14' wx:if="{{datas.originalPrice && datas.price != datas.originalPrice}}">￥{{datas.originalPrice}}</text>
          <text class="gray87 font14" wx:if="{{datas.bigRide == 0}}">(不含大交通)</text>
        </view>
      </view>
    </view>
    <view class='product-box borderRadiu'>
      <!-- 活动标题 -->
      <view class="product-title">{{datas.title}}</view>
      <!-- 两行标签滑动 -->
      <view class="tag subtitleColor">
        <view class="product-tag">
          <view>
            <view class="product-tag-item" wx:for="{{datas.tags1}}" wx:for-index="idx" wx:for-item="it" wx:key="idx">{{it.tagValue}}</view>
          </view>
          <view>
            <view class="product-tag-item" wx:for="{{datas.tags2}}" wx:for-index="idx" wx:for-item="it" wx:key="idx">{{it.tagValue}}</view>
          </view>
        </view>
      </view>
    </view>
  </view>


  <view class="newsDet borderRadiu" style="padding: 20rpx 0 20rpx 20rpx;" wx:if="{{sku.sessions.length > 0 && (datas.status == 0 || datas.status == 6 || datas.status == 2) && updateTime.isPayInfo}}">
    <!-- 场次选择 -->
    <scroll-view scroll-x="true" class="sku borderRadiu" scroll-with-animation="true">
      <view class="sku-boxs">
        <view class="sku-box {{datas.status == 6?'':(item.status != 0 ? (datas.presellOpen!=1 && item.status == 1 && item.actnum<=0 ? (item.waitActNum>0?'':'item-disabled'):'item-disabled'):'')}}" wx:for="{{sku.sessions}}" wx:key="sid" data-index="{{index}}" bindtap="{{datas.status == 6?'setRemind':((item.status == 0 || (datas.presellOpen!=1&&item.status == 1 && item.actnum<=0 && item.waitActNum>0)) ? 'goPay':'')}}" data-item="{{item}}" data-alone="0" wx:if="{{datas.status != 6 || (datas.status == 6 && item.status != 2 && (item.actnum>0 || item.waitActNum>0))}}">
          {{item.name}}
          <view style="margin-top: 10rpx;">
            <text class="font10 {{datas.status == 6?'blue':(item.status == 0 && item.actnum > (item.beignNum*item.proportion) ? 'green':(item.status == 0 && item.actnum > 0 && item.actnum <= (item.beignNum*item.proportion) ?'redStatus':(datas.presellOpen!=1&&item.status == 1 && item.actnum <= 0 && item.waitActNum>0?'orange':'')))}}">{{datas.status == 6?'即将开售':(item.status == 1 ? (item.actnum<=0 && item.waitActNum>0 && datas.presellOpen!=1?'售罄候补':'已满额'):(item.status == 2 ?'已结束':(item.actnum > (item.beignNum*item.proportion) ? '火热报名中':(item.actnum > 0 && item.actnum <= (item.beignNum*item.proportion) ? '少量名额' :''))))}}</text>
          </view>
        </view>
      </view>
    </scroll-view>
    <!-- 累计已售 -->
    <view wx:if="{{datas.users && datas.users.length>0}}">
      <view class="census-title"><text wx:if="{{datas.psAttendCount > 0}}">累计已售{{datas.psAttendCount}}\t\t\t\t </text><text wx:if="{{datas.attendCount > 0}}"> 本期已售{{datas.attendCount}}</text></view>
      <view class="censusList" wx:if="{{datas.users.length>0}}" bindtap="gofriend">
        <view class="list" wx:for="{{datas.users}}" wx:key="userId" wx:if="{{index < 8}}">
          <image class="joinHeard" src="{{item.avatar}}" mode="aspectFill" data-i="{{index}}" binderror="errorPic" />
        </view>
        <view class="next" wx:if="{{datas.users.length>=9}}"></view>
      </view>

    </view>
  </view>
  <view class="comment white-bg borderRadiu" wx:if="{{comments.comments.length>0}}">
    <navigator class="r-float font12  buttom1" url="/pages/product/comment/index?aid={{datas.aid}}">查看全部 </navigator>
    <view class="scoreBox">
      <view class="scoreTit inline-block">整体评分</view>
      <view class="starBlank inline-block">
        <view class="scoreBG" style="width:{{score}}%"></view>
      </view>
    </view>
    <view class="line"></view>
    <block wx:for="{{comments.comments}}" wx:key="aid">
      <view class="userInfor">
        <view class="headerBox">
          <image class="headerImgB" src="{{item.ownerAvatar}}" />
          <text>{{item.ownerNick}}</text>
        </view>
        <view class="userBox">
          <text class="gray font12">{{item.weiboTime}}</text>
        </view>
      </view>
      <view class="listScore">
        <view class="score" bindtap="showAllComment"><text class="comment_content">{{item.contented}}</text></view>
        <view class="scoreImg " wx:if="{{item.imageList.length>0}}" bindtap="previewImage" data-index="{{index}}">
          <image class="appraise" src="{{item.imageList[0]}}?x-oss-process=image/resize,m_mfit,h_300,w_300" mode="aspectFill"></image>
        </view>
        <view class="reply" wx:if="{{item.answer}}">
          <view class="addTitle replyTitle"><text class="icon icon-commentd"></text>宝大大回复：</view>
          <view class="score">{{item.answer}}</view>
        </view>
      </view>
    </block>
    <view class="line" wx:if="{{marvellousList.length}}"></view>
    <!-- 往期精彩 -->
    <view class="marvellous ft14" wx:if="{{marvellousList.length}}">
      <view class="marvellous_top" data-psId="{{datas.psId}}" bindtap="goPrevious">
        <view class="marvellous_top_content">
          <image class='brilliant' src="https://img.bbztx.com/image_test/upload/thumbs/20230222/logo/1677038035764008987.png" mode="" />
          <view style="letter-spacing: 2px;color: #9d9d9e;margin-left:30rpx;position: relative;top:-10rpx;font-size:26rpx">
            记录活动过程中的精彩瞬间
          </view>
        </view>
        <image class="brilliantIcon" src="https://img.bbztx.com/image_test/upload/thumbs/20230222/logo/1677038240147032026.png" mode="" />
        <text class="brillianticon"></text>
      </view>
      <view class="marvellous_bottom">
        <view class="bottom_li" wx:for="{{marvellousList}}" wx:key="index">
          <!-- 视频 -->
          <image mode="aspectFill" class='bottom_li' src='{{item.logo}}' wx:if='{{item.type==2}}' data-vdurl="{{item.content}}" bindtap='previewVideo' data-id='{{index}}'></image>
          <video bindtap='previewVideo' wx:if="{{item.type==2&&show!=index}}" src="{{item.content}}"></video>
          <!-- 视频号 -->
          <image mode="aspectFill" class="channelVideo" data-uname="{{item.title}}" data-vdNum="{{item.content}}" src="{{item.logo}}" bindtap="channelVideo" wx:if="{{item.type==3}}" class="bottom_li"></image>
          <!-- 图片 -->
          <image mode="aspectFill" bindtap="actPreviewImage" data-index="{{index}}" data-imgurl="{{item.logo}}" class="bottom_li" src="{{item.logo}}" wx:if="{{item.type==4}}"></image>
          <view wx:if="{{item.type==3||item.type==2}}" class="icon icon-video-play iconAdd"></view>
          <!-- <image wx:if="{{item.type==4}}" class="img" src="https://img.bbztx.com/image_test/upload/202302/imgicon.png" mode="" /> -->
        </view>
      </view>
    </view>
  </view>

  <view class="newsDet borderRadiu" style="margin-top: 20rpx;padding-top:20rpx;padding-bottom: 20rpx;">
    <!-- 儿童年龄要求 -->
    <view class="newsList" wx:if="{{datas.ages || (datas.adultMinAge && datas.adultMaxAge)}}">
      <image src="https://img.bbztx.com/miniProgram/challengeFamily/actAge.png" class="actImgIcon" mode="widthFix" />
      <view class="newsTitle">年龄：<text>儿童 {{datas.ages}}岁</text>
        <text style="margin-left: 20rpx;" wx:if="{{datas.adultMinAge && datas.adultMaxAge && datas.sparent==0}}">成人 {{datas.adultMinAge+'-'+datas.adultMaxAge}}岁</text>
        <text style="margin-left: 20rpx;" wx:else>（独立营）</text>
      </view>
    </view>
    <!-- 活动标签 -->
    <view class="newsList" wx:if="{{datas.capacity}}">
      <image src="https://img.bbztx.com/miniProgram/challengeFamily/actLabel.png" class="actImgIcon" mode="widthFix" />
      <view class="newsTitle">{{datas.capacity}}</view>
    </view>
    <!-- 活动地点 -->
    <view class="newsList">
      <image src="https://img.bbztx.com/miniProgram/challengeFamily/actLocation.png" class="actImgIcon" mode="widthFix" />
      <view class="address">活动地点：{{datas.districk || '暂无地址'}}</view>
    </view>
    <!-- 集合地点 -->
    <view class="newsList">
      <image src="https://img.bbztx.com/miniProgram/challengeFamily/actGather.png" class="actImgIcon" mode="widthFix" />
      <view class="address">集合地点：{{datas.address || '暂无地址'}}</view>
    </view>
    <!-- 最少成团数 -->
    <view class="newsList">
      <image class="actImgIcon" src="https://img.bbztx.com/miniProgram/challengeFamily/actTeam.png" mode="widthFix"></image>
      <view class="address">每个场次最少成团人数：{{datas.minCloudsNumber || 10}}人</view>
    </view>
  </view>

  <view class="preferential-box borderRadiu" wx:if="{{(datas.gdiscount.items && datas.gdiscount.items.length > 0)||(datas.ldiscount.items && datas.ldiscount.items.length>0 && datas.presellOpen==0)||datas.maxUserCoin>0||(datas.refundRule!=null&&datas.refundRule!='5')}}" style="padding-bottom: 10rpx;padding-top: 10rpx;">
    <!--  preferential-start -->
    <view class="preferential growup-line no-preferential" wx:if="{{datas.gdiscount.items && datas.gdiscount.items.length > 0}}">
      <view class="tag-text">拼团</view>
      <view class="preferential-text">
        <view class="subtitleColor">
          邀请好友进行拼团，最高可<text>{{datas.gdiscount.type == 0?'省':'送'}}</text>{{datas.gdiscount.items[datas.gdiscount.items.length-1].price}}{{datas.gdiscount.type == 0?'元':''}}
        </view>
      </view>
      <view class="preferential-after" style="margin:0">
        <button class="button {{ datas.status == 6?'button-subtitle':((buttonClass != 'disabled' && alternateBol) ? 'button-subtitle':'disabled')}} button-radius button-mini create_group" data-createGroup="1" bindtap="{{datas.status == 6?'newGroup':((buttonClass != 'disabled' && alternateBol)?'newGroup':'')}}">新开拼团</button>
      </view>
    </view>
    <!-- 拼团 -->
    <view class="preferential no-preferential" wx:if="{{datas.gdiscount.users.length > 0 && datas.gdiscount.users && shareInfo.groupid}}">
      <view class="preferential-text preferential-text2" style="margin-left:0;">
        <view class="head">
          <image src="{{item.avatar}}" wx:for="{{datas.gdiscount.users}}" wx:key="userId" wx:if="{{index<3}}"></image>
        </view>
        <!-- 倒计时 -->
        <view class="time" wx:if="{{datas.gdiscount.times>0 && datas.gdiscount.status == 0}}">
          <text>剩余：</text>
          <text class='time-m'>{{remainTime.hour}}</text><text class="i">:</text>
          <text class='time-m'>{{remainTime.minite}}</text><text class="i">:</text>
          <text class='time-m'>{{remainTime.second}}</text>
        </view>
        <view class="groupText" wx:if="{{datas.gdiscount.status == 0}}">
          <text wx:if="{{datas.gdiscount.before != 0 & datas.gdiscount.times < 0}}">已成{{datas.gdiscount.before}}人团,</text>
          差<text class="subtitleColor">{{datas.gdiscount.total <= 0 ? '0' :(datas.gdiscount.next-datas.gdiscount.total)}}</text>人成<text class="subtitleColor">{{datas.gdiscount.next}}人团</text>
        </view>
        <view class="groupText" wx:if="{{datas.gdiscount.status == 4}}">
          此团<text class="subtitleColor">已过期</text>
        </view>
        <view class="groupText" wx:if="{{datas.gdiscount.status == 2}}">
          此团<text class="subtitleColor">已满员</text>
        </view>
      </view>
      <!-- 拼团 -->
      <view class="preferential-after">
        <button data-createGroup="0" bindtap="{{(buttonClass1 != 'disabled' && alternateBol) ? 'newGroup':''}}" class="button {{(buttonClass1 != 'disabled' && alternateBol) ? 'button-subtitle':'disabled'}} button-mini button-radius {{datas.gdiscount.status == 0 ? 'create_group':''}}">{{datas.gdiscount.status == 2 ? '此团已满':(datas.gdiscount.status == 4 ? '此团过期':'一键参团')}}</button>
      </view>
    </view>
    <view class="preferential no-preferential" wx:if="{{(datas.presellOpen == 0 || datas.presellOpen == 2) && (datas.status == 6 || (datas.status == 0 && showPrivilege))}}">
      <view class="tag-text">特权</view>
      <view class="preferential-text">
        <view class="black" wx:if="{{datas.aheadTimeLong && datas.aheadTimeLong>0}}">已兑换特权，可提前<span class="subtitleColor">{{privilegeTime}}</span>抢购活动
        </view>
        <view class="black" wx:else>最高可兑换<text class="subtitleColor">20分钟</text>的提前抢购特权
        </view>
      </view>
      <button class="change-privilege" bindtap="openConvertPopup" wx:if="{{!datas.aheadTimeLong && datas.aheadTimeLong<=0}}">立即兑换</button>
    </view>
    <block wx:if="{{datas.ldiscount.items && datas.ldiscount.items.length>0 && datas.presellOpen==0}}">
      <view class="preferential no-preferential">
        <!-- blue -->
        <view class="tag-text ">早鸟</view>
        <view class="preferential-text">
          <view class="black" wx:for="{{datas.ldiscount.items}}" wx:key="index">{{item.start}}-{{item.end}}购买，单人减<text class="subtitleColor">{{item.price}}元</text></view>
          <view class="black" wx:if="{{datas.ldiscount.num>0}}">(每期限前{{datas.ldiscount.num}}个参与者)</view>
        </view>
      </view>
    </block>
    <!-- 宝贝币 -->
    <view class="preferential no-preferential" wx:if="{{datas.maxUserCoin>0}}">
      <view class="tag-text ">宝贝币</view>
      <view class="preferential-text">
        <view class="black">部分场次可用，最高可抵扣<text class="subtitleColor">{{datas.maxUserCoin/10}}元</text></view>
      </view>
    </view>
    <!-- 报名无忧 -->
    <view class="preferential no-preferential" bindtap="changeRefund" wx:if="{{datas.refundRule!=null&&datas.refundRule!=5}}">
      <view class="tag-text ">报名无忧</view>
      <view class="preferential-text">
        <view class="dis">
          <view class="black" wx:if="{{datas.refundRule=='3'}}">活动开始前7天可<text class="subtitleColor">全额退款/免费换排期</text></view>
          <view class="black" wx:if="{{datas.refundRule=='1'}}">活动开始前3天可<text class="subtitleColor">全额退款/免费换排期</text></view>
          <view class="black" wx:if="{{datas.refundRule=='4'}}">活动开始前7天可<text class="subtitleColor">全额退款/免费换排期</text></view>
          <view class="black" wx:if="{{datas.refundRule=='2'}}">活动开始前7天可<text class="subtitleColor">全额退款/免费换排期</text></view>
          <view class="black" wx:if="{{datas.refundRule=='6'}}">活动开始前60天可<text class="subtitleColor">全额退款/免费换排期</text></view>
          <view class="black" wx:if="{{datas.refundRule=='7'}}">活动开始前15天可<text class="subtitleColor">全额退款/免费换排期</text></view>
          <view class="black" wx:if="{{datas.refundRule=='8'}}">活动开始前7天可<text class="subtitleColor">全额退款/免费换排期</text></view>
        </view>
      </view>
    </view>
  </view>
  <!-- 安全保障和物品清单 -->
  <view class="borderRadiu mTop10 safety" wx:if="{{showGoodsRecom && securityShow!='' }}">
    <view class="flex-box" style="padding: 0;">
      <view class="safetyGoods" bindtap="jumpGoodsPage">
        <view class="flex-box" style="padding: 0;width: 100%;z-index: 1; position: relative;">
          <view style="display: flex;align-items: center; padding: 20rpx 0;">
            <view class="box-l">
              <image class="brilliant" src="https://img.bbztx.com/image_test/upload/thumbs/20230222/logo/1677039704908027896.png" mode="" style="height: 43rpx;width: 212rpx;margin-right: 10rpx;" />
            </view>
          </view>
          <view class="box-r"></view>
        </view>
        <image src="../images/goodBgS.png" class="bgImg" style="left: 0;top: 0rpx;height: 100%;z-index: 0;"></image>
      </view>
      <view class="safetyGoods" bindtap="jumpPage">
        <view class="flex-box" style="padding: 0;width: 100%;z-index: 1; position: relative;">
          <view style="display: flex;align-items: center; padding: 20rpx 0;">
            <view class="box-l">
              <image class="brilliant" src="../images/safety@2x.png" mode="" style="height: 50rpx;width: 224rpx;margin-right: 10rpx;" />
            </view>
          </view>
          <view class="box-r"></view>
        </view>
        <image src="../images/safetyBgS.png" class="bgImg" style="left: 0;top: 0rpx;height: 100%;z-index: 0;"></image>
      </view>
    </view>
  </view>
  <view wx:else>
    <!-- 物品清单 -->
    <view class="borderRadiu mTop10" wx:if="{{showGoodsRecom}}">
      <physicalForCard title="点击查看活动前所需准备的物品" link="{{'/pages/public/showGoodsList/index?aid='+datas.aid}}"></physicalForCard>
    </view>
    <!-- 安全保障 -->
    <view class="borderRadiu mTop10 safety" style="background-color: #fff;" wx:if="{{securityShow!=''}}" bindtap="jumpPage">
      <view class="flex-box">
        <view style="display: flex;align-items: center; padding: 20rpx 0;">
          <view class="box-l">
            <image class="brilliant" src="../images/safety@2x.png" mode="" style="height: 48rpx;width: 224rpx;margin-right: 10rpx;" />
          </view>
          <view class="box-c">专业资质+安全服务保障</view>
        </view>
        <view class="box-r"></view>
      </view>
      <image src="../images/safetyBg.png" class="bgImg" style="z-index: 0;"></image>
    </view>
  </view>
  <!-- 详情 -->
  <view class="details mTop10 borderRadiu">
    <view class="product-nav {{Column ? 'product-nav-fiexd':''}}">
      <view class="nav {{isColumn ? 'topNav':''}}">
        <view class="nav-col" bindtap="chooseNav" data-id="0">
          <text class="navCol {{current == 0?'current':''}}">图文详情</text>
        </view>
        <view class="nav-col" bindtap="chooseNav" data-id="1">
          <text class="navCol {{current == 1?'current':''}}">安全行程</text>
        </view>
        <view class="nav-col" bindtap="chooseNav" data-id="2">
          <text class="navCol {{current == 2?'current':''}}">报名须知</text>
        </view>
      </view>
    </view>
    <view class="detail-content" id='content' style="padding-top:20rpx;">
      <video class="video" id="myVideo-{{index}}" wx:if="{{viode}}" wx:for="{{viode}}" wx:if="{{index < 3}}" wx:key="index" src="{{item}}"></video>
      <rich-text nodes="{{datas.content}}"></rich-text>
    </view>
    <view class="detail-content" id='safeTrip'>
      <rich-text nodes="{{datas.safeTrip}}"></rich-text>
    </view>
    <view class="detail-content" id='notes'>
      <rich-text nodes="{{datas.notes}}"></rich-text>
    </view>
  </view>
  <!-- 活动推荐 -->
  <recommend aid="{{datas.aid}}" wx:if="{{datas.recommend==1}}" />
  <convertPopup show="{{showConvert}}" aid="{{datas.aid}}" status="{{datas.status}}" presellOpen="{{datas.presellOpen}}" bind:close="closeConvertPopup" bind:showPrompt="showPrompt"></convertPopup>
  <!-- 兑换二次弹窗 -->
  <convertNextPopup show="{{showNextConvert}}" aid="{{datas.aid}}" checkedTime="{{checkedTime}}" city="{{city}}" bind:close="closeNextPopup" bind:changePrivilege="changePrivilege"></convertNextPopup>
  <coinTaskToTime show="{{countDown.show}}" time="{{countDown.time}}" taskId="{{countDown.taskId}}" bind:finishedTime="finishedTime"></coinTaskToTime>

</view>