This disclosure relates to an antenna structure, a mid-frame, and an electronic device. The antenna structure includes a first stub and a second stub. The first stub has a
feed point. A gap is provided between the second stub and the first stub. The gap between the
feed point and the gap includes a first segment. The second stub has a first tuning circuit. The first tuning circuit is used to adjust the length of the second stub used for
radiation. The gap between the first tuning circuit and the gap includes a second segment. When the antenna structure operates in a first
frequency band, the second segment acts as a parasitic stub of the first segment to excite the eigenmode of the first
frequency band. By adjusting the length of the second stub used for
radiation through the first tuning circuit, the second segment acts as a parasitic stub of the first stub, thereby enhancing the
radiation performance of the first
frequency band and improving
antenna efficiency. Simultaneously, adjusting the length of the second stub involved in radiation through the first tuning circuit can also take into account the radiation performance of other frequency bands.