<!--pages/branches/brancheslist.wxml-->
<cu-custom bgColor="bg-darkblue" isBack="{{true}}" isRelaunch="{{false}}">
    <view slot="content" style="color:#FFFFFF;">考试网点</view>
</cu-custom>
<view class="cu-bar bg-white search fixed" style="top:{{CustomBar}}px">
    <view class="search-form round" style="margin-top:5rpx;margin-bottom:5rpx">
        <text class="cuIcon-search"></text>
        <input type="text" placeholder="请输入关键字" confirm-type="search" bindinput="doSearch"></input>
    </view>
</view>
<view style="margin-top:70rpx;padding:30rpx;">
    <view class="list" wx:if="{{branchesList.length>0}}">
        <view class="item" wx:for="{{branchesList}}" wx:key="index">
            <view class="exam-photo">
                <image src="../../images/icons/default-org.jpg" wx:if="{{!item.institutionImage}}"></image>
                <image src="{{sourceUrl + item.institutionImage}}" wx:if="{{item.institutionImage}}"></image>
            </view>
            <view class="content">
                <text class="text-cut exam-title">{{item.institutionName}}</text>
                <text class="text-cut">{{item.institutionAddress}}</text>
                <text class="text-cut">{{item.institutionContact}}</text>
            </view>
        </view>
    </view>
    <van-empty description="暂无数据" wx:else />
</view>