A wireless communication method, comprising: receiving, by a network device, a first message sent by a terminal device, where the first message indicates a first synchronization signal block detected by the terminal device; and performing, by the network device, bandwidth part configuration for the terminal device according to the first synchronization signal block, wherein performing, by the network device, bandwidth part configuration for the terminal device according to the first synchronization signal block, comprises: determining a frequency point occupied by the first synchronization signal block as a reference point; and performing, by the network device, bandwidth part configuration on the terminal device according to the reference point, wherein performing, by the network device, bandwidth part configuration on the terminal device according to the reference point, comprises: sending, by the network device, third information to the terminal device, where the third information indicates an offset of a configured bandwidth part from the reference point, wherein the offset of the configured bandwidth part from the reference point is an offset of an upper frequency point of the configured bandwidth part with respect to the reference point, an offset of a central frequency point of the configured bandwidth part with respect to the reference point, or an offset of a lower frequency point of the configured bandwidth part with respect to the reference point. receiving, by a network device, a first message sent by a terminal device, where the first message indicates a first synchronization signal block detected by the terminal device; and performing, by the network device, bandwidth part configuration for the terminal device according to the first synchronization signal block, wherein performing, by the network device, bandwidth part configuration for the terminal device according to the first synchronization signal block, comprises: determining a frequency point occupied by the first synchronization signal block as a reference point; and performing, by the network device, bandwidth part configuration on the terminal device according to the reference point, determining a frequency point occupied by the first synchronization signal block as a reference point; and performing, by the network device, bandwidth part configuration on the terminal device according to the reference point, wherein performing, by the network device, bandwidth part configuration on the terminal device according to the reference point, comprises: sending, by the network device, third information to the terminal device, where the third information indicates an offset of a configured bandwidth part from the reference point, wherein the offset of the configured bandwidth part from the reference point is an offset of an upper frequency point of the configured bandwidth part with respect to the reference point, an offset of a central frequency point of the configured bandwidth part with respect to the reference point, or an offset of a lower frequency point of the configured bandwidth part with respect to the reference point. sending, by the network device, third information to the terminal device, where the third information indicates an offset of a configured bandwidth part from the reference point, wherein the offset of the configured bandwidth part from the reference point is an offset of an upper frequency point of the configured bandwidth part with respect to the reference point, an offset of a central frequency point of the configured bandwidth part with respect to the reference point, or an offset of a lower frequency point of the configured bandwidth part with respect to the reference point.