Files
AGuestSaas/components/company/enterprise/enterprise.wxml
2020-12-28 10:38:29 +08:00

112 lines
3.9 KiB
Plaintext

<!-- 企业介绍 -->
<block wx:if='{{info.base.description}}'>
<view class="enterprise_title mt30">
<view class="left">
<image src="/static/images/enterprise_3.png" mode="widthFix"></image>企业介绍
</view>
<!-- <view class="right" catchtap="goPages" data-id='3'>更多<image src="/static/images/icon_right.png" mode="widthFix"></image>
</view> -->
</view>
<!-- 企业介绍展示 -->
<view class="enterprise_content">
<view class="content" style="-webkit-line-clamp: {{hidden?'4':'100'}}; line-clamp: {{hidden?'4':'100'}};">
{{info.base.description}}
</view>
<view class="zhankai" catchtap="hidden" wx:if='{{hidden}}'>展开<image src="/static/images/icon_down.png"
mode="widthFix"></image>
</view>
<view class="zhankai" catchtap="hidden" wx:else>隐藏<image src="/static/images/icon_up.png" mode="widthFix"></image>
</view>
</view>
</block>
<!-- 管理层 -->
<block>
<view class="enterprise_title mt50">
<view class="left">
<image src="/static/images/enterprise_1 .png" mode="widthFix"></image>员工信息
</view>
<view class="right" catchtap="goPages" data-id='1'>更多<image src="/static/images/icon_right.png" mode="widthFix">
</image>
</view>
</view>
<!-- 管理层人员展示 -->
<scroll-view class="scroll-view_H" scroll-x="true" bindscroll="scroll" style="width: 100%">
<view class="scroll-view-item_H" wx:for='{{info.colleagues}}'>
<view class="enterprise_list ">
<image class="enterprise_header" src="{{item.cover || '/static/images/company_bg4.png'}} "></image>
<view class="enterprise_nickname">{{item.name}}</view>
<view class="enterprise_job">{{item.job}}</view>
</view>
</view>
</scroll-view>
</block>
<!-- 员工层 -->
<block>
<!-- <view class="enterprise_title mt50">
<view class="left">
<image src="/static/images/enterprise_2.png" mode="widthFix"></image>员工层
</view>
<view class="right" catchtap="goPages" data-id='2'>更多<image src="/static/images/icon_right.png" mode="widthFix">
</image>
</view>
</view> -->
<!-- 员工层人员展示 -->
<!-- <scroll-view class="scroll-view_H" scroll-x="true" bindscroll="scroll" style="width: 100%">
<view class="scroll-view-item_H" wx:for='{{3}}'>
<view class="enterprise_list ">
<image class="enterprise_header" src="/static/images/company_bg4.png"></image>
<view class="enterprise_nickname">张冬雪</view>
<view class="enterprise_job">职员</view>
</view>
</view>
</scroll-view> -->
</block>
<!-- 企业风采 -->
<block wx:if='{{info.graces.length>0}}'>
<view class="enterprise_title mt50">
<view class="left">
<image src="/static/images/enterprise_4.png" mode="widthFix"></image>企业风采
</view>
<view class="right" catchtap="goPages" data-id='4'>更多<image src="/static/images/icon_right.png" mode="widthFix">
</image>
</view>
</view>
<!-- 企业风采展示 -->
<fengcaiInfo info='{{info.graces[0]}}'></fengcaiInfo>
</block>
<!-- 企业视频 -->
<block wx:if='{{info.videos.length>0}}'>
<view class="enterprise_title mt50">
<view class="left">
<image src="/static/images/enterprise_5.png" mode="widthFix"></image>企业视频
</view>
<view class="right" catchtap="goPages" data-id='5'>更多<image src="/static/images/icon_right.png" mode="widthFix">
</image>
</view>
</view>
<!-- 企业视频展示 -->
<videoInfo info='{{info.videos[0]}}'></videoInfo>
</block>
<!-- 荣誉资质 -->
<block wx:if='{{info.base.pictures.length>0}}'>
<view class="enterprise_title mt50">
<view class="left">
<image src="/static/images/enterprise_6.png" mode="widthFix"></image>荣誉资质
</view>
</view>
<!-- 荣誉资质展示 -->
<view class="enterprise_content">
<view class="content">
<image wx:for='{{info.base.pictures}}' src="{{item}}" mode="widthFix"></image>
</view>
</view>
</block>