Explorar el Código

모바일 푸시 수신 리스트 화면 추가

huiwon.seo hace 4 años
padre
commit
c65a700315

+ 26 - 0
src/main/java/com/lemon/lifecenter/controller/MobilePushController.java

@@ -0,0 +1,26 @@
+package com.lemon.lifecenter.controller;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Controller;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.servlet.ModelAndView;
+
+import com.lemon.lifecenter.common.LifeCenterConfigVO;
+import com.lemon.lifecenter.common.LifeCenterController;
+
+@Controller
+@RequestMapping("/mobile")
+public class MobilePushController extends LifeCenterController {
+    @Autowired
+    private LifeCenterConfigVO config;
+    
+    @RequestMapping( "/push/list" )
+    public ModelAndView pushList() {
+        
+        
+        
+        ModelAndView mv = setMobileMV( "push/list" );
+        
+        return mv;
+    }
+}

+ 3 - 3
src/main/webapp/WEB-INF/jsp/include/sidebar.jsp

@@ -90,9 +90,9 @@
                             <a class="sidebar-link" href="/push/list">푸시 서비스 관리</a>
                         </li>
                         
-                        <li class="sidebar-item <c:if test='${data._MENUPATH eq "role"}'>active</c:if>">
-                            <a class="sidebar-link" href="/role/list">그룹 권한 관리</a>
-                        </li>
+<%--                         <li class="sidebar-item <c:if test='${data._MENUPATH eq "role"}'>active</c:if>"> --%>
+<!--                             <a class="sidebar-link" href="/role/list">그룹 권한 관리</a> -->
+<!--                         </li> -->
                     </c:if>
                 </ul>
             </li>

+ 3 - 0
src/main/webapp/WEB-INF/jsp/mobile/menu/menu.jsp

@@ -95,6 +95,9 @@ function token(callback) {
                             <li>
                                 <a href="./nonface">비대면 진료(Untact Treatment)</a>
                             </li>
+                            <li>
+                                <a href="./push/list">메시지 수신함(Message received)</a>
+                            </li>
                             <!-- li>
                                 <a href="javascript:;">생활치료센터 이용 안내</a>
                             </li -->

+ 52 - 0
src/main/webapp/WEB-INF/jsp/mobile/push/list.jsp

@@ -0,0 +1,52 @@
+<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
+<%@ page language="java" contentType="text/html; charset=UTF-8"
+    pageEncoding="UTF-8"%>
+<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
+<jsp:include page="${data._INCLUDE}/header.jsp"></jsp:include>
+<script type="text/javascript">
+
+</script>
+<style>
+span.push-title{}
+span.push-date{float:right;font-size:14px;color:#999;}
+.push-content{white-space: pre-line;}
+</style>
+</head>
+<body>
+<div id="sub">
+    <div class="container">
+        <div class="header">
+            <div class="previous">
+                <a href="javascript:;" onclick="loadApp();">이전</a>
+            </div>
+            <div class="title">메시지 수신함</div>
+        </div>
+        
+        <div class="examination">
+            <div class="daily" style="margin-top:20px;">
+                <a href="?ym=" class="previous active">이전</a>
+                2021년 1월
+                <a href="?ym=" class="next active">다음</a>
+            </div>
+        </div>
+        
+        <div class="alert" style="border-top:1px solid #CCCCCC;">월별 푸시메시지 수신 내역</div>
+        
+        <div class="faq">
+            <ul class="list">
+                <c:forEach var="i" begin="1" end="10">
+                    <li>
+                        <a href="javascript:;" class="">
+                            <span class="push-title">푸시 제목 입니다 ${i}</span>
+                            <span class="push-date" style="float:right;">8일 15:32</span>
+                        </a>
+                        <div class="answer push-content">생활치료센터 앱의 좌측 상단 목록 아이콘을 클릭합니다. 펼쳐진 메뉴의 아래에서 세번째에 있는 “문의하기”를 선택하시면 담당 의료진에게 궁금한 사항을 문의 하실 수 있습니다.</div>
+                    </li>
+                </c:forEach>
+            </ul>
+        </div>
+    </div>
+</div>
+
+</body>
+</html>