Sino-foreign cooperationin Polytechnic University is one of the important forms of internationalization of higher education in the new era. However, under the mode of Sino-foreign cooperation, the collaborative education of ideological and political education and professional education in Colleges and universities is facing some difficulties. This paper makes an in-depth analysis of these dilemmas and explores the dialectical relationship between ideological and political education and digital transformation. Secondly, it puts forward the problem that the Sino-foreign cooperative curriculum system attaches little importance to ideological and political education, and discusses the conservative abstraction of the teaching mode of Sino-foreign cooperative ideological and political theory course. Finally, it points out the challenge that the Party and Youth League organization of college students majoring in Sino-foreign cooperation is not fully developed. In order to solve these problems, this paper puts forward the path of ideological and political education suitable for Sino-foreign cooperative education mode in polytechnic universities. Specifically, it includes the teaching mode of digital enabling ideological and political education courses, the construction of campus culture of ideological and political education in Sino-foreign cooperation, the cultivation path of "Teachers'Morality" in Sino-foreign cooperation and the reform of ideological and political education mode. Through the exploration and implementation of these paths, we can enhance the effectiveness of ideological and political education and cultivate high-quality talents with all-round development of morality, intelligence, physical fitness, beauty and labor. This paper makes an in-depth analysis of the innovative mode of ideological and political education and professional education in the perspective of Sino-foreign cooperation in polytechnic universities, which is of great significance to promote high-quality development.