The continuous development and maturity of digital teaching methods is a powerful boost for the intelligent development of Civics course teaching. This paper takes the establishment of an intelligent education system for the Civics course in colleges and universities as a research goal, takes the Civics teaching of computer majors as an entry point, and puts forward the online and offline mixed teaching model course Civics system. The system effectively integrates the elements of Civics and politics with the professional courses through the form of online and offline hybrid. Combining this system with the knowledge point Civics element mining model, the teaching design method of digital Civics courses is established. At the same time, the meta-path strategy is introduced, and the pre-set meta-path is guided to wander in order to obtain the characteristic representation of the data nodes and improve the mining quality and analysis effect of the teaching data of the Civics and Politics course. By implementing the teaching strategy of digital Civics course and using the data mining method based on Metapath2vec node embedding method to analyze the students’ performance in Civics course, the construction of the intelligent system of Civics course is completed. The designed teaching method is applied in practice to assist students’ Civics performance to improve up to 1.079, demonstrating a significant positive assistive effect.