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">
    <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 {
            --bg-color: #1f2029;
            --primary-color: #2a2b38;
            --secondary-color: #353746;
            --accent-color: #ffeba7;
            --text-color: #c4c3ca;
            --text-highlight-color: #fff;
            --border-color: #444;
            --success-color: #32de84;
            --danger-color: #ff4d4d;
            --link-color: #8a2be2;
        }

        * { box-sizing: border-box; margin: 0; padding: 0; }

        body {
            font-family: 'Poppins', sans-serif, 'Microsoft YaHei';
            background-color: var(--bg-color);
            color: var(--text-color);
            overflow-x: hidden;
        }

        #app {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        /* --- 布局与导航 --- */
        .bottom-nav {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            display: flex;
            justify-content: space-around;
            background-color: var(--primary-color);
            border-top: 1px solid var(--border-color);
            box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
            z-index: 1000;
        }

        .nav-link {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            flex-grow: 1;
            padding: 10px 0;
            text-decoration: none;
            color: var(--text-color);
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .nav-link.active {
            color: var(--accent-color);
            background-color: var(--secondary-color);
        }
        
        .nav-link .icon { width: 24px; height: 24px; }
        .nav-link span { font-size: 0.8rem; margin-top: 4px; }

        .main-content {
            flex-grow: 1;
            padding: 20px 15px 80px 15px; /* Add padding-bottom for nav */
            max-width: 800px;
            margin: 0 auto;
            width: 100%;
        }
        
        .page-enter-active, .page-leave-active { transition: opacity 0.2s ease; }
        .page-enter-from, .page-leave-to { opacity: 0; }

        /* --- 通用组件 --- */
        .card {
            background-color: var(--primary-color);
            border-radius: 12px;
            padding: 20px;
            margin-bottom: 20px;
            border: 1px solid var(--border-color);
        }

        .page-header {
            font-size: 1.8rem;
            font-weight: 600;
            color: var(--text-highlight-color);
            padding-bottom: 10px;
            margin-bottom: 20px;
            border-bottom: 3px solid var(--link-color);
        }

        .button {
            background-color: var(--link-color);
            color: var(--text-highlight-color);
            border: none;
            padding: 12px 25px;
            font-size: 1rem;
            font-weight: 600;
            border-radius: 30px;
            cursor: pointer;
            transition: all 0.3s ease;
            display: inline-flex;
            align-items: center;
            gap: 8px;
            text-decoration: none;
        }

        .button:hover { background-color: #9932cc; transform: translateY(-2px); }
        .button:disabled { background-color: #555; cursor: not-allowed; transform: none; }
        .button-secondary .........完整代码请登录后点击上方下载按钮下载查看

网友评论0