smartRemind.wxml
2.3 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
<!--pages/remind/remind.wxml-->
<!-- <view class='content_box'>
<view class='item_list'>
<view class='list_title'>保单客户生日提醒</view>
<view class='list_content' bindtap='setdateopentime'>
<view class='iconfont icon-xuanzhongyuandian circle' wx:if='{{datestates==2}}'></view>
<view class='iconfont icon-xuanzhong circle' wx:else></view>
</view>
</view>
<picker class='picker_box' value="{{timeindex}}" range="{{timearray}}" bindchange="binddateTimeChange" data-index="{{index}}">
<view class='item_list'>
<view class='list_title'>提醒时间</view>
<view class='list_content'>
<text>{{dateTime}}</text>
<text class='iconfont icon-jinru'></text>
</view>
</view>
</picker>
</view>
<view class='content_box'>
<view class='item_list'>
<view class='list_title'>续保提醒</view>
<view class='list_content' bindtap='setstates'>
<view class='iconfont icon-xuanzhongyuandian circle' wx:if='{{states==2}}'></view>
<view class='iconfont icon-xuanzhong circle' wx:else></view>
</view>
</view>
<picker class='picker_box' value="{{timeindex}}" range="{{timearray}}" bindchange="bindTimeChange" data-index="{{index}}">
<view class='item_list'>
<view class='list_title'>提醒时间</view>
<view class='list_content'>
<text>{{time}}</text>
<text class='iconfont icon-jinru'></text>
</view>
</view>
</picker>
</view> -->
<!-- <view class='list_info_box'>注:提醒时间为具体时间的上午8:00</view> -->
<view class='content_box'>
<view class='list_tab_box'>
<view class="list_tab_item {{tabstate?'tab_active':''}}" bindtap='settabstate_true'>近7天生日客户</view>
<view class="list_tab_item {{tabstate?'':'tab_active'}}" bindtap='settabstate_flase'>近7天到期保单</view>
</view>
<view wx:if='{{tabstate}}'>
<view class='item_list' wx:for='{{list.people}}' wx:key>
<view class='list_title'>{{item.name}}</view>
<view class='list_content'>{{item.birthday}}</view>
</view>
</view>
<view wx:else>
<view class='item_list' wx:for='{{list.information}}' wx:key>
<view class='list_title' bindtap='goDetail' data-id='{{item.id}}'>{{item.recognizee}}</view>
<view class='list_content'>{{item.compact_time}}</view>
</view>
</view>
</view>