|
@@ -38,9 +38,9 @@ const _PAGE_MYPAGE_ORDER_LIST = _frontUrl + "/mypage/order/list/form"; // 마
|
|
|
const _PAGE_MYPAGE_ORDER_DETAIL = _frontUrl + "/mypage/order/detail/form/"; // 마이페이지 > 주문/배송 상세
|
|
const _PAGE_MYPAGE_ORDER_DETAIL = _frontUrl + "/mypage/order/detail/form/"; // 마이페이지 > 주문/배송 상세
|
|
|
const _PAGE_MYPAGE_CRS_LIST = _frontUrl + "/mypage/crs/list/form"; // 마이페이지 > 취소/교환/반품 목록
|
|
const _PAGE_MYPAGE_CRS_LIST = _frontUrl + "/mypage/crs/list/form"; // 마이페이지 > 취소/교환/반품 목록
|
|
|
const _PAGE_MYPAGE_RESTOCK = _frontUrl + "/mypage/restock/form"; // 마이페이지 > 재입고 알림 내역
|
|
const _PAGE_MYPAGE_RESTOCK = _frontUrl + "/mypage/restock/form"; // 마이페이지 > 재입고 알림 내역
|
|
|
-const _PAGE_MYPAGE_COUPON = _frontUrl + "/mypage/coupon/form"; // 마이페이지 > 재입고 알림 내역
|
|
|
|
|
-const _PAGE_MYPAGE_POINT = _frontUrl + "/mypage/point/form"; // 마이페이지 > 재입고 알림 내역
|
|
|
|
|
-const _PAGE_MYPAGE_GIFTCARD = _frontUrl + "/mypage/gift/card/form"; // 마이페이지 > 재입고 알림 내역
|
|
|
|
|
|
|
+const _PAGE_MYPAGE_COUPON = _frontUrl + "/mypage/coupon/form"; // 마이페이지 > 쿠폰
|
|
|
|
|
+const _PAGE_MYPAGE_POINT = _frontUrl + "/mypage/point/form"; // 마이페이지 > 포인트
|
|
|
|
|
+const _PAGE_MYPAGE_GIFTCARD = _frontUrl + "/mypage/gift/card/form"; // 마이페이지 > 상품권
|
|
|
const _PAGE_MYPAGE_REVIEW = _frontUrl + "/mypage/review/form"; // 마이페이지 > 리뷰
|
|
const _PAGE_MYPAGE_REVIEW = _frontUrl + "/mypage/review/form"; // 마이페이지 > 리뷰
|
|
|
const _PAGE_MYPAGE_DELIVERY_ADDR = _frontUrl + "/mypage/delivery/addr/form"; // 마이페이지 > 배송지 관리
|
|
const _PAGE_MYPAGE_DELIVERY_ADDR = _frontUrl + "/mypage/delivery/addr/form"; // 마이페이지 > 배송지 관리
|
|
|
const _PAGE_MYPAGE_WISHLIST = _frontUrl + "/mypage/wish/list/form"; // 마이페이지 > 위시리스트
|
|
const _PAGE_MYPAGE_WISHLIST = _frontUrl + "/mypage/wish/list/form"; // 마이페이지 > 위시리스트
|
|
@@ -216,15 +216,15 @@ function cfnAddCart(cartList) {
|
|
|
* @author : jsshin
|
|
* @author : jsshin
|
|
|
*/
|
|
*/
|
|
|
var cfnLoginNaver = function (requestGb, chkRememberMe) {
|
|
var cfnLoginNaver = function (requestGb, chkRememberMe) {
|
|
|
- var actionUrl = _frontUrl + '/signin/naverlogin?rememberMe=' + chkRememberMe;
|
|
|
|
|
- var popupHeight = 800;
|
|
|
|
|
- var popupWidth = 600;
|
|
|
|
|
- var popupX = (window.screen.width / 2) - (popupWidth / 2);
|
|
|
|
|
- var popupY = (window.screen.height / 3) - (popupHeight / 3);
|
|
|
|
|
|
|
+ let actionUrl = _frontUrl + '/signin/naverlogin?rememberMe=' + chkRememberMe;
|
|
|
|
|
+ let popupHeight = 800;
|
|
|
|
|
+ let popupWidth = 600;
|
|
|
|
|
+ let popupX = (window.screen.width / 2) - (popupWidth / 2);
|
|
|
|
|
+ let popupY = (window.screen.height / 3) - (popupHeight / 3);
|
|
|
if ('P' === _frontGb) {
|
|
if ('P' === _frontGb) {
|
|
|
- window.open(actionUrl, 'naverLogin', 'top=' + popupY + ',left=' + popupX + ',height=' + popupHeight + ',width=' + popupWidth + ', fullscreen=no,menubar=no,status=no,toolbar=no,titlebar=yes,location=no,scrollbars=yes', '');
|
|
|
|
|
|
|
+ //window.open(actionUrl, 'naverLogin', 'top=' + popupY + ',left=' + popupX + ',height=' + popupHeight + ',width=' + popupWidth + ', fullscreen=no,menubar=no,status=no,toolbar=no,titlebar=yes,location=no,scrollbars=yes', '');
|
|
|
} else {
|
|
} else {
|
|
|
- document.location.href = actionUrl + '&requestGb=' + requestGb;
|
|
|
|
|
|
|
+ //document.location.href = actionUrl + '&requestGb=' + requestGb;
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
|
|
|
|
@@ -242,15 +242,41 @@ var cfnLoginNaver = function (requestGb, chkRememberMe) {
|
|
|
* @author : jsshin
|
|
* @author : jsshin
|
|
|
*/
|
|
*/
|
|
|
var cfnLoginKakao = function (requestGb, chkRememberMe) {
|
|
var cfnLoginKakao = function (requestGb, chkRememberMe) {
|
|
|
- var actionUrl = _frontUrl + '/signin/kakologin?rememberMe=' + chkRememberMe;
|
|
|
|
|
- var popupWidth = 450;
|
|
|
|
|
- var popupHeight = 700;
|
|
|
|
|
- var popupX = (window.screen.width / 2) - (popupWidth / 2);
|
|
|
|
|
- var popupY = (window.screen.height / 3) - (popupHeight / 3);
|
|
|
|
|
|
|
+ let actionUrl = _frontUrl + '/signin/kakologin?rememberMe=' + chkRememberMe;
|
|
|
|
|
+ let popupWidth = 450;
|
|
|
|
|
+ let popupHeight = 700;
|
|
|
|
|
+ let popupX = (window.screen.width / 2) - (popupWidth / 2);
|
|
|
|
|
+ let popupY = (window.screen.height / 3) - (popupHeight / 3);
|
|
|
if ('P' === _frontGb) {
|
|
if ('P' === _frontGb) {
|
|
|
- window.open(actionUrl, 'kakaoLogin', 'top=' + popupY + ',left=' + popupX + ',height=' + popupHeight + ',width=' + popupWidth + ', fullscreen=no,menubar=no,status=no,toolbar=no,titlebar=yes,location=no,scrollbars=yes', '');
|
|
|
|
|
|
|
+ //window.open(actionUrl, 'kakaoLogin', 'top=' + popupY + ',left=' + popupX + ',height=' + popupHeight + ',width=' + popupWidth + ', fullscreen=no,menubar=no,status=no,toolbar=no,titlebar=yes,location=no,scrollbars=yes', '');
|
|
|
} else {
|
|
} else {
|
|
|
- document.location.href = actionUrl + '&requestGb=' + requestGb;
|
|
|
|
|
|
|
+ //document.location.href = actionUrl + '&requestGb=' + requestGb;
|
|
|
|
|
+ }
|
|
|
|
|
+};
|
|
|
|
|
+
|
|
|
|
|
+/**
|
|
|
|
|
+ * @type : function
|
|
|
|
|
+ * @access : public
|
|
|
|
|
+ * @desc : Yes24 로그인
|
|
|
|
|
+ * <pre>
|
|
|
|
|
+ * cfnLoginYes24();
|
|
|
|
|
+ * 호출된 페이지에서
|
|
|
|
|
+ * PC: fnSnsSigninCallback(userInfo) 콜백 함수 생성 후 가지고 호출 처리
|
|
|
|
|
+ * MO :
|
|
|
|
|
+ * </pre>
|
|
|
|
|
+ * @since : 2021/02/23
|
|
|
|
|
+ * @author : jsshin
|
|
|
|
|
+ */
|
|
|
|
|
+var cfnLoginYes24 = function (requestGb, chkRememberMe) {
|
|
|
|
|
+ let actionUrl = _frontUrl + '/signin/yes24login?rememberMe=' + chkRememberMe;
|
|
|
|
|
+ let popupWidth = 484;
|
|
|
|
|
+ let popupHeight = 390;
|
|
|
|
|
+ let popupX = (window.screen.width / 2) - (popupWidth / 2);
|
|
|
|
|
+ let popupY = (window.screen.height / 3) - (popupHeight / 3);
|
|
|
|
|
+ if ('P' === _frontGb) {
|
|
|
|
|
+ //window.open(actionUrl, 'yes24Login', 'top=' + popupY + ',left=' + popupX + ',height=' + popupHeight + ',width=' + popupWidth + ', fullscreen=no,menubar=no,status=no,toolbar=no,titlebar=yes,location=no,scrollbars=yes', '');
|
|
|
|
|
+ } else {
|
|
|
|
|
+ //document.location.href = actionUrl + '&requestGb=' + requestGb;
|
|
|
}
|
|
}
|
|
|
};
|
|
};
|
|
|
|
|
|
|
@@ -274,4 +300,3 @@ var cfnGoToGoodsDetail = function (goodsCd, ithrCd, contentsLoc, planDtlSq) {
|
|
|
if (typeof (planDtlSq) != 'undefined') params += "&planDtlSq=" + planDtlSq;
|
|
if (typeof (planDtlSq) != 'undefined') params += "&planDtlSq=" + planDtlSq;
|
|
|
cfnGoToPage(_PAGE_GOODS_DETAIL + params);
|
|
cfnGoToPage(_PAGE_GOODS_DETAIL + params);
|
|
|
}
|
|
}
|
|
|
-
|
|
|