更新小程序配置,重构页面结构,删除不再使用的地址管理和章节页面,优化项目结构以提升可维护性;调整全局样式,增强组件的可复用性和一致性。

This commit is contained in:
乘风
2026-02-03 11:35:38 +08:00
parent d74410cfb5
commit a7d781a25b
79 changed files with 10610 additions and 3518 deletions

View File

@@ -1,49 +0,0 @@
const app = getApp()
Page({
data: {
statusBarHeight: 44,
navBarHeight: 88,
authorInfo: {
name: '卡若',
description: '连续创业者,私域运营专家',
liveTime: '06:00-09:00',
platform: 'Soul派对房'
},
authorInitial: '卡',
stats: [
{ value: '55+', label: '真实案例', icon: '📖' },
{ value: '10000+', label: '派对房听众', icon: '👥' },
{ value: '15年', label: '创业经验', icon: '🏆' },
{ value: '3000万', label: '最高年流水', icon: '📈' }
],
milestones: [
{ year: '2007-2014', event: '游戏电竞创业历程,从魔兽世界代练起步' },
{ year: '2015', event: '转型电商,做天猫虚拟充值' },
{ year: '2016-2019', event: '深耕电商领域团队扩张到200人年流水3000万' },
{ year: '2019-2020', event: '公司变故,重整旗鼓' },
{ year: '2020-2025', event: '电竞、地摊、大健康、私域多领域探索' },
{ year: '2025.10.15', event: '在Soul派对房开启每日分享记录真实商业案例' }
]
},
onLoad() {
const statusBarHeight = app.globalData.statusBarHeight || 44
const navBarHeight = app.globalData.navBarHeight || (statusBarHeight + 44)
const authorInfo = this.data.authorInfo
const authorInitial = authorInfo.name ? authorInfo.name.charAt(0) : '卡'
this.setData({ statusBarHeight, navBarHeight, authorInitial })
},
goBack() {
wx.navigateBack({ fail: () => wx.switchTab({ url: '/pages/index/index' }) })
},
onJoinParty() {
wx.showToast({
title: '请关注小程序或联系客服加入派对群',
icon: 'none',
duration: 2500
})
}
})