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>
<style>
/* CSS Reset and Basic Styles */
:root {
--primary-color: #48a999; /* 柔和的蓝绿色 */
--primary-light-color: #eef7f5;
--text-color: #333;
--text-light-color: #666;
--bg-color: #f4f5f9;
--card-bg-color: #ffffff;
--border-color: #eee;
--shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
background-color: var(--bg-color);
color: var(--text-color);
-webkit-tap-highlight-color: transparent;
}
/* App Layout */
.app-layout {
max-width: 600px;
margin: 0 auto;
background-color: var(--card-bg-color);
min-height: 100vh;
display: flex;
flex-direction: column;
box-shadow: 0 0 20px rgba(0,0,0,0.1);
}
.app-content {
flex: 1;
padding-bottom: 70px; /* Space for bottom nav */
overflow-y: auto;
}
/* Page Common Styles */
.page {
padding: 20px;
animation: fadeIn 0.5s ease;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
.page-header {
display: flex;
align-items: center;
margin-bottom: 25px;
}
.page-title {
font-size: 24px;
font-weight: 600;
}
.section-title {
font-size: 18px;
font-weight: 600;
margin-bottom: 15px;
}
/* Bottom Navigation */
.bottom-nav {
position: fixed;
bottom: 0;
left: 0;
right: 0;
max-width: 600px;
margin: 0 auto;
height: 65px;
background-color: var(--card-bg-color);
display: flex;
justify-content: space-around;
align-items: center;
border-top: 1px solid var(--border-color);
box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}
.nav-item {
cursor: pointer;
text-align: center;
color: var(--text-light-color);
transition: color 0.3s, transform 0.3s;
}
.nav-item .icon {
width: 24px;
height: 24px;
margin-bottom: 2px;
}
.nav-item .label {
font-size: 12px;
}
.nav-item.active {
color: var(--primary-color);
transform: scale(1.1);
}
/* Common Components */
.btn {
display: inline-block;
padding: 12px 25px;
border-radius: 25px;
border: none;
cursor: pointer;
font-size: 16px;
font-weight: 500;
transition: all 0.3s ease;
}
.btn-primary {
background: var(--primary-color);
color: white;
}
.btn-primary:hover {
opacity: 0.9;
}
.btn-full {
display: block;
width: 100%;
text-align: center;
}
.card {
background-color: var(--card-bg-color);
border-radius: 12px;
padding: 20px;
margin-bottom: 15px;
box-shadow: var(--shadow);
}
/* Home Page Styles */
.home-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 20px;
}
.home-welcome h1 { font-size: 24px; }
.home-welcome p { color: var(--text-light-color); font-size: 14px; }
.location { font-size: 14px; color: var(--text-color); }
.book-now-card {
background: linear-gradient(135deg, var(--primary-color), #6ac3b4);
color: white;
text-align: center;
}
.book-now-card p {
margin-bottom: 20px;
opacity: 0.9;
}
.companion-card {
display: flex;
align-items: center;
gap: 15px;
}
.companion-avatar {
width: 60px;
height: 60px;
border-radius: 50%;
object-fit: cover;
}
.companion-info h4 { font-size: 16px; margin-bottom: 5px; }
.companion-info p { font-size: 13px; color: var(--text-light-color); }
.rating { color: #f39c12; }
/* Order Page Styles */
.tabs {
display: flex;
margin-bottom: 20px;
background-color: var(--bg-color);
border-radius: 25px;
padding: 5px;
}
.tab {
flex: 1;
padding: 10px;
text-align: c.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0