my.wxml
2.6 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' wx:if='{{auth!=0}}'>
<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' wx:if="{{userInfo.company_name}}">
<text>认证企业:{{userInfo.company_name}}</text>
<image 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 wx:else class='banner_label'>授权登录</view>
</view>
</view>
<!-- -->
<view class='content_box' hidden='{{auth!=2}}'>
<view class='item_list' bindtap='TB' bindtap="btn_post">
<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='vipCharge' 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'>
<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'>
<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'>1</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>