Skip to content

Commit d65cd6f

Browse files
Dh JeongDh Jeong
authored andcommitted
도훈 : getBusStopLocation Page 작업, 새로고침 버튼, 헤더부분 통일 (getSchoolBusLine은 아직
안함)
1 parent 0b77648 commit d65cd6f

36 files changed

+1002
-1108
lines changed

ybusadmin/src/main/java/com/test/spring/user/BusStopMapController.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ public String getSchoolBusStopLine(
318318

319319
dlist = timeDAO.getDetailCategoryList("37"); // 통학버스 노선도를 다 가져옴.
320320

321-
System.out.println("디테일카테고리값 있니? -> "+ dlist.size());
321+
//System.out.println("디테일카테고리값 있니? -> "+ dlist.size());
322322
//가져온 버스디테일카테고리로 시간표 가져오기
323323
//busDetailCategorySeq가 여러개일 경우도 있으니 for문 사용
324324

ybusadmin/src/main/webapp/WEB-INF/views/user/getBusStopLine.jsp

Lines changed: 65 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,9 @@
2626
<script>
2727
// BusStopMapController에서 가져온 Seq값들
2828
let universitySeq = '${universityDto.universitySeq}';
29-
let busStopCategoryName = '${bsdcList[0].busStopDetailCategoryName}';
3029
let busStopCategorySeq = '${busStopCategorySeq}';
30+
let busStopDetailCategorySeq = '${busStopDetailCategorySeq}';
31+
let busStopDetailCategoryName = '${bsdcList[0].busStopDetailCategoryName}';
3132
let cityCirculationSeq = '${bsdcList[0].busStopDetailCategorySeq}';
3233
let YeokbukDistrictSeq = '${bsdcList[1].busStopDetailCategorySeq}';
3334
@@ -57,6 +58,17 @@ $(document).ready(function(){
5758
// 역북지구 Seq 값으로 Line 페이지 다시 부름
5859
location.href="/spring/getBusStopLine.action?universitySeq="+universitySeq+"&busStopCategorySeq="+busStopCategorySeq+"&busStopDetailCategorySeq="+YeokbukDistrictSeq;
5960
});
61+
62+
/*
63+
if(busStopCategorySeq == 18){
64+
$(".busBox").css($({"background": "url('/spring/images/2022busStop/Box_YellowBus.png')"}));
65+
}
66+
*/
67+
/*
68+
else {
69+
$(".busBox").css(background: url("/spring/images/2022busStop/Box_YellowBus.png") no-repeat center 0px;);
70+
}
71+
*/
6072
});
6173
6274
/*
@@ -72,48 +84,59 @@ function moveMap(){
7284
*/
7385
</script>
7486
<script type="text/javascript" src="/spring/js/headerTopChange.js"></script>
87+
<script type="text/javascript" src="/spring/js/getPageHeaderButtons.js"></script>
7588
</head>
7689
<body>
7790
<div id="container">
7891
<div id="header">
7992
<input type="hidden" id="busStopCategorySeq" value="${busStopCategorySeq}">
8093
<div id="hedaerTop">
81-
<div id="hedaerTopBackGround">
82-
<div id="headerTopContents">
83-
<div id="busTypeZone">
84-
<c:choose>
85-
<c:when test="${busStopCategorySeq == 18}">
86-
<div id="busType">
87-
시내 버스
88-
</div>
89-
</c:when>
90-
<c:otherwise>
91-
<div id="busType">
92-
노랑 버스
93-
</div>
94-
</c:otherwise>
95-
</c:choose>
96-
</div>
97-
<div id="buttonsZone">
98-
<div id="buttons">
99-
<div id="btnRouteMapZone">
100-
<div id="btnRouteMap">
101-
</div>
102-
</div>
103-
<div id="btnBusScheduleZone">
104-
<div id="btnBusSchedule">
105-
</div>
106-
</div>
107-
</div>
108-
</div>
109-
</div>
110-
</div>
94+
<div id="headerTopContents">
95+
<div id="button_Home_Zone">
96+
<div id="button_Home">
97+
98+
</div>
99+
</div>
100+
<div id="busTypeZone">
101+
102+
<c:choose>
103+
<c:when test="${busStopCategorySeq == 18}">
104+
<div id="busType">
105+
시내 버스
106+
</div>
107+
</c:when>
108+
<c:when test="${busStopCategorySeq == 36}">
109+
<div id="busType">
110+
노랑 버스
111+
</div>
112+
</c:when>
113+
<c:otherwise>
114+
<div id="busType">
115+
통학 버스
116+
</div>
117+
</c:otherwise>
118+
</c:choose>
119+
120+
</div>
121+
<div id="buttonsZone">
122+
<div id="buttons">
123+
<div id="btnBusScheduleZone">
124+
<div id="btnBusSchedule">
125+
</div>
126+
</div>
127+
<div id="btnRouteMapZone">
128+
<div id="btnRouteMap">
129+
</div>
130+
</div>
131+
</div>
132+
</div>
133+
</div>
111134
</div>
112135
<div id="busStopNotification">
113136
<div id="busStopNotice" >
114137
<div id="noticeIconZone" class="busNotice">
115138
<div id="noticeIcon">
116-
139+
<!-- css background에 이미지 들어있음 -->
117140
</div>
118141
</div>
119142
<div id="busNoticeContents" class="busNotice">
@@ -171,7 +194,9 @@ function moveMap(){
171194

172195
</div>
173196
<div class="lineMark">
174-
기점
197+
<div class="markName">
198+
기점
199+
</div>
175200
</div>
176201
</div>
177202

@@ -221,7 +246,9 @@ function moveMap(){
221246

222247
</div>
223248
<div class="lineMark">
224-
종점
249+
<div class="markName">
250+
종점
251+
</div>
225252
</div>
226253
</div>
227254

@@ -294,7 +321,9 @@ function moveMap(){
294321

295322
</div>
296323
<div class="lineMark">
297-
회차
324+
<div class="markName">
325+
회차
326+
</div>
298327
</div>
299328
</div>
300329
</c:if>
@@ -362,7 +391,7 @@ function moveMap(){
362391
(adsbygoogle = window.adsbygoogle || []).push({});
363392
</script>
364393
</div>
394+
<!-- container -->
365395
</div>
366396
</body>
367-
368397
</html>

0 commit comments

Comments
 (0)