<view class='GroupList commonF' catchtouchmove="{{StopResh}}">
  <view id="searchView">
    <search id="CityComp" bind:ChangeSite="ChangeSite"></search>
  </view>
  <view class="ListView">
    <view class="PxView">
      <view class="jView" data-type="{{0}}" bindtap='changeOrderType'>
        综合
        <!-- <image src="/images/group/bx.png"></image> -->
      </view>
      <view class="jView" data-type="{{1}}" bindtap='changeOrderType'>
        团期
        <image wx:if="{{listmsg.orderByDate==0}}" src="/images/group/bx.png"></image>
        <image wx:if="{{listmsg.orderByDate==1}}" src="/images/group/rx.png"></image>
        <image wx:if="{{listmsg.orderByDate==2}}" src="/images/group/rs.png"></image>
      </view>
      <view class="jView" data-type="{{2}}" bindtap='changeOrderType'>
        价格
        <image wx:if="{{listmsg.orderByPrice==0}}" src="/images/group/bx.png"></image>
        <image wx:if="{{listmsg.orderByPrice==1}}" src="/images/group/rx.png"></image>
        <image wx:if="{{listmsg.orderByPrice==2}}" src="/images/group/rs.png"></image>

      </view>
      <view class="jView" data-type="{{3}}" bindtap='changeOrderType'>
        销量
        <image wx:if="{{listmsg.orderBySales==0}}" src="/images/group/bx.png"></image>
        <image wx:if="{{listmsg.orderBySales==1}}" src="/images/group/rx.png"></image>
        <image wx:if="{{listmsg.orderBySales==2}}" src="/images/group/rs.png"></image>

      </view>
      <view bindtap='ScreenOpen' class="SView">
        筛选
        <image src="/images/group/s.png"></image>
      </view>
    </view>

    <scroll-view wx:if="{{ThemeTagList.length>0}}" scroll-x class="scroll-header">
      <view bindtap='PriceTag' data-index="{{0}}" data-tag="{{item}}" class="listmsg.priceTag.length==0?'ScrollActive scroll-view-item':'scroll-view-item'">不限</view>
      <view bindtap='PriceTag' data-index="{{1}}" data-tag="{{item}}" wx:key="index" wx:for="{{ThemeTagList}}" class="{{item.SNO==-1?'ScrollActive scroll-view-item':'scroll-view-item'}}">{{item.Content}}</view>

    </scroll-view>
    <!-- 列表数据 -->
    <view bindtap="goGroup" data-item="{{item}}" class="ListItem" wx:for="{{datalist}}" wx:key="index">
      <view class="imgView">
        <image wx:if="{{item.imgCover.length}}" src="{{item.imgCover[0].Url}}"></image>
      </view>
      <view class="ItemRight" style="width:460rpx;padding-left:15rpx">
        <view class="text2 f26">{{item.lineName}}+{{item.ltName}}+{{item.productRecommend}}
        </view>
        <view class="f22" style="color:#888888;padding:15rpx 0">
          <image style="width:18rpx;height:22rpx" src="/images/group/adress.png"></image>
          出发地：{{item.startCityName}}
        </view>
        <view class="f22" style="color:#888888;padding:15rpx 0">
          <image style="width:22rpx;height:22rpx" src="/images/group/tuan.png"></image>
          出发日期：最早{{item.startDate}}出发
        </view>
        <view class="f22" style="color:#888888;padding-top:15rpx;text-align:right">
          <text class="cee f40" style="position:relative;top:-20rpx">￥{{isLogin!=1 ? item.b2CPrice : item.b2BPrice}}</text>
        </view>
      </view>
    </view>
    <view class='Nodataview' wx:if='{{noData}}'>
      <text>没有更多数据</text>
    </view>

  </view>
  <!-- 筛选条件 -->
  <view bindtap='ClosePXView' data-target="self" class="Condition" hidden="{{!StopResh}}">
    <view style="padding:0 30rpx">
      <view>综合排序</view>
      <view>价格从低到高</view>
      <view>价格从低到高</view>
      <view>销量从高到低</view>
    </view>
  </view>
  <!-- 筛选多条件  -->
  <view bindtap='CloseScreen' hidden="{{!ScreenStatus}}" data-target="self" class="screen">
    <view>
      <view class="title">线路</view>
      <view class="xl">
        <text bindtap="ChangeLine" data-id="{{0}}" class="{{listmsg.lineTeamId==0?'Msgactive':''}}">不限</text>
        <text bindtap="ChangeLine" data-id="{{item.id}}" class="{{listmsg.lineTeamId==item.id?'Msgactive':''}}" wx:key="index" wx:for="{{lineTeam}}">{{item.name}}</text>
      </view>
      <view class="title">出发日期</view>
      <view class="DatePicker">
        <picker class="pcikerView" mode="date" bindchange="bindDateChange" data-type="start" value="{{listmsg.startDate}}">
          <view class="picker">
            {{listmsg.startDate}}
          </view>
        </picker>
        <text style="margin:0 15rpx"> - </text>
        <picker class="pcikerView" mode="date" data-type="end" value="{{listmsg.endDate}}" bindchange="bindDateChange">
          <view class="picker">
            {{listmsg.endDate}}
          </view>
        </picker>
      </view>
      <view class='MonthList'>
        <text bindtap="GetMonth" data-month="{{item}}" wx:for="{{dates}}" wx:key="index">{{item.name}}</text>
      </view>
      <view class="title">出发城市</view>
      <view class='MonthList' style="margin-top:25rpx;">
        <text class="{{listmsg.startCityId==0?'active':''}}" bindtap="getCity" data-city="{{0}}">不限</text>
        <text class="{{listmsg.startCityId==item.id?'active':''}}" bindtap="getCity" data-city="{{item.id}}" wx:key="index" wx:for="{{startCity}}">{{item.startCityName}}</text>
      </view>
      <view class="title">行程天数</view>
      <view class='MonthList' style="margin-top:25rpx">
        <text class="{{listmsg.dayNum==0?'active':''}}" bindtap="getCity" data-city="{{0}}">不限</text>
        <text class="{{listmsg.dayNum==item.id?'active':''}}" bindtap="getDay" data-day="{{item.id}}" wx:for="{{tripDay}}" wx:key="index">{{item.name}}</text>
      </view>
      <view class="btnView">
        <view bindtap="CloseScreen" data-target="self">取消</view>
        <view bindtap="GetList" style="background:#EE4454;color:#fff;border:none">确定</view>
      </view>
    </view>
  </view>
</view>