myfeedback.wxml
2.9 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
<view class='my_head'>
<image class="my_headimg" src='/imgs/myfeedback.png'></image>
<view class='my_headitem'>
<view class="my_headitemtop">
<view class='my_headitemimg' bindtap="getmyData">
<image src="{{datalist.user.avatar?datalist.user.avatar:'/imgs/icon_59.png'}}"></image>
</view>
<view class="my_headitemname">
<view class='word'>{{datalist.user.name}}</view>
<view class="word1 ">{{datalist.user.status}}<image src="/imgs/more_gray.png"></image>
</view>
<!-- <view class='word'>工时: {{datalist.work_time}}h</view> -->
<view class='star_box'>
<image src="/imgs/xingxing_weixuanzhong_icon@2x.png" mode='scaleToFill'
wx:if='{{datalist.user.level>0}}'>
</image>
<image src="/imgs/xingxing_weixuanzhong_icon@2x.png" mode='scaleToFill'
wx:if='{{datalist.user.level>1}}'>
</image>
<image src="/imgs/xingxing_weixuanzhong_icon@2x.png" mode='scaleToFill'
wx:if='{{datalist.user.level>2}}'>
</image>
<image src="/imgs/xingxing_weixuanzhong_icon@2x.png" mode='scaleToFill'
wx:if='{{datalist.user.level>3}}'>
</image>
<image src="/imgs/xingxing_weixuanzhong_icon@2x.png" mode='scaleToFill'
wx:if='{{datalist.user.level>4}}'>
</image>
</view>
</view>
</view>
</view>
<view class="my_activebox">
<view class="my_active">
<view>{{datalist.user.level_time}}</view>
<view>可用工时</view>
</view>
<view class="my_active">
<view>{{datalist.user.work_time==null?'0':datalist.user.work_time}}</view>
<view>累计总共工时</view>
</view>
<view class="my_active">
<view>{{datalist.user.use_time}}</view>
<view>已兑换工时</view>
</view>
</view>
<view class="my_hint">
<image src="/imgs/tishi-4@2x.png"></image> 兑换志愿回馈礼品不影响总工时,即不影响志愿者排名及星级
</view>
</view>
<!-- 礼品 -->
<view class="gift" wx:for="{{lists.data}}" data-id="{{item.id}}" bindtap="getbindshop">
<image src="{{item.pic}}"></image>
<view class="gift_message">
<view class="gift_introduce">{{item.good_name}}</view>
<view class="gift_time">
<view>已被兑换:{{item.seal_num}}</view>
<view>库存:{{item.num}}</view>
</view>
<view class="gift_time">
<view class="gift_exchange">工时兑换</view>
<view class="gift_exchange_time"><p>{{item.work_time}}</p>小时</view>
</view>
</view>
</view>