<!--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 class="org">
    <view class="org-box" wx:for="{{institutionsList}}" wx:key="index" data-item="{{item}}" bindtap="showDetail">
        <view class="org-info">
            <image src="{{item.showPhoto}}" mode="widthFix"></image>
            <view class="org-text">
                <view class="org-name">{{item.institutionName}}</view>
                <view class="org-add">{{item.institutionAddress}}</view>
                <view class="org-phone">负责人：{{item.institutionPrincipal}}</view>
            </view>
        </view>
        <view class="org-btn-box">
            <view class="org-btn">
                <image src="../../images/icons/phone-icon.png" mode="widthFix"></image>
                {{item.institutionContact}}
            </view>
            <view class="org-btn" catchtap="doNavigation" data-item="{{item}}">
                <image src="../../images/icons/go-icon.png" mode="widthFix"></image>
                到这去
            </view>
        </view>
    </view>
</view>