<!-- 公司logo及基本信息 -->
<block wx:if='{{loaded}}'>
  <view class="company_info">
    <image class="cop_bg" mode="widthFix" src="/static/images/company_bg4.png" alt="" />
    <view class="cop_title">{{info.base.name}}</view>
    <image class="cop_logo" mode="widthFix" src="{{info.base.cover || '/static/images/company_bg4.png'}}" alt="" />
  </view>
  <!-- 基本信息 -->
  <view class="cop_info">
    <view class="cop_info_item">
      <image src="/static/images/com_tu.png" mode="widthFix"></image>
      <span>注册资本：<span class="newTxt">{{info.base.registered_capital||'未完善' }}元</span></span>
    </view>
    <view class="cop_info_item">
      <image src="/static/images/com_date.png" mode="widthFix"></image>
      <span>成立时间：<span class="newTxt">{{info.base.setup_at||'未完善' }}</span></span>
    </view>
    <view class="cop_info_item">
      <image src="/static/images/com_person.png" mode="widthFix"></image>
      <span>企业法人：<span class="newTxt">{{info.certification.name||'未完善' }}</span></span>
    </view>
    <view class="cop_call_shop">
      <view class="cop_call" catchtap="call">
        <image src="/static/images/com_call.png" mode="widthFix"></image>拨打电话
      </view>
      <view class=" cop_call cop_shop" catchtap="goMall">
        <image src="/static/images/com_shop.png" mode="widthFix"></image>进入商城
      </view>
      <view class=" cop_call cop_focus">
        <image src="/static/images/eye.png" mode="widthFix"></image>关注企业
      </view>
    </view>
  </view>
</block>

<!-- 滚动菜单 -->
<view class="scroll_menu">
  <scroll-view class="scroll-view_H" scroll-x="true" bindscroll="scroll" style="width: 100%">
    <view id="menu1" catchtap="menuSelect" data-id='0'
      class="scroll-view-item_H {{selectMenuId==0?'scroll_view_select':''}}">企业信息</view>
    <!-- <view id="menu2" catchtap="menuSelect" data-id='1' class="scroll-view-item_H {{selectMenuId==1?'scroll_view_select':''}}">视频 28</view> -->
    <view id="menu4" catchtap="menuSelect" data-id='4'
      class="scroll-view-item_H {{selectMenuId==4?'scroll_view_select':''}}">企业动态</view>
    <view id="menu3" catchtap="menuSelect" data-id='2'
      class="scroll-view-item_H {{selectMenuId==2?'scroll_view_select':''}}">企业活动</view>
    <view id="menu4" catchtap="menuSelect" data-id='3'
      class="scroll-view-item_H {{selectMenuId==3?'scroll_view_select':''}}">项目筹集</view>
  </scroll-view>
</view>

<!-- 企业信息展示 -->
<view wx:if='{{selectMenuId==0}}'>
  <enterprise info='{{info}}'></enterprise>
</view>
<!-- 视频列表展示 -->
<view wx:if='{{selectMenuId==1}}'>
  <videoList></videoList>
</view>
<view wx:if='{{selectMenuId==4}}'>
  <noticeList id='noticeList'></noticeList>
</view>
<!-- 活动列表展示 -->
<view wx:if='{{selectMenuId==2}}'>
  <activeList id='activeList'></activeList>
</view>
<!-- 项目筹集展示 -->
<view wx:if='{{selectMenuId==3}}'>
  <projectRaise id='categoryTypeList'></projectRaise>
</view>