rent_sure.html
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
245
246
247
248
249
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<title>确认租赁</title>
<meta name="viewport" content="initial-scale=1,maximum-scale=1, minimum-scale=1">
<link rel="stylesheet" href="__TMPL__/public/assets/css/base.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/swiper.min.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/common/sure_lease.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/weui.css">
<link rel="stylesheet" href="__TMPL__/public/assets/css/myweui.css">
<script src="__TMPL__/public/assets/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
<script src="__TMPL__/public/assets/js/weui.js"></script>
<script src="__TMPL__/public/assets/js/myweui.js"></script>
<script src="__TMPL__/public/assets/js/swiper.min.js" type="text/javascript" charset="utf-8"></script>
<style>
.shuru {
width: 2rem;
outline: none;
}
.beizhu_title {
display: inline-block;
vertical-align: top;
margin-top: 0.08rem;
}
textarea {
outline: none;
margin: 0 auto;
margin-top: 0.1rem;
margin-left: 0.1rem;
margin-right: 0.1rem;
line-height: 0.35rem;
}
.beizhu_content {
display: inline-block;
border-radius: 0.1rem;
border: 0.01rem solid #EBEBEB;
}
textarea {
resize: none;
}
</style>
</head>
<body>
<div class="container">
<div class="address_box">
<div class="local_box">
<img class="location_img" src="__TMPL__/public/assets/images/time.png" alt="">
<span class="date_content start_date">{$time.start_time}</span>
<span class="date_content end_date">~{$time.end_time}</span>
<span class="time_end">共{$time.time_num}天</span>
</div>
<div class="user_box">
<img class="head_img" src="__TMPL__/public/assets/images/head_img.png" alt="">
<p class="user_name">
<input class="shuru" type="text" maxlength="5" placeholder="请填写姓名">
</p>
<p class="user_phone">
<input class="shuru" type="number" max="11" onkeyup="this.value = this.value.slice(0,11)" placeholder="请填写手机号">
</p>
</div>
</div>
<div class="con_warp">
<p class="buy_message"> 购买租赁</p>
<ul class="con_list_ul">
<li class="con_list_li">
<img class="con_list_img" src="__TMPL__/public/assets/images/5653ceba1a219@2x.png" alt="">
<div class="goods_box">
<p class="goods_title">HO56C手动轮椅车</p>
<span class="goods_content">体积更小轻松放入汽车后备箱</span>
<p class="goods_money">¥2000.00/天</p>
<span class="goods_nums"> X1</span>
</div>
</li>
</ul>
<div class="join">
<!--<img class="subtract_img" src="__TMPL__/public/assets/images/item_reduce.png " alt="">-->
<p>X1 </p>
<!--<img class="add_img" src="__TMPL__/public/assets/images/item_add.png" alt="">-->
</div>
<p class="buy_message"> 租赁数量 </p>
</div>
<div class="peisong">
<p class="take_it"> 选择自提点 <span>A自提点(有货)<img src="__TMPL__/public/assets/images/youjiantou1.png" alt=""></span></p>
<div class="peisong_box">
<p> 押金
<a href="{:url('Rent/free')}">
<p class="cash_p">
<img src="__TMPL__/public/assets/images/about_us.png" alt="">
<span class="yajin">申请免押金</span>
</p>
</a>
<span class="moneys">¥8.00</span>
</p>
</div>
<div class="beizhu_box">
<p class="beizhu_title"> 备注信息: </p>
<p class="beizhu_content">
<textarea name="" id="" cols="35" rows="3" placeholder="12312"></textarea>
</p>
</div>
</div>
<div class="xiaoji_box">
<p class="xiaoji">共一件商品  小计 : ¥2000.00</p>
</div>
<div class="zhifu">
<div class=" pay_method">
<div class="method_choose">
<p class="wx_pay pay_item"> 微信支付<span><img class="hand" src="__TMPL__/public/assets/images/hand.png" alt="">推荐使用</span> </p>
<p class="ali_pay pay_item"> 支付宝支付 </p>
</div>
<div class="methood_pic">
<img class="sure sure_item" src="__TMPL__/public/assets/images/sure.png" alt="">
<img class="cancel sure_item" src="__TMPL__/public/assets/images/sure_1.png" alt="">
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="buycar_box">
<p> 微信支付</p>
<span class="buycar_box_money">¥2000.00</span>
</div>
<p class="footer_buycar">前往支付</p>
</footer>
</div>
<script src="__TMPL__/public/assets/js/picker.min.js"></script>
<script src="__TMPL__/public/assets/js/base.js" type="text/javascript" charset="utf-8"></script>
<script src="__TMPL__/public/assets/js/common.js" type="text/javascript" charset="utf-8"></script>
<script>
// $(document).ready(function() {
// get_main_content();
//
//
// //初始化时间
// var local_month = new Date().getMonth() + 1,
// local_day = new Date().getDate();
// next_local_day = new Date().getDate() + 2;
// var $menu_box = $('.content_body .con_title>li');
// $('.start_date').text(local_month + '月' + local_day + '日');
// $('.end_date').text('~' + local_month + '月' + next_local_day + '日');
//
// })
//
// function get_main_content() {
//
// }
// var first_time, next_time;
// // 开始时间
// document.querySelector('.start_date').addEventListener('click', function() {
// weui.datePicker({
// start: new Date(),
// end: '2030-12-29',
// /**
// * https://zh.wikipedia.org/wiki/Cron
// * cron 表达式后三位
// * 示例:
// * * * * 每天
// * 5 * * 每个月的5日
// * 1-10 * * 每个月的前10日
// * 1,5,10 * * 每个月的1号、5号、10号
// * *\/2 * * 每个月的 1、3、5、7...日,注意写的时候斜杠“/”前面没有反斜杠“\”,这是因为是注释所以需要转义
// * * 2 0 2月的每个周日
// * * * 0,6 每个周末
// * * * 3 每周三
// */
//
// defaultValue: [new Date().getFullYear(), new Date().getMonth() + 1, new Date().getDate()],
// onChange: function(result) {
// console.log(result);
// },
// onConfirm: function(result) {
// $('.start_date').text(result[1] + '月' + result[2] + '日')
// first_time = new Date(result[0] + '-' + result[1] + '-' + result[2]);
//
// console.log(first_time);
// setTimeout(get_nextTime(), 1500)
// },
// id: 'datePicker'
// });
// });
// //结束时间
// function get_nextTime() {
// document.querySelector('.end_date').addEventListener('click', function() {
// weui.datePicker({
// start: new Date(),
// end: '2030-12-29',
// /**
// * https://zh.wikipedia.org/wiki/Cron
// * cron 表达式后三位
// * 示例:
// * * * * 每天
// * 5 * * 每个月的5日
// * 1-10 * * 每个月的前10日
// * 1,5,10 * * 每个月的1号、5号、10号
// * *\/2 * * 每个月的 1、3、5、7...日,注意写的时候斜杠“/”前面没有反斜杠“\”,这是因为是注释所以需要转义
// * * 2 0 2月的每个周日
// * * * 0,6 每个周末
// * * * 3 每周三
// */
//
// defaultValue: [new Date().getFullYear(), new Date().getMonth() + 1, new Date().getDate()],
// onChange: function(result) {
// console.log(result);
// },
// onConfirm: function(result) {
// $('.end_date').text('~' + result[1] + '月' + result[2] + '日')
// next_time = new Date(result[0] + '-' + result[1] + '-' + result[2]);
// nYlts = parseInt((Math.abs(next_time - first_time) / 1000 / 60 / 60 / 24) + 1);
// $('.time_end').text('共' + nYlts + '天')
// console.log(nYlts);
// },
// id: 'datePicker'
// });
// });
// }
// 支付选择
// 微信
$('.sure').click(function () {
$('.sure').attr('src','__TMPL__/public/assets/images/sure.png');
$('.cancel').attr('src','__TMPL__/public/assets/images/sure_1.png');
})
// 支付宝
$('.cancel').click(function () {
$('.cancel').attr('src','__TMPL__/public/assets/images/sure.png');
$('.sure').attr('src','__TMPL__/public/assets/images/sure_1.png');
})
//前往支付
$('.footer_buycar').on('click', function() {
window.location.href = "take_it.html"
})
//申请免押金
$('.cash_p').on('click', function() {
window.location.href = "deposit_free.html"
})
//选择自提点
$('.take_it').on('click', function() {
window.location.href = "take_it.html"
})
</script>
</body>
</html>