today deals 부분 수정 관련 처리.
This commit is contained in:
@@ -98,6 +98,7 @@
|
|||||||
"SERIES": "SERIEN",
|
"SERIES": "SERIEN",
|
||||||
"SHOWROOM": "SHOWROOM",
|
"SHOWROOM": "SHOWROOM",
|
||||||
"TODAY'S DEALS": "Heutige Angebote",
|
"TODAY'S DEALS": "Heutige Angebote",
|
||||||
|
"TODAY's DEALS": "Heutige Angebote",
|
||||||
"SAVE": "Rabatt",
|
"SAVE": "Rabatt",
|
||||||
"UPCOMING": "VORSCHAU",
|
"UPCOMING": "VORSCHAU",
|
||||||
"Reminder Setted": "Erinnerung eingestellt",
|
"Reminder Setted": "Erinnerung eingestellt",
|
||||||
|
|||||||
@@ -98,6 +98,7 @@
|
|||||||
"SERIES": "SERIES",
|
"SERIES": "SERIES",
|
||||||
"SHOWROOM": "SHOWROOM",
|
"SHOWROOM": "SHOWROOM",
|
||||||
"TODAY'S DEALS": "TODAY'S DEALS",
|
"TODAY'S DEALS": "TODAY'S DEALS",
|
||||||
|
"TODAY's DEALS": "TODAY's DEALS",
|
||||||
"SAVE": "SAVE",
|
"SAVE": "SAVE",
|
||||||
"UPCOMING": "UPCOMING",
|
"UPCOMING": "UPCOMING",
|
||||||
"Reminder Setted": "Reminder Setted",
|
"Reminder Setted": "Reminder Setted",
|
||||||
|
|||||||
@@ -98,6 +98,7 @@
|
|||||||
"SERIES": "SERIES",
|
"SERIES": "SERIES",
|
||||||
"SHOWROOM": "SHOWROOM",
|
"SHOWROOM": "SHOWROOM",
|
||||||
"TODAY'S DEALS": "TODAY'S DEALS",
|
"TODAY'S DEALS": "TODAY'S DEALS",
|
||||||
|
"TODAY's DEALS": "TODAY's DEALS",
|
||||||
"SAVE": "SAVE",
|
"SAVE": "SAVE",
|
||||||
"UPCOMING": "UPCOMING",
|
"UPCOMING": "UPCOMING",
|
||||||
"Reminder Setted": "Reminder Setted",
|
"Reminder Setted": "Reminder Setted",
|
||||||
|
|||||||
@@ -97,7 +97,8 @@
|
|||||||
"RECOMMENDED SHOWS": "РЕКОМЕНДУЕМЫЕ ШОУ",
|
"RECOMMENDED SHOWS": "РЕКОМЕНДУЕМЫЕ ШОУ",
|
||||||
"SERIES": "СЕРИИ",
|
"SERIES": "СЕРИИ",
|
||||||
"SHOWROOM": "ШОУ-РУМ",
|
"SHOWROOM": "ШОУ-РУМ",
|
||||||
"TODAY'S DEALS": "Предложения на сегодня",
|
"TODAY'S DEALS": "Сегодняшние предложения",
|
||||||
|
"TODAY's DEALS": "Сегодняшние предложения",
|
||||||
"SAVE": "Сэкономьте",
|
"SAVE": "Сэкономьте",
|
||||||
"UPCOMING": "СКОРО В ЭФИРЕ",
|
"UPCOMING": "СКОРО В ЭФИРЕ",
|
||||||
"Reminder Setted": "Напоминание установлено",
|
"Reminder Setted": "Напоминание установлено",
|
||||||
|
|||||||
@@ -4,32 +4,47 @@ import React, {
|
|||||||
useMemo,
|
useMemo,
|
||||||
useRef,
|
useRef,
|
||||||
useState,
|
useState,
|
||||||
} from "react";
|
} from 'react';
|
||||||
|
|
||||||
import classNames from "classnames";
|
import classNames from 'classnames';
|
||||||
import { useDispatch, useSelector } from "react-redux";
|
import {
|
||||||
|
useDispatch,
|
||||||
|
useSelector,
|
||||||
|
} from 'react-redux';
|
||||||
|
|
||||||
import SpotlightContainerDecorator from "@enact/spotlight/SpotlightContainerDecorator";
|
import SpotlightContainerDecorator
|
||||||
import Spottable from "@enact/spotlight/Spottable";
|
from '@enact/spotlight/SpotlightContainerDecorator';
|
||||||
|
import Spottable from '@enact/spotlight/Spottable';
|
||||||
|
|
||||||
import btnPlay from "../../../../assets/images/btn/btn-play-thumb-nor.png";
|
import btnPlay from '../../../../assets/images/btn/btn-play-thumb-nor.png';
|
||||||
import defaultLogoImg from "../../../../assets/images/ic-tab-partners-default@3x.png";
|
import defaultLogoImg
|
||||||
import emptyHorImage from "../../../../assets/images/img-home-banner-empty-hor.png";
|
from '../../../../assets/images/ic-tab-partners-default@3x.png';
|
||||||
import emptyVerImage from "../../../../assets/images/img-home-banner-empty-ver.png";
|
import emptyHorImage
|
||||||
import defaultImageItem from "../../../../assets/images/img-thumb-empty-product@3x.png";
|
from '../../../../assets/images/img-home-banner-empty-hor.png';
|
||||||
import liveShow from "../../../../assets/images/tag-liveshow.png";
|
import emptyVerImage
|
||||||
|
from '../../../../assets/images/img-home-banner-empty-ver.png';
|
||||||
|
import defaultImageItem
|
||||||
|
from '../../../../assets/images/img-thumb-empty-product@3x.png';
|
||||||
|
import liveShow from '../../../../assets/images/tag-liveshow.png';
|
||||||
|
import { sendLogTopContents } from '../../../actions/logActions';
|
||||||
//import { sendBroadCast } from "../../../actions/commonActions";
|
//import { sendBroadCast } from "../../../actions/commonActions";
|
||||||
import { pushPanel } from "../../../actions/panelActions";
|
import { pushPanel } from '../../../actions/panelActions';
|
||||||
import {
|
import {
|
||||||
finishVideoPreview,
|
finishVideoPreview,
|
||||||
startVideoPlayer,
|
startVideoPlayer,
|
||||||
} from "../../../actions/playActions";
|
} from '../../../actions/playActions';
|
||||||
import CustomImage from "../../../components/CustomImage/CustomImage";
|
import CustomImage from '../../../components/CustomImage/CustomImage';
|
||||||
import usePriceInfo from "../../../hooks/usePriceInfo";
|
import usePriceInfo from '../../../hooks/usePriceInfo';
|
||||||
import { LOG_MENU, LOG_TP_NO, panel_names } from "../../../utils/Config";
|
import {
|
||||||
import { $L, formatGMTString } from "../../../utils/helperMethods";
|
LOG_MENU,
|
||||||
import css from "./RandomUnit.module.less";
|
LOG_TP_NO,
|
||||||
import { sendLogTopContents } from "../../../actions/logActions";
|
panel_names,
|
||||||
|
} from '../../../utils/Config';
|
||||||
|
import {
|
||||||
|
$L,
|
||||||
|
formatGMTString,
|
||||||
|
} from '../../../utils/helperMethods';
|
||||||
|
import css from './RandomUnit.module.less';
|
||||||
|
|
||||||
const SpottableComponent = Spottable("div");
|
const SpottableComponent = Spottable("div");
|
||||||
|
|
||||||
@@ -58,7 +73,7 @@ export default function RandomUnit({
|
|||||||
const homeCategory = useSelector(
|
const homeCategory = useSelector(
|
||||||
(state) => state.home.menuData?.data?.homeCategory
|
(state) => state.home.menuData?.data?.homeCategory
|
||||||
);
|
);
|
||||||
|
const countryCode = useSelector((state) => state.common.httpHeader.cntry_cd);
|
||||||
const [randomData, setRandomData] = useState("");
|
const [randomData, setRandomData] = useState("");
|
||||||
const [priceInfos, setpriceInfos] = useState("");
|
const [priceInfos, setpriceInfos] = useState("");
|
||||||
const [isFocused, setIsFocused] = useState(false);
|
const [isFocused, setIsFocused] = useState(false);
|
||||||
@@ -506,6 +521,7 @@ export default function RandomUnit({
|
|||||||
className={classNames(
|
className={classNames(
|
||||||
css.itemBox,
|
css.itemBox,
|
||||||
css.todaysDeals,
|
css.todaysDeals,
|
||||||
|
countryCode === "RU" ? css.ru : "",
|
||||||
isHorizontal && css.isHorizontal
|
isHorizontal && css.isHorizontal
|
||||||
)}
|
)}
|
||||||
onClick={todayDealClick}
|
onClick={todayDealClick}
|
||||||
|
|||||||
@@ -78,6 +78,16 @@
|
|||||||
background-position: left top;
|
background-position: left top;
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
padding: 73px 36px 0;
|
padding: 73px 36px 0;
|
||||||
|
&.ru {
|
||||||
|
.productInfo {
|
||||||
|
.todaysDealTitle {
|
||||||
|
font-size: 58px;
|
||||||
|
line-height: 60px;
|
||||||
|
font-weight: 900;
|
||||||
|
font-family: @arialFontBold;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
.productInfo {
|
.productInfo {
|
||||||
margin-bottom: 33px;
|
margin-bottom: 33px;
|
||||||
.todaysDealTitle {
|
.todaysDealTitle {
|
||||||
@@ -90,7 +100,7 @@
|
|||||||
color: #151515;
|
color: #151515;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 76px;
|
line-height: 76px;
|
||||||
font-family: Arial, Helvetica, sans-serif;
|
font-family: @arialFont;
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
}
|
}
|
||||||
.textBox {
|
.textBox {
|
||||||
|
|||||||
Reference in New Issue
Block a user