company.wxml
2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<!--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>