-
Notifications
You must be signed in to change notification settings - Fork 2
/
lend.html
262 lines (246 loc) · 12.7 KB
/
lend.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Gugi&display=swap" rel="stylesheet">
<script src="https://kit.fontawesome.com/7395e48b31.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="style.css">
<script src="lend.js" defer></script>
<script src="main.js" defer></script>
<title>억새풀</title>
</head>
<body>
<!-- section lend_Q -->
<section id="lend_Q">
<div id="lend_Q1">
<h1 class="lend_Q_Q">1/8</h1>
<h1 class="lend_Q_Q">어떤 종류의 기계, 장비인가요?</h1>
</div>
<div id="lend_Q2" class="hidden">
<h1 class="lend_Q_Q">2/8</h1>
<h1 class="lend_Q_Q">기계, 장비의 이름을 입력해 주세요!</h1>
</div>
<div id="lend_Q3" class="hidden">
<h1 class="lend_Q_Q">3/8</h1>
<h1 class="lend_Q_Q">제조사, 제조년식을 입력해 주세요!</h1>
</div>
<div id="lend_Q4" class="hidden">
<h1 class="lend_Q_Q">4/8</h1>
<h1 class="lend_Q_Q">임대할 주소를 입력해 주세요!</h1>
</div>
<div id="lend_Q5" class="hidden">
<h1 class="lend_Q_Q">5/8</h1>
<h1 class="lend_Q_Q">임대할 기간을 설정해 주세요!</h1>
</div>
<div id="lend_Q6" class="hidden">
<h1 class="lend_Q_Q">6/8</h1>
<h1 class="lend_Q_Q">상세 내용을 입력해 주세요!</h1>
</div>
<div id="lend_Q7" class="hidden">
<h1 class="lend_Q_Q">7/8</h1>
<h1 class="lend_Q_Q">임대 비용을 입력해 주세요!</h1>
</div>
<div id="lend_Q8" class="hidden">
<h1 class="lend_Q_Q">8/8</h1>
<h1 class="lend_Q_Q">이미지를 넣고, 등록 정보를 확인해 주세요</h1>
</div>
</section>
<!-- section lend_Answer -->
<section id="lend_answer" class="section">
<div id="lend_form" class="section_container">
<!-- lend_form_A1 -->
<form id="lend_form_A1">
<div class="radiogroup" role="radiogroup">
<input type="radio" id="Choice1" name="category" value="tractor">
<label for="Choice1" class="lend_answer_list">
<p class="lend_answer_list_p">트렉터</p>
</label>
<input type="radio" id="Choice2" name="category" value="combine">
<label for="Choice2" class="lend_answer_list">
<p class="lend_answer_list_p">콤바인</p>
</label>
<input type="radio" id="Choice3" name="category" value="rice_transplanter">
<label for="Choice3" class="lend_answer_list">
<p class="lend_answer_list_p">이양기</p>
</label>
<input type="radio" id="Choice4" name="category" value="rotary">
<label for="Choice4" class="lend_answer_list">
<p class="lend_answer_list_p">로터리</p>
</label>
<input type="radio" id="Choice5" name="category" value="livestock_machinery">
<label for="Choice5" class="lend_answer_list">
<p class="lend_answer_list_p">축산기계</p>
</label>
<input type="radio" id="Choice6" name="category" value="forklift">
<label for="Choice6" class="lend_answer_list">
<p class="lend_answer_list_p">포크레인</p>
</label>
<input type="radio" id="Choice7" name="category" value="etc">
<label for="Choice7" class="lend_answer_list">
<p class="lend_answer_list_p">기타</p>
</label>
</div>
<div class="lend_answer_bottom">
<button type="submit" id="lend_next_btn" class="lend_answer_next hidden">
<input type="submit" value="다음" class="lend_answer_next_p">
</button>
</div>
</form>
<!-- lend_form_A2 -->
<form id="lend_form_A2" class="hidden">
<div class="section_container">
<div class="input_row" style="width: 50%; margin: 30px;">
<input type="text" name="model" class="input_text" placeholder="기계 이름을 입력해 주세요" required>
</div>
</div>
<div class="lend_answer_bottom">
<button type="button" class="lend_answer_back" id="A2_btn">
<p>뒤로</p>
</button>
<button type="submit" id="lend_next_btn" class="lend_answer_next">
<input type="submit" value="다음" class="lend_answer_next_p">
</button>
</div>
</form>
<!-- lend_form_A3 -->
<form id="lend_form_A3" class="hidden">
<div class="section_container">
<div class="input_row" style="width: 50%; margin-top: 30px;" id="lend_form_A3_maker">
<input type="text" name="maker" class="input_text" placeholder="제조사를 입력해 주세요" required>
</div>
<div>
<br>
</div>
<div class="input_row" style="width: 50%; margin: 30px;" id="lend_form_A3_date">
<input type="date" name="date" class="input_text" placeholder="제조년식를 입력해 주세요" required>
</div>
</div>
<div class="lend_answer_bottom">
<button type="button" class="lend_answer_back" id="A3_btn">
<p>뒤로</p>
</button>
<button type="submit" id="lend_next_btn" class="lend_answer_next">
<input type="submit" value="다음" class="lend_answer_next_p">
</button>
</div>
</form>
<!-- lend_form_A4 -->
<form id="lend_form_A4" class="hidden">
<div class="section_container">
<div class="input_row" style="width: 50%; margin: 30px;">
<input type="text" name="adress" class="input_text" placeholder="주소를 입력해 주세요" required>
</div>
</div>
<div class="lend_answer_bottom">
<button type="button" class="lend_answer_back" id="A4_btn">
<p>뒤로</p>
</button>
<button type="submit" id="lend_next_btn" class="lend_answer_next">
<input type="submit" value="다음" class="lend_answer_next_p">
</button>
</div>
</form>
<!-- lend_form_A5 -->
<form id="lend_form_A5" class="hidden">
<div class="section_container">
<div class="A5_date">
<div class="A5_date_box" id="lend_form_A5_start">
<label>
<p class="date_p">시작일</p>
</label>
<input type="date" id="date1" name="startDate" class="date" required>
</div>
<div class="A5_date_box" id="lend_form_A5_end">
<label>
<p class="date_p">종료일</p>
</label>
<input type="date" id="date2" name="endDate" class="date" required>
</div>
</div>
</div>
<div class="lend_answer_bottom">
<button type="button" class="lend_answer_back" id="A5_btn">
<p>뒤로</p>
</button>
<button type="submit" id="lend_next_btn" class="lend_answer_next">
<input type="submit" value="다음" class="lend_answer_next_p">
</button>
</div>
</form>
<!-- lend_form_A6 -->
<form id="lend_form_A6" class="hidden">
<div class="section_container">
<div class="input_row" style="width: 50%;">
<textarea name="detail" class="input_text" style="height: 200px;" required></textarea>
</div>
</div>
<div class="lend_answer_bottom">
<button type="button" class="lend_answer_back" id="A6_btn">
<p>뒤로</p>
</button>
<button type="submit" id="lend_next_btn" class="lend_answer_next">
<input type="submit" value="다음" class="lend_answer_next_p">
</button>
</div>
</form>
<!-- lend_form_A7 -->
<form id="lend_form_A7" class="hidden">
<div class="section_container">
<div class="input_row" style="width: 50%; margin: 30px;">
<input type="number" name="maker" class="input_text" placeholder="$000원 /1박" required>
</div>
</div>
<div class="lend_answer_bottom">
<button type="button" class="lend_answer_back" id="A7_btn">
<p>뒤로</p>
</button>
<button type="submit" id="lend_next_btn" class="lend_answer_next">
<input type="submit" value="다음" class="lend_answer_next_p">
</button>
</div>
</form>
<!-- lend_form_A8 -->
<form id="lend_form_A8" class="hidden" name="docsForm" method="post" action="product-register.php" enctype="multipart/form-data">
<div class="section_container">
<div class="lend_card">
<div class="lend_card_top">
<div class="filebox">
<input class="upload-name" value="파일을 업로드하면 이미지가 표시됩니다">
<label for="file">파일찾기</label>
<input type="file" id="file" multiple name="imgFile[]" onchange="readURL(this);"
required>
</div>
<div class="A8_img">
<img id="preview" class="hidden">
</div>
<div class="lend_card_text">
<h2>기계종류</h2><input id="category" value="" name="category" readonly></input>
<h2>기계명</h2><input id="model" value="" name="model" readonly></input>
<h2>가격</h2><input id="price" value="" name="price" readonly></input>
<p>제조사</p><input id="maker" value="" name="maker" readonly></input>
<p>제조년식</p><input id="date" value="" name="makeDate" readonly></input>
<p>주소</p><input id="adress" value="" name="adress" readonly></input>
<p>시작일</p><input id="startdate" value="" name="startDate" readonly></input>
<p>종료일</p><input id="enddate" value="" name="endDate" readonly></p>
<p>상세내용</p><input id="detail" value="" name="detail" readonly></input>
</div>
</div>
</div>
</div>
<div class="lend_answer_bottom">
<button type="button" class="lend_answer_back" id="A8_btn">
<p>뒤로</p>
</button>
<button type="submit" id="lend_next_btn" class="lend_answer_next">
<input type="submit" value="다음" id="lend_next_btn" class="lend_answer_next_p">
</button>
</div>
</form>
</div>
</section>
</body>
</html>