company.wxml 2.1 KB
<!--pages/matrix/company/company.wxml-->
<view class='main_container'>
  <view class='banner_top'>
    <image src='{{detailInfo.banner_image}}' 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==1}}' data-like="{{detailInfo.is_like}}" bindtap='onfocus'>已关注</view>
      <view class='focus_button' bindtap='onfocus' data-like="{{detailInfo.is_like}}" wx:else><text class='add'>+</text>关注</view>
    </view>

    <view class='detailInfo_items'>
      <view class='detailInfo_item' bindtap='makePhone' >
        <view class='detail_icon'>
          <image src='/images/zuoji.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.png' mode='aspectFit'></image>
        </view>
        <view class='detail_text'>{{detailInfo.email}}</view>
      </view>
      <view class='detailInfo_item'>
        <view class='detail_icon'>
          <image src='/images/map.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 openContent'>
        公司简介:<import src="/wxParse/wxParse.wxml"/><template is="wxParse" data="{{wxParseData:contentHtml.nodes}}"/>
      </view>
      <!-- <view class='open {{!open?"close":""}}' bindtap='openText'>
        {{open?"收起":'展开'}}
      </view> -->
    </view>
    
  </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>