div+css布局简洁的经销存管理系统app的ui原型界面代码
代码语言:html
所属分类:布局界面
代码描述:div+css布局简洁的经销存管理系统app的ui原型界面代码
代码标签: div css 布局 简洁 经销存 管理 系统 app ui 原型 界面 代码
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE html> <html lang="zh-CN"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <title>云链ERP - 进销存UI原型</title> <link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;500;700&display=swap" rel="stylesheet"> <style> :root { --primary-color: #007AFF; /* 科技蓝 */ --primary-color-light: #EBF5FF; --success-color: #34C759; /* 生命绿 */ --danger-color: #FF3B30; /* 活力红 */ --warning-color: #FF9500; --bg-color: #F2F2F7; --surface-color: #FFFFFF; --text-color: #1D1D1F; --text-secondary-color: #8A8A8E; --border-color: #E5E5EA; } * { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; } html, body { height: 100%; overflow: hidden; } body { font-family: 'Noto Sans SC', sans-serif; background-color: #111; color: var(--text-color); } #app-container { position: relative; max-width: 420px; height: 100%; margin: 0 auto; background-color: var(--bg-color); overflow: hidden; display: flex; flex-direction: column; } .page-container { position: relative; flex: 1; overflow: hidden; } .page { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; flex-direction: column; background-color: var(--bg-color); transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); z-index: 10; } .page.sub-page { transform: translateX(100%); box-shadow: -5px 0 15px rgba(0,0,0,0.05); } .page.active { transform: translateX(0); z-index: 20; } .main-view.moving-out .page.active { transform: translateX(-30%); filter: brightness(0.95); } .header { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; padding: 10px 20px; background-color: var(--surface-color); height: 60px; } .header-title { font-size: 1.25rem; font-weight: 700; } .back-btn { background: none; border: none; cursor: pointer; padding: 5px; margin-left: -5px; width: 36px;} .content { flex-grow: 1; overflow-y: auto; padding: 20px; } .card { background-color: var(--surface-color); border-radius: 16px; padding: 20px; margin-bottom: 20px; } .list-item { display: flex; align-items: center; padding: 15px; background-color: var(--surface-color); cursor: pointer; border-bottom: 1px solid var(--border-color); } .list-item:last-child { border-bottom: none; } .product-img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; margin-right: 15px; background-color: #eee; flex-shrink: 0; } .btn { padding: 12px 20px; border: none; border-radius: 12px; font-size: 1rem; font-weight: 500; cursor: pointer; text-decoration: none; display: block; text-align: center; } .btn-primary { background-color: var(--primary-color); color: white; } /* --- 底部导航栏 --- */ .bottom-nav { flex-shrink: 0; display: flex; height: 65px; background-color: var(--surface-color); box-shadow: 0 -2px 10px rgba(0,0,0,0.03); } .nav-item { flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: center; color: var(--text-secondary-color); cursor: pointer; } .nav-item.active { color: var(--primary-color); } .nav-item .icon { width: 24px; height: 24px; margin-bottom: 4px; } .nav-item span { font-size: 12px; font-weight: 500; } .icon { stroke-width: 2; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; } /* --- 页面: 首页 (Dashboard) --- */ .kpi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; } .kpi-card h3 { font-size: 0.9rem; color: var(--text-secondary-color); margin-bottom: 8px; font-weight: 500; } .kpi-card .value { font-size: 1.8rem; font-weight: 700; } .quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; } .action-btn { background: var(--primary-color-light); border-radius: 12px; padding: 15px; text-align: center; color: var(--primary-color); font-weight: 700; cursor: pointer; } .section-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 15px; } /* --- 页面: 开单 (Billing) --- */ .billing-choice-card { padding: 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; cursor: pointer; } .billing-choice-card .icon { width: 48px; height: 48px; margin-bottom: 15px; } .billing-choice-card h2 { font-size: 1.2rem; } /* --- 页面: 开单详情 (Order Creation) --- */ #page-order-creation .content { padding: 0; } .form-section { background-color: var(--surface-color); padding: 0 20px; margin-bottom: 10px; } .form-row { display: flex; justify-content: space-between; align-items: center; padding: 15px 0; border-bottom: 1px solid var(--border-color); } .form-row:last-child { border-bottom: none; } .form-row label { color: var(--text-seconda.........完整代码请登录后点击上方下载按钮下载查看
网友评论0