<!-- <navbar text="门店"></navbar> -->
<!-- <view style="height:{{navigationBarHeight}};overflow: hidden;" class="goSqunar1" bindtap="goSquareList">
  <image class="squareLogo"  src="../assets/imgData/squareLogo.png" style="top: {{navImgHeight}};" ></image>
  <view class="title1" style="line-height:{{navLineHeight}}">门店</view>
</view> -->
<!-- 左侧滚动栏 -->
<!-- <view style="height:{{navigationBarHeight}} "></view> -->

<view class="bgBox">
  <view style="height: 20rpx;"></view>
  <view class="search" bindtap="goSearchBar">
    <span class="iconfont icon-sousuo searchicon"></span>搜索门店</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 tt:for="{{lists}}" tt: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':''}}" style="{{mouldType==1?'background:linear-gradient(127deg,#BC8D3E , 0%,#E3BA79  100%);':''}}"></text>
            </view>
          </view>
        </block>
      </view>
    </scroll-view>
  </view>

  <view class='lists'>
    <view class='posi' tt:if="{{merchantVoList.length>0}}">
      <view class='posi_logo' tt:for="{{merchantVoList}}" tt:key="index" >
        <view class="floor" tt:if="{{mouldType==1}}">{{item.shopVoList[0].floorName}}</view>
        <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 tt:for="{{item.shopVoList}}" tt:key="{{index}}" tt:for-item="itemName">{{itemName.buildingName}}{{itemName.floorName}}--{{itemName.shopNumber}}</text>
              </view>
            </view>
          </view>
        </view>
        <image tt:if="{{item.linkLinePhone}}" bindtap='phone' data-merchantLinkPhone='{{item.linkLinePhone}}' class="tel" src="{{teljpgUrl}}" mode="widthFix" />
      </view>
    </view>
    <view class='position' tt:if="{{merchantVoList.length==0}}">
      暂无数据
    </view>
  </view>
</view>
<!-- <image class="map" src="{{map}}" bindtap="goMap"></image>  -->
<tabbar/>