page { /* 配色令牌来自 app.wxss(全站唯一来源),本页不再留副本; 页面底色改用暖白纸面,与首页一致 */ background-color: var(--paper); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; } .container { min-height: 100vh; box-sizing: border-box; display: flex; flex-direction: column; /* 给 fixed 的自定义 tabBar 留位,避免底部版权被盖住 */ padding: 0 32rpx calc(140rpx + env(safe-area-inset-bottom)); } /* 头部:头像 + 昵称,直接落在纸面上(与首页 hero 同一语言) */ .header-card { display: flex; flex-direction: column; align-items: center; padding: 120rpx 0 40rpx; } .avatar { width: 128rpx; height: 128rpx; border-radius: 32rpx; } .user-name { margin-top: 24rpx; font-size: 36rpx; font-weight: 700; color: var(--ink); } /* 菜单组:首页「白卡」语言——白面 + 2rpx 发丝边 + 紧阴影 */ .menu-section + .menu-section { margin-top: 24rpx; } .menu-list { background: var(--white); border: 2rpx solid var(--line); border-radius: 28rpx; box-shadow: var(--shadow-card); overflow: hidden; } .menu-item { display: flex; align-items: center; padding: 32rpx; border-bottom: 2rpx solid var(--line); } .menu-item:last-child { border-bottom: none; } .menu-item-hover { background: var(--brand-soft); } /* t-icon 未传 color 属性,这里用 CSS 变量着色即可 */ .menu-icon { margin-right: 24rpx; color: var(--brand-ink); } .menu-text { flex: 1; font-size: 30rpx; font-weight: 500; color: var(--ink); } .menu-arrow { flex-shrink: 0; color: var(--muted); } /* 登录按钮:与首页主 CTA 同语言(实心暖橙胶囊 + 白字 + CTA 阴影) */ .login-section { padding: 32rpx 0; } .login-btn { width: 100%; padding: 28rpx; border: none; border-radius: 999rpx; background: var(--brand-strong); box-shadow: var(--shadow-cta); color: var(--white); font-size: 30rpx; font-weight: 700; letter-spacing: 2rpx; line-height: 1.4; } .login-btn::after { border: none; } /* 页脚:B 端合作文字链 + 版本信息,低调可读 */ .footer-section { display: flex; flex-direction: column; align-items: center; margin-top: auto; padding-top: 60rpx; } .footer-links { display: flex; align-items: center; margin-bottom: 20rpx; } /* 文字只有 24rpx 高,用 padding 撑热区、等量负外边距抵消,不影响行距 */ .footer-link { padding: 16rpx 0; margin: -16rpx 0; font-size: 24rpx; color: var(--muted); letter-spacing: 1rpx; } .footer-link:active { color: var(--brand-strong); } /* 细竖线分隔:替代原中点字符,避免一行多点 */ .footer-sep { width: 2rpx; height: 20rpx; margin: 0 24rpx; background: var(--faint); flex-shrink: 0; } /* 版本 + 版权同处一行,复用 .footer-sep 做竖线分隔 */ .footer-meta { display: flex; align-items: center; } .version { font-size: 24rpx; color: var(--muted); } .copyright { font-size: 24rpx; color: var(--muted); }