indexList.wxml 2.23 KB
<!--pages/reserve/indexList.wxml-->
<nav>周到安排</nav>
<view class="header">
    <view class="transverse-search flex-ll {{hasDisabled?'disabled':''}}">
        <view
                bindtap="caixiShow"
                class="tags {{multiIndex[0]>0?'active':''}}"
        >
            <view class="picker flex-lr">
                <view class="input">
                    <block wx:if="{{multiIndex[0]==0}}">菜系</block>
                    <block wx:else="">{{multiArray[0][multiIndex[0]]}}</block>
                </view>
                <view class="more"></view>
            </view>
        </view>
        <block wx:for="{{tags}}" wx:key="tags.key">
            <view class="tags {{item.active?'active':''}}"
                  bindtap="tagsChange"
                  data-id="{{item.id}}">{{item.name}}</view>
        </block>
    </view>
</view>
<view class="pages">
    <view class="flex-vc empty" wx:if="{{markers.length<1}}">
        <block wx:if="{{!hasFirstShow}}">
            <image src="http://qn.colorcun.com/custom/lite-online/image/follow-empty.png"></image>
            <block wx:if="{{hasDisabled}}">
                <view>该地区没有可供预订的餐厅,努力开通中</view>
            </block>
            <block wx:else="">
                <view class="empry-info1">未找到符合要求的餐厅</view>
                <view class="empry-info2">修改或减少条件,获取更多餐厅</view>
            </block>
        </block>
    </view>
    <block wx:else="">
        <view class="follow" >
            <view class="seller" wx:for="{{markers}}" wx:key="sellers.key"
                  bindtap="gotoDetail" data-sid="{{item.id}}">
                <sb-tr seller="{{item}}"
                       hasActivityTags="{{false}}"
                       hasActivityShort="{{true}}"
                       hasBrand="true" hasActivityTese="true"
                       hasSlogan="{{false}}"
                       sellerStyle="noborder noshadow noradius"></sb-tr>
            </view>
        </view>
        <hr class="flex-vc nomore" wx:if="{{!hasMore}}" bgColor="#ffffff">我是有底线的</hr>
    </block>
</view>
<caixi multiArray="{{multiArray}}" multiIndex="{{multiIndex}}"
       bindactive="caixiActive" id="caixi"
></caixi>
<fb></fb>