Joung Jiwon

우편번호 api 추가 및 css 8차 수정

...@@ -38,7 +38,8 @@ a:focus { ...@@ -38,7 +38,8 @@ a:focus {
38 } 38 }
39 39
40 .btn:hover { 40 .btn:hover {
41 - background-color: #ced4da; 41 + color:darkgrey !important;
42 + background-color: white;
42 } 43 }
43 44
44 .tm-section-pad-top { 45 .tm-section-pad-top {
...@@ -218,16 +219,17 @@ a:focus { ...@@ -218,16 +219,17 @@ a:focus {
218 219
219 .tm-down-arrow { 220 .tm-down-arrow {
220 font-size:15px; 221 font-size:15px;
221 - color: white; 222 + color: white !important;
222 border: 2px none white; 223 border: 2px none white;
223 border-radius: 3%; 224 border-radius: 3%;
224 padding: 10px 22px 8px; 225 padding: 10px 22px 8px;
225 transition: all 0.3s ease; 226 transition: all 0.3s ease;
227 + background:transparent;
226 } 228 }
227 229
228 .tm-down-arrow:hover, 230 .tm-down-arrow:hover,
229 .tm-down-arrow:focus { 231 .tm-down-arrow:focus {
230 - color: grey; 232 + color: darkgrey !important;
231 background: white; 233 background: white;
232 } 234 }
233 235
...@@ -347,7 +349,6 @@ select::-ms-expand { ...@@ -347,7 +349,6 @@ select::-ms-expand {
347 } 349 }
348 350
349 .input-home { 351 .input-home {
350 - display : relative;
351 grid-area: input-home; } 352 grid-area: input-home; }
352 353
353 .question-grade { grid-area: question-grade; } 354 .question-grade { grid-area: question-grade; }
......
...@@ -81,14 +81,14 @@ ...@@ -81,14 +81,14 @@
81 <div class="grid-container"> 81 <div class="grid-container">
82 <div class="question-field question-home">어디에 사나요?</div> 82 <div class="question-field question-home">어디에 사나요?</div>
83 <div class="input-field input-home"> 83 <div class="input-field input-home">
84 - <input type="button" class="button-address" onclick="sample4_execDaumPostcode()" value="우편번호 찾기"><br> 84 + <input type="button" class="button-address" onclick="home_execDaumPostcode()" value="우편번호 찾기"><br>
85 - <input type="text" id="sample4_roadAddress" placeholder="도로명주소"> 85 + <input type="text" id="home-address" placeholder="도로명주소">
86 <span id="guide" style="color:#999;display:none"></span> 86 <span id="guide" style="color:#999;display:none"></span>
87 </div> 87 </div>
88 <div class="question-field question-school">무슨 학교에 다니나요?</div> 88 <div class="question-field question-school">무슨 학교에 다니나요?</div>
89 <div class="input-school"> 89 <div class="input-school">
90 - <input type="button" class="button-address" onclick="sample4_execDaumPostcode()" value="우편번호 찾기"><br> 90 + <input type="button" class="button-address" onclick="school_execDaumPostcode()" value="우편번호 찾기"><br>
91 - <input type="text" id="sample4_roadAddress" placeholder="도로명주소"> 91 + <input type="text" id="school-address" placeholder="도로명주소">
92 <span id="guide" style="color:#999;display:none"></span> 92 <span id="guide" style="color:#999;display:none"></span>
93 </div> 93 </div>
94 <div class="question-field question-grade">몇학년인가요?</div> 94 <div class="question-field question-grade">몇학년인가요?</div>
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
107 </div></div> 107 </div></div>
108 </div> 108 </div>
109 <a href="#result" class="button2 text-center tm-down-arrow-link"> 109 <a href="#result" class="button2 text-center tm-down-arrow-link">
110 - <button style= "color:black" class="fas fa-3x fa-caret-down tm-down-arrow" type="button" onclick="semester();return false;">계산 110 + <button style= "color:black" class="fas fa-3x fa-caret-down tm-down-arrow" type="button" onclick="semester();return false;">계산해보
111 </button> 111 </button>
112 </a> 112 </a>
113 </div> 113 </div>
...@@ -168,7 +168,7 @@ ...@@ -168,7 +168,7 @@
168 <script src="js/bootstrap.min.js"></script> 168 <script src="js/bootstrap.min.js"></script>
169 <script src="https://t1.daumcdn.net/mapjsapi/bundle/postcode/prod/postcode.v2.js"></script> 169 <script src="https://t1.daumcdn.net/mapjsapi/bundle/postcode/prod/postcode.v2.js"></script>
170 <script> //도로명주소 170 <script> //도로명주소
171 - function sample4_execDaumPostcode() { 171 + function home_execDaumPostcode() {
172 new daum.Postcode({ 172 new daum.Postcode({
173 oncomplete: function(data) { 173 oncomplete: function(data) {
174 // 팝업에서 검색결과 항목을 클릭했을때 실행할 코드를 작성하는 부분. 174 // 팝업에서 검색결과 항목을 클릭했을때 실행할 코드를 작성하는 부분.
...@@ -179,7 +179,7 @@ ...@@ -179,7 +179,7 @@
179 179
180 180
181 // 우편번호와 주소 정보를 해당 필드에 넣는다. 181 // 우편번호와 주소 정보를 해당 필드에 넣는다.
182 - document.getElementById("sample4_roadAddress").value = roadAddr; 182 + document.getElementById("home-address").value = roadAddr;
183 183
184 // 참고항목 문자열이 있을 경우 해당 필드에 넣는다. 184 // 참고항목 문자열이 있을 경우 해당 필드에 넣는다.
185 185
......
No preview for this file type