summaryList.wxml
10.1 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
<!-- 保障方案 -->
<view class='popup_box' wx:if='{{popup_state}}'>
<view class='iconfont icon-guanbi2' bindtap='cancelCase'></view>
<view class='popup_item' wx:for='{{caselist1}}' wx:key=''>
<view class='left_box'>
<view class='item_left' bindtap='popupState' data-index='{{index}}'>
<view class="iconfont icon-fangkuang {{item.choose_state?'icon-xuanzhongkuang':''}}"></view>
</view>
</view>
<view class='item_right'>
<view class='rifght_cell'>
<view class='popup_name'>产品名称</view>
<view class='popup_content'>{{item.name}}</view>
</view>
<view class='rifght_cell'>
<view class='popup_name'>保险公司</view>
<view class='popup_content'>{{item.firm}}</view>
</view>
<view class='rifght_cell'>
<view class='popup_name'>保障内容</view>
<view class='popup_content'>{{item.text}}</view>
</view>
</view>
</view>
<view class='null_box'></view>
<view class='popup_btn' bindtap='confirmCase'>确认</view>
</view>
<block wx:else>
<!-- 保单报告 -->
<view class='top_box'>
<view class='banner_title'>您的家庭保单体检报告</view>
<view class='banner_content'>致:{{touser}}</view>
</view>
<!-- 保险顾问 -->
<view class='personal_box'>
<view class='banner_box'>
<view class='content_title'>
<text class='line'></text>
<text class='title'>您的保险顾问</text>
</view>
</view>
<view class='personal_content'>
<view class='head_box'>
<view class='head_portrait'>
<image src='{{userinfo.avatar}}'></image>
</view>
<view>
<view class='name'>{{userinfo.name}}
</view>
<view>电话 {{userinfo.mobile}}</view>
</view>
</view>
<button class='list_icon_box' bindtap='makePhoneCall'>
<view class='iconfont icon-dianhua2'></view>
</button>
</view>
</view>
<!-- 家庭成员 -->
<view class='box'>
<view class='banner_box'>
<view class='content_title'>
<text class='line'></text>
<text class='title'>家庭成员</text>
</view>
</view>
<view class='member'>
<view class="member_list {{item.member_state?'member_active':''}}" wx:for='{{familymember}}' wx:key='' data-index='{{index}}' bindtap='memberCharge'>{{item.name}}</view>
</view>
</view>
<view class="viewbox">
<!-- 保单选项 -->
<view class='tab_box'>
<view class="tab_item {{tab_state==0?'tab_active':''}}" data-index='0' bindtap='tabCharge'>报告与建议</view>
<view class="tab_item {{tab_state==1?'tab_active':''}}" data-index='1' bindtap='tabCharge'>保额汇总</view>
<view class="tab_item {{tab_state==2?'tab_active':''}}" data-index='2' bindtap='tabCharge'>保单明细</view>
<!-- ({{list_num}}) -->
</view>
<!-- 报告与建议 -->
<view class='report_box' wx:if='{{tab_state==0}}'>
<view class='medical_report_box'>
<view class='banner_box'>
<view class='content_title'>
<text class='title'>体检报告</text>
</view>
</view>
<view class='report_content'>
<textarea value='{{report}}' bindinput='report' wx:if="{{show}}"></textarea>
<text wx:else>{{report}}</text>
</view>
</view>
<view class='medical_report_box'>
<view class='banner_box'>
<view class='content_title'>
<text class='title'>建议</text>
</view>
</view>
<view class='report_content'>
<textarea value='{{advise}}' bindinput='suggest'></textarea>
</view>
</view>
<!-- 缺口保障推荐方案 -->
<view class='plan_box'>
<view class='plan_title'>保障缺口推荐方案
<text class='info'>(选填)</text>
</view>
<view class='plan_content' wx:for='{{caselist}}' wx:key='' wx:if="{{item.choose_state}}">
<view class='iconfont icon-guanbi' bindtap='delCaselist' data-index='{{index}}'></view>
<view class='plan_list'>
<view class='plan_name'>产品名称</view>
<view class='plan_input'>
<input type='text' placeholder='重大疾病保' value='{{item.name}}' bindinput='planName' data-index='{{index}}' data-id='{{item.id}}' focus='' disabled='{{selected}}'></input>
</view>
</view>
<view class='plan_list'>
<view class='plan_name'>保险公司</view>
<view class='plan_input'>
<input type='text' placeholder='重大疾病保' value='{{item.firm}}' bindinput='planFirm' data-index='{{index}}' data-id='{{item.id}}' focus='' disabled='{{selected}}'></input>
</view>
</view>
<view class='plan_list'>
<view class='plan_name'>保障内容</view>
<view class='plan_input'>
<textarea placeholder='请输入保障内容' value='{{item.text}}' class='area_box' bindinput='planText' data-index='{{index}}' data-id='{{item.id}}' disabled='{{selected}}'>
</textarea>
</view>
</view>
</view>
</view>
<view class='plan_content'>
<view class='plan_list'>
<view class='add_plan'>
<view>增加推荐方案</view>
<view class="iconfont {{clickstate==1?'jia':'icon-wuuiconxiangjifangda'}}" bindtap='recommendCaseList'></view>
</view>
</view>
</view>
</view>
<!-- 保额汇总 -->
<block wx:elif='{{tab_state==1}}'>
<view class='summary_item' wx:for='{{collect}}' wx:key='' wx:for-index='mindex' wx:if='{{item.collect_state}}'>
<view class='summary_info'>{{item.name}}</view>
<view class='summary_box'>
<view class='summary_title_box'>
<view class='summary_title'>保障类别</view>
<view class='summary_title'>实际保额</view>
<view class='summary_title'>建议保额</view>
<view class='summary_title'>保障缺口</view>
</view>
<view class='summary_content_box'>
<view class='summary_list' wx:for='{{item.list}}' wx:key wx:for-item='its' wx:for-index='sindex'>
<view class='summary_content'>{{its.name}}</view>
<view class='summary_content'>
<text>{{its.num}} </text>
<text wx:if="{{its.name == '每日住院津贴'}}">元/天</text>
<text wx:else>万</text>
</view>
<view class='summary_content forehead'>
<input type='number' placeholder='请输入' value="{{its.plan}}" bindinput='suggestForehead' data-num='{{its.num}}' data-sindex='{{sindex}}' data-mindex='{{mindex}}' focus='' disabled='{{selected}}'></input>
</view>
<view class='summary_content gap'>{{its.gap}}</view>
</view>
</view>
</view>
</view>
</block>
<!-- 保单明细 -->
<block class='' wx:elif='{{tab_state==2}}'>
<view class='banner_info'>向左滑动查看更多内容</view>
<view class=''>
<view class='content_item_box'>
<view class='list_title_box'>
<view class='item_list'>
<view class='list_title'>被保险人</view>
</view>
<view class='item_list'>
<view class='list_title'>保单号</view>
</view>
<view class='item_list'>
<view class='list_title'>产品名称</view>
</view>
<view class='item_list'>
<view class='list_title'>保险公司</view>
</view>
<view class='item_list'>
<view class='list_title'>生效日期</view>
</view>
<view class='item_list' wx:for='{{guarantee}}' wx:key='' wx:for-item='sit'>
<view class='list_title'>{{sit.name}}</view>
</view>
</view>
<scroll-view scroll-x style="flex:0 0 auto">
<view class='scroll_content_box'>
<view class='list_content_box' wx:for='{{information}}' wx:key='' wx:if='{{item.information_state}}'>
<view class='item_list'>
<view class='list_title'>{{item.recognizee}}</view>
</view>
<view class='item_list'>
<view class='list_title' style='text-decoration:underline;color:#348af0;' bindtap='summaryDetail' data-InId='{{item.id}}'>{{item.in_num}}</view>
</view>
<view class='item_list'>
<view class='list_title'>{{item.main_risks}}</view>
</view>
<view class='item_list'>
<view class='list_title' wx:if='{{item.firm}}'>{{item.firm}}</view>
<view class='list_title' style='color:#fff' wx:else>无</view>
</view>
<view class='item_list'>
<view class='list_title' wx:if='{{item.compact_time}}'>{{item.compact_time}}</view>
<view class='list_title' style='color:#fff' wx:else>无</view>
</view>
<view class='item_list' wx:for='{{item.more}}' wx:key='' wx:for-item='its'>
<view class='list_title'>{{its.num}} </view>
</view>
</view>
</view>
</scroll-view>
</view>
</view>
</block>
</view>
<!-- 底部按钮 -->
<view class='null_box'></view>
<cover-view class='bottom_box'>
<cover-view class='plan_btn'>
<button class='plan_btn' style='width:100%;border:0' data-status='{{status}}' bindtap="{{save_state?'saveInfo':''}}" disabled="{{savedis}}">
<text style='color:#fff'>测试测试 </text>
<text style='color:#0286ff;'>保存 </text>
保存
<text style='color:#fff'>测试测试</text>
</button>
</cover-view>
<cover-view class="plan_btn2 {{shareState?'plan_active':''}}">
<button class="plan_btn2 {{shareState?'plan_active':''}}" style='border:0;' open-type="{{shareState?'share':''}}" data-status='{{status}}'>发送给客户</button>
</cover-view>
</cover-view>
</block>