Provided are a (substituted phenyl) (substituted pyrimidine) amino derivative as described in formula (I), an optical isomer, pharmaceutically acceptable salt or eutectic product thereof, preparation method therefor, and use thereof in preparing tumor medications. The compound of formula is (I).