Disclosed is a series of compounds acting as CDK4/6 inhibitors. Specifically disclosed are compounds as represented by formula (I), pharmaceutically acceptable salts or isomers thereof, pharmaceutical compositions containing same, and the use thereof in the preparation of drugs for treating cancers.