div+css布局简洁的crm客户关系管理系统app的ui原型界面代码
代码语言:html
所属分类:布局界面
代码描述:div+css布局简洁的crm客户关系管理系统app的ui原型界面代码
代码标签: div css 布局 简洁 crm 客户 关系 管理 系统 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>云帆CRM - 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: #04C99C; /* 薄荷绿 */ --primary-color-light: #E6F8F5; --success-color: #04C99C; --danger-color: #F85A5A; --bg-color: #F7F8FA; --surface-color: #FFFFFF; --text-color: #1A202C; --text-secondary-color: #718096; --border-color: #EDF2F7; } * { 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); -webkit-font-smoothing: antialiased; } #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; box-shadow: 0 4px 12px rgba(0,0,0,0.04); } .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; } .avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; margin-right: 15px; background-color: #eee; } .fab { position: absolute; bottom: 85px; right: 20px; width: 56px; height: 56px; background: linear-gradient(45deg, var(--primary-color), #04A883); color: white; border-radius: 50%; border: none; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(4, 201, 156, 0.4); cursor: pointer; z-index: 50; transition: transform 0.2s ease; } .fab:active { transform: scale(0.95); } /* --- 底部导航栏 --- */ .bottom-nav { flex-shrink: 0; display: flex; height: 65px; background-color: var(--surface-color); b.........完整代码请登录后点击上方下载按钮下载查看
网友评论0