|
|
@@ -208,11 +208,11 @@ function cfnAddCart(cartList) {
|
|
|
* @author : jsshin
|
|
|
*/
|
|
|
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) {
|
|
|
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 {
|
|
|
@@ -234,14 +234,41 @@ var cfnLoginNaver = function (requestGb, chkRememberMe) {
|
|
|
* @author : jsshin
|
|
|
*/
|
|
|
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) {
|
|
|
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 {
|
|
|
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;
|
|
|
+ }
|
|
|
+};
|