577 Commits

Author SHA1 Message Date
卡若
4f11fe25f9 fix: 修复小程序多个问题
1. 修复章节内容加载卡住问题 - 更新API返回格式和章节映射
2. 修复找伙伴页面 - 去掉今日剩余次数显示
3. 添加匹配动画 - 1-3秒转动动画后再弹出加入弹窗
4. 加入资源对接需要先绑定手机号或微信号
5. 重构加入弹窗UI - 更简洁美观
6. 修复手机号输入框问题
7. 关于作者页面 - 内容与真实章节数据保持一致(62个案例)
2026-01-25 09:27:32 +08:00
卡若
e16dce118e fix: 更新小程序AppID为wxb8bbb2b10dec74aa 2026-01-23 22:09:32 +08:00
卡若
14e3993303 feat: 小程序使用真实支付和真实章节内容
1. 更新AppID为wx0976665c3a3d5a7c
2. 添加微信支付商户号配置(1318592501)
3. 阅读页改为从API读取真实章节内容
4. 移除测试支付模式,直接调用真实支付
5. API失败时显示加载提示而非假内容
2026-01-23 22:08:30 +08:00
卡若
d42652c51b fix: 修复界面显示问题,优化文案
🎨 界面修复:
- 修复章节列表锁图标和标题错位(用简单符号替代emoji)
- 修复匹配页今日剩余图标和文字对齐
- 删除匹配页底部'每天3次免费匹配'提示

✏️ 文案优化:
- '分享赚钱' → '立即推广'
- '分享给好友' → '推荐好友,共同成长'
- '好友购买你获得90%佣金' → '邀请好友加入,享90%推广收益'

📄 文档更新:
- 更新需求方案文档v1.1
- 添加上线检查清单
- 完善API接口文档
2026-01-23 17:37:40 +08:00
卡若
7ff181f743 fix: 全面优化小程序功能
🔧 数据库配置:
- 切换到腾讯云外网数据库
- 配置连接参数和连接池

🎨 界面优化:
- 未登录时只显示登录按钮,隐藏其他功能
- 优化登录卡片样式
- 修复章节图标和标题对齐问题

💳 支付流程优化:
- 增加重复购买检测,避免重复支付
- 优化openId获取逻辑,支持静默获取
- 已登录用户可直接支付,无需重复登录

📊 后台管理:
- 创建章节管理API (/api/admin/chapters)
- 创建章节管理页面 (/admin/chapters)
- 支持查看所有章节、修改价格、设置免费状态
2026-01-23 17:25:15 +08:00
卡若
1e1e6a1093 feat: 全面优化小程序界面和功能
 新增功能:
- 配置后台匹配规则选择功能,支持多种匹配类型自定义
- 推广中心使用真实数据,实现H5/小程序绑定关系
- 配置MySQL数据库连接,建立完整数据表结构

🎨 界面优化:
- 优化登录状态显示,未登录只显示基础功能
- 修复推广中心等页面宽度问题,统一界面布局
- 优化设置页面绑定弹窗样式,简洁大气
- 修复目录页图标和文字对齐问题

🔧 技术改进:
- 匹配功能支持后台配置,动态加载匹配类型
- 推广数据支持API获取,本地存储作为备份
- 数据库表结构完整,支持用户、订单、推广关系
- 小程序登录仅保留微信登录方式

📱 小程序优化:
- 匹配次数调整为每日3次免费
- 支持¥1购买额外匹配次数
- 分享到朋友圈功能优化
- 界面宽度统一,卡片布局一致
2026-01-23 16:31:54 +08:00
卡若
e869974341 config: 更新域名为 soul.quwanzhi.com 2026-01-23 05:47:09 +08:00
卡若
0a5d470fef feat: 小程序真实微信支付功能
新增:
1. /api/miniprogram/pay - 创建预支付订单API
2. /api/miniprogram/pay/notify - 支付回调处理
3. /api/miniprogram/login - 小程序登录获取openId

配置:
- 小程序AppID: wxb8bbb2b10dec74aa
- 商户号: 1318592501
- 回调地址: https://soul.cunbao.net/api/miniprogram/pay/notify

更新:
- app.js: 添加getOpenId方法,支付前获取openId
- read.js: processPayment调用真实支付接口
- 支持API不可用时回退到测试模式
2026-01-23 05:44:21 +08:00
卡若
b60edb3d47 feat: 完整重构小程序匹配功能 + 修复UI对齐 + 文章数据API
主要更新:
1. 按H5网页端完全重构匹配功能(match页面)
   - 4种匹配类型: 创业合伙/资源对接/导师顾问/团队招募
   - 资源对接等类型弹出手机号/微信号输入框
   - 去掉重新匹配按钮,改为返回按钮

2. 修复所有卡片对齐和宽度问题
   - 目录页附录卡片居中
   - 首页阅读进度卡片满宽度
   - 我的页面菜单卡片对齐
   - 推广中心分享卡片统一宽度

