274 lines
14 KiB
HTML
274 lines
14 KiB
HTML
<!DOCTYPE html>
|
|
|
|
<html class="light" lang="ko"><head>
|
|
<meta charset="utf-8"/>
|
|
<meta content="width=device-width, initial-scale=1.0" name="viewport"/>
|
|
<script src="https://cdn.tailwindcss.com?plugins=forms,container-queries"></script>
|
|
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Geist:wght@400;500;600&display=swap" rel="stylesheet"/>
|
|
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet"/>
|
|
<link href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap" rel="stylesheet"/>
|
|
<script id="tailwind-config">
|
|
tailwind.config = {
|
|
darkMode: "class",
|
|
theme: {
|
|
extend: {
|
|
"colors": {
|
|
"secondary-fixed": "#e5deff",
|
|
"secondary": "#5427e6",
|
|
"surface-bright": "#f9f9ff",
|
|
"on-error-container": "#93000a",
|
|
"tertiary-fixed-dim": "#72daa9",
|
|
"secondary-container": "#6d4aff",
|
|
"on-primary-fixed": "#001c38",
|
|
"surface-variant": "#dbe2f9",
|
|
"error-container": "#ffdad6",
|
|
"on-primary-container": "#d2e3ff",
|
|
"surface-dim": "#d2daf0",
|
|
"on-secondary-fixed": "#1b0063",
|
|
"inverse-surface": "#293041",
|
|
"primary-fixed": "#d3e4ff",
|
|
"secondary-fixed-dim": "#c9bfff",
|
|
"on-tertiary-fixed-variant": "#005236",
|
|
"on-tertiary-fixed": "#002113",
|
|
"inverse-on-surface": "#edf0ff",
|
|
"error": "#ba1a1a",
|
|
"on-surface-variant": "#414751",
|
|
"tertiary-container": "#00734e",
|
|
"on-primary": "#ffffff",
|
|
"on-error": "#ffffff",
|
|
"background": "#f9f9ff",
|
|
"surface": "#f9f9ff",
|
|
"on-tertiary": "#ffffff",
|
|
"primary-container": "#0066b3",
|
|
"on-surface": "#141b2c",
|
|
"on-primary-fixed-variant": "#004881",
|
|
"on-secondary-container": "#f3edff",
|
|
"tertiary": "#00583b",
|
|
"on-tertiary-container": "#8ef7c3",
|
|
"on-secondary": "#ffffff",
|
|
"on-background": "#141b2c",
|
|
"surface-container-lowest": "#ffffff",
|
|
"inverse-primary": "#a2c9ff",
|
|
"on-secondary-fixed-variant": "#4500d8",
|
|
"surface-container-high": "#e0e8ff",
|
|
"surface-tint": "#0060a9",
|
|
"surface-container": "#e9edff",
|
|
"primary": "#004e8b",
|
|
"primary-fixed-dim": "#a2c9ff",
|
|
"tertiary-fixed": "#8ef7c4",
|
|
"surface-container-highest": "#dbe2f9",
|
|
"surface-container-low": "#f1f3ff",
|
|
"outline-variant": "#c1c7d3",
|
|
"outline": "#717782"
|
|
},
|
|
"borderRadius": {
|
|
"DEFAULT": "0.125rem",
|
|
"lg": "0.25rem",
|
|
"xl": "0.5rem",
|
|
"full": "0.75rem"
|
|
},
|
|
"spacing": {
|
|
"stack-md": "16px",
|
|
"container-padding": "24px",
|
|
"base": "4px",
|
|
"stack-sm": "8px",
|
|
"stack-lg": "24px",
|
|
"gutter": "16px"
|
|
},
|
|
"fontFamily": {
|
|
"body-sm": ["Inter"],
|
|
"label-xs": ["Geist"],
|
|
"label-md": ["Geist"],
|
|
"display-lg": ["Inter"],
|
|
"title-sm": ["Inter"],
|
|
"headline-md": ["Inter"],
|
|
"display-lg-mobile": ["Inter"],
|
|
"body-base": ["Inter"]
|
|
},
|
|
"fontSize": {
|
|
"body-sm": ["13px", {"lineHeight": "18px", "fontWeight": "400"}],
|
|
"label-xs": ["11px", {"lineHeight": "14px", "fontWeight": "500"}],
|
|
"label-md": ["12px", {"lineHeight": "16px", "letterSpacing": "0.02em", "fontWeight": "600"}],
|
|
"display-lg": ["36px", {"lineHeight": "44px", "letterSpacing": "-0.02em", "fontWeight": "700"}],
|
|
"title-sm": ["18px", {"lineHeight": "28px", "fontWeight": "600"}],
|
|
"headline-md": ["24px", {"lineHeight": "32px", "fontWeight": "600"}],
|
|
"display-lg-mobile": ["28px", {"lineHeight": "36px", "fontWeight": "700"}],
|
|
"body-base": ["14px", {"lineHeight": "20px", "fontWeight": "400"}]
|
|
}
|
|
},
|
|
},
|
|
}
|
|
</script>
|
|
<style>
|
|
body {
|
|
background-color: #f9f9ff;
|
|
max-width: 390px;
|
|
margin: 0 auto;
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
box-shadow: 0 0 40px rgba(0,0,0,0.05);
|
|
position: relative;
|
|
padding-bottom: 80px;
|
|
}
|
|
.material-symbols-outlined {
|
|
font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
|
|
}
|
|
.ai-glow {
|
|
box-shadow: 0 0 15px rgba(109, 74, 255, 0.1);
|
|
}
|
|
.status-line {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 4px;
|
|
}
|
|
</style>
|
|
<style>
|
|
body {
|
|
min-height: max(884px, 100dvh);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body class="bg-background text-on-background font-body-base">
|
|
<!-- TopAppBar -->
|
|
<header class="w-full top-0 sticky z-50 bg-surface border-b border-outline-variant flex items-center px-container-padding h-16">
|
|
<button class="mr-4 active:opacity-70 transition-opacity">
|
|
<span class="material-symbols-outlined text-primary">arrow_back</span>
|
|
</button>
|
|
<h1 class="flex-grow font-headline-md text-headline-md text-primary truncate">입찰 현황 모니터링</h1>
|
|
<button class="ml-4 active:opacity-70 transition-opacity">
|
|
<span class="material-symbols-outlined text-primary">notifications</span>
|
|
</button>
|
|
</header>
|
|
<main class="flex-grow px-container-padding py-stack-md space-y-stack-lg">
|
|
<!-- Header Section: Active Auction Card -->
|
|
<section class="relative bg-surface-container-lowest border border-outline-variant rounded-xl overflow-hidden p-stack-md">
|
|
<div class="status-line bg-primary-container"></div>
|
|
<div class="flex justify-between items-start mb-stack-sm">
|
|
<div>
|
|
<span class="text-label-xs font-label-xs text-on-surface-variant bg-surface-container-low px-2 py-0.5 rounded-full mb-1 inline-block">입찰 진행 중</span>
|
|
<h2 class="font-title-sm text-title-sm text-on-surface">전기공사 - 제1전시장 1홀</h2>
|
|
</div>
|
|
<div class="flex items-center space-x-1 text-error">
|
|
<span class="material-symbols-outlined text-[18px]">timer</span>
|
|
<span class="font-bold text-body-base">마감 01:24:36</span>
|
|
</div>
|
|
</div>
|
|
<div class="grid grid-cols-2 gap-stack-sm mt-stack-md">
|
|
<div class="bg-secondary-container/10 p-3 rounded-lg border border-secondary-container/20">
|
|
<p class="text-label-xs text-on-surface-variant">내 현재 순위</p>
|
|
<p class="text-title-sm font-bold text-secondary-container">2위</p>
|
|
</div>
|
|
<div class="bg-surface-container p-3 rounded-lg border border-outline-variant">
|
|
<p class="text-label-xs text-on-surface-variant">현재 최저가</p>
|
|
<p class="text-body-base font-bold text-on-surface">₩8,400,000</p>
|
|
</div>
|
|
</div>
|
|
<div class="mt-stack-md flex items-center justify-between text-label-xs">
|
|
<span class="text-on-surface-variant">최근 업데이트: 방금 전</span>
|
|
<div class="flex items-center text-secondary-container">
|
|
<span class="material-symbols-outlined text-[14px] mr-1">auto_awesome</span>
|
|
<span class="font-bold">AI 최적화 분석 중</span>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<!-- Real-time Ranking List -->
|
|
<section class="space-y-stack-sm">
|
|
<div class="flex items-center justify-between mb-2">
|
|
<h3 class="font-title-sm text-title-sm text-on-surface flex items-center">
|
|
실시간 순위 현황
|
|
<span class="ml-2 w-2 h-2 bg-error rounded-full animate-pulse"></span>
|
|
</h3>
|
|
<span class="text-label-xs text-on-surface-variant">총 8개 업체</span>
|
|
</div>
|
|
<div class="space-y-stack-sm">
|
|
<!-- Row 1 -->
|
|
<div class="flex items-center p-stack-md bg-surface-container-lowest border border-outline-variant rounded-lg transition-all active:scale-[0.98]">
|
|
<span class="w-8 h-8 rounded-full bg-surface-container-high flex items-center justify-center font-bold text-primary mr-3">1</span>
|
|
<div class="flex-grow">
|
|
<p class="font-body-base font-semibold text-on-surface">(주)에이텍</p>
|
|
<p class="text-label-xs text-on-surface-variant">입찰가: ₩8,320,000</p>
|
|
</div>
|
|
<span class="material-symbols-outlined text-outline">trending_flat</span>
|
|
</div>
|
|
<!-- Row 2 (Me) -->
|
|
<div class="flex items-center p-stack-md bg-secondary-container/10 border-2 border-secondary-container rounded-lg ai-glow">
|
|
<span class="w-8 h-8 rounded-full bg-secondary-container flex items-center justify-center font-bold text-on-secondary-container mr-3">2</span>
|
|
<div class="flex-grow">
|
|
<div class="flex items-center">
|
|
<p class="font-body-base font-bold text-secondary-container">나 (본인)</p>
|
|
<span class="ml-2 text-[10px] bg-secondary-container text-white px-1.5 py-0.5 rounded-full font-bold">ME</span>
|
|
</div>
|
|
<p class="text-label-xs text-secondary-container">입찰가: ₩8,400,000</p>
|
|
</div>
|
|
<div class="flex items-center text-error">
|
|
<span class="material-symbols-outlined text-[16px] mr-0.5">arrow_drop_down</span>
|
|
<span class="text-label-xs font-bold">1위와 ₩80,000 차</span>
|
|
</div>
|
|
</div>
|
|
<!-- Row 3 -->
|
|
<div class="flex items-center p-stack-md bg-surface-container-lowest border border-outline-variant rounded-lg">
|
|
<span class="w-8 h-8 rounded-full bg-surface-container-high flex items-center justify-center font-bold text-on-surface-variant mr-3">3</span>
|
|
<div class="flex-grow">
|
|
<p class="font-body-base text-on-surface">(주)씨앤씨</p>
|
|
<p class="text-label-xs text-on-surface-variant">입찰가: ₩8,450,000</p>
|
|
</div>
|
|
<span class="material-symbols-outlined text-error">arrow_drop_down</span>
|
|
</div>
|
|
<!-- Row 4 -->
|
|
<div class="flex items-center p-stack-md bg-surface-container-lowest border border-outline-variant rounded-lg">
|
|
<span class="w-8 h-8 rounded-full bg-surface-container-high flex items-center justify-center font-bold text-on-surface-variant mr-3">4</span>
|
|
<div class="flex-grow">
|
|
<p class="font-body-base text-on-surface">(주)디자인랩</p>
|
|
<p class="text-label-xs text-on-surface-variant">입찰가: ₩8,520,000</p>
|
|
</div>
|
|
<span class="material-symbols-outlined text-primary">arrow_drop_up</span>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
<!-- Floating Notification/Note -->
|
|
<div class="relative bg-surface-container-high border border-outline-variant p-stack-md rounded-xl flex items-start space-x-3">
|
|
<span class="material-symbols-outlined text-primary-container">info</span>
|
|
<p class="text-body-sm text-on-surface-variant leading-relaxed">
|
|
견적서 작성 및 재응찰은 <span class="font-bold text-primary">웹 버전</span>에서 진행해 주세요. 모바일에서는 실시간 현황 모니터링만 지원합니다.
|
|
</p>
|
|
</div>
|
|
</main>
|
|
<!-- BottomNavBar -->
|
|
<nav class="fixed bottom-0 left-0 w-full flex justify-around items-center px-2 py-3 bg-surface border-t border-outline-variant z-50">
|
|
<button class="flex flex-col items-center justify-center text-on-surface-variant p-2 hover:bg-surface-container-high transition-all active:scale-95 duration-150">
|
|
<span class="material-symbols-outlined">dashboard</span>
|
|
<span class="font-label-md text-label-md">대시보드</span>
|
|
</button>
|
|
<button class="flex flex-col items-center justify-center bg-secondary-container text-on-secondary-container rounded-full px-4 py-1 transition-all active:scale-95 duration-150">
|
|
<span class="material-symbols-outlined" style="font-variation-settings: 'FILL' 1;">monitoring</span>
|
|
<span class="font-label-md text-label-md">입찰현황</span>
|
|
</button>
|
|
<button class="flex flex-col items-center justify-center text-on-surface-variant p-2 hover:bg-surface-container-high transition-all active:scale-95 duration-150">
|
|
<span class="material-symbols-outlined">temp_preferences_custom</span>
|
|
<span class="font-label-md text-label-md">AI최적화</span>
|
|
</button>
|
|
<button class="flex flex-col items-center justify-center text-on-surface-variant p-2 hover:bg-surface-container-high transition-all active:scale-95 duration-150">
|
|
<span class="material-symbols-outlined">more_horiz</span>
|
|
<span class="font-label-md text-label-md">더보기</span>
|
|
</button>
|
|
</nav>
|
|
<script>
|
|
// Micro-interaction for real-time feel
|
|
setInterval(() => {
|
|
const timeEl = document.querySelector('.text-error .font-bold');
|
|
if (timeEl) {
|
|
let parts = timeEl.innerText.replace('마감 ', '').split(':');
|
|
let h = parseInt(parts[0]), m = parseInt(parts[1]), s = parseInt(parts[2]);
|
|
|
|
s--;
|
|
if (s < 0) { s = 59; m--; }
|
|
if (m < 0) { m = 59; h--; }
|
|
|
|
timeEl.innerText = `마감 ${h.toString().padStart(2, '0')}:${m.toString().padStart(2, '0')}:${s.toString().padStart(2, '0')}`;
|
|
}
|
|
}, 1000);
|
|
</script>
|
|
</body></html> |