{latestSection.title}
{latestSection.part}
我的阅读
{purchasedCount}/{totalSections}章{purchasedCount}
已读
{totalSections - purchasedCount}
待读
5
篇章
11
章节
精选推荐
{section.title}
{section.part}
内容概览
{part.title}
{part.subtitle}
序言
为什么我每天早上6点在Soul开播?
/** * 一场SOUL的创业实验 - 首页 * 开发: 卡若 * 技术支持: 存客宝 */ "use client" import { useState, useEffect } from "react" import { useRouter } from "next/navigation" import { Search, ChevronRight, BookOpen, Home, List, User, Users } from "lucide-react" import { useStore } from "@/lib/store" import { bookData, getTotalSectionCount } from "@/lib/book-data" import { SearchModal } from "@/components/search-modal" export default function HomePage() { const router = useRouter() const { user } = useStore() const [mounted, setMounted] = useState(false) const [searchOpen, setSearchOpen] = useState(false) const totalSections = getTotalSectionCount() const hasFullBook = user?.hasFullBook || false const purchasedCount = hasFullBook ? totalSections : user?.purchasedSections?.length || 0 useEffect(() => { setMounted(true) }, []) // 推荐章节 const featuredSections = [ { id: "1.1", title: "荷包:电动车出租的被动收入模式", tag: "免费", part: "真实的人" }, { id: "3.1", title: "3000万流水如何跑出来", tag: "热门", part: "真实的行业" }, { id: "8.1", title: "流量杠杆:抖音、Soul、飞书", tag: "推荐", part: "真实的赚钱" }, ] // 最新更新 const latestSection = { id: "9.14", title: "大健康私域:一个月150万的70后", part: "真实的赚钱", } if (!mounted) { return null } return (
来自派对房的真实故事
{latestSection.part}
{purchasedCount}
已读
{totalSections - purchasedCount}
待读
5
篇章
11
章节
{section.part}
{part.subtitle}
为什么我每天早上6点在Soul开播?