jsshin 5 лет назад
Родитель
Сommit
15d01ca771

+ 14 - 0
src/main/java/com/style24/front/biz/web/TsfCustomerController.java

@@ -929,6 +929,20 @@ public class TsfCustomerController extends TsfBaseController {
 		return mav;
 	}
 
+	/**
+	 * 공급업체목록 화면
+	 *
+	 * @return ModelAndView
+	 * @author jsshin
+	 * @since 2021. 04. 01
+	 */
+	@PostMapping("/supply/company/layer")
+	public ModelAndView getSupplyCompanyLayer() {
+		ModelAndView mav = new ModelAndView();
+		mav.setViewName(super.getDeviceViewName("customer/SupplyComanyLayerForm"));
+		return mav;
+	}
+
 	/**
 	 * 개인정보위탁 화면
 	 *

+ 3 - 0
src/main/webapp/WEB-INF/views/mob/customer/PrivacyPolicyLayerFormMob.html

@@ -32,6 +32,9 @@
 </div>
 <script th:inline="javascript">
 /*<![CDATA[*/
+	$("#partners").click(function() {
+		cfnSupplyComanyLayer();
+	});
 	//약관내부링크
 	$(function(){
 		$(".hook_list ul li a").on("click", function(){

+ 112 - 0
src/main/webapp/WEB-INF/views/mob/customer/SupplyComanyLayerFormMob.html

@@ -0,0 +1,112 @@
+<!DOCTYPE html>
+<html lang="ko"
+	  xmlns:th="http://www.thymeleaf.org">
+<!--
+ *******************************************************************************
+ * @source  : SupplyComanyLayerFormMob.html
+ * @desc    : 공급업체 리스트 page
+ *============================================================================
+ * STYLE24
+ * Copyright(C) 2021 TSIT, All rights reserved.
+ *============================================================================
+ * VER  DATE         AUTHOR      DESCRIPTION
+ * ===  ===========  ==========  =============================================
+ * 1.0  2021.06.09   jsshin       최초 작성
+ *******************************************************************************
+ -->
+<div class="modal-dialog" role="document">
+	<div class="modal-content">
+		<div class="modal-header">
+			<h5 class="modal-title" id="exampleFullLabel">업체 리스트</h5>
+		</div>
+		<div class="modal-body">
+			<div class="pop_cont">
+				<!-- 컨텐츠 시작 -->
+				<div class="ps ptn">
+					<table>
+						<colgroup>
+							<col width="*">
+							<col width="30%">
+						</colgroup>
+						<thead>
+							<tr>
+								<th>업체명</th>
+								<th>대표자</th>
+							</tr>
+						</thead>
+						<tbody>
+							<tr>
+								<td>(enercircle)이너서클</td>
+								<td>최인석</td>
+							</tr>
+							<tr>
+								<td>(유)결피부과학연구소</td>
+								<td>이종주</td>
+							</tr>
+							<tr>
+								<td>(유)결피부과학연구소(중복)</td>
+								<td>이종주</td>
+							</tr>
+							<tr>
+								<td>(재)아름다운커피</td>
+								<td>심상달</td>
+							</tr>
+							<tr>
+								<td>(주)CJ오쇼핑</td>
+								<td>이해선</td>
+							</tr>
+							<tr>
+								<td>(주)IDSDK</td>
+								<td>유정현</td>
+							</tr>
+							<tr>
+								<td>(주)L&D코리아</td>
+								<td>심홍섭</td>
+							</tr>
+							<tr>
+								<td>(주)M.O.V</td>
+								<td>김맹규</td>
+							</tr>
+							<tr>
+								<td>(유)결피부과학연구소(중복)</td>
+								<td>이종주</td>
+							</tr>
+							<tr>
+								<td>(enercircle)이너서클</td>
+								<td>최인석</td>
+							</tr>
+						</tbody>
+					</table>
+					<div class="pager">
+						<ul class="pageNav">
+							<li class="prev disabled"><a href="#">‹</a></li>
+							<li class="active"><a href="#">02</a></li>
+							<li class="lastpage"><a href="#">10</a></li>
+							<li class="next"><a href="#">›</a></li>
+						</ul>
+					</div>
+				</div>
+				<!-- 컨텐츠 종료 -->
+			</div>
+		</div>
+	</div>
+</div>
+<script th:inline="javascript">
+/*<![CDATA[*/
+	$(document).ready(function() {
+		$("#supplyCompanyPop").modal({closeExisting: false});
+	});
+
+	//약관내부링크
+	$(function(){
+		$(".hook_list ul li a").on("click", function(){
+			var hookHeader = $(".modal-header").outerHeight() + 3000;
+			var hookHref = $(this).attr("href");
+			var hookPot = $(hookHref == "#" || hookHref == "" ? "body" : hookHref);
+			var hookPos = hookPot.offset().top - hookHeader;
+			$("html, body").animate({ scrollTop: hookPos }, 3000);
+		});
+	});
+/*]]>*/
+</script>
+</html>

+ 16 - 0
src/main/webapp/ux/style24_link.js

@@ -34,6 +34,7 @@ const _PAGE_PRIVACY_POLICY = _frontUrl + "/customer/privacy/policy/form";
 const _PAGE_CUSTOMER_CONSENT_USERINFO = _frontUrl + "/customer/consent/useinfo/form";				// 정보 이용동의 : Yes24 로그인
 const _PAGE_USE_TERMS_LAYER = _frontUrl + "/customer/use/terms/layer";								// 회원가입 > 이용약관
 const _PAGE_PRIVACY_POLICY_LAYER = _frontUrl + "/customer/privacy/policy/layer";					// 회원가입 > 개인정보취급방침
+const _PAGE_SUPPLY_COMPANY_LAYER = _frontUrl + "/customer/supply/company/layer";					// 회원가입 > 개인정보취급방침
 const _PAGE_PRIVACY_TRUST_LAYER = _frontUrl + "/customer/privacy/trust/layer";						// 회원가입 > 개인정보취급위탁
 const _PAGE_NON_CUSTOMER_ORDER_CONFIRM = _frontUrl + "/customer/noncust/order/confirm/form";		// 고객 > 비회원주문확인
 
@@ -1005,12 +1006,27 @@ function cfnPrivacyPolicyLayer(mallGb) {
 	}
 	if ($('#policiesPrivacyPop').length == 0) {
 		$('body').append(str);
+	} else {
+		$("#policiesPrivacyPop").modal("show");
 	}
 	let params = {}
 	params.mallGb = mallGb;
 	cfnOpenLayer(_PAGE_PRIVACY_POLICY_LAYER, 'policiesPrivacyPop', params);
 }
 
+function cfnSupplyComanyLayer() {
+	let str;
+	if (_frontGb === 'P') {
+
+	} else {
+		str = '<div class="modal pop_full fade" id="supplyCompanyPop" role="dialog" aria-labelledby="partnersPopFullLabel" aria-hidden="true"></div>';
+	}
+	if($('#partnersPop').length == 0) {
+		$('body').append(str);
+	}
+	cfnOpenLayer(_PAGE_SUPPLY_COMPANY_LAYER,'supplyCompanyPop');
+}
+
 /**
  * @type   : function
  * @access : public