vue3实现移动端房产楼盘销售报备系统app原型图ui代码
代码语言:html
所属分类:其他
代码描述:vue3实现移动端房产楼盘销售报备系统app原型图ui代码
代码标签: vue 移动端 房产 楼盘 销售 报备 系统 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>楼盘报备管理</title>
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/vue3.2.22.js"></script>
<script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/echarts.5.5.0.js"></script>
<style>
:root {
--primary-color: #007aff;
--primary-color-light: #e5f2ff;
--success-color: #34c759;
--warning-color: #ff9500;
--danger-color: #ff3b30;
--bg-color: #f2f2f7;
--card-bg-color: #ffffff;
--text-color: #1c1c1e;
--text-color-light: #8e8e93;
--border-color: #e5e5ea;
--font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
--border-radius: 12px;
--box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
body, html {
margin: 0;
padding: 0;
font-family: var(--font-family);
background-color: var(--bg-color);
color: var(--text-color);
height: 100%;
}
#app {
max-width: 800px;
margin: 0 auto;
background-color: var(--card-bg-color);
height: 100vh;
display: flex;
flex-direction: column;
box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
/* --- Header --- */
.app-header {
display: flex;
align-items: center;
justify-content: center;
padding: 0 16px;
height: 56px;
background-color: var(--card-bg-color);
border-bottom: 1px solid var(--border-color);
position: relative;
flex-shrink: 0;
}
.app-header h1 {
font-size: 18px;
font-weight: 600;
margin: 0;
}
.header-back-btn {
position: absolute;
left: 16px;
cursor: pointer;
}
/* --- Main Content --- */
.app-main {
flex-grow: 1;
overflow-y: auto;
padding: 20px 16px;
}
/* --- Bottom Navigation --- */
.bottom-nav {
display: flex;
justify-content: space-around;
height: 60px;
background-color: var(--card-bg-color);
border-top: 1px solid var(--border-color);
flex-shrink: 0;
}
.nav-button {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
flex-grow: 1;
text-decoration: none;
color: var(--text-color-light);
cursor: pointer;
transition: color 0.2s;
}
.nav-button svg {
margin-bottom: 4px;
}
.nav-button.active {
color: var(--primary-color);
}
/* --- General Components --- */
.card {
background: var(--card-bg-color);
border-radius: var(--border-radius);
box-shadow: var(--box-shadow);
margin-bottom: 20px;
padding: 16px;
overflow: hidden;
}
.btn {
display: inline-block;
padding: 12px 24px;
border-radius: var(--border-radius);
border: none;
font-size: 16px;
font-weight: 500;
cursor: pointer;
text-align: center;
transition: filter 0.2s;
}
.btn:active {
filter: brightness(0.9);
}
.btn-primary { background-color: var(--primary-color); color: white; }
.btn-success { background-color: var(--success-color); color: white; }
.btn-block { width: 100%; display: block; }
.status-tag {
padding: 4px 8px;
border-radius: 6px;
font-size: 12px;
font-weight: 500;
color: white;
}
.status-reported { background-color: var(--primary-color); }
.status-viewed { background-color: var(--warning-color); }
.status-deal { background-color: var(--success-color); }
.status-invalid { background-color: var(--text-color-light); }
.fab { /* Floating Action Button */
position: fixed;
bottom: 80px;
right: calc(50% - 370px);
width: 56px;
height: 56px;
background-color: var(--primary-color);
color: white;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 8px 16px rgba(0,0,0,0.2);
cursor: pointer;
z-index: 100;
}
@media (max-width: 800px) {
.fab { right: 20px; }
}
/* --- Page Specific Styles --- */
/* Dashboard */
.dashboard-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 16px;
}
.stat-card {
padding: 20px;
text-align: center;
}
.stat-card .value {
font-size: 28px;
font-weight: 700;
color: var(--primary-color);
}
.stat-card .label {
font-size: 14px;
color: var(--text-color-light);
}
.activity-list .item { padding: 12px 0; border-bottom: 1px solid var(--border-color); }
.activity-list .item:last-child { border-bottom: none; }
/* Client List */
.client-item { display: flex; align-items: center; }
.client-info { flex-grow: 1; }
.client-info .name { font-weight: 600; }
.client-info .project { font-size: 14px; color: var(--text-color-light); }
/* Client Detail */
.detail-header { text-align: center; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px dashed var(--border-color); }
.detail-header .name { font-size: 24px; font-weight: 700; }
.detail-header .phone { font-size: 16px; color: var(--text-color-light); }
.timeline { list-style: none; padding: 0; }
.timeline-item { position: relative; padding-left: 30px; padding-bottom: 20px; }
.timeline-item::before { content: ''; position: absolute; left: 6px; top: 8px; width: 14px; height: 14px; border-radius: 50%; background: var(--border-color); border: 3px solid var(--card-bg-color); z-index: 1; }
.timeline-item::after { content: ''; position: absolute; left: 12px; top: 8px; bottom: -8px; width: 2px; background: var(--border-color); }
.timeline-item.completed::before { background: var(--success-color); }
.timeline-item.completed::after { background: var(--success-color); }
.timeline-item:last-child::after { displ.........完整代码请登录后点击上方下载按钮下载查看
网友评论0