<navbar text="门店"></navbar>
<!-- 左侧滚动栏 -->
<view style="height:{{navigationBarHeight}} "></view>
<view class="search" bindtap="goSearchBar">
  <span class="iconfont icon-sousuo searchicon"></span>搜索门店</view>
<view>
  <view class='under_line'></view>
  <view style='float: left;' class='left'>
    <scroll-view scroll-y scroll-with-animation scroll-left="{{scrollLength}}" class='scrollY' style='height: {{windowHeight-160}}px;'>
      <view class='all clear'>
        <block wx:for="{{lists}}" wx:key="index">
          <view bindtap='jumpIndex' data-menuindex='{{item.id}}'>
            <view class="{{indexId==item.id?'text-style':'text-styleHover'}}">
              <text class="{{indexId==item.id?'active1':''}}">{{item.title}}</text>
              <text class="{{indexId==item.id?'active':''}}"></text>
            </view>
          </view>
        </block>
      </view>
    </scroll-view>
  </view>

  <view class='lists'>
    <view class='posi' wx:if="{{merchantVoList.length>0}}">
      <view class='posi_logo' wx:for="{{merchantVoList}}" wx:key="index">
        <view class='merchants' bindtap='gotoDetail' data-id='{{item.id}}'>
          <view style=' margin-left: 24rpx;margin-top: 24rpx;'>
            <image src='{{item.merchantImgUrl}}'></image>
          </view>
          <view class='leftBox'>
            <view class='merchantName'>{{item.merchantName}}</view>
            <view class='shopVo'>
              <view class='shopVoList'>
                <text wx:for="{{item.shopVoList}}" wx:key="index" wx:for-item="itemName">{{itemName.buildingName}}{{itemName.floorName}}--{{itemName.shopNumber}}</text>
              </view>
            </view>
          </view>
        </view>
        <image wx:if="{{item.linkLinePhone}}" bindtap='phone' data-merchantLinkPhone='{{item.linkLinePhone}}' class="tel" src="{{teljpgUrl}}" mode="widthFix" />
      </view>
    </view>
    <view class='position' wx:if="{{merchantVoList.length==0}}">
      暂无数据
    </view>
  </view>
</view>
<image class="map" src="{{map}}" bindtap="goMap">

</image> 