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