my.wxml
2.8 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!--pages/my/my.wxml-->
<view class='banner_box'>
<view class='banner_info_box'>
<image class='head_img' src='{{userInfo.avatar||"/images/weirenzheng@2x.png"}}'></image>
<view class='banner_right' wx:if="{{userInfo}}">
<view class='banner_info' bindtap='renzheng' data-type='{{auth}}'>
<text>{{auth=='0'?'企业认证:未认证':auth=='1'?'企业认证中':"认证企业"}}</text>
<text hidden='{{auth==0}}'>:{{userInfo.company_name}}</text>
<image hidden='{{auth!=2}}' src='/images/guangfang@2x.png'></image>
</view>
<view class='banner_label'>
<image src='/images/ren@2x.png'></image>
<text>{{userInfo.username}}</text>
</view>
</view>
</view>
</view>
<!-- -->
<view class='content_box'>
<!-- <view class='item_list' bindtap='TB' bindtap="btn_post" hidden='{{auth!=2}}'>
<view class='list_icon'>
<text class='iconfont icon-wodetiezi'></text>
</view>
<view class='list_item_box'>
<view>我的帖子</view>
<view class='iconfont icon-go'></view>
</view>
</view> -->
<view class='item_list' bindtap="btn_attention">
<view class='list_icon'>
<text class='iconfont icon-xing'></text>
</view>
<view class='list_item_box'>
<view>我的关注</view>
<text class='iconfont icon-go'></text>
</view>
</view>
<!-- <view class='item_list' bindtap='reportList' bindtap='btn_like' hidden='{{auth!=2}}'>
<view class='list_icon'>
<text class='iconfont icon-zan21'></text>
</view>
<view class='list_item_box'>
<view>我的点赞</view>
<view class='iconfont icon-go'></view>
</view>
</view> -->
<!-- <view class='item_list' bindtap='reportList' bindtap='btn_comment' hidden='{{auth!=2}}'>
<view class='list_icon'>
<text class='iconfont icon-pinglun1'></text>
</view>
<view class='list_item_box'>
<view>我的评论</view>
<view class='iconfont icon-go'></view>
</view>
</view> -->
<view class='item_list' bindtap='articlList' bindtap='btn_inform'>
<view class='list_icon'>
<text class='iconfont icon-tongzhi'></text>
</view>
<view class='list_item_box'>
<view>发文通知</view>
<view class='list_icon2'>
<view class='list_point' hidden="{{!noticeNum}}">{{noticeNum}}</view>
<view class='iconfont icon-go'></view>
</view>
</view>
</view>
</view>
<!-- <view class='null_data_box' hidden='{{auth==2}}'>
<view class='data_box'>
<image src='/images/weirenzheng@2x.png'></image>
<view class='list_btn' bindtap='open_btn' data-type='{{auth}}' bindtap='renzheng'>{{auth=='0'?'开通企业认证 >':auth=='1'?'企业认证中 请等待':""}}</view>
<view wx:if='{{auth=="0"}}'> ~~ 企业认证后开启更多服务 ~~</view>
</view>
</view> -->