<!--pages/institutions/institutionsdetail.wxml-->
<cu-custom bgColor="bg-darkblue" isBack="{{true}}" isRelaunch="{{false}}">
    <view slot="content" style="color:#FFFFFF;">培训机构详情</view>
</cu-custom>
<scroll-view style="width:100%;">
    <view class="content-view">
        <view class="content-detail">
            <view class="notice-title text-xl text-bold">
                {{detailBean.institutionName}}
            </view>
            <view class="flex margin-top-sm" style="width:100%">
                <view class="text-lg text-black">
                    <text>负责人:</text>
                    {{detailBean.institutionPrincipal}}
                </view>
            </view>
            <view class="flex margin-top-sm" style="width:100%">
                <view class="text-lg text-black">
                    <text>联系方式:</text>
                    {{detailBean.institutionContact}}
                </view>
            </view>
            <view class="flex margin-top-sm" style="width:100%">
                <view class="text-lg text-black">
                    <text>成立日期:</text>
                    {{detailBean.institutionFoundingTime}}</view>
            </view>
            <view class="flex margin-top-sm" style="width:100%">
                <view class="text-lg text-black">
                    <text>地址:</text>
                    {{detailBean.institutionAddress}}
                </view>
            </view>
            <view class="text-df text-black margin-top">
                <rich-text nodes="{{detailBean.institutionDesc}}" space="nbsp"></rich-text>
            </view>
            <view class="flex margin-top flex-direction" wx:if="{{detailBean.showPhoto && detailBean.showPhoto.length > 0}}">
                <view class="margin-top-sm" wx:for="{{detailBean.showPhoto}}" wx:for-item="img" wx:key="index" >
                    <image src="{{img}}" mode="widthFix"></image>
                </view>
            </view>
        </view>
    </view>
</scroll-view>