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
<!--pages/my/my.wxml-->
<view class='my_head'>
<image src='https://volunteer.cnpu.org/imgs/gerenzhongxin_bg@2x.png'></image>
<view class='my_headitem'>
<view class='my_headitemimg'>
<image src='{{datalist.avatar}}'></image>
</view>
<view class='word'>{{datalist.user_nickname}}</view>
<view class='word'>已完成的工时: {{datalist.work_time}}h</view>
<view class='star_box'>
<image src="/imgs/xingxing_xuanzhong_icon@2x.png" mode='scaleToFill' wx:if='{{datalist.level>0}}'></image>
<image src="/imgs/xingxing_xuanzhong_icon@2x.png" mode='scaleToFill' wx:if='{{datalist.level>1}}'></image>
<image src="/imgs/xingxing_xuanzhong_icon@2x.png" mode='scaleToFill' wx:if='{{datalist.level>2}}'></image>
<image src="/imgs/xingxing_xuanzhong_icon@2x.png" mode='scaleToFill' wx:if='{{datalist.level>3}}'></image>
<image src="/imgs/xingxing_xuanzhong_icon@2x.png" mode='scaleToFill' wx:if='{{datalist.level>4}}'></image>
</view>
</view>
</view>
<view class='my_itembox'>
<navigator class='my_item' url='/pages/apply/apply?id={{datalist.id}}&is_submit={{datalist.is_submit}}' hover-class="none">
<view class='my_itemletf'>
<view class='iconfont icon-aixin'></view>成为志愿者
</view>
<view class='iconfont icon-xiangyou'></view>
</navigator>
<navigator class='my_item' url='/pages/result/result' hover-class="none">
<view class='my_itemletf'>
<view class='iconfont icon-chakanshenqing'></view>查看审核状态
</view>
<view class='iconfont icon-xiangyou'></view>
</navigator>
<navigator class='my_item' url='/pages/img_txt/img_txt' hover-class="none" url='/pages/img_txt/img_txt?status=3'>
<view class='my_itemletf'>
<view class='iconfont icon-lianximaijia'></view>联系我们
</view>
<view class='iconfont icon-xiangyou'></view>
</navigator>
<navigator class='my_item' url='/pages/img_txt/img_txt' hover-class="none" url='/pages/img_txt/img_txt?status=2'>
<view class='my_itemletf'>
<view class='iconfont icon-renyuanxiaozu'></view>关于我们
</view>
<view class='iconfont icon-xiangyou'></view>
</navigator>
<navigator class='my_item' url='/pages/my/my_active/my_active' hover-class="none">
<view class='my_itemletf'>
<image src='/imgs/activity-close-open@2x.png' mode='widthFix'></image>参与过的活动
</view>
<view class='iconfont icon-xiangyou'></view>
</navigator>
<view class='my_item' bindtap='goamdin' wx:if='{{datalist.type=="2"}}'>
<view class='my_itemletf'>
<view class='iconfont icon-gongzhang'></view>管理员审核
</view>
<view class='iconfont icon-xiangyou'></view>
</view>
</view>