AndroidCode / code /10130 /10130_2.html
yhzheng1031's picture
Add files using upload-large-folder tool
c32f9a6 verified
raw
history blame
8.92 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=1080, initial-scale=1.0">
<title>PlantVision Camera UI</title>
<style>
body { margin: 0; padding: 0; background: transparent; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
#render-target {
width: 1080px; height: 2400px; position: relative; overflow: hidden;
background: linear-gradient(180deg, #cfcfcf 0%, #a9a9a9 35%, #8f8f8f 100%);
}
/* Status bar */
.status-bar {
position: absolute; top: 24px; left: 36px; right: 36px; height: 80px;
display: flex; align-items: center; justify-content: space-between; color: #2e2e2e;
font-weight: 600; font-size: 42px;
}
.status-left, .status-right { display: flex; align-items: center; gap: 24px; }
.dot { width: 14px; height: 14px; background: #2e2e2e; border-radius: 50%; opacity: 0.7; }
/* Brand / header row */
.header-row {
position: absolute; top: 140px; left: 36px; right: 36px; height: 96px;
display: flex; align-items: center; justify-content: space-between;
}
.app-icon {
width: 92px; height: 92px; border-radius: 50%; background: #A684FF; display: flex; align-items: center; justify-content: center;
box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}
.app-icon svg { width: 48px; height: 48px; }
.brand {
display: flex; align-items: center; gap: 18px;
}
.brand .bolt {
width: 38px; height: 38px; border-radius: 50%; background: #38d26a; display: flex; align-items: center; justify-content: center;
}
.brand .bolt svg { width: 22px; height: 22px; }
.brand .name { color: #ffffff; font-weight: 700; font-size: 58px; letter-spacing: 0.2px; }
.header-actions { display: flex; align-items: center; gap: 28px; }
.eq-icon { width: 52px; height: 52px; border-radius: 12px; background: rgba(255,255,255,0.35); display: flex; align-items: center; justify-content: center; }
.video-toggle {
width: 170px; height: 70px; border-radius: 36px; background: #24d27d; display: flex; align-items: center; justify-content: center;
box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
/* Big camera view placeholder */
.camera-view {
position: absolute; top: 240px; left: 36px; right: 36px; bottom: 360px;
border: 1px solid #BDBDBD; background: #E0E0E0;
display: flex; align-items: center; justify-content: center; color: #757575; font-size: 40px;
}
/* Scan frame overlay (corners) */
.scan-frame {
position: absolute; left: 50%; top: 50%;
width: 820px; height: 1000px; transform: translate(-50%, -48%);
}
.corner {
position: absolute; width: 180px; height: 180px; border-radius: 40px; border: 0 solid transparent;
}
.corner.tl { top: 80px; left: 80px; border-top: 14px solid #ffffff; border-left: 14px solid #ffffff; }
.corner.tr { top: 80px; right: 80px; border-top: 14px solid #ffffff; border-right: 14px solid #ffffff; }
.corner.bl { bottom: 80px; left: 80px; border-bottom: 14px solid #ffffff; border-left: 14px solid #ffffff; }
.corner.br { bottom: 80px; right: 80px; border-bottom: 14px solid #ffffff; border-right: 14px solid #ffffff; }
/* Bottom controls */
.controls {
position: absolute; left: 0; right: 0; bottom: 270px; height: 200px; display: flex; align-items: center; justify-content: center;
}
.gallery-btn {
position: absolute; left: 140px; width: 120px; height: 88px; display: flex; align-items: center; justify-content: center;
}
.shutter {
width: 190px; height: 190px; border-radius: 50%; border: 12px solid #ffffff; background: #cfd8dc;
box-shadow: 0 10px 18px rgba(0,0,0,0.25);
}
/* Bottom nav bar */
.bottom-nav {
position: absolute; bottom: 120px; left: 0; right: 0; height: 210px; background: #ffffff; display: flex; align-items: center; justify-content: space-around;
box-shadow: 0 -8px 20px rgba(0,0,0,0.15);
}
.nav-item { display: flex; flex-direction: column; align-items: center; gap: 18px; color: #6b6b6b; font-size: 40px; }
.nav-item.active { color: #20c981; font-weight: 700; }
.nav-icon { width: 80px; height: 80px; display: flex; align-items: center; justify-content: center; }
/* Home indicator */
.home-indicator {
position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
width: 420px; height: 14px; background: #000000; opacity: 0.7; border-radius: 10px;
}
</style>
</head>
<body>
<div id="render-target">
<!-- Status bar -->
<div class="status-bar">
<div class="status-left">
<div>11:42</div>
<!-- simple icons -->
<svg width="36" height="36" viewBox="0 0 24 24" fill="#3b3b3b" xmlns="http://www.w3.org/2000/svg"><path d="M12 2C7 2 3 6 3 11s4 9 9 9 9-4 9-9-4-9-9-9zm0 3a6 6 0 100 12 6 6 0 000-12z"/></svg>
<div style="font-size:34px;">32°</div>
<svg width="36" height="36" viewBox="0 0 24 24" fill="#3b3b3b" xmlns="http://www.w3.org/2000/svg"><path d="M12 2a10 10 0 100 20 10 10 0 000-20zm0 3c1.9 0 3.6.6 5 1.6-1.3 1-3 1.6-5 1.6S8.3 7.6 7 6.6C8.4 5.6 10.1 5 12 5zm-7 7c0-.4 0-.7.1-1 1.8 1.2 4.2 2 6.9 2s5-0.8 6.9-2c.1.3.1.6.1 1 0 2.1-.9 4-2.4 5.4-1.4-1-3.1-1.4-4.6-1.4-1.5 0-3.2.4-4.6 1.4A7.9 7.9 0 015 12z"/></svg>
<svg width="36" height="36" viewBox="0 0 24 24" fill="#3b3b3b" xmlns="http://www.w3.org/2000/svg"><path d="M12 2l5 9H7l5-9zm0 20a9 9 0 01-9-9h18a9 9 0 01-9 9z"/></svg>
</div>
<div class="status-right">
<div class="dot"></div>
</div>
</div>
<!-- Header with brand and actions -->
<div class="header-row">
<div class="app-icon">
<!-- leaf icon -->
<svg viewBox="0 0 24 24" fill="#5a3bd7" xmlns="http://www.w3.org/2000/svg">
<path d="M12 3C7 6 5 10 5 13c0 4 3 6 7 6 4 0 7-2 7-6 0-5-4-8-7-10 0 0-1 1-1 0z"/>
</svg>
</div>
<div class="brand">
<div class="bolt">
<svg viewBox="0 0 24 24" fill="#fff" xmlns="http://www.w3.org/2000/svg"><path d="M13 2L6 13h5l-1 9 8-12h-5l1-8z"/></svg>
</div>
<div class="name">PlantVision</div>
</div>
<div class="header-actions">
<div class="eq-icon">
<!-- equalizer bars -->
<svg width="36" height="36" viewBox="0 0 24 24" fill="#ffffff" xmlns="http://www.w3.org/2000/svg">
<rect x="4" y="8" width="3" height="10" rx="1"></rect>
<rect x="10.5" y="4" width="3" height="14" rx="1"></rect>
<rect x="17" y="6" width="3" height="12" rx="1"></rect>
</svg>
</div>
<div class="video-toggle">
<!-- camera icon -->
<svg width="44" height="44" viewBox="0 0 24 24" fill="#0a7a4a" xmlns="http://www.w3.org/2000/svg">
<path d="M4 7a3 3 0 00-3 3v4a3 3 0 003 3h9a3 3 0 003-3v-1l4 3V8l-4 3V10a3 3 0 00-3-3H4z" fill="#ffffff"/>
</svg>
</div>
</div>
</div>
<!-- Camera view placeholder -->
<div class="camera-view">[IMG: Camera View]</div>
<!-- Scan frame corners -->
<div class="scan-frame">
<div class="corner tl"></div>
<div class="corner tr"></div>
<div class="corner bl"></div>
<div class="corner br"></div>
</div>
<!-- Bottom controls -->
<div class="controls">
<div class="gallery-btn">
<!-- gallery icon -->
<svg width="120" height="88" viewBox="0 0 24 24" fill="none" stroke="#e9e9e9" stroke-width="1.8" xmlns="http://www.w3.org/2000/svg">
<rect x="3" y="5" width="18" height="14" rx="3" stroke="#ffffff"></rect>
<path d="M7 15l3-4 3 3 3-2 3 3" stroke="#ffffff"></path>
<circle cx="9" cy="10" r="1.8" fill="#ffffff"></circle>
</svg>
</div>
<div class="shutter"></div>
</div>
<!-- Bottom navigation -->
<div class="bottom-nav">
<div class="nav-item">
<div class="nav-icon">
<!-- checklist icon -->
<svg width="80" height="80" viewBox="0 0 24 24" fill="#8c8c8c" xmlns="http://www.w3.org/2000/svg">
<path d="M5 4h14v2H5V4zm0 6h10v2H5v-2zm0 6h14v2H5v-2z"/>
<path d="M7 11l2 2 4-4-1.4-1.4L9 10.2 8.4 9.6 7 11z" />
</svg>
</div>
<div>Schedule</div>
</div>
<div class="nav-item active">
<div class="nav-icon">
<!-- scan frame icon -->
<svg width="80" height="80" viewBox="0 0 24 24" fill="#20c981" xmlns="http://www.w3.org/2000/svg">
<path d="M5 7a2 2 0 012-2h3V3H7a4 4 0 00-4 4v3h2V7zM19 7a2 2 0 00-2-2h-3V3h3a4 4 0 014 4v3h-2V7zM5 17a2 2 0 002 2h3v2H7a4 4 0 01-4-4v-3h2v3zM19 17a2 2 0 01-2 2h-3v2h3a4 4 0 004-4v-3h-2v3z"/>
</svg>
</div>
<div>Identify/Add</div>
</div>
<div class="nav-item">
<div class="nav-icon">
<!-- chat bubble -->
<svg width="80" height="80" viewBox="0 0 24 24" fill="#8c8c8c" xmlns="http://www.w3.org/2000/svg">
<path d="M4 4h16v12H7l-3 3V4z"/>
</svg>
</div>
<div>Community</div>
</div>
</div>
<!-- Home indicator -->
<div class="home-indicator"></div>
</div>
</body>
</html>