后端 API:AI 对话/报告/余额告警 等服务与路由;小程序 tabBar 配置与分润相关能力;出站推送 Webhook 与管理端调试;飞书留资、小程序数据分析 等支撑;多份 数据库迁移(AI 聊天、灵魂文章、tabBar、分润等)。 管理端 / 超管:看板、用户/订单/分销/财务、设置与 小程序 tabBar 管理、分润规则、灵魂文章、AI 配置与监控 等大量页面与能力扩展;主题与布局更新。 抖音小程序:与微信侧在 结果页/购买/个人中心 等方向做了同步或优化。 另含 部署/脚本、开发文档 等配套更新。 邀请码与解锁:后端 分销/邀请码 接口与 add_invite_codes 等 SQL;小程序侧 邀请码弹窗组件、个人中心/推广/多类结果页 的填写入口与 解锁门控(inviteCodeGate、unlockGate);并补充 《小程序解锁引导与邀请码方案》 文档。 超管后台:路由与 企业中心(EnterpriseHub) 等交互与结构优化。 小程序体验:在 首页结果、推广、各测评结果页 上继续打磨;与 邀请码门控、审核门控 小步联动。
212 lines
3.9 KiB
Plaintext
212 lines
3.9 KiB
Plaintext
/* app.wxss - 全局样式 */
|
|
|
|
@import "./styles/result-page-dashboard.wxss";
|
|
@import "./styles/invite-fill-entry.wxss";
|
|
|
|
/* 主题颜色 */
|
|
page {
|
|
--primary-color: #FF6B8A;
|
|
--primary-light: #FFE4E9;
|
|
--secondary-color: #8B5CF6;
|
|
--secondary-light: #EDE9FE;
|
|
--success-color: #10B981;
|
|
--warning-color: #F59E0B;
|
|
--danger-color: #EF4444;
|
|
--text-primary: #1F2937;
|
|
--text-secondary: #6B7280;
|
|
--text-muted: #9CA3AF;
|
|
--bg-primary: #FFFFFF;
|
|
--bg-secondary: #F3F4F6;
|
|
--border-color: #E5E7EB;
|
|
|
|
background-color: var(--bg-secondary);
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
font-size: 28rpx;
|
|
color: var(--text-primary);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
/* 玻璃卡片效果 */
|
|
.glass-card {
|
|
background: rgba(255, 255, 255, 0.95);
|
|
backdrop-filter: blur(20px);
|
|
border-radius: 24rpx;
|
|
box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.08);
|
|
padding: 32rpx;
|
|
margin-bottom: 24rpx;
|
|
}
|
|
|
|
/* 渐变背景 */
|
|
.gradient-personal {
|
|
background: linear-gradient(135deg, #FF6B8A 0%, #FF8E53 100%);
|
|
}
|
|
|
|
.gradient-enterprise {
|
|
background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
|
|
}
|
|
|
|
/* 按钮样式 */
|
|
.btn {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
height: 88rpx;
|
|
border-radius: 44rpx;
|
|
font-size: 32rpx;
|
|
font-weight: 600;
|
|
border: none;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
.btn-primary {
|
|
background: linear-gradient(135deg, #FF6B8A 0%, #FF8E53 100%);
|
|
color: #FFFFFF;
|
|
}
|
|
|
|
.btn-secondary {
|
|
background: #FFFFFF;
|
|
color: var(--primary-color);
|
|
border: 2rpx solid var(--primary-color);
|
|
}
|
|
|
|
.btn-outline {
|
|
background: transparent;
|
|
color: var(--text-secondary);
|
|
border: 2rpx solid var(--border-color);
|
|
}
|
|
|
|
.btn:active {
|
|
transform: scale(0.98);
|
|
opacity: 0.9;
|
|
}
|
|
|
|
/* 进度条 */
|
|
.progress-bar {
|
|
width: 100%;
|
|
height: 12rpx;
|
|
background: var(--bg-secondary);
|
|
border-radius: 6rpx;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.progress-bar-fill {
|
|
height: 100%;
|
|
border-radius: 6rpx;
|
|
transition: width 0.3s ease;
|
|
}
|
|
|
|
/* 标签 */
|
|
.tag {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
padding: 8rpx 20rpx;
|
|
border-radius: 24rpx;
|
|
font-size: 24rpx;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.tag-primary {
|
|
background: var(--primary-light);
|
|
color: var(--primary-color);
|
|
}
|
|
|
|
.tag-secondary {
|
|
background: var(--secondary-light);
|
|
color: var(--secondary-color);
|
|
}
|
|
|
|
/* 文字样式 */
|
|
.text-primary {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.text-secondary {
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.text-muted {
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.text-center {
|
|
text-align: center;
|
|
}
|
|
|
|
.font-bold {
|
|
font-weight: 700;
|
|
}
|
|
|
|
.font-semibold {
|
|
font-weight: 600;
|
|
}
|
|
|
|
/* 间距 */
|
|
.mt-2 { margin-top: 16rpx; }
|
|
.mt-4 { margin-top: 32rpx; }
|
|
.mb-2 { margin-bottom: 16rpx; }
|
|
.mb-4 { margin-bottom: 32rpx; }
|
|
.p-4 { padding: 32rpx; }
|
|
|
|
/* 弹性布局 */
|
|
.flex {
|
|
display: flex;
|
|
}
|
|
|
|
.flex-col {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.items-center {
|
|
align-items: center;
|
|
}
|
|
|
|
.justify-center {
|
|
justify-content: center;
|
|
}
|
|
|
|
.justify-between {
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.flex-1 {
|
|
flex: 1;
|
|
}
|
|
|
|
/* 安全区域 */
|
|
.safe-area-bottom {
|
|
padding-bottom: calc(constant(safe-area-inset-bottom) + 16rpx);
|
|
padding-bottom: calc(env(safe-area-inset-bottom) + 16rpx);
|
|
}
|
|
|
|
/* ============ 全局 TabBar 底部避让 ============ */
|
|
/* 自定义 TabBar 高度约 140rpx + 底部安全区。
|
|
在 tab 页外层 view 加 .tabbar-pad 即可避免被遮挡;
|
|
也可直接写 style="padding-bottom: var(--tabbar-pad)" */
|
|
page {
|
|
/* 与实际自定义 tab 栏(含文案行 + 中间浮钮视觉)对齐,略放大避免遮挡 */
|
|
--tabbar-height: 168rpx;
|
|
--tabbar-pad: calc(var(--tabbar-height) + env(safe-area-inset-bottom) + 36rpx);
|
|
}
|
|
|
|
.tabbar-pad {
|
|
padding-bottom: var(--tabbar-pad) !important;
|
|
}
|
|
|
|
.tabbar-pad-fixed {
|
|
bottom: var(--tabbar-pad) !important;
|
|
}
|
|
|
|
/* 解锁前滚动的留资区锚点 */
|
|
.unlock-gate-anchor {
|
|
height: 2rpx;
|
|
width: 100%;
|
|
}
|
|
|
|
.unlock-gate-anchor-btn-wrap {
|
|
width: 100%;
|
|
}
|
|
|
|
.unlock-gate-profile-block {
|
|
width: 100%;
|
|
}
|