<view class="DateNum commonF">
  <view style="margin:15rpx;">
    <text class="f30 bold">选择出行时间</text>
  </view>
  <scroll-view scroll-x class="scroll-header">
    <view bindtap="selectMonth" data-item="{{item}}" data-index="{{index}}" wx:for="{{monthList}}" wx:key="index" class="{{activeTab==index?'ScrollActive scroll-view-item':'scroll-view-item'}}">
      <view>{{item.date}}</view>
      <view wx:if="{{index<1}}" wx:key="index2" wx:for="{{item.datalist}}" wx:for-item="pre">￥{{pre.b2BPrice}}起</view>
    </view>
  </scroll-view>
  <!-- 日历 -->
  <view style="padding-bottom:10rpx">
    <calendar bind:childrenEvent="childrenEvent" selectIndex="{{selectIndex}}" isLogin="{{isLogin}}" currentDay="{{currentDay}}" priceData="{{priceData}}" id="calendar"></calendar>
  </view>
  <view class="Gray30"></view>
  <view>
    <view class="personItem f30">出行人数</view>
    <view class="personItem">
      <view>成人</view>
      <view>
        <amount chosenObj="{{chosenObj}}" type="cr" count='{{chosenObj.crCount}}' data-index='{{index}}'  bind:cRsubevent='cRsubevent' bind:cRaddCount='cRaddCount'></amount>
      </view>
    </view>
    <view class="personItem">
      <view>儿童占床
        <text class='c88'>2-12周岁（不含）</text>
      </view>
      <view>
        <amount chosenObj="{{chosenObj}}" type="etz" count='{{chosenObj.etzc}}' data-index='{{index}}' bind:etZsubevent='etZsubevent' bind:etZaddCount='etZaddCount'></amount>
      </view>
    </view>
    <view class="personItem">
      <view>儿童不占床
        <text class='c88'>2-12周岁（不含）</text>
      </view>
      <view>
        <amount chosenObj="{{chosenObj}}" type="etbz" count='{{chosenObj.etbzcCount}}' data-index='{{index}}' bind:etbZsubevent='etbZsubevent' bind:etbZaddCount='etbZaddCount'></amount>
      </view>
    </view>
    <view class="personItem">
      <view>婴儿
        <text class='c88'>0-2周岁（不含）</text>
      </view>
      <view>
        <amount chosenObj="{{chosenObj}}" type="ye" count='{{chosenObj.yeCount}}' data-index='{{index}}'  bind:yEsubevent='yEsubevent' bind:yEaddCount='yEaddCount'></amount>
      </view>
    </view>
  </view>
  <view class="Gray30"></view>
  <view>
    <view class="personItem f30">
      <view>航班信息</view>
      <!-- <view class="f24 c88">退改签及购票说明
        <image style="width:12rpx;height:24rpx" src="/images/group/chakn.png"></image>
      </view> -->
    </view>
  </view>
  <view class="Gray30"></view>
  <view class="p30_4">
    <view wx:for="{{FlightList}}" wx:key="index" class="HbanItem">
      <view  class="HbanItemDes">
        <text>{{item.departureAirPortName}}</text>
        <image src="/images/group/hangban.png"></image>
        <text>{{item.arrivalAirPortName}}</text>
      </view>
      <view style="padding:10rpx 0" class="f22 c88">{{item.startDate}}{{item.departureTime}} 至  {{item.arriveDate}}{{item.arrivalTime}}</view>
      <view class="f22 c88">{{item.alName}} {{item.flightNumber}}</view>
    </view>
  </view>
  <view class="{{GoodsView?'payFixed PayView':'PayView'}}">
    <view style="width:400rpx;">
      <text class="f20">总价:￥</text>
      <text class="f46 cee">{{price}}</text>
      <text class="f20 c88">/人起</text>
      <text bindtap='OpenGoodsView' style="padding-left:10rpx" class="f22 c55">明细</text>
      <image bindtap='OpenGoodsView' style="width:18rpx;height:8rpx" src="/images/group/mx1.png"></image>

    </view>
    <view style="width:100rpx;border-left:1px solid #E9E9E9;">
      <image style="width:45rpx;height:45rpx" src="/images/group/pay.png"></image>
    </view>
    <view bindtap='StartYd' class="startPay">开始预定</view>
  </view>
  <!-- 商品详情 -->
  <view hidden="{{!GoodsView}}" bindtap='CloseGoodsView' data-target="self" class='GoodsView'>
    <view class="GoodsDes">
      <view class="f30 bold" style="padding-top:15rpx">费用明细
        <image bindtap='CloseGoodsView' data-target="self" style="width:30rpx;height:30rpx;float:right;margin:15rpx 15rpx 0 0" src="/images/group/close.png"></image>
      </view>
      
      <view class="flexbe f26 c33">
        <view>成人</view>
        <view>￥{{adultPrice}}</view>
      </view>
      <view class="flexbe f26 c33">
        <view>儿童</view>
        <view>￥{{childrenPrice}}</view>
      </view>
      <view class="flexbe f26 c11">
        <view>婴儿</view>
        <view>￥{{babyPrice}}</view>
      </view>
      <view class="flexbe f26 c11">
        <view>杂费</view>
        <view>￥{{zf}}</view>
      </view>
      <view class="flexbe f26 c11">
        <view>儿童占床费</view>
        <view>￥{{zcf}}</view>
      </view>
      <view class="flexbe f26 c11">
        <view>儿童不占床费</view>
        <view>￥{{bzcf}}</view>
      </view>
      <view class="flexbe f26 c11">
        <view>签证费用</view>
        <view>￥{{qzPrice}}</view>
      </view>
      <view class="flexbe f26 c11">
        <view>退签费用</view>
        <view>￥{{backVisaPrice}}</view>
      </view>
    </view>
  </view>
</view>