myBaodan.html
7.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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>我的保单</title>
<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
<link rel="stylesheet" type="text/css" href="css/mui.min.css" />
<link rel="stylesheet" type="text/css" href="http://at.alicdn.com/t/font_537174_a4y4ri5v8z6t7qfr.css"/>
<link rel="stylesheet" type="text/css" href="css/swiper.min.css"/>
<link rel="stylesheet" type="text/css" href="http://at.alicdn.com/t/font_550254_r6pua542e96vquxr.css"/>
<link rel="stylesheet" type="text/css" media="screen" href="css/base.css" />
<script src="js/base.js"></script>
</head>
<body>
<div class="container baodan_container">
<ul class="baodan_items">
<li class="baodan_item" data-num='123123'>
<div class="baodan_top baodan_list">
<div class="baodan_name">OPPO OPPO R11</div>
<div class="bodan_situation">
状态:
<span class="situaition">待审核</span>
</div>
</div>
<div class="baodan_top baodan_list">
<div class="baodan_name">产品序列号:12345678</div>
</div>
<div class="baodan_top baodan_list">
<div class="baodan_name">生效日期:2018-1-13</div>
</div>
<div class="bandan_ac">
<div class="view_detail">
<a href="baodanDeatil.html">查看详情 >></a>
</div>
</div>
</li>
<li class="baodan_item" data-num='123123'>
<div class="baodan_top baodan_list">
<div class="baodan_name">OPPO OPPO R11</div>
<div class="bodan_situation">
状态:
<span class="situaition">已投保</span>
</div>
</div>
<div class="baodan_top baodan_list">
<div class="baodan_name">产品序列号:12345678</div>
</div>
<div class="baodan_top baodan_list">
<div class="baodan_name">生效日期:2018-1-13</div>
</div>
<div class="bandan_ac">
<div class="view_detail">
<a href="baodanDeatil.html">查看详情 >></a>
</div>
<div class="ac_btns">
<div class="single_btn forgive">
放弃
</div>
<div class="single_btn baoxiu">
报修
</div>
</div>
</div>
</li>
<li class="baodan_item" data-num='123123'>
<div class="baodan_top baodan_list">
<div class="baodan_name">OPPO OPPO R11</div>
<div class="bodan_situation">
状态:
<span class="situaition">审核不通过</span>
</div>
</div>
<div class="baodan_top baodan_list">
<div class="baodan_name">产品序列号:12345678</div>
</div>
<div class="baodan_top baodan_list">
<div class="baodan_name">生效日期:2018-1-13</div>
</div>
<div class="bandan_ac">
<div class="view_detail">
<a href="baodanDeatil.html">查看详情 >></a>
</div>
</div>
</li>
<li class="baodan_item" data-num='123123'>
<div class="baodan_top baodan_list">
<div class="baodan_name">OPPO OPPO R11</div>
<div class="bodan_situation">
状态:
<span class="situaition">保修审核</span>
</div>
</div>
<div class="baodan_top baodan_list">
<div class="baodan_name">产品序列号:12345678</div>
</div>
<div class="baodan_top baodan_list">
<div class="baodan_name">生效日期:2018-1-13</div>
</div>
<div class="bandan_ac">
<div class="view_detail">
<a href="baodanDeatil.html">查看详情 >></a>
</div>
<div class="ac_btns">
<div class="single_btn forgive">
放弃
</div>
</div>
</div>
</li>
<li class="baodan_item" data-num='123123'>
<div class="baodan_top baodan_list">
<div class="baodan_name">OPPO OPPO R11</div>
<div class="bodan_situation">
状态:
<span class="situaition">保修通过</span>
</div>
</div>
<div class="baodan_top baodan_list">
<div class="baodan_name">产品序列号:12345678</div>
</div>
<div class="baodan_top baodan_list">
<div class="baodan_name">生效日期:2018-1-13</div>
</div>
<div class="bandan_ac">
<div class="view_detail">
<a href="baodanDeatil.html">查看详情 >></a>
</div>
<div class="ac_btns">
<div class="single_btn input_danhao">
填写单号
</div>
<div class="single_btn baoxiu">
报修
</div>
</div>
</div>
</li>
<li class="baodan_item" data-num='123123'>
<div class="baodan_top baodan_list">
<div class="baodan_name">OPPO OPPO R11</div>
<div class="bodan_situation">
状态:
<span class="situaition">已弃保</span>
</div>
</div>
<div class="baodan_top baodan_list">
<div class="baodan_name">产品序列号:12345678</div>
</div>
<div class="baodan_top baodan_list">
<div class="baodan_name">生效日期:2018-1-13</div>
</div>
<div class="bandan_ac">
<div class="view_detail">
<a href="baodanDeatil.html">查看详情 >></a>
</div>
</div>
</li>
</ul>
</div>
<!--底部-->
<div class="nav_bottom creat_tricks" >
创建保单
</div>
<div class="nav_bottom">
<a class="nav_bottom_item" href="brandIntroduce.html">
<span class="iconfont icon-pinpai"></span>
<span class="bottom_title">品牌介绍</span>
</a>
<a class="nav_bottom_item " href="help.html">
<span class="iconfont icon-gaiicon-"></span>
<span class="bottom_title">帮助中心</span>
</a>
<a class="nav_bottom_item active" href="#">
<span class="iconfont icon-wode"></span>
<span class="bottom_title">个人中心</span>
</a>
</div>
<script type="text/javascript" src="js/jquery-2.1.0.js"></script>
<script type="text/javascript" src="js/mui.min.js"></script>
<script type="text/javascript" src="js/swiper.min.js" ></script>
<script>
//提交
mui('body').on('tap','.make_sure',function(){
mui.toast('绑定成功')
})
//放弃操作
mui('.baodan_items').on('tap','.forgive',function(){
var btn = ['取消','确定'];
var data = '您仅可拥有3个有效保单,放弃此保单后不可再恢复,是否放弃?';
mui.confirm(data,'提示',btn,function(e){
if(e.index==1){
mui.toast('你选择了放弃')
}else{
mui.toast('您选择了取消')
}
})
})
//
mui('.baodan_item').on('tap','.baoxiu',function(){
var num = $(this).parents('.baodan_item').attr('data-num');
mui.openWindow('baoxiudan.html#'+num);
})
//填写单号
mui('.baodan_items').on('tap','.input_danhao',function(){
var num = $(this).parents('.baodan_item').attr('data-num');
localStorage.baodanNum = num;
mui.openWindow('express_num.html')
})
//创建保单
mui('body').on('tap','.creat_tricks',function(){
mui.openWindow('creatBaodan.html');
})
</script>
</body>
</html>