CustomerManagement.wxml
2.0 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
<!--pages/CustomerManagement/CustomerManagement.wxml-->
<view class='search_box'>
<view class='search_item'>
<view class='iconfont icon-sousuo1'></view>
<view class='search_input'>
<input placeholder='搜索姓名或标签' bindinput='setKeyWord'></input>
</view>
</view>
<view bindtap='getdata'>搜索</view>
</view>
<view class='line_box'></view>
<view class='content_box'>
<view class='tab_box'>
<view class="tab_item {{currentTab==1?'tab_active':''}}" data-current="1" bindtap='tabCharge'>提醒日期升序</view>
<view class="tab_item {{currentTab==2?'tab_active':''}}" data-current="2" bindtap='tabCharge'>优先级排序</view>
</view>
<view class='item_list' wx:for='{{list}}' wx:key=''>
<view class='list_left_box'>
<view class='list_label_box' bindtap='familyData'>
<view class='iconfont icon-jiating1'></view>
<view>跟踪提醒</view>
<text class='iconfont icon-yuan label_icon' wx:if='{{item.warn_status==1}}'></text>
</view>
<view class='list_label_item'>
<view class='label_item' wx:for='{{item.users}}' wx:for-item='user' wx:key='' data-family_id='{{user.family_id}}' bindtap='infoDetail'>
<text>{{user.name}}({{user.family_role}})</text>
<text class='iconfont icon-yuan '></text>
</view>
<!-- <view class='label_item'>
<text>曹文正(爸爸)</text>
<text class='iconfont icon-yuan '></text>
</view>
<view class='label_item'>
<text>曹文正(爸爸)</text>
<text class='iconfont icon-yuan user_point'></text>
</view> -->
</view>
</view>
<view class='list_right_box'>
<view class='list_btn_box' bindtap='addPerson' data-familyid='{{item.family_id}}'>
<view class='list_btn'>
<view class='iconfont icon-shezhi'></view>
</view>
<view>管理成员</view>
</view>
</view>
</view>
<view class='null_box'></view>
<view class='bottom'>
<view class='bottom_box' bindtap='addFamily'>创建新家庭</view>
</view>
</view>