diff --git a/src/main/java/nlib/cmm/service/CodeService.java b/src/main/java/nlib/cmm/service/CodeService.java index a32d30a0..636c5cf9 100644 --- a/src/main/java/nlib/cmm/service/CodeService.java +++ b/src/main/java/nlib/cmm/service/CodeService.java @@ -1,19 +1,54 @@ package nlib.cmm.service; -import java.util.HashMap; import java.util.List; import java.util.Map; -import org.springframework.stereotype.Service; - -import nlib.restful.service.DataApiReqVO; -import nlib.restful.service.DataApiResVO; - +/** + *
+ * @Class Name : CodeService.java
+ * 
+ * @Description : 코드 조회 공통 서비스 인터페이스 
+ * 
+ * 
+ * @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021)
+ *
+ * 
+ * + * @ ------------ -------- --------------------------- + * @ 수정일 수정자 수정내용 + * @ ------------ -------- --------------------------- + * @ 2021. 07. 26. KNKIM 최초 생성 + * + * + * @author 이씨플라자 * DIGITALSHIP KNKIM + * @since 2021. 07. 26. + * @version 1.0 + * + */ public interface CodeService { + + /** + * 공통코드를 조회한다. + * + * @param iCodeId + * @return + * @throws Exception + */ public List> listCodes(String iCodeId) throws Exception; + /** + * 주제분류코드를 조회한다. + * + * @return + * @throws Exception + */ public List> listCtClsfs() throws Exception; - + + /** + * 자료유형 최상위 코드목록을 조회한다. + */ + public List> listTypeDivCodes() throws Exception; + } diff --git a/src/main/java/nlib/cmm/service/MainService.java b/src/main/java/nlib/cmm/service/MainService.java index 7aebd98c..6021a2a1 100644 --- a/src/main/java/nlib/cmm/service/MainService.java +++ b/src/main/java/nlib/cmm/service/MainService.java @@ -2,6 +2,9 @@ package nlib.cmm.service; import java.util.List; +import java.util.Map; + +import nlib.col.service.CollectionVO; public interface MainService { @@ -11,6 +14,48 @@ public interface MainService * @param mngOrgCd * @return */ - public List listKeywords(String mngOrgCd); + public List> listKeywords(String mngOrgCd); + + /** + * 문화원 PICK한 자료 리스트를 조회한다. + * + * @param mngOrgCd + * @return + */ + public List listOrgPicks(String mngOrgCd); + + /** + * 유형별인기자료 리스트를 조회한다. + * + * @param mngOrgCd + * @return + */ + public List listPops(CollectionVO searchVO); + + /** + * 유형별인기자료 리스트를 조회한다. : 기본 자료유형 문서로 검색 + * + * @param mngOrgCd + * @return + */ + public List listPops(String mngOrgCd); + + /** + * 유형별인기자료 리스트를 조회한다. + * + * @param mngOrgCd + * @param typeDivCd + * @return + */ + public List listPops(String mngOrgCd, String typeDivCd); + + /** + * 온라인자료관 리스트를 조회한다. + * + * @param mngOrgCd + * @return + */ + public List listOnline(String mngOrgCd); + } \ No newline at end of file diff --git a/src/main/java/nlib/cmm/service/impl/CodeDAO.java b/src/main/java/nlib/cmm/service/impl/CodeDAO.java index e4daf646..eb24dc2c 100644 --- a/src/main/java/nlib/cmm/service/impl/CodeDAO.java +++ b/src/main/java/nlib/cmm/service/impl/CodeDAO.java @@ -31,7 +31,25 @@ import egovframework.rte.psl.dataaccess.mapper.Mapper; @Mapper("codeDAO") public interface CodeDAO { + /** + * 공통코드를 조회한다. + * + * @param iCodeId + * @return + * @throws Exception + */ public List> listCodes(String iCodeId) throws Exception; + /** + * 주제분류코드를 조회한다. + * + * @return + * @throws Exception + */ public List> listCtClsfs() throws Exception; + + /** + * 자료유형 최상위 코드목록을 조회한다. + */ + public List> listTypeDivCodes() throws Exception; } diff --git a/src/main/java/nlib/cmm/service/impl/CodeServiceImpl.java b/src/main/java/nlib/cmm/service/impl/CodeServiceImpl.java index e815a8c0..49b9fd33 100644 --- a/src/main/java/nlib/cmm/service/impl/CodeServiceImpl.java +++ b/src/main/java/nlib/cmm/service/impl/CodeServiceImpl.java @@ -1,9 +1,7 @@ package nlib.cmm.service.impl; -import java.util.HashMap; import java.util.List; import java.util.Map; - import javax.annotation.Resource; import org.slf4j.Logger; @@ -14,6 +12,28 @@ import egovframework.rte.fdl.cmmn.EgovAbstractServiceImpl; import nlib.cmm.service.CodeService; import nlib.util.StringUtil; +/** + *
+ * @Class Name : CodeServiceImpl.java
+ * 
+ * @Description : 코드 조회 공통 서비스 구현 
+ * 
+ * 
+ * @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021)
+ *
+ * 
+ * + * @ ------------ -------- --------------------------- + * @ 수정일 수정자 수정내용 + * @ ------------ -------- --------------------------- + * @ 2021. 07. 26. KNKIM 최초 생성 + * + * + * @author 이씨플라자 * DIGITALSHIP KNKIM + * @since 2021. 07. 26. + * @version 1.0 + * + */ @Service("codeService") public class CodeServiceImpl extends EgovAbstractServiceImpl implements CodeService { @@ -22,6 +42,13 @@ public class CodeServiceImpl extends EgovAbstractServiceImpl implements CodeServ @Resource(name="codeDAO") private CodeDAO codeDAO; + /** + * 공통코드를 조회한다. + * + * @param iCodeId + * @return + * @throws Exception + */ public List> listCodes(String iCodeId) throws Exception { if(StringUtil.isEmpty(iCodeId)) return null; @@ -29,7 +56,20 @@ public class CodeServiceImpl extends EgovAbstractServiceImpl implements CodeServ return codeDAO.listCodes(iCodeId.toUpperCase()); } + /** + * 주제분류코드를 조회한다. + * + * @return + * @throws Exception + */ public List> listCtClsfs() throws Exception { return codeDAO.listCtClsfs(); } + + /** + * 자료유형 최상위 코드목록을 조회한다. + */ + public List> listTypeDivCodes() throws Exception { + return codeDAO.listTypeDivCodes(); + } } \ No newline at end of file diff --git a/src/main/java/nlib/cmm/service/impl/MainDAO.java b/src/main/java/nlib/cmm/service/impl/MainDAO.java index 82137c7a..bf41b18a 100644 --- a/src/main/java/nlib/cmm/service/impl/MainDAO.java +++ b/src/main/java/nlib/cmm/service/impl/MainDAO.java @@ -4,13 +4,8 @@ package nlib.cmm.service.impl; import java.util.List; import java.util.Map; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; -import org.springframework.stereotype.Repository; - import egovframework.rte.psl.dataaccess.mapper.Mapper; -import nlib.restful.service.DataApiReqVO; -import nlib.restful.service.DataApiResVO; +import nlib.col.service.CollectionVO; @Mapper("mainDAO") public interface MainDAO { @@ -21,6 +16,30 @@ public interface MainDAO { * @param mngOrgCd * @return */ - public List listKeywords(String mngOrgCd); + public List> listKeywords(String mngOrgCd); + + /** + * 문화원 PICK한 자료 리스트를 조회한다. + * + * @param mngOrgCd + * @return + */ + public List listOrgPicks(String mngOrgCd); + + /** + * 유형별인기자료 리스트를 조회한다. + * + * @param mngOrgCd + * @return + */ + public List listPops(CollectionVO searchVO); + + /** + * 온라인자료관 리스트를 조회한다. + * + * @param mngOrgCd + * @return + */ + public List listOnline(String mngOrgCd); } diff --git a/src/main/java/nlib/cmm/service/impl/MainServiceImpl.java b/src/main/java/nlib/cmm/service/impl/MainServiceImpl.java index f89f7412..90a128c8 100644 --- a/src/main/java/nlib/cmm/service/impl/MainServiceImpl.java +++ b/src/main/java/nlib/cmm/service/impl/MainServiceImpl.java @@ -3,6 +3,7 @@ package nlib.cmm.service.impl; import java.util.List; +import java.util.Map; import javax.annotation.Resource; @@ -11,6 +12,8 @@ import org.slf4j.LoggerFactory; import org.springframework.stereotype.Service; import nlib.cmm.service.MainService; +import nlib.col.service.CollectionVO; +import nlib.util.StringUtil; @Service("mainService") public class MainServiceImpl implements MainService @@ -26,7 +29,68 @@ public class MainServiceImpl implements MainService * @param mngOrgCd * @return */ - public List listKeywords(String mngOrgCd) { + public List> listKeywords(String mngOrgCd) { return mainDAO.listKeywords(mngOrgCd); } + + /** + * 문화원 PICK한 자료 리스트를 조회한다. + * + * @param mngOrgCd + * @return + */ + public List listOrgPicks(String mngOrgCd) { + return mainDAO.listOrgPicks(mngOrgCd); + } + + /** + * 유형별인기자료 리스트를 조회한다. : 기본 자료유형 문서로 검색 + * + * @param searchVO + * @return + */ + public List listPops(CollectionVO searchVO) { + return mainDAO.listPops(searchVO); + } + + /** + * 유형별인기자료 리스트를 조회한다. : 기본 자료유형 문서로 검색 + * + * @param mngOrgCd + * @return + */ + public List listPops(String mngOrgCd) { + CollectionVO searchVO = new CollectionVO(); + searchVO.setMngOrgCd(mngOrgCd); + searchVO.setTypeDivCd("IT_DOC"); // 문서 + return listPops(mngOrgCd, null); + } + + /** + * 유형별인기자료 리스트를 조회한다. + * + * @param mngOrgCd + * @param typeDivCd + * @return + */ + public List listPops(String mngOrgCd, String typeDivCd) { + + CollectionVO searchVO = new CollectionVO(); + searchVO.setMngOrgCd(mngOrgCd); + if(StringUtil.isEmpty(typeDivCd)) typeDivCd = "IT_DOC"; + searchVO.setTypeDivCd(typeDivCd); + + return listPops(searchVO); + } + + /** + * 온라인자료관 리스트를 조회한다. + * + * @param mngOrgCd + * @return + */ + public List listOnline(String mngOrgCd) { + return mainDAO.listOnline(mngOrgCd); + } + } \ No newline at end of file diff --git a/src/main/java/nlib/cmm/web/MainController.java b/src/main/java/nlib/cmm/web/MainController.java index 3112542c..433e68bb 100644 --- a/src/main/java/nlib/cmm/web/MainController.java +++ b/src/main/java/nlib/cmm/web/MainController.java @@ -1,5 +1,9 @@ package nlib.cmm.web; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; + import javax.annotation.Resource; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; @@ -14,9 +18,12 @@ import org.springframework.ui.ModelMap; import org.springframework.web.bind.annotation.RequestMapping; import nlib.cmm.NlibCommonController; +import nlib.cmm.service.CodeService; import nlib.cmm.service.MainService; +import nlib.cmm.service.NlibProperty; import nlib.cmm.service.NotificationService; import nlib.col.service.CartService; +import nlib.col.service.CollectionVO; import nlib.util.StringUtil; /** @@ -51,23 +58,59 @@ public class MainController extends NlibCommonController { @Resource(name = "cartService") private CartService cartService; + + @Resource(name = "codeService") + private CodeService codeService; @Resource(name = "mainService") private MainService mainService; @RequestMapping( {"/index.do"} ) public String setContent( - HttpServletRequest req, - HttpServletResponse res, + HttpServletRequest request, + HttpServletResponse response, Authentication authentication, ModelMap model) throws Exception { // 캐쉬된 Reqeust 히스토리 삭제 RequestCache cache = new HttpSessionRequestCache(); - cache.removeRequest(req, res); + cache.removeRequest(request, response); - log.debug((authentication == null ? "손님 메인 접속" : authentication.getName() + " 메인 접속")); + String mngOrgCd = getCurCouncilCd(request); + // 추천키워드 + List> listKeywords = mainService.listKeywords(mngOrgCd); + model.addAttribute("listKeywords", listKeywords); + + // 문화원 PICK + model.addAttribute("listOrgPicks", mainService.listOrgPicks(mngOrgCd)); + + // 유형별 인기자료 + List> listTypeDivCodes = codeService.listTypeDivCodes(); + List listPops = new ArrayList(); + if(listTypeDivCodes != null) { + Map itemMap = null; + String typeDivCd = null; + for(int i = (listTypeDivCodes.size() - 1); i>=0; i--) { + itemMap = listTypeDivCodes.get(i); + typeDivCd = itemMap.get("typeDivCd"); + List listPopsTemp = mainService.listPops(mngOrgCd, typeDivCd); + if(listPopsTemp == null || listPopsTemp.size() < 1) { + listTypeDivCodes.remove(i); + continue; + } + for(CollectionVO col : listPopsTemp) { + listPops.add(col); + } + } + } + model.addAttribute("listPops", listPops); + model.addAttribute("listTypeDivCodes", listTypeDivCodes); + + + // 온라인자료관 + model.addAttribute("listOnline", mainService.listOnline(mngOrgCd)); + return "nlib/cmm/home"; } @@ -87,11 +130,8 @@ public class MainController extends NlibCommonController { String mbInfoId = getMbInfoId(request); // 카트 건수 확인 - - // 카트 목록 가져오기 int cartCnt = 0; if(StringUtil.isEmpty(mbInfoId)) { - // 카트 건수 cartCnt = cartService.countCartItemsFromCookie(request, response, "1"); cartCnt += cartService.countCartItemsFromCookie(request, response, "2"); } else { @@ -110,6 +150,7 @@ public class MainController extends NlibCommonController { model.addAttribute("cartCnt", cartCnt); model.addAttribute("unreadNotiCnt", unreadNotiCnt); + model.addAttribute("docViewUrl", NlibProperty.getString("pdf.url")); return "nlib/cmm/headerSubPart"; } diff --git a/src/main/java/nlib/user/web/LoginController.java b/src/main/java/nlib/user/web/LoginController.java index 358767ab..89e4ae20 100644 --- a/src/main/java/nlib/user/web/LoginController.java +++ b/src/main/java/nlib/user/web/LoginController.java @@ -273,7 +273,7 @@ public class LoginController extends NlibCommonController { log.debug("googleLogin.getOAuthURL() = "+googleLogin.getOAuthURL(encCouncilJsessionId)); model.addAttribute("googleUrl", googleLogin.getOAuthURL(encCouncilJsessionId)); - OAuthLogin kakaoLogin = new OAuthLogin(kakaoAuthVO, OAuthLogin.CALL_TYPE_LOGIN, councilJsessionId); + OAuthLogin kakaoLogin = new OAuthLogin(kakaoAuthVO, callType, councilJsessionId); log.debug("kakaoLogin.getOAuthURL() = "+kakaoLogin.getOAuthURL(encCouncilJsessionId)); model.addAttribute("kakaoUrl", kakaoLogin.getOAuthURL(encCouncilJsessionId)); diff --git a/src/main/resources/egovframework/mapper/nlib/cmm/CodeDAO_SQL.xml b/src/main/resources/egovframework/mapper/nlib/cmm/CodeDAO_SQL.xml index 0d6850b3..ac5cd420 100644 --- a/src/main/resources/egovframework/mapper/nlib/cmm/CodeDAO_SQL.xml +++ b/src/main/resources/egovframework/mapper/nlib/cmm/CodeDAO_SQL.xml @@ -8,7 +8,6 @@ , B.COLUMN1 , B.COLUMN2 , B.S_CODE_NM - FROM SM_CODE_M A, SM_CODE_S B WHERE A.L_CODE_ID = #{lCodeId} @@ -19,15 +18,22 @@ - + + + + \ No newline at end of file diff --git a/src/main/resources/egovframework/mapper/nlib/cmm/MainDAO_SQL.xml b/src/main/resources/egovframework/mapper/nlib/cmm/MainDAO_SQL.xml index 721959ed..764f59ad 100644 --- a/src/main/resources/egovframework/mapper/nlib/cmm/MainDAO_SQL.xml +++ b/src/main/resources/egovframework/mapper/nlib/cmm/MainDAO_SQL.xml @@ -4,9 +4,9 @@ - - + --> + - + --> + - + --> + \ No newline at end of file diff --git a/src/main/resources/nlib/nlib.properties b/src/main/resources/nlib/nlib.properties index 4a989c9c..a93818a3 100644 --- a/src/main/resources/nlib/nlib.properties +++ b/src/main/resources/nlib/nlib.properties @@ -194,8 +194,8 @@ shorturl.api = https://local-dev.nculture.org/yourls-api.php?signature=d48a5ab90 #shorturl.api = https://local.nculture.org/yourls-api.php?signature=6882eb3237 -#\uc6d0\ubb38\ubcf4\uae30 (PDF) -# \uac1c\ubc1c -pdf.uri = https://port-dev.nculture.org/npdfView.do?npdf=I -# \uc6b4\uc601 -#pdf.uri = https://port-dev.nculture.org/npdfView.do?npdf= +# \uc6d0\ubb38\ubcf4\uae30 (PDF) +# \uac1c\ubc1c (\ud604\uc7ac) +pdf.url = https://port-dev.nculture.org/npdfView.do?npdf=I +# \uac1c\ubc1c (\ucd94\ud6c4) +#pdf.url = https://port-dev.nculture.org/npdfView.do?npdf=N diff --git a/src/main/webapp/WEB-INF/jsp/nlib/cmm/headerSubPart.jsp b/src/main/webapp/WEB-INF/jsp/nlib/cmm/headerSubPart.jsp index 5dc52461..757c9d4b 100644 --- a/src/main/webapp/WEB-INF/jsp/nlib/cmm/headerSubPart.jsp +++ b/src/main/webapp/WEB-INF/jsp/nlib/cmm/headerSubPart.jsp @@ -10,6 +10,9 @@ String councilCd = (String)session.getAttribute("councilCd"); String councilNm = (String)session.getAttribute("councilNm"); %> @@ -52,6 +74,7 @@ $(document).ready(function() { +

키워드 섹션영역

- +
+ +

문화원픽 섹션영역

+
@@ -181,6 +143,7 @@ $(document).ready(function() {
+

인기자료 섹션영역

@@ -188,93 +151,41 @@ $(document).ready(function() {

자료유형별로 이런 인기자료들이 있어요!

+
-
+ +
    + +
  • -
    문서
    -
    국역 경주읍지
    +
    ${itemPop.typeDivNm }
    +
    ${itemPop.title }
    -

    주제분야자연과지리 > 자연환경

    -

    생산기관경북경주문화원

    -

    생산년도2003

    -
    -
  • -
  • -
    -
    문서
    -
    慶州文化論叢(경주문화논총)/제20집
    -
    -
    -

    주제분야문화유산 > 선사 유적 및 유물

    -

    생산기관경북경주문화원

    -

    생산년도2017

    -
    -
  • -
  • -
    -
    문서
    -
    慶州지방 古書 調査 目錄 (경주지방 고서
    -
    -
    -

    주제분야자연과지리 > 자연환경

    -

    생산기관경북경주문화원

    -

    생산년도2017

    -
    -
  • -
  • -
    -
    문서
    -
    경주문화원 50년사
    -
    -
    -

    주제분야자연과지리 > 자연환경

    -

    생산기관경북경주문화원

    -

    생산년도2014

    +

    주제분야-${itemPop.subjectNm }

    +

    생산기관-${itemPop.orgNm }

    +

    생산년도-${itemPop.creatYyyy }

  • +
    +
- -
- 02 -
- -
- 03 -
- -
- 04 -
- -
- 05 -
- -
- 06 -
- -
- 07 -
+
+
+

온라인자료관 섹션영역

@@ -283,175 +194,23 @@ $(document).ready(function() {
+ +
- + 상세조회
- 2011 신라문화스토리텔러 교육교재 이론 + ${itemOnline.title }
    -
  • 주제유형도서간행물
  • +
  • 주제유형-${itemOnline.subjectNm }
  • 주제분야문화유산
  • -
  • 생산기관마포문화원
  • -
  • 생산년도미상
  • +
  • 생산기관-${itemOnline.orgNm }
  • +
  • 생산년도-${itemOnline.creatYyyy }
-
-
-
-
-
-
-
-
-
- -
- 2011 신라문화스토리텔러 교육교재 이론 -
    -
  • 주제유형도서간행물
  • -
  • 주제분야문화유산
  • -
  • 생산기관마포문화원
  • -
  • 생산년도미상
  • -
- -
-
-
-
-
-
-
-
-
- -
- 2011 신라문화스토리텔러 교육교재 이론 -
    -
  • 주제유형도서간행물
  • -
  • 주제분야문화유산
  • -
  • 생산기관마포문화원
  • -
  • 생산년도미상
  • -
- -
-
-
-
-
-
-
-
-
- -
- 2011 신라문화스토리텔러 교육교재 이론 -
    -
  • 주제유형도서간행물
  • -
  • 주제분야문화유산
  • -
  • 생산기관마포문화원
  • -
  • 생산년도미상
  • -
- -
-
-
-
-
-
-
-
-
- -
- 2011 신라문화스토리텔러 교육교재 이론 -
    -
  • 주제유형도서간행물
  • -
  • 주제분야문화유산
  • -
  • 생산기관마포문화원
  • -
  • 생산년도미상
  • -
- -
-
-
-
-
-
-
-
-
- -
- 2011 신라문화스토리텔러 교육교재 이론 -
    -
  • 주제유형도서간행물
  • -
  • 주제분야문화유산
  • -
  • 생산기관마포문화원
  • -
  • 생산년도미상
  • -
- -
-
-
-
-
-
-
-
-
- -
- 2011 신라문화스토리텔러 교육교재 이론 -
    -
  • 주제유형도서간행물
  • -
  • 주제분야문화유산
  • -
  • 생산기관마포문화원
  • -
  • 생산년도미상
  • -
- -
-
-
-
-
-
-
-
-
- -
- 2011 신라문화스토리텔러 교육교재 이론 -
    -
  • 주제유형도서간행물
  • -
  • 주제분야문화유산
  • -
  • 생산기관마포문화원
  • -
  • 생산년도미상
  • -
-
@@ -459,6 +218,8 @@ $(document).ready(function() {
+ +
@@ -466,6 +227,7 @@ $(document).ready(function() {
+
diff --git a/src/main/webapp/css/default.css b/src/main/webapp/css/default.css index ce9f5ea0..8457f4c5 100644 --- a/src/main/webapp/css/default.css +++ b/src/main/webapp/css/default.css @@ -80,31 +80,31 @@ transition:all .3s ease; .wrap .nav-wrap .mobile .sub-menu .downarrow {position: absolute;right: 0;padding-right: 5%;} .wrap .nav-wrap #primary-nav.mobile .sub-menu .downarrow:before {content: '\25be';} .wrap .nav-wrap #primary-nav-button.mobile {display: inline-block;} -.wrap .Btn {display: inline-block;width:25px;height:25px;cursor: pointer;text-decoration: none;position: relative;display: none;} -.wrap .Btn i {position: relative;display: inline-block;width: 25px;height: 3px;color:#fff;font:bold 14px/.4 Helvetica;text-transform: uppercase;text-indent:-999999999px; +.wrap #primary-nav-button {display: inline-block;width:25px;height:25px;cursor: pointer;text-decoration: none;position: relative;display: none;} +.wrap #primary-nav-button i {position: relative;display: inline-block;width: 25px;height: 3px;color:#fff;font:bold 14px/.4 Helvetica;text-transform: uppercase;text-indent:-999999999px; background: #fff; -webkit-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -o-transition:all .2s ease-out; transition:all .2s ease-out; } -.wrap .Btn i::before, .Btn i::after {content:'';width: 25px;height: 3px;position: absolute;left:0;background:#fff; +.wrap #primary-nav-button i::before, .Btn i::after {content:'';width: 25px;height: 3px;position: absolute;left:0;background:#fff; -webkit-transition:all .2s ease-out; -moz-transition:all .2s ease-out; -o-transition:all .2s ease-out; transition:all .2s ease-out; } -.wrap .Btn i::before {top: -9px;} -.wrap .Btn i::after {bottom: -9px;} +.wrap #primary-nav-button i::before {top: -9px;} +.wrap #primary-nav-button i::after {bottom: -9px;} -.wrap .Btn.selected i {background:none;} -.wrap .Btn.selected i::before {top:0;background: #fff; +.wrap #primary-nav-button.selected i {background:none;} +.wrap #primary-nav-button.selected i::before {top:0;background: #fff; -webkit-transform: rotateZ(45deg); -moz-transform: rotateZ(45deg); -o-transform: rotateZ(45deg); transform: rotateZ(45deg); } -.wrap .Btn.selected i::after {bottom:0;background: #fff; +.wrap #primary-nav-button.selected i::after {bottom:0;background: #fff; -webkit-transform: rotateZ(-45deg); -moz-transform: rotateZ(-45deg); -o-transform: rotateZ(-45deg); @@ -206,6 +206,7 @@ transform: rotate(45deg); .sec3 .pickSwiper .swiper-slide .list-box .images {padding:30px 0px;height:195px;border-bottom:1px solid #ddd;} .sec3 .pickSwiper .swiper-slide .list-box .images a img {width:140px;height:100%;} .sec3 .pickSwiper .swiper-slide .list-box .subject {padding:20px 30px 30px;text-align: left;} +.sec3 .pickSwiper .swiper-slide .list-box .subject a {display:inline-block;width:100%;height:85px;overflow:hidden;} .sec3 .pickSwiper .swiper-slide .list-box .subject .block {display:inline-block;width:100%;margin-bottom:10px;} .sec3 .pickSwiper .swiper-slide .list-box .subject .cla {display:inline;background:#e9e6df;padding:2px 10px;font-size:12px;color:#666;border-radius:30px;} .sec3 .pickSwiper .swiper-slide .list-box .subject .tit {display:inline;width:100%;font-size:18px;line-height:26px;color:#222;font-weight: 400} diff --git a/src/main/webapp/index.html b/src/main/webapp/index.html index 7f07593b..5fa46115 100644 --- a/src/main/webapp/index.html +++ b/src/main/webapp/index.html @@ -1010,8 +1010,8 @@
- -
+ +