smartRemind.wxml 2.3 KB
<!--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>