A terminal device, comprising: a first folding portion; a second folding portion, wherein the second folding portion is connected to the first folding portion, and the first folding portion and the second folding portion are rotatable between a folded state in which the first folding portion and the second folding portion are folded and an unfolded state in which the first folding portion and the second folding portion are unfolded; a first magnetic component, wherein the first magnetic component is disposed in the first folding portion; second magnetic components, wherein the second magnetic components are disposed in the second folding portion; and an adjustment component, wherein the adjustment component is connected to the second magnetic components, and the adjustment component is configured to adjust the second magnetic components, so that the first magnetic component and the second magnetic components attract or repel each other in the folded state; wherein the adjustment component is disposed in the second folding portion, the second magnetic components are disposed in the adjustment component; wherein the adjustment component is rotatably disposed in the second folding portion; characterized in that the terminal device further comprises a positioning component configured to rotate coaxially with the adjustment component and a telescopic positioning rod disposed in the second folding portion, wherein a positioning groove is disposed on a side surface of the positioning component, and the telescopic positioning rod is configured to perform positioning fitting with the positioning groove along a rotation direction of the positioning component. a first folding portion; a second folding portion, wherein the second folding portion is connected to the first folding portion, and the first folding portion and the second folding portion are rotatable between a folded state in which the first folding portion and the second folding portion are folded and an unfolded state in which the first folding portion and the second folding portion are unfolded; a first magnetic component, wherein the first magnetic component is disposed in the first folding portion; second magnetic components, wherein the second magnetic components are disposed in the second folding portion; and an adjustment component, wherein the adjustment component is connected to the second magnetic components, and the adjustment component is configured to adjust the second magnetic components, so that the first magnetic component and the second magnetic components attract or repel each other in the folded state; wherein the adjustment component is disposed in the second folding portion, the second magnetic components are disposed in the adjustment component; wherein the adjustment component is rotatably disposed in the second folding portion; characterized in that the terminal device further comprises a positioning component configured to rotate coaxially with the adjustment component and a telescopic positioning rod disposed in the second folding portion, wherein a positioning groove is disposed on a side surface of the positioning component, and the telescopic positioning rod is configured to perform positioning fitting with the positioning groove along a rotation direction of the positioning component.