comfireorder.html
11.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
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
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="../assets/css/swiper-3.4.2.min.css">
<link rel="stylesheet" href="../assets/css/weui.min.css">
<link rel="stylesheet" href="//at.alicdn.com/t/font_724456_vxu0otepgn8.css">
<script type="text/javascript" src="../assets/js/fontsize.js"></script>
<link rel="stylesheet" href="../assets/css/style.css">
<title>订单确认</title>
<style>
body {
background-color: #f7f7f7;
padding:0 0 1rem 0;
}
.iconfont_box {
display: flex;
align-items: center;
justify-content: center;
margin:0 0.24rem 0 0;
width: 0.35rem;
height: 0.35rem;
}
</style>
</head>
<body>
<div class="comfire_top">
<div class="comfire_title">请填写您的基本信息,方便我们与您联系</div>
<div class="comfire_top_item">
<div class="top_item_name">
<span>姓名</span>
<span class="must">必填</span>
</div>
<div class="comfire_top_input">
<input type="text" placeholder="请输入您的真实姓名" id="name">
</div>
</div>
<div class="comfire_top_item">
<div class="top_item_name">
<span>手机号</span>
<span class="must">必填</span>
</div>
<div class="comfire_top_input">
<input type="text" placeholder="请输入您的手机号或座机号" id="tel">
</div>
</div>
<div class="comfire_top_item">
<div class="top_item_name">
<span>联系时间</span>
<span class="must">必填</span>
</div>
<div class="comfire_top_input call_time">
<!--<input type="datetime-local" />-->
<input type="data" placeholder="请选择方便联系您的时间" id="time">
<!--<span class="iconfont icon-jiantouyou"></span>-->
</div>
</div>
<div class="comfire_top_item item_text">
<div class="top_item_name">
<span>留言( 选填 )</span>
</div>
<div class="comfire_top_input">
<textarea class="comfire_txt" maxlength="50" id="feedback_content" placeholder="请填写留言"></textarea>
<div class="confire_zi"><span id="textLength">0</span>/<span>50</span></div>
</div>
</div>
<div class="com_cell">
<div class="com_cell_left">
<div class="com_cell_yuan">
<div class="mini_yuan"></div>
</div>
<div class="jia_server">加急服务</div>
<div class="shuo_server">加急服务说明</div>
<div class="iconfont icon-my_icon"></div>
</div>
<div class="com_p">¥200</div>
</div>
</div>
<div class="comfire_top">
<div class="server_tip_box">
<div class="server_tip">
<div>一对一简历服务</div>
<div>+¥398</div>
</div>
<div class="server_tip">
<div>加急服务</div>
<div>+¥200</div>
</div>
</div>
<div class="com_total">
<span>合计:</span>
<span class="com_p">¥ 599</span>
</div>
</div>
<div class="comfire_top">
<div class="comfire_title">请选择支付方式</div>
<div class="pay_itembox">
<div class="pay_item">
<div class="pay_item_left">
<div class="iconfont_box">
<div class="iconfont icon-weixinzhifu"></div>
</div>
<div>微信支付</div>
</div>
<div class="iconfont icon-icon_select" ></div>
</div>
<div class="pay_item">
<div class="pay_item_left">
<div class="iconfont_box">
<div class="iconfont icon-zhifubao"></div>
</div>
<div>支付宝支付</div>
</div>
<div class="iconfont icon-icon_select" ></div>
</div>
<div class="pay_item">
<div class="pay_item_left">
<div class="iconfont_box">
<div class="iconfont icon-balance"></div>
</div>
<div>账户余额</div>
</div>
<div class="iconfont icon-icon_select icon-icon_select_activity" ></div>
</div>
</div>
</div>
<div class="if_yes">
<div class="icon_box icon_box_activity">
<span class="iconfont icon-icon_check"></span>
</div>
<div>我已同意 <a class="blue" href="agree.html">《咨询服务协议》</a></div>
</div>
<div class="pay_bottom">
<span>实付:</span>
<span class="com_p">¥ 599</span>
<span class="pay_btn">确认付款</span>
</div>
<!--加急服务弹框-->
<div class="server_mold">
<div class="server_all">
<div class="server_all_content">
<div class="iconfont icon-close"></div>
<div class="server_all_title">加急服务说明</div>
<div class="server_all_main">
1)悬赏头条仅为网络信息发布平台,任何透过悬赏头条发布的信息及其他产品或者服务均系用户自行发布,悬赏头条不担保其发布内容的真实性、准确性及可靠性。悬赏头条对其合法性概不负责,亦不承担任何法律责任;
1)悬赏头条仅为网络信息发布平台,任何透过悬赏头条发布的信息及其他产品或者服务均系用户自行发布,悬赏头条不担保其发布内容的真实性、准确性及可靠性。悬赏头条对其合法性概不负责,亦不承担任何法律责任;
1)悬赏头条仅为网络信息发布平台,任何透过悬赏头条发布的信息及其他产品或者服务均系用户自行发布,悬赏头条不担保其发布内容的真实性、准确性及可靠性。悬赏头条对其合法性概不负责,亦不承担任何法律责任;
1)悬赏头条仅为网络信息发布平台,任何透过悬赏头条发布的信息及其他产品或者服务均系用户自行发布,悬赏头条不担保其发布内容的真实性、准确性及可靠性。悬赏头条对其合法性概不负责,亦不承担任何法律责任;
1)悬赏头条仅为网络信息发布平台,任何透过悬赏头条发布的信息及其他产品或者服务均系用户自行发布,悬赏头条不担保其发布内容的真实性、准确性及可靠性。悬赏头条对其合法性概不负责,亦不承担任何法律责任;
</div>
</div>
<div class="server_all_btn">确定</div>
</div>
</div>
<!--toast-->
<div id="toast" style="display: none;">
<div class="weui-mask_transparent"></div>
<div class="weui-toast">
<p class="weui-toast__content">已完成</p>
</div>
</div>
<script type="text/javascript" src="../assets/js/jquery-2.1.0.js"></script>
<script type="text/javascript" src="../assets/js/swiper-3.4.2.jquery.min.js"></script>
<script type="text/javascript" src="../assets/js/weui.min.js"></script>
<script type="text/javascript" src="../assets/js/Augly_Verification.js"></script>
<script type="text/javascript" src="../assets/js/common.js"></script>
<script>
$('.shuo_server').click(function () {
$('.server_mold').css("display","block")
})
$('.icon-close').click(function () {
$('.server_mold').css("display","none")
})
$('.server_all_btn').click(function () {
$('.server_mold').css("display","none")
})
$('.server_mold').click(function () {
$('.server_mold').css("display","none");
})
$('.server_all').click(function (event) {
event.stopPropagation()
})
$('.com_cell_yuan').click(function () {
if($(this).hasClass('com_cell_yuan_ativity')){
$(this).removeClass('com_cell_yuan_ativity')
}else{
$(this).addClass('com_cell_yuan_ativity')
}
})
$('.icon_box').click(function () {
if($(this).hasClass('icon_box_activity')){
$(this).removeClass('icon_box_activity')
}else{
$(this).addClass('icon_box_activity')
}
})
$('.icon-icon_select').click(function () {
$('.icon-icon_select').each(function () {
$(this).removeClass('icon-icon_select_activity');
});
if($(this).hasClass('icon-icon_select_activity')){
$(this).removeClass('icon-icon_select_activity')
}else{
$(this).addClass('icon-icon_select_activity')
}
})
$('.pay_btn').click(function () {
var name=$('#name').val();
var tel=$('#tel').val();
var time=$('#time').val();
if(name==''){
toast("姓名不能为空")
}else if(tel==''){
toast("电话号码不能为空")
}else if(!AuglyTest_tel.test(tel)){
toast("电话号码输入不正确")
}else if(time==''){
toast("请选择联系时间")
}else if (!$('.icon_box').hasClass('icon_box_activity')) {
toast("请同意服务条款!")
}else{
alert("验证通过")
}
})
$('.comfire_top_input textarea').bind("input propertychange", function () {
var l = $('#feedback_content').val().length;
if (l < 200) {
$('#textLength').text(l)
} else {
return false
}
});
$('.call_time').click(function (event) {
var call_time="";
var call_time_val='';
var _this = this;
weui.datePicker({
start: new Date(),
end: 2030,
defaultValue: [new Date().getFullYear(), new Date().getMonth()+1, new Date().getDate()],
onConfirm: function(result){
for(var i=0;i<result.length;i++){
call_time +=result[i].label;
call_time_val +=result[i].value;
}
console.log(result)
console.log(call_time);
console.log(call_time_val);
// 二级调用:时间
$('.ma_expect_date_picker .weui-picker').on('animationend webkitAnimationEnd', function() {
show_expect_time_picker(_this, result);
});
},
id: 'ma_expect_date',
className: 'ma_expect_date_picker'
});
});
// -----------------------二级调用:时间
var hours = [],
minites = [],
symbol = [{ label: ':', value: 0 }];
function show_expect_time_picker(_this, date) {
var date = date[0].label + date[1].label + date[2].label;
if (!hours.length) {
for (var i = 0; i< 24; i++) {
var hours_item = {};
hours_item.label = ('' + i).length === 1 ? '0' + i : '' + i;
hours_item.value = i;
hours.push(hours_item);
}
}
if (!minites.length) {
for (var j= 0; j < 60; j++) {
var minites_item = {};
minites_item.label = ('' + j).length === 1 ? '0' + j : '' + j;
minites_item.value = j;
minites.push(minites_item);
}
}
weui.picker(hours, symbol, minites, {
defaultValue: [new Date().getHours()+1, 0, 0],
onConfirm: function(result) {
var time = result[0].label + ':' + result[2].label;
var expect_date = date + ' ' + time;
// console.log(expect_date)
// $(_this).find('.weui-cell__ft').text(expect_date);
$('#time').val(expect_date)
},
id: 'ma_expect_time'
});
}
</script>
</body>
</html>