Aberrant activation of the RAS/RAF/MEK/ERK pathway occurs in more than 30% of human cancers. As part of this pathway, MEK1/2 has crucial roles in tumorigenesis, cell proliferation, and inhibition of apoptosis. At present, a number of MEK1/2 inhibitors are approved for the treatment of melanoma. However, MEK1/2 inhibitors have poor single-drug efficacy in the treatment of solid tumors and are prone to drug resistance. A series of compounds containing a diarylamine skeleton and phenylacrylamide (acrylamide) have been designed and synthesized in this paper. The most promising compound M15 showed good inhibitory activity of MEK1 (IC