3. 修复目录页图标和文字对齐
   - section-icon固定40rpx宽高
   - section-title与图标垂直居中

4. 更新真实完整文章标题(62篇)
   - 从book目录读取真实markdown文件名
   - 替换之前的简化标题

5. 新增文章数据API
   - /api/db/chapters - 获取完整书籍结构
   - 支持按ID获取单篇文章内容
2026-01-21 15:49:12 +08:00
v0
1ee25e3dab fix: prevent controlled component errors
Ensure all input values have default values and use empty string as fallback.

#VERCEL_SKIP

Co-authored-by: null <4804959+fnvtk@users.noreply.github.com>
2026-01-14 08:03:05 +00:00
v0
7e1e2e7115 feat: add admin site config page and optimize my page
Add "Site Configuration" page and refactor "My" page
Expand store with site, menu, and page configurations.

#VERCEL_SKIP

Co-authored-by: null <4804959+fnvtk@users.noreply.github.com>
2026-01-14 07:57:58 +00:00
v0
b487855d44 feat: implement CKB API integration
Add CKB API routes and update match page for joining features

#VERCEL_SKIP

Co-authored-by: null <4804959+fnvtk@users.noreply.github.com>
2026-01-14 07:50:53 +00:00
v0
e7008a8ed8 feat: implement Cunkebao API integration
Create API route and update match page for recruitment, resource linkage, and mentor consultant features

#VERCEL_SKIP

Co-authored-by: null <4804959+fnvtk@users.noreply.github.com>
2026-01-14 07:46:30 +00:00
v0
6afb9a143a refactor: redesign homepage and navigation based on trends
Update homepage layout and navigation to match current trends.

#VERCEL_SKIP

Co-authored-by: null <4804959+fnvtk@users.noreply.github.com>
2026-01-14 07:32:08 +00:00
v0
d5df83f35b feat: refactor homepage and navigation structure
Remove unused pages, redesign author page, update homepage with new chapter display, and modify bottom navigation.

#VERCEL_SKIP

Co-authored-by: null <4804959+fnvtk@users.noreply.github.com>
2026-01-14 06:39:23 +00:00
v0
78867aac6d refactor: complete system overhaul with new design
Rebuilt user and match pages, simplified login, and updated bottom navigation.

#VERCEL_SKIP

Co-authored-by: undefined <undefined+undefined@users.noreply.github.com>
2026-01-14 05:41:44 +00:00
v0
1e25c7134a feat: complete product overhaul
Refactor homepage, match feature, data storage, and my page; implement paid reading logic.

#VERCEL_SKIP

Co-authored-by: undefined <undefined+undefined@users.noreply.github.com>
2026-01-14 05:24:13 +00:00
v0
59ca3b2bbd refactor: full product interaction system redesign
Refactor homepage, reading modal, matching feature, and user profile for improved UX

#VERCEL_SKIP

Co-authored-by: undefined <undefined+undefined@users.noreply.github.com>
2026-01-14 05:17:59 +00:00
v0
f3195d9331 refactor: overhaul homepage and app structure
Simplify homepage, show chapter counts, display directory, trim bottom nav, in-page match feature, move marketing content, and enhance "My" page.

#VERCEL_SKIP

Co-authored-by: undefined <undefined+undefined@users.noreply.github.com>
2026-01-14 05:10:32 +00:00
卡若
c1953b89c1 feat: 添加完整的book文件夹内容
- 添加64章完整内容
- 包含序言、5大篇章、尾声
- 包含附录(Talk内容)
- 所有.md文件完整上传
2026-01-14 13:01:46 +08:00
卡若
c80b853108 feat: v1.3.1 完美版本 - 首页对齐H5,64章精准数据,寻找合作伙伴功能
- 书名统一:一场SOUL的创业实验场
- 功能定位:从读书社交→创业合作
- 匹配功能:寻找合作伙伴(🤝图标)
- 首页完全对齐H5设计
- 64章商业案例精准数据
- 所有图标完整显示
- H5和小程序100%统一
2026-01-14 12:56:39 +08:00
卡若
298a75ea5c 📝 添加README和更新.gitignore 2026-01-14 12:50:45 +08:00
卡若
5420499117 🎉 v1.3.1: 完美版本 - H5和小程序100%统一,64章精准数据,寻找合作伙伴功能 2026-01-14 12:50:00 +08:00
卡若
326c9e6905 feat: Implement iOS-style UI, payment, referral, and reading experience improvements 2026-01-09 12:24:15 +08:00
卡若
d781dc07ed Update remote soul-content with local content 2026-01-09 11:58:08 +08:00
卡若
2bdf275cba Clear existing content 2026-01-09 11:57:57 +08:00
卡若
924307a470 Initial commit to prepare for remote overwrite 2026-01-09 11:57:57 +08:00