[251124] fix: App.js 로그 정리 및 최적화
🕐 커밋 시간: 2025. 11. 24. 09:08:54 📊 변경 통계: • 총 파일: 10개 • 추가: +93줄 • 삭제: -97줄 📝 수정된 파일: ~ com.twin.app.shoptime/src/App/App.js ~ com.twin.app.shoptime/src/components/MediaItem/MediaItem.module.less ~ com.twin.app.shoptime/src/components/MobileSend/PhoneInputSection.module.less ~ com.twin.app.shoptime/src/components/TPopUp/TNewPopUp.module.less ~ com.twin.app.shoptime/src/hooks/useVideoPlay/useVideoPlay.js ~ com.twin.app.shoptime/src/views/DetailPanel/ProductOverview/ProductOverview.module.less ~ com.twin.app.shoptime/src/views/MediaPanel/MediaPanel.jsx ~ com.twin.app.shoptime/src/views/MediaPanel/MediaPanel.v3.jsx ~ com.twin.app.shoptime/src/views/MyPagePanel/MyPageSub/TermsOfService/TermsOfOptional.module copy.less ~ com.twin.app.shoptime/src/views/PlayerPanel/PlayerPanel.jsx 🔧 함수 변경 내용: 📄 com.twin.app.shoptime/src/App/App.js (javascript): 🔄 Modified: resolveSpotlightIdFromEvent() ❌ Deleted: handleFocusLog(), handleBlurLog() 📄 com.twin.app.shoptime/src/views/MediaPanel/MediaPanel.v3.jsx (javascript): 🔄 Modified: normalizeModalStyle() 🔧 주요 변경 내용: • 핵심 비즈니스 로직 개선 • UI 컴포넌트 아키텍처 개선 • API 서비스 레이어 개선 Performance: 코드 최적화로 성능 개선 기대
This commit is contained in:
@@ -2443,12 +2443,12 @@ const PlayerPanel = ({ isTabActivated, panelInfo, isOnTop, spotlightId, ...props
|
||||
const videoContainer = document.querySelector(`.${css.videoContainer}`);
|
||||
|
||||
if (panelInfo.thumbnail && !videoVerticalVisible) {
|
||||
videoContainer.style.background = `url(${panelInfo.thumbnail}) center center / contain no-repeat`;
|
||||
videoContainer.style.background = `url(${panelInfo.thumbnail}) center/contain no-repeat`;
|
||||
videoContainer.style.backgroundColor = 'black';
|
||||
}
|
||||
|
||||
if (broadcast.type === 'videoError' && videoThumbnailUrl) {
|
||||
videoContainer.style.background = `url(${videoThumbnailUrl}) center center / contain no-repeat`;
|
||||
videoContainer.style.background = `url(${videoThumbnailUrl}) center/contain no-repeat`;
|
||||
videoContainer.style.backgroundColor = 'black';
|
||||
}
|
||||
}, [panelInfo.thumbnail, broadcast]);
|
||||
|
||||
Reference in New Issue
Block a user