remind.wxml
3.8 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!--pages/remind/remind.wxml-->
<view class='banner_box'>
<view class='head_img'>
<image src='/images/img2.png'></image>
</view>
<view class='head_info_box'>
<view class='user_name_box'>
<view class='user_name'>苏菀菁(联络人)</view>
<picker class='user_type_box' value='{{type_index}}' range='{{user_type}}' bindchange='userType'>
<text wx:if='{{type_index==-1}}'>请选择</text>
<text wx:else>{{user_type[type_index]}}</text>
<text class='iconfont icon-xiala1'></text>
</picker>
</view>
<view class='user_label_box'>
<view class='user_balel_item'>亲朋好友</view>
<view class='user_balel_item'>开朗</view>
<view class='user_balel_item'>医生</view>
<view class='user_balel_item'>养宠物</view>
</view>
<view class='user_info'>描述:性格开朗,为人大方。</view>
</view>
</view>
<view class='content_box'>
<view class='item_list'>
<view>手机号 1893659824</view>
<view class='list_icon_box'>
<view class='iconfont icon-dianhua2'></view>
</view>
</view>
</view>
<view class='tab_content_box'>
<view class='list_tab_box'>
<view class="list_tab_item {{currentTab==0?'tab_active':''}}" data-current="0" bindtap='tabCharge'>智能提醒</view>
<view class="list_tab_item {{currentTab==1?'tab_active':''}}" data-current="1" bindtap='tabCharge'>跟踪日志</view>
</view>
<block wx:if='{{currentTab==0}}'>
<view class='list_content_box'>
<view class='item_list'>
<view class='list_title_box'>
<view class='list_title_info'>跟踪提醒</view>
<view class='list_info' bindtap='editInfo'>
<text>修改</text>
<text class='iconfont icon-bianji'></text>
</view>
</view>
<block wx:if='{{!edit_state}}'>
<view class='list_info_box'>
<view class='list_info_item'>提醒时间:{{remind_time}}</view>
<view class='list_info_item'>跟踪时间:{{follow_time}}</view>
<view class='list_info_item'>地点:{{place}}</view>
</view>
</block>
<block wx:else>
<view class='list_info_box'>
<view class='list_info_item'>
<view>提醒时间:</view>
<picker mode='date' value='{{remind_time}}' bindchange='remindTime'>
<input placeholder='请选择' value='{{remind_time}}' bindinput='' disabled='true'></input>
</picker>
</view>
<view class='list_info_item'>
<view>跟踪时间:</view>
<picker mode='date' value='{{follow_time}}' bindchange='followTime'>
<input placeholder='请选择' value='{{follow_time}}' bindinput='' disabled='true'></input>
</picker>
</view>
<view class='list_info_item'>
<view>地点:</view>
<input placeholder='请输入' value='{{place}}' bindinput='place'></input>
</view>
</view>
</block>
<view class='list_bottom'>
<view class='list_btn' bindtap='nullValue'>清空</view>
<view class='list_btn list_active' bindtap='finish'>完成</view>
</view>
</view>
</view>
</block>
<block wx:elif='{{currentTab==1}}'>
<view class='log_box'>
<view class='log_line'></view>
<view class="log_item_box" wx:for='{{[1,1,1]}}' wx:key=''>
<view class='triangle'></view>
<view class='log_point'></view>
<view class='log_item'>
<view>第三次拜访,客户对XXX有意向,下次着重介绍</view>
<view class='log_time'>2018-05-04</view>
</view>
</view>
<view class='add_btn_box' bindtap='addLogs'>
<view class='iconfont icon-tianjia'></view>
<view>添加日志</view>
</view>
</view>
</block>
</view>