An antenna, comprising a metal frame and at least one resonating structure, wherein the metal frame is provided with a slot, and the slot is configured to form a first radiating element and a second radiating element on the metal frame; the first radiating element comprises at least one radiation arm, and each radiation arm is configured to be connected to a feedpoint of a terminal device on which the antenna is configured to be located; and the second radiating element comprises at least one suspended radiation arm, each resonating structure comprises one of the at least one suspended radiation arm and a resonating component, the at least one suspended radiation arm is connected to the resonating component, and the resonating component is further configured to be connected to a ground point of the terminal device; characterized in that the resonating component comprises a first inductance component, a second inductance component, a first switch, and a second switch, the first inductance component is connected to the first switch, the second inductance component is connected to the second switch, wherein the first inductance component and the second inductance component are further connected to the suspended radiation arm, and the first switch and the second switch are further configured to be connected to the ground point, or wherein the first inductance component and the second inductance component are further configured to be connected to the ground point, and the first switch and the second switch are connected to the suspended radiation arm; and a shortest radiation arm in the first radiating element is further connected to a third inductance component and a fourth inductance component of the antenna that are connected in parallel, the third inductance component is further configured to be connected to the ground point of the terminal device by using a third switch component of the antenna, and the fourth inductance component is further configured to be connected to the ground point of the terminal device by using a fourth switch component of the antenna. the first radiating element comprises at least one radiation arm, and each radiation arm is configured to be connected to a feedpoint of a terminal device on which the antenna is configured to be located; and the second radiating element comprises at least one suspended radiation arm, each resonating structure comprises one of the at least one suspended radiation arm and a resonating component, the at least one suspended radiation arm is connected to the resonating component, and the resonating component is further configured to be connected to a ground point of the terminal device; characterized in that the resonating component comprises a first inductance component, a second inductance component, a first switch, and a second switch, the first inductance component is connected to the first switch, the second inductance component is connected to the second switch, wherein the first inductance component and the second inductance component are further connected to the suspended radiation arm, and the first switch and the second switch are further configured to be connected to the ground point, or wherein the first inductance component and the second inductance component are further configured to be connected to the ground point, and the first switch and the second switch are connected to the suspended radiation arm; and a shortest radiation arm in the first radiating element is further connected to a third inductance component and a fourth inductance component of the antenna that are connected in parallel, the third inductance component is further configured to be connected to the ground point of the terminal device by using a third switch component of the antenna, and the fourth inductance component is further configured to be connected to the ground point of the terminal device by using a fourth switch component of the antenna.