![我创建了自定义部分,但现在页码消失了](https://linux22.com/image/431309/%E6%88%91%E5%88%9B%E5%BB%BA%E4%BA%86%E8%87%AA%E5%AE%9A%E4%B9%89%E9%83%A8%E5%88%86%EF%BC%8C%E4%BD%86%E7%8E%B0%E5%9C%A8%E9%A1%B5%E7%A0%81%E6%B6%88%E5%A4%B1%E4%BA%86%20.png)
这是我的代码
\newcommand\party[3]
{\clearpage\phantomsection\addcontentsline{toc}{part}{{#2}}\pagestyle{empty}
\rule{0pt}{0.1\textheight}
{\LARGE \bfseries\scshape \spaceout[2pt]{Part \:\:#1}}
\vspace{2.5em}
{\huge \bfseries\scshape\spaceout[1pt]{#2}}
\vspace{.7cm}
\begin{center}
\begin{minipage}[t]{.75\textwidth}
#3
\end{minipage}
\end{center}}
但是当我编译文档时,我获得了部分页面的所需结果,但下一节的页码消失了。附在图片中。