integral-detail.wxml
2.5 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
<wxs module="filter" src="../../utils/utilswxs.wxs"></wxs>
<view class="page">
<view class="app__bgc bgc"></view>
<view class="app__bg bg"></view>
<view class="app__content main">
<view class="top-space"></view>
<view class="content">
<view class="header">
<view class="info">
现有奖金
<span class="t1">{{filter.Fen2Yuan(userInfo.memberPoints)}}</span>
元
</view>
<view class="sel-wrap">
<view class="sel sel2 {{isShowAll ? 'show-all':''}}" bindtap="onShowAllHandler">
显示全部月份
</view>
<picker mode="date" fields="month" value="{{date}}" bindchange="bindDateChange">
<view class="sel">
<image class="icon" mode="aspectFit" src="../../image/icon/icon-calendar.png" />
时间筛选
<span class="d1">{{dateStr}}</span>
</view>
</picker>
</view>
</view>
<!-- 标签 -->
<view class="tag">
<view bindtap="onNavSelectHandler" data-data="{{item}}" data-index="{{index}}" wx:for="{{navList}}" wx:key="{{index}}" class="tag-item">
<image wx:if="{{navIndex==index}}" class="ebg" mode="aspectFit" src="../../image/icon/icon-integral-tag.png" />
<view class="desc {{navIndex == index ? 'act' : ''}}">
<view class="t1">{{index == 5 ? '-' : ''}}{{ index == 0 ? item.t1 : filter.Fen2Yuan(item.t1) }}</view>
<view class="t2">{{item.t2}}</view>
</view>
</view>
</view>
<!-- 标题 -->
<view class="tit">
<view class="tt t1">时间</view>
<view class="tt t2">奖金类型</view>
<view class="tt t3">名称</view>
<view class="tt t4 minus">奖金</view>
</view>
<!-- 奖金 -->
<view class="integral">
<view wx:for="{{dataList}}" wx:key="{{item}}" class="integral-item">
<view class="tt t1">{{item.time}}</view>
<view class="tt t2">{{item.words}}</view>
<view class="tt t3">{{item.subTitle}}</view>
<view class="tt t4 {{item.pointsIp == 0 ? 'minus':''}}">
<!-- {{item.pointsIp == 1 ? '+':'-'}} {{item.pointsNum}} -->
{{item.pointsIp == 1 ? '+':'-'}}{{filter.Fen2Yuan(item.pointsNum) }}
</view>
</view>
</view>
</view>
<empty-tips wx:if="{{dataList.length <= 0}}"></empty-tips>
</view>
</view>
<van-popup show="{{ authorizeVisible }}">
<authorize-comp bind:evtcomp="evtcomp"></authorize-comp>
</van-popup>