company.wxml 1.9 KB
<!--pages/matrix/company/company.wxml-->
<view class='main_container'>
  <view class='banner_top'>
    <image src='/images/company_banner.png' mode='widthFix'></image>
  </view>
  <!-- detailInfo -->
  <view class='compony_info'>
    <view class='compony_title'>
      <view class='compony_left'>{{detailInfo.name}}</view>
      <view class='focus_button cancle_focus' wx:if='{{detailInfo.is_like}}' bindtap='onfocus'>已关注</view>
      <view class='focus_button' bindtap='onfocus' wx:else>+ 关注</view>

    </view>

    <view class='detailInfo_items'>
      <view class='detailInfo_item'>
        <view class='detail_icon'>
          <image src='/images/dianhua_hui@3x.png' mode='aspectFit'></image>
        </view>
        <view class='detail_text'>{{detailInfo.phone}}</view>
      </view>
      <view class='detailInfo_item'>
        <view class='detail_icon'>
          <image src='/images/mail@3x.png' mode='aspectFit'></image>
        </view>
        <view class='detail_text'>{{detailInfo.email}}</view>
      </view>
      <view class='detailInfo_item'>
        <view class='detail_icon'>
          <image src='/images/dingwei@3x.png' mode='aspectFit'></image>
        </view>
        <view class='detail_text'>{{detailInfo.address}}</view>
      </view>
    </view>

    <view class='detailInfo_desc'>
      <view class='fanwei'>
      {{detailInfo.excerpt}}
      </view>
      <view class='company_desc {{open?"openContent":""}}'>
        公司简介:{{detailInfo.content}}
      </view>
      <view class='open {{!open?"close":""}}' bindtap='openText'>
        {{open?"收起":'展开'}}
      </view>
    </view>
    <!-- 企业推荐 -->
    <view class='tuijian_content'>

      <navigator open-type='redirect' url='/pages/matrix/company/company?id={{item.id}}' class='tuijian_item' wx:for='{{tuijianList}}' wx:key=''>
        企业推荐:{{item.name}}
      </navigator>
    </view>
  </view>
</view>