1, set the title style of each chapter;
2. Insert the next page section break before the first character and after the last character on the first page of each chapter (double-click the footer to enter the editing state, page layout-page setting-separator-section break next page), and cancel the link state with the previous section (header and footer tool-design-navigation-link to the previous header, and uncheck the state);
3. From the last section of the document to the first section of the document, insert the required fields (Insert-Text-Document Part-Field) in the footer, as shown. This is an example of inserting "title 1". If it is a title, select "Title" in the style:
(Note that it needs to be inserted forward from the back of the document)