<view class="localhome commonF">
   <view id="searchView">
    <search id="CityComp" bind:ChangeSite="ChangeSite"></search>
  </view>
  <view style="width:100%;height:300rpx;margin-top:36rpx">
    <image src='http://imgfile.oytour.com/New/Upload/Cloud/2019-06/20190626095424470.png'></image>
  </view>
  <view class="ban">
    <view>
      <image src='/images/local/b1.png'></image>
      <text>一日游</text>
    </view>
    <view>
      <image style="height:52rpx;" src='/images/local/b2.png'></image>
      <text>交通\n接驳</text>
    </view>
    <view>
      <image style="width:79rpx;height:80rpx;" src='/images/local/b3.png'></image>
      <text>游玩\n门票</text>
    </view>
    <view>
      <image style="width:80rpx;height:71rpx;" src='/images/local/b4.png'></image>
      <text>当地\n美食</text>
    </view>
    <view>
      <image style="width:94rpx;height:52rpx;" src='/images/local/b5.png'></image>
      <text>精彩\n演出</text>
    </view>
    <view>
      <image style="width:78rpx;height:80rpx;" src='/images/local/b6.png'></image>
      <text>特色\n体验</text>
    </view>
  </view>
  <view class="ChooseBan" style="margin-top:40rpx">
    <view class="chooseTitle f22">
      <text bindtap="getlineTeam" data-item="{{item}}" data-index="{{index}}" class="{{lineActive==index?'active':''}}" wx:if="{{index<3}}" wx:key="index" wx:for="{{lineList}}">{{item.lineShortName}}</text>
    </view>
    <view class="chooseDiv f28" style="height:210rpx;">
      <text bindtap="goOnedayList" data-item="{{item}}" wx:if="{{index<5}}" wx:key="index" wx:for="{{lineTeamList}}">{{item.ltName}}</text>
    </view>
  </view>
  <!-- 为你推荐 -->
  <view style="margin-top:40rpx">
    <view style="padding-left:30rpx;margin-bottom:20rpx">
      <text class="bold" style="font-size:30rpx;color:#000000">为你推荐</text>
    </view>

    <view class="section">
      <!-- <view class="likeView">
        <text class="activeText" data-index="oneday" bindtap="Scrolltap">境外一日游</text>
        <text data-index="ticket" bindtap="Scrolltap">景点门票</text>
        <text data-index="food" bindtap="Scrolltap">当地美食</text>
      </view> -->
      <scroll-view scroll-y scroll-into-view="{{toView}}">
        <view id="oneday" class="scroll-view-item bc_green">
          <view class="FlTitleView">
            <text class="text" style="color:#61DCD4"> \ \ \ </text>
            <text style="font-size:30rpx;color:#000000;font-weight:600;margin:0 12rpx"> 境外一日游          </text>
            <text class="text" style="color:#61DCD4"> \ \ \</text>
          </view>
          <!-- 境外一日游 -->
          <view class="oneday basefix">
            <view bindtap="goGroup" data-item="{{item}}" wx:for="{{abroadList}}" wx:key="index" class="onedayItem">
              <view class="ImgView" style="height:247rpx;">
                <image wx-if="{{item.imgCover[0]}}" src="{{item.imgCover[0].url}}"></image>
                <text class="country">{{item.lineShortName}}</text>
              </view>
              <view style="padding:0 20rpx">
                <text class="bold f28 text1">{{item.title}}\n</text>
                <text class="f22 price">￥{{isLogin!=1 ? item.b2CPrice : item.b2BPrice}}起</text>
              </view>
            </view>

          </view>
        </view>
        <view id="ticket" class="scroll-view-item bc_red">
          <view class="FlTitleView">
            <text class="text" style="color:#FD7F56"> \ \ \ </text>
            <text style="font-size:30rpx;color:#000000;font-weight:600;margin:0 12rpx"> 游玩门票          </text>
            <text class="text" style="color:#FD7F56"> \ \ \</text>
          </view>
          <!-- 游玩门票 -->
          <view class="ticket basefix">
            <view bindtap="goTicket" data-item="{{item}}" wx:for="{{ticketList}}" wx:key="index" class="ticketItem">
              <view class="ImgView" style="height:247rpx;">
                <image wx:if="item.coverImgs[0]" src="{{item.coverImgs[0]}}"></image>
                <view class="ticketView" style="padding:0 20rpx">
                  <text style="padding-top:25rpx" class="bold f28 text1">{{item.name}}\n</text>
                  <text style="text-align:right" class="f22 price">￥{{isLogin!=1 ? item.b2cPrice : item.b2bPrice}}起</text>
                </view>
              </view>

            </view>
          </view>
        </view>
        <view id="food" class="scroll-view-item bc_yellow">
          <view class="FlTitleView">
            <text class="text" style="color:#F9C900"> \ \ \ </text>
            <text style="font-size:30rpx;color:#000000;font-weight:600;margin:0 12rpx"> 当地美食          </text>
            <text class="text" style="color:#F9C900"> \ \ \</text>
          </view>
          <!-- 当地美食 -->
          <view class="oneday basefix">
            <view bindtap="goFood" data-item="{{item}}" wx:for="{{foodList}}" wx:key="index"  class="onedayItem">
              <view class="ImgView" style="height:247rpx;">
                <image wx:if="{{item.coverImgs[0]}}" src="{{item.coverImgs[0]}}"></image>
              </view>
              <view style="padding:0 20rpx">
                <text class="bold f28 text1">{{item.name}}\n</text>
                <text class="f22 price">￥{{isLogin!=1 ? item.b2cPrice : item.b2bPrice}}起</text>
              </view>
            </view>
          </view>
        </view>
      </scroll-view>
    </view>
  </view>

</view>