<import src='../../wxParse/wxParse.wxml' />
<view class="Details commonF">
  <view class="BigImg">
    <swiper>
      <block wx:for="{{imgCover}}" wx:key="*this">
        <swiper-item>
          <image src="{{item.Url}}"></image>
        </swiper-item>
      </block>
    </swiper>
    <view class="Text">
      <!-- <text>成都出发</text> -->
      <text>团队编号：{{dataList.id}}</text>
    </view>
  </view>
  <view style="padding-left:30rpx;margin:15rpx 0">
    <text class="f22 cee">￥</text>
    <text class="f46 cee">{{toDayObj?(isLogin!==1?toDayObj.b2CPrice:toDayObj.b2BPrice):0}}</text>
    <text class="f22 c88">/人起</text>
    <image style="width:24rpx;height:24rpx;margin:0 30rpx 0 15rpx" src="/images/group/nao.png"></image>
    <text class="f22 c88">{{dataList.offerNumber+99}}人出游</text>
  </view>
  <view>
    <view class="f32 bold p30_2">{{dataList.ltName}}</view>
    <view style="padding-bottom:15rpx" class="f24 c88 p30_2">{{dataList.title}}</view>
    <view class="Gray30"></view>
    <view class='p30_2 jf'>
      <view class="jfItem">
        <text class="f24 c88">积分</text>
        <view class="bg">
          <image style="width:30rpx;height:30rpx;" src="/images/group/jifen.png"></image>
          普通会员</view>
        <!-- <text style="margin-left:10rpx" class="f26">最少可得29积分</text> -->
        <image class="chakan" src="/images/group/chakn.png"></image>
      </view>
      <view bindtap="oPenServe" class="jfItem">
        <text class="f24 c88">服务</text>
        <image style="width:24rpx;height:24rpx;margin-left:30rpx" src="/images/group/gou.png"></image>
        <text style="margin-left:10rpx" class="f26">无自费</text>
        <image  class="chakan" src="/images/group/chakn.png"></image>
      </view>
    </view>
    <view class="Gray30"></view>
    <view class="p30_2" style="padding-bottom:30rpx">
      <!-- <view>
        <image style="width:20rpx;height:26rpx;margin-right:15rpx" src="/images/group/adress.png"></image>
        <text class="f26">成都出发</text>
      </view>
      <view class="anpai">
        <view>
          <text>住宿</text>
          <text>3晚当地酒店标准间</text>
        </view>
        <view>
          <text>景点</text>
          <text>总共8个景点</text>
        </view>
        <view>
          <text>用餐</text>
          <text>9次包含.1次自理</text>
        </view>
        <view>
          <text>用车</text>
          <text>10个小时</text>
        </view>
      </view> -->
      <view style="position: relative;margin-top:30rpx">
        <scroll-view scroll-x class="scroll-header">
          <view wx:if="{{priceList.length>0}}" wx:for="{{priceList}}" wx:key="index" class="ScrollActive scroll-view-item">
            <view>{{item.date}}</view>
            <view>￥{{isLogin!==1?item.b2CPrice:item.b2BPrice}}</view>
          </view>
          <view wx:if="{{priceList.length==0}}" wx:key="index" class="ScrollActive scroll-view-item">
            <view>暂无</view>
            <view style="color:#111111">班期</view>
          </view>
        </scroll-view>
        <view bindtap="StartYd" class="MorebDate">
          <view>更多</view>
          <view>班期</view>
        </view>
      </view>
    </view>
    <view class="Gray30"></view>
    <!-- 详情 -->
    <view class="p30_2" style="padding-top:30rpx">
      <!-- 航班详情 -->
      <view wx:if="{{FlightList.length}}">
        <view class="DesTitle">
          <view class="f26">航班详情</view>
          <view class="ColorView">
            <text class="color"></text>
          </view>
          <view class="sm">Reference flight</view>
        </view>
        <view class="HbanView">
          <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>

      <!-- 行程特色 -->
      <view class="Feature">
        <image wx:for="{{feature}}" wx:key="index" src="{{item}}" mode="widthFix"></image>
      </view>

    </view>
    <view class="Gray30"></view>
    <view class="p30_2">
      <view>
        <image style="width:24rpx;height:26rpx;margin-right:20rpx" src="/images/group/xc.png"></image>
        <text class="f26">详细行程</text>
      </view>
      <view wx:for="{{dayList}}" wx:key="index" class="dayList">
        <view class="bold">
          <text class="f28" style="margin-right:20rpx">D{{index+1}}</text>
          <!-- <text class="f22">国内城市--冲绳</text> -->
        </view>
        <!-- 航班 -->
        <view class="TypeItem">
          <view class="icon">
            <image src="/images/group/ic1.png"></image>
          </view>
          <view class="f20 bold">航班</view>
          <view class="f20 c33" style="margin-top:10rpx">
            <block wx:for="{{item.trafficList}}" wx:for-item="traff" wx:key="index2">
              <block wx:for="{{traff.childItem.subTraffic}}" wx:for-item="tra" wx:key="index3">

                <text>{{tra.startCityName}}</text>
                <image style="width:24rpx;height:12rpx;margin:0 15rpx" src="/images/group/hangban.png"></image>
                <text>{{tra.arrivalCityName}}</text>

              </block>
              <view>
                {{traff.childItem.descriptionText}}
              </view>
            </block>
          </view>
        </view>
        <!-- 交通 -->
        <!-- <view class="TypeItem">
          <view class="icon">
            <image src="/images/group/ic2.png"></image>
          </view>
          <view class="f20 bold">交通</view>
          <view class="f20 c33" style="margin-top:10rpx">
            航班：自行办理出境登记手续，搭乘班机飞往东方夏威夷“冲绳”航班：自行办理出境登记手续，搭乘班机飞往东方夏威夷“冲绳”航班：自行办理出境登记手续，搭乘班机飞往东方夏威夷“冲绳”航班：自行办理出境登记手续，搭乘班机飞往东方夏威夷“冲绳”航班：自行办理出境登记手续，搭乘班机飞往东方夏威夷“冲绳”航班：自行办理出境登记手续，搭乘班机飞往东方夏威夷“冲绳”
          </view>
        </view> -->
        <!-- 餐饮 -->
        <view class="TypeItem">
          <view class="icon">
            <image src="/images/group/ic2.png"></image>
          </view>
          <view class="f20 bold">餐饮</view>
          <view class="f20 c33" style="margin-top:10rpx">
            <block wx:for="{{item.RestaList}}" wx:for-item="traff" wx:key="index2">
              <view>
                {{traff.childItem.dinnerName}}
              </view>
            </block>
          </view>
        </view>
        <!-- 酒店 -->
        <view class="TypeItem">
          <view class="icon">
            <image src="/images/group/ic2.png"></image>
          </view>
          <view class="f20 bold">酒店</view>
          <view class="f20 c33" style="margin-top:10rpx">
            <block wx:for="{{item.HotelList}}" wx:for-item="traff" wx:key="index2">
              <view>{{traff.childItem.hotelName}}</view>
              <view>{{traff.childItem.description}}</view>
            </block>
          </view>
        </view>
      </view>
    </view>
    <view class="Gray30"></view>
    <view class=" Explain">
      <view>
        <image style="width:26rpx;height:26rpx;margin-right:20rpx" src="/images/group/price.png"></image>
        <text class="f26">费用说明</text>
      </view>
      <view class="f22" style="margin:10rpx 0">
        <text class="Color"></text> 费用包含
      </view>
      <view class="f22 c66">

        <template is="wxParse" data="{{wxParseData:feeInclude.nodes}}" />
      </view>

    </view>
    <view class=" Explain">

    </view>
    <view class="Gray30"></view>
    <view class=" Explain">
      <view>
        <image style="width:26rpx;height:26rpx;margin-right:20rpx" src="/images/group/yd.png"></image>
        <text class="f26">预定须知</text>
      </view>
      <view class="f22" style="margin:10rpx 0">
        <text class="Color"></text> 温馨提示
      </view>
      <view class="f22 c66">
        <template is="wxParse" data="{{wxParseData:warmTip.nodes}}" />
      </view>
    </view>
    <view class="Gray30"></view>
    <view class=" Explain">
      <view>
        <image style="width:26rpx;height:26rpx;margin-right:20rpx" src="/images/group/qz.png"></image>
        <text class="f26">签证</text>
      </view>
      <view class="cee f22">签证须知</view>
      <view class="f22 c66">

        <template is="wxParse" data="{{wxParseData:visaRemark.nodes}}" />
      </view>
    </view>
    <view class="Gray30"></view>
    <view class=" Explain">
      <view>
        <image style="width:26rpx;height:26rpx;margin-right:20rpx" src="/images/group/bz.png"></image>
        <text class="f26">同行备注</text>
      </view>
      <view class="f22 c66">
        <template is="wxParse" data="{{wxParseData:b2BRemark.nodes}}" />


      </view>
    </view>
  </view>
  <view class="PayView">
    <view style="width:310rpx;">
      <text class="f20">￥</text>
      <text class="f46 cee">{{isLogin!==1?toDayObj.b2CPrice:toDayObj.b2BPrice}}</text>
      <text class="f20 c88">/人起</text>
    </view>
    <view style="width:100rpx;border-left:1px solid #E9E9E9;padding-top:29rpx;">
      <image style="width:45rpx;height:45rpx" src="/images/group/pay.png"></image>
    </view>
    <view bindtap='StartYd' class="startPay">开始预定</view>
  </view>
  <view bindtap="closeServe" data-self="self" hidden="{{!serve}}" class="serve">
    <view>
      <view class="f30" style="text-align: center;padding:0">服务说明
      <image bindtap="closeServe" data-self="self" style="width:30rpx;height:30rpx;float:right;margin-top:10rpx" src="/images/group/close.png"></image>
      </view>
      <view class="f26">
        <image src="/images/group/gou.png"></image> 无自费
        <view style="padding:10rpx 0" class="f22 c33">购物特色</view>
      </view>
      <view class="f26">
        <image src="/images/group/gou.png"></image> 无购物
        <view style="padding:10rpx 0" class="f22 c33">购物特色</view>
      </view>
      <view class="f26">
        <image src="/images/group/gou.png"></image> 成团保障
        <view style="padding:10rpx 0" class="f22 c33">订单一经印象之旅往以书面形式确认后则均可发团（不可抗力除外）</view>
      </view>
        
    </view>

  </view>
</view>