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> :root { --bg-dark: #1A1A1D; --card-bg: #2C2C31; --text-primary: #F5F5F5; --text-secondary: #A9A9A9; --accent-color: #00FF7F; /* Spring Green */ --accent-hover: #00E673; --seat-available: #4A4A4A; --seat-selected: var(--accent-color); --seat-occupied: #333333; --shadow: 0 10px 40px rgba(0, 0, 0, 0.6); --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; } @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap'); * { box-sizing: border-box; margin: 0; padding: 0; } html, body { font-family: var(--font-family); background-color: var(--bg-dark); color: var(--text-primary); } #app { width: 100%; max-width: 600px; margin: 0 auto; min-height: 100vh; position: relative; background-color: var(--bg-dark); overflow-x: hidden; } main { padding: 1.5rem; /* ★★★ [UI FIX] Add padding for the bottom nav bar */ padding-bottom: 90px; } /* Animations */ .fade-enter-active, .fade-leave-active { transition: opacity 0.4s ease; } .fade-enter-from, .fade-leave-to { opacity: 0; } /* ★★★ [NEW] Bottom Navigation Bar Styles ★★★ */ .bottom-nav { position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); width: 100%; max-width: 600px; height: 70px; background-color: rgba(44, 44, 49, 0.9); backdrop-filter: blur(10px); border-top: 1px solid #444; display: flex; justify-content: space-around; align-items: center; z-index: 200; } .nav-item { display: flex; flex-direction: column; align-items: center; color: var(--text-secondary); cursor: pointer; font-size: 12px; font-weight: 600; transition: color 0.2s; } .nav-item svg { width: 24px; height: 24px; margin-bottom: 4px; } .nav-item:hover, .nav-item.active { color: var(--accent-color); } /* Page specific styles */ .page-heading { font-size: 2rem; font-weight: 700; margin-bottom: 1.5rem; } /* Event Page */ .event-card { background: var(--card-bg); border-radius: 16px; padding: 1.5rem; margin-bottom: 1.5rem; display: flex; flex-direction: column; box-shadow: var(--shadow); cursor: pointer; transition: transform 0.2s ease-out; } .event-card:hover { transform: translateY(-5px); } .teams { display: flex; justify-content: space-between; align-items: center; } .team { text-align: center; justify-content: center; align-items: center; display: flex ; flex-direction: column;} .team img { width: 60px; height: 60px; margin-bottom: 0.5rem; } .vs { font-size: 1.5rem; font-weight: 700; color: var(--text-secondary); } .event-details { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid #444; font-size: 0.9rem; color: var(--text-secondary); } /* Seat Selection Page */ .overlay-page { position: fixed; inset: 0; width: 100%; max-width: 600px; margin: 0 auto; background-color: var(--bg-dark); z-index: 100; .........完整代码请登录后点击上方下载按钮下载查看
网友评论0