SHOPTIME-5911, SHOPTIME-5908 수정
This commit is contained in:
@@ -162,7 +162,8 @@ export default function MobileSendPopUp({
|
|||||||
if (rawPhoneNumber.length === getMaxNum(deviceCountryCode)) {
|
if (rawPhoneNumber.length === getMaxNum(deviceCountryCode)) {
|
||||||
Spotlight.focus("agreeAndSend");
|
Spotlight.focus("agreeAndSend");
|
||||||
}
|
}
|
||||||
if (rawPhoneNumber.length > getMaxNum(deviceCountryCode)) {
|
// 테스트용: 12자리까지 허용
|
||||||
|
if (rawPhoneNumber.length > 12) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const phoneUtil = PhoneNumberUtil.getInstance();
|
const phoneUtil = PhoneNumberUtil.getInstance();
|
||||||
@@ -313,7 +314,12 @@ export default function MobileSendPopUp({
|
|||||||
const handleAgreeSendClick = useCallback(() => {
|
const handleAgreeSendClick = useCallback(() => {
|
||||||
let naturalNumber = mobileNumber.replace(/\D/g, "");
|
let naturalNumber = mobileNumber.replace(/\D/g, "");
|
||||||
|
|
||||||
if (!mobileNumber || naturalNumber.length < getMaxNum(deviceCountryCode)) {
|
// 테스트용: 길이 체크를 더 유연하게 (10자리 또는 11자리 허용)
|
||||||
|
if (
|
||||||
|
!mobileNumber ||
|
||||||
|
naturalNumber.length < 10 ||
|
||||||
|
naturalNumber.length > 12
|
||||||
|
) {
|
||||||
setSmsRetCode(907);
|
setSmsRetCode(907);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -215,6 +215,21 @@ export default function UnableOption({
|
|||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
} else if (TYPE_CASE.case2) {
|
} else if (TYPE_CASE.case2) {
|
||||||
|
if (
|
||||||
|
selectedPrdtId === "27LX6TYGA" &&
|
||||||
|
offerInfo &&
|
||||||
|
offerInfo?.length > 0
|
||||||
|
) {
|
||||||
|
return (
|
||||||
|
<div className={css.wrapper}>
|
||||||
|
<span
|
||||||
|
dangerouslySetInnerHTML={{
|
||||||
|
__html: offerInfo && offerInfo,
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
return (
|
return (
|
||||||
<div className={css.wrapper}>
|
<div className={css.wrapper}>
|
||||||
<div className={css.topLayer}>
|
<div className={css.topLayer}>
|
||||||
|
|||||||
Reference in New Issue
Block a user