summaryList2.wxml
7.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
<!-- 保单报告 -->
<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}}
<!-- <text class='position'>222</text> -->
</view>
<view>电话 {{userinfo.mobile}}</view>
</view>
</view>
<view class='list_icon_box'>
<view class='iconfont icon-dianhua2' bindtap='makePhoneCall'></view>
</view>
</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 member_active" wx:for='{{familymember}}' wx:key='' data-index='{{index}}'>{{item.name}}</view>
</view>
</view>
<view>
<!-- 保单选项 -->
<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>
</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}}' focus='' disabled='true' maxlength='-1'></textarea>
</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}}' focus='' disabled='true' maxlength='-1'></textarea>
</view>
</view>
<!-- 缺口保障推荐方案 -->
<view class='plan_box'>
<view class='plan_title'>缺口保障推荐方案</view>
<view class='plan_content' wx:for='{{recommend}}' wx:key=''>
<!-- <view class='iconfont icon-guanbi'></view> -->
<view class='plan_list'>
<view class='plan_name'>产品名称</view>
<view class='plan_input'>
<input type='text' placeholder='重大疾病保' value='{{item.name}}' disabled='true'></input>
</view>
</view>
<view class='plan_list'>
<view class='plan_name'>保险公司</view>
<view class='plan_input'>
<input type='text' placeholder='重大疾病保' value='{{item.firm}}' disabled='true'></input>
</view>
</view>
<view class='plan_list'>
<view class='plan_name'>保障内容</view>
<view class='plan_input'>
<textarea placeholder='请输入保障内容' value='{{item.text}}' class='area_box' disabled='true'>
</textarea>
</view>
</view>
</view>
</view>
</view>
<!-- 保额汇总 -->
<block wx:elif='{{tab_state==1}}'>
<view class='summary_item' wx:for='{{collect}}' wx:key='' wx:for-index='mindex'>
<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.text}}</text>
<text wx:if="{{its.name == '每日住院津贴'}}">元/天</text>
<text wx:else>万</text>
</view>
<view class='summary_content forehead'>
<input type='number' placeholder='' value="{{its.plan}}" focus='' disabled='true'></input>
</view>
<view class='summary_content gap'>{{its.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>
<view class='scroll_content_box'>
<view class='list_content_box' wx:for='{{information}}' wx:key=''>
<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='go_index' bindtap="goIndex" wx:if="{{reportid!=''}}">回到首页</view>