<view class="commonF Ticket">
  <view id="searchView">
    <search id="CityComp" bind:ChangeSite="ChangeSite"></search>
  </view>
  <view style="width:100%;height:300rpx;margin-top:36rpx;position: relative;z-index:0">
    <image style="position: relative;z-index:0" src='http://imgfile.oytour.com/New/Upload/Cloud/2019-06/20190626103539899.png'></image>
  </view>
  <view class="Choose">
    <view class="Title flex">
      <view class="{{msg.ticketType==1?'Active':''}}">单程</view>
      <view class="{{msg.ticketType==2?'Active':''}}">往返</view>
    </view>
    <view class="city flexb">
      <view style="width:200rpx" bindtap="getCity" data-type="start">出发:{{msg.departureName}}</view>
      <view style="width:53rpx;height:53rpx">
        <image src='/images/ticket/r1.png'></image>
      </view>
      <view style="width:200rpx" bindtap="getCity" data-type="end">目的:{{msg.arrivalName}}</view>
    </view>
    <view class="date" style="font-size:40rpx;padding-bottom:20rpx;border-bottom:1rpx solid #E9E9E9">
      <picker mode="date" value="{{date}}" bindchange="bindDateChange">
        <view class="picker">
          {{msg.qFlightDateStart}}
        </view>
      </picker>

    </view>
    <view class="SecView">
      <view class="section">
        <picker range='{{types}}' value='{{idx}}' bindchange='bindPickerChange' range-key="name" data-id='{{types[index].id}}'>
          <view class='Typepicker f30'>{{types[index].name}}</view>
        </picker>
      </view>
      <view class="section f24" style="float:right">
        <radio-group class="radio-group" bindchange="radioChange">
          <radio class="radio" wx:for-items="{{items}}" wx:key="name" value="{{item.name}}" checked="{{item.checked}}">
            <text>{{item.value}}</text>
          </radio>
        </radio-group>
      </view>
    </view>
    <view class="btn">
      搜索
    </view>
  </view>

  <view style="padding:30rpx">
    <view>
      <text style="font-size:30rpx;color:#000000">目的地直选</text>
    </view>
    <view class="cztm cztm1">
      <view class="cztmList1">
        <image src="http://imgfile.oytour.com/New/Upload/Cloud/2019-07/20190710042106139.png"></image>
        <view class="boxshadow">
          <view style="font-size:30rpx;padding-top:29rpx">科伦坡</view>
          <view style="font-size:22rpx">COlOMBO</view>
        </view>
      </view>
      <view class="cztmList">
        <image src="http://imgfile.oytour.com/New/Upload/Cloud/2019-07/20190710042149046.png"></image>
        <view class="boxshadow">
          <view style="font-size:30rpx;padding-top:29rpx">首尔</view>
          <view style="font-size:22rpx">Seoul</view>
        </view>
      </view>

    </view>
    <view class="cztm cztm2">
      <view class="cztmList">
        <image src="http://imgfile.oytour.com/New/Upload/Cloud/2019-07/20190710042122788.png"></image>
        <view class="boxshadow">
          <view style="font-size:30rpx;padding-top:29rpx">东京</view>
          <view style="font-size:22rpx">Tokyo</view>
        </view>
      </view>
      <view class="cztmList">
        <image src="http://imgfile.oytour.com/New/Upload/Cloud/2019-07/20190710042148963.png"></image>
        <view class="boxshadow">
          <view style="font-size:30rpx;padding-top:29rpx">巴厘岛</view>
          <view style="font-size:22rpx">BALI</view>
        </view>
      </view>
      <view class="cztmList">
        <image src="http://imgfile.oytour.com/New/Upload/Cloud/2019-07/20190710042149091.png"></image>
        <view class="boxshadow">
          <view style="font-size:30rpx;padding-top:29rpx">香港</view>
          <view style="font-size:22rpx">HONGKONG</view>
        </view>
      </view>
    </view>
  </view>
  <view></view>
  <view class="FlTitleView" style="position:relative">
    <text class="text" style="color:#61DCD4"> \ \ \ </text>
    <text class="f30" style="color:#000000;font-weight:600;margin:0 12rpx"> 精选特惠          </text>
    <text class="text" style="color:#61DCD4"> \ \ \</text>
    <text class="f24" style="color:#888888;position:absolute;right:15rpx"> 查看更多          </text>
  </view>
  <view class='JXView'>
    <view wx:for="{{dataList}}" wx:key="index" class="JxItem">
      <view class="imgView">
        <image src='{{item.airlineUrl}}'></image>
      </view>
      <view class="JxItemDes">
        <view class="bold f30">{{item.flightList[0].departureName}} - {{item.flightList[item.flightList.length-1].arrivalCityName}}</view>
        <view class="f24" style="padding:8rpx 0">
          <image style="width:24rpx;height:24rpx;border-radius:50%" src='{{item.airlineUrl}}'></image>
          <text>{{item.airlineName}}</text>
        </view>
        <view class="f22" style="color:#666666">出发时间：{{item.goFlightTime}}</view>
      </view>
      <text class="price">￥{{isLogin!=1 ? item.scatterB2CPrice : item.scatterB2BPrice}}</text>
    </view>

  </view>
<!-- 国家城市选择 -->
<view hidden="{{!countryHidden}}">
  <chooseCity bind:selectCity="selectCity" bind:closeCountryView="closeCountryView" data-type="{{type}}" id="chooseCity"></chooseCity>
</view>
</view>