The present disclosure relates to 7-substituted pyrrolo[2,1-f][1,2,4]triazine compounds or pharmaceutically acceptable salts thereof, and preparation methods and uses thereof. These compounds show good PI3K inhibitory activity, can effectively inhibit the activity of PI3K kinase, and has significant enhancement and improvement of pharmacokinetic properties, such as bioavailability, due to the introduction of the 7-position group; furthermore, the compounds of the present disclosure exhibit an unpredictable high selectivity and strong inhibitory activity on PI3Kδ, and thus these compounds can be used for treating diseases related to PI3K pathway, especially for anti-cancer or for the treatment of tumors, leukemias and autoimmune diseases. After further optimizing and screening, the compounds are expected to be developed into a new type of anti-tumor drugs